by: dave |
last post by:
I am reading input from a form. I want to validate the input by making sure
that the string is actually an integer. How would I do this? Do i need to
convert it to a character array and break down...
|
by: Alex Neumann |
last post by:
Hi,
I need a function which converts an string to an integer.
Currently I have this:
bool string2int(char* digit, int& result)
{
result = 0;
if (!(*digit >= '0' && *digit <='9'))
|
by: sathyashrayan |
last post by:
Group,
I have some doubts in the following program.
------------------program---------------------
/*
** Make an ascii binary string into an integer.
*/
#include <string.h>
unsigned int...
|
by: Sean |
last post by:
Hello,
I have a function in C# that accepts a stored proc name and an array of parameters, and then returns a dataset, which works just fine.
I have converted the function to VB:
Public Shared...
|
by: El Camino |
last post by:
I need to switch a string to an integer
if its strLetter = "A"
integer value of 1
if its strLetter = "B" then
integer value of 2
if its strLetter = "C" then
integer value of 3
|
by: baret bonden |
last post by:
I get :Value of type 'String' cannot be converted to '1-dimensional array
of String' refering to curitem
Dim curItem As String
curItem = ListBox1.SelectedItem
TextBox1.Text = curItem
...
|
by: Teresa |
last post by:
1) Should I use Integer.Parse to convert a string into an integer in .NET
now?
CType(sUserID, Integer) OR Integer.Parse(sUserID)
2) And is it better to use the string class to trim, get length,...
|
by: yinglcs |
last post by:
Can you please tell me why the following code does not work in python?
My guess is I need to convert 'count' from a string to an integer. How
can I do that?
And my understanding is python is a...
|
by: spud379 |
last post by:
i am doing an assignment in vb.net. i have to select at random from and array what i have is
dim country(29) as string
dim random as new random
txtcountry.text = random.next(country)
I...
|
by: herobeat |
last post by:
Hi all,
I'm having a hell of a time with declaring a struct to hold some
binary data I'm trying to read from some files on disk. What I would
like to do is something like this:
public struct...
|
by: Charles Arthur |
last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
|
by: emmanuelkatto |
last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud.
Please let me know.
Thanks!
Emmanuel
|
by: BarryA |
last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
|
by: nemocccc |
last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
|
by: Sonnysonu |
last post by:
This is the data of csv file
1 2 3
1 2 3
1 2 3
1 2 3
2 3
2 3
3
the lengths should be different i have to store the data by column-wise with in the specific length.
suppose the i have to...
|
by: Hystou |
last post by:
There are some requirements for setting up RAID:
1. The motherboard and BIOS support RAID configuration.
2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
|
by: jinu1996 |
last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
|
by: tracyyun |
last post by:
Dear forum friends,
With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
|
by: agi2029 |
last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
|