Search:

Type: Posts; User: AndrewHunter

Search: Search took 0.02 seconds.

  1. Well, the retarded third cousin of your code...

    Well, the retarded third cousin of your code anyway..... :tongue:



    LOL....touche sir. :biggrin::wink:
  2. Haha.....oops. You are too logical Tater, at...

    Haha.....oops. You are too logical Tater, at least there was no way my solution could have been reasonably used. :rolleyes::tongue:
  3. Haha.....good catch quzah. Fixed it, thanks....

    Haha.....good catch quzah. Fixed it, thanks. :wink::tongue:
  4. How about this one: :rolleyes::tongue: ...

    How about this one: :rolleyes::tongue:


    #include <stdio.h>
    #include <string.h>
    #include <ctype.h>

    int main(void){

    char input[5] = {0};
  5. Yeah, good point. I thought about that but...

    Yeah, good point. I thought about that but decided to be lazy with my example. :rolleyes:
  6. Then why don't you make an array, e.g. a string...

    Then why don't you make an array, e.g. a string table like your assignment asked for?, e.g.



    char * stringTable[10];


    And then fill in your array with the values you want.
  7. Creating a lookup table would be a simple...

    Creating a lookup table would be a simple solution for this, yes. Probably the way I would have solved the problem statement.
  8. Haha...I am being stupid again. Thanks Laser....

    Haha...I am being stupid again. Thanks Laser. :biggrin:
  9. Did you miss where he stored "zero" into char a...

    Did you miss where he stored "zero" into char a and the like?
  10. No you didn't answer the question and I don't...

    No you didn't answer the question and I don't even think that code will compile. Start reading through the C tutorials on this site. Once completed, sit down and think about your problem. Then write...
Results 1 to 10 of 10