ok, this is very helpful.
Type: Posts; User: theMaze
ok, this is very helpful.
thanks a lot!
I am trying to understand it. It is a little complicated at first.
but, I still don't see how do we then save the data.
Small example, if we have a .txt with two names and age....
Sorry for double post, but I have another question about a structure:
I have declared a structure
struct driver
{
int age;
char name[20];
oh, yeah I forgot that, thank you!
This is the problem:
struct person
{
int age;
char name[10];
};
hmm, sorry again for a double post.
but is there a function in C that converts a ASCII code to the value.
I get the integers in ascii.
So simple, but so powerful.
thanks a lot.
Hello,
I am trying to convert a single character, (not a string) to integer. How can I do that?
If I use a atoi function, the compiler always complains that he needs a string, not a single...
hmm, just two numbers.
so basically I need just to use two variables. One for saving the smallest number into, and one for comparison.
but the problem is at input. I have to input a list of...
Hello,
I maybe have a basic question about input.
If I have just two numbers, finding the minimum is easy:
//code
int a;
int b;