Search:

Type: Posts; User: theMaze

Search: Search took 0.01 seconds.

  1. Replies
    10
    Views
    1,222

    ok, this is very helpful.

    ok, this is very helpful.
  2. Replies
    10
    Views
    1,222

    thanks a lot! I am trying to understand it. It...

    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....
  3. Replies
    10
    Views
    1,222

    Sorry for double post, but I have another...

    Sorry for double post, but I have another question about a structure:


    I have declared a structure


    struct driver
    {
    int age;
    char name[20];
  4. Replies
    10
    Views
    1,222

    oh, yeah I forgot that, thank you!

    oh, yeah I forgot that, thank you!
  5. Replies
    10
    Views
    1,222

    Problem with structure

    This is the problem:



    struct person
    {
    int age;
    char name[10];

    };
  6. Replies
    3
    Views
    12,640

    hmm, sorry again for a double post. but is...

    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.
  7. Replies
    3
    Views
    12,640

    So simple, but so powerful. thanks a lot.

    So simple, but so powerful.

    thanks a lot.
  8. Replies
    3
    Views
    12,640

    Converting a single char to int

    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...
  9. Replies
    5
    Views
    1,841

    hmm, just two numbers. so basically I need...

    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...
  10. Replies
    5
    Views
    1,841

    Finding minimum, problem with input

    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;
Results 1 to 10 of 10