Search:

Type: Posts; User: haus

Search: Search took 0.00 seconds.

  1. Thread: #define question

    by haus
    Replies
    1
    Views
    1,222

    #define question

    Is there a way to print the value used in a #define statement?

    example:

    #define N 100

    ... later in the program...

    printf("N");
  2. Replies
    4
    Views
    1,937

    Thanks so much for your help. Here is the final...

    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...
  3. Replies
    4
    Views
    1,937

    help with endless loop

    Please help me with this code fragment.

    for(;;)
    {
    /* check array with strcmp */
    for (array_counter=0; array_counter<=10; array_counter++)
    {
    if (strcmp(user,...
  4. Thread: Newbie question

    by haus
    Replies
    7
    Views
    1,896

    Newbie question

    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...
Results 1 to 4 of 4