Search:

Type: Posts; User: yukon

Search: Search took 0.01 seconds.

  1. Replies
    2
    Views
    1,580

    Thanks Troll King

    Hey guys,

    I just want to say thank you for all your
    help on the C-board especially Troll king, Salem and Mangesh.
    I just finish my final test tonight, and I have the highest avg. score in the...
  2. Replies
    6
    Views
    8,164

    Troll King, I lost the connection to C borad...

    Troll King,

    I lost the connection to C borad last night,
    I'm at work right now, but, I'll study the example you give me and try to change my code tonight.

    Thanks again for all your help !!!
    ...
  3. Replies
    6
    Views
    8,164

    Thanks Troll_King, By the way, what did you do...

    Thanks Troll_King,

    By the way, what did you do to witch King???

    :D
  4. Replies
    6
    Views
    8,164

    Troll_King, Thanks for your input, the reason...

    Troll_King,

    Thanks for your input, the reason that I didn't use strcmp because teacher don't want us to use
    it, she want us to write the "strcmp" function ourself. fgets?? I though we only can...
  5. Replies
    6
    Views
    8,164

    limit the characters using gets function

    Hello

    Any one know how to limit the character input
    by user if I use gets()?

    My program works, it suppose to compare two
    line enter by user and see if they are the same, but I think I need a...
  6. Thread: Can't use get()

    by yukon
    Replies
    3
    Views
    868

    oops, sorry, I mean I can only use while (...

    oops, sorry, I mean I can only use
    while ( (ch=getchar()) != '\n' ) in main but not in the definition of the function like you have in
    void my_gets ( char *buff, int size ). She want the function...
  7. Thread: Can't use get()

    by yukon
    Replies
    3
    Views
    868

    Dear Salem, Thank you very much for your help,...

    Dear Salem,

    Thank you very much for your help,
    I can't use pointer * in my code, bcause we haven't learn that in class yet, and according to my teacher, I can't have while ( (ch=getchar()) !=...
  8. Thread: Can't use get()

    by yukon
    Replies
    3
    Views
    868

    Can't use get()

    I finally got my program to work, but my teacher said that "I can't use get() function" to get the characters from a string that was input by the user. She want us to use loop in our main function...
  9. 10 minutes??? oh my god.....How How???...

    10 minutes??? oh my god.....How How???
    I..I...work on this problem for 3 days already...
    >__<...I feel so sorry for myself.....


    Thank you... thank you....

    I'll try to correct my code...
  10. Hi Witch_King, Thank you very much for helping...

    Hi Witch_King,

    Thank you very much for helping me...
    but we can't use pointer, because we have not
    cover that in class yet. The teacher want us to
    write the two functions and pass the int...
  11. ok I change a few thing again (can you guys see...

    ok I change a few thing again (can you guys see
    I'm trying very hard.. ^__^)

    but, when I run the program, 1)I type in few characters hit return, nothing happen, like it's wating for something, so...
  12. I change the characters function to: ...

    I change the characters function to:

    printf("\nPlease enter a string, maximum of 25 characters;\n");

    gets( array );
    while(array[i] != '\0' && array[i] != '\n')
    {
    ...
  13. Count the length of strintg without using strlen?

    Is there a way to count the characters in a string without using strlen? I was trying to write my own string length function by using the array....Do
    I have to initialize the char array? Can someone...
  14. Replies
    4
    Views
    6,244

    thanks

    Hey guys,

    Thank you so much for your help,
    I'm at work right now, but, I will try to
    correct my code tonight and see how it run.
    Since this is my first C programing class, takes
    me a while to...
  15. Replies
    4
    Views
    6,244

    Can someone take a look at my code? please

    Use a one-dimensional array to solve the following problem. A company pays its salespeople on a commission basis. The salespeople receive $200 perweek pluse 9 percent of their gross sales for that...
Results 1 to 15 of 15