Search:

Type: Posts; User: valhall

Search: Search took 0.01 seconds.

  1. QUICK HELP: How to convert what str[i] points at into an integer??

    Hi!

    I have:
    char str[100];
    int temp;

    I use fgets to read in like [2 3 +].
    When i = 0, str[i] points at the character 2.
    How can I get temp to be 2??
  2. /**/

    /**/
  3. Thanks for the example. It looks a bit difficult...

    Thanks for the example. It looks a bit difficult in some parts.
    Let me explain a bit easier.
    Maybe I want to write integers from 1 to 10 in the first row with a loop.
    THen in another loop I want...
  4. Help with reading/writing integers in a specific way into/from a file!!

    Hi!
    I am trying to learn how to read and write integers into a file in severreral rows.
    Then I want to read the Integers from each row and put the integers in separate arrays.

    Example of how the...
  5. Replies
    2
    Views
    1,522

    the purpose is that someone else can't see the...

    the purpose is that someone else can't see the struct and funktions. He can only view the header file.
    I can make changes in the functions without him knowing about it.
    That's why the declarations...
  6. Replies
    2
    Views
    1,522

    dynamic memory allocating error

    Hi!
    I'm trying to make an implementation of the datatype RATIONAL in ADT way. The probleme is when I try to allocate memory for a new struct that I create in main.c.
    I send the adress of the struct...
Results 1 to 6 of 6