Is there a way to print the value used in a #define statement?
example:
#define N 100
... later in the program...
printf("N");
Type: Posts; User: haus
Is there a way to print the value used in a #define statement?
example:
#define N 100
... later in the program...
printf("N");
Thanks so much for your help. Here is the final version, in case anyone is curious as to how it turned out.
/* The purpose of this program is to accept up to 10 user-entered
words of up to 10...
Please help me with this code fragment.
for(;;)
{
/* check array with strcmp */
for (array_counter=0; array_counter<=10; array_counter++)
{
if (strcmp(user,...
This is not a question on programming per se, but here goes:
I am a CS major in school, and I am in my 2nd semester, working on programming in C. I got an A the first semester and I am doing fine...