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...
Type: Posts; User: yukon
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...
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 !!!
...
Thanks Troll_King,
By the way, what did you do to witch King???
:D
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...
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...
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...
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()) !=...
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...
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...
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...
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...
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')
{
...
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...
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...
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...