Search:

Type: Posts; User: std10093

Search: Search took 0.03 seconds.

  1. Replies
    38
    Views
    6,084

    Has this question something to do with the...

    Has this question something to do with the logical error I spotted for you at the previous post?
  2. Replies
    38
    Views
    6,084

    Always post your code in code tags. I can not...

    Always post your code in code tags. I can not even copy paste.

    You are doing this


    if(((j=strcmp(..))) ==0)
    {..

    Ok so you are calling strcmp and you assign the result to j. Then you...
  3. Replies
    38
    Views
    6,084

    Probably yes. But I like your approach more ;)

    Probably yes. But I like your approach more ;)
  4. Replies
    38
    Views
    6,084

    Yes. Start the enum's first letter (A) with the...

    Yes. Start the enum's first letter (A) with the corresponding ASCII value... that way you will get all the letters the correct ASCII value. Then read normally from input and just compare like this
    ...
  5. Replies
    38
    Views
    6,084

    Well when I need a quick zipped reminder on enums...

    Well when I need a quick zipped reminder on enums I take a look here. Of course, if you google you can find more. You can always ask if needed.

    PS - Παρακαλώ :)
  6. Replies
    38
    Views
    6,084

    Oh Andreas good thing you pointed that out! I...

    Oh Andreas good thing you pointed that out! I wanted to write "if you are not interested in using a function. Thanks.
  7. Replies
    38
    Views
    6,084

    Or you could use enums if you are interested in a...

    Or you could use enums if you are interested in a function.
Results 1 to 7 of 7