A
Anshul
Hi,
I tried compiling this code -
int main()
{
char abc[10] = "%s";
printf("\033[1m" abc "\033[m" , "doing");
}
with gcc version 2.96. I get this error message -
parse error before `abc'
Please explain, whats wrong here. The intention is to print a string
in bold characters on the screen.
Thanks,
Anshul
I tried compiling this code -
int main()
{
char abc[10] = "%s";
printf("\033[1m" abc "\033[m" , "doing");
}
with gcc version 2.96. I get this error message -
parse error before `abc'
Please explain, whats wrong here. The intention is to print a string
in bold characters on the screen.
Thanks,
Anshul