if((i==9) && (toupper(*(code + i)) == 'x'))
Perhaps you want:
if((i==9) && (toupper(*(code + i)) == 'X'))
With an uppercase x.
Type: Posts; User: joecaveman
if((i==9) && (toupper(*(code + i)) == 'x'))
Perhaps you want:
if((i==9) && (toupper(*(code + i)) == 'X'))
With an uppercase x.
Depending on what you are using it for, you might also want to replace it by implementing different functions/procedures.
I need to have a variable store the number: 4294967295.
The line of code:
long int unsigned checksum = 4294967295;
Generates the warning:
[Warning] this decimal constant is unsigned...
Ok, thanks for your help. :D
Is there any way of testing for a range of values in a switch statement?
such as:
int main() {
int x = 5;
switch(x) {
case 4, 5, 6 :
break;
Thanks for the help, and additional advice.
I have a program that records keyboard input and writes it to a file, but I think the program receives the keyboard values corresponding to certain characters, and not the ASCII values. Ex: The...
krak, those are some good references, but i have a question..
all the tutorials i have seen #include glaux.h, which doesn't seem to come with devcpp, also, my google searches always return results...
thanks, problem solved
If i use the following statement:
printf("%c",number);
the ascii correspondent to 'number' will be printed, how can i do the same with the send command?
this is an example of the send()...
i'm new to windows programming, and i want to know how to create new threads, the only thing i can find is on msdn is about createthread()... but apperently thats for windows server editions or...