Search:

Type: Posts; User: liats80

Search: Search took 0.01 seconds.

  1. Replies
    10
    Views
    2,131

    Thanks

    Hi guys,
    Thanks! Especially to brewbuck (who is the only one who actually gave me an answer...)
    Sorry for not posting the code, my program is HUGE and I didn't think any of you would like to read...
  2. Replies
    10
    Views
    2,131

    nan disappear when printing

    Hello,
    I was hoping you would be able to help me with a problem which I don't understand.
    At some point in my program I am getting a not-a-number value for a certain parameter which later causes an...
  3. Thread: Switch error

    by liats80
    Replies
    6
    Views
    1,531

    Switch error

    Hi guys,
    I was hoping you could help me understand an error I'm getting.
    the code looks something like this:



    int A (char ch)
    {
    switch(ch)
    {
  4. Replies
    4
    Views
    1,380

    figured it out.

    Thanks anyways.
  5. Replies
    4
    Views
    1,380

    mmm... still not working :(

    Hi again,

    I've tried what swoopy has suggested, but I'm still getting the same problem (the pointer in the original function doesn't move).

    I've done something like this:


    int funB(**char...
  6. Replies
    4
    Views
    1,380

    ha ha sounds logical... Thanks so much!

    ha ha sounds logical...
    Thanks so much!
  7. Replies
    4
    Views
    1,380

    passing pointer to string between functions

    Hi all :)
    I was wondering if you could help me figure something out.
    I have a pointer P to a string S. I have function A and function B.
    Function A calls function B with the pointer P.
    Function B...
  8. Thread: structures

    by liats80
    Replies
    4
    Views
    982

    Thanks guys!! I will go with the element by...

    Thanks guys!!
    I will go with the element by element options I guess... :o)
  9. Thread: structures

    by liats80
    Replies
    4
    Views
    982

    structures

    Hi :)

    I was wondering if there is a way to loop over structure's components.

    For example:


    typedef struct myStructure myStructure;
    struct myStructure {
    char *name;
  10. Thread: type casting

    by liats80
    Replies
    3
    Views
    1,503

    Thanks!!! I tried atof() and that seems to work...

    Thanks!!!
    I tried atof() and that seems to work fine.
    Any major resons to use something else? (are there advantages for using the others?)
    Thanks again!
    Liat.
  11. Thread: type casting

    by liats80
    Replies
    3
    Views
    1,503

    type casting

    Hi all,
    Sorry for the stupid question... but I havn't used C very often...
    How do I convert a string into float?
    THANKS!!!
    Liat.
Results 1 to 11 of 11