Hi everyone,
I am new to programming and trying to learn c. Code::Blocks was recommended to me but I am having trouble accessing help. I try to compile and run the code below but Code::Blocks says error 'tolower' was not declared in this scope.
#include <stdio.h>
{
int c;
while((c=getchar()) != EOF)
putchar(tolower(c));
return 0;
}
I have searched the net and as far as I can see tolower() is part of the standard library and therefore should be included in the stdio.h header file. But Code::Blocks does not recognize it. I try to highlight the word and press F1 but nothing, I look at the help menu but there is no help file on what functions I can use and what parameters they expect. I am sorry to be so new at this but am I missing something, like something I need to install, where are the help files.
Regards
Pieter