Thanks for your replys, appreciate it. I finally ended up using
[code]
fgets(ch, MAX_LINE, stdin);
for(i = 0; i < MAX_LINE, ch[i] !='\0'; i++)
{
...
Type: Posts; User: jacquifish
Thanks for your replys, appreciate it. I finally ended up using
[code]
fgets(ch, MAX_LINE, stdin);
for(i = 0; i < MAX_LINE, ch[i] !='\0'; i++)
{
...
I've sorted out where it was calling the function the second time, thanx.
I still cant seem to work out how to get my code to accept less than the maximum amount of characters [50] one line. eg....
Hi there,
could someone help me please, Ive just stared with c and I want the function to accept upto 50 characters but finish when i hit return and then to change the case of them.
It...
sorry im truly not that simple (well who knows!!)
my problem was that i had a ';' at the end of my for statement!!
i did actually have the '<' in my code.
int i;
Hi there
Ive just started with c and i cant get my for loop to run more than once.
Any help greatly appreciated!!!
int main()
{
int i;