Search:

Type: Posts; User: agamemn0n

Search: Search took 0.00 seconds.

  1. Ok great. Glad to know I wasn't quite as far off...

    Ok great. Glad to know I wasn't quite as far off as I thought I was. I thought I had to use pointer notation in the strlen() function. But I guess 'array[i]' is a pointer anyway... right? Thanks...
  2. Ok here's the error message: C:/Program Files...

    Ok here's the error message:
    C:/Program Files (x86)/Dev-Cpp/MinGW64/x86_64-w64-mingw32/include/string.h:54:18: note: expected 'const char *' but argument is of type 'char (*)[200]'
    size_t...
  3. Help using a 2D array of strings as a function argument

    I've got a program that reads a bunch of tweets from a .txt file into a 2D char array. Each tweet is a new row in the array, while the characters in each string make up the columns (or at least I...
  4. Thanks so much Salem! Your tip really helped me.

    Thanks so much Salem! Your tip really helped me.
  5. So far this is my code for the diamond using all...

    So far this is my code for the diamond using all the same character. I think that the second nested for loop is gonna be where the action takes place to get the characters to change but I'm just not...
  6. [Help] Character pyramid with incrementing characters

    Hi all,
    I am having some trouble with an assignment for one of my courses. We're supposed to print a character diamond, but not a diamond composed of just one character. It asks the user to input...
  7. Ahhh yes! It all makes sense now. Thank you so...

    Ahhh yes! It all makes sense now. Thank you so much friend.
  8. I understand how for loops work on their own. ...

    I understand how for loops work on their own. It's when there is a for loop nested inside another for loop that I have an issue.

    In my code above, 'i' starts at zero and 'j' starts at one. ...
  9. Ok, I think I understand. So you're saying that...

    Ok, I think I understand.
    So you're saying that '++j' happens AFTER '++i'? I was thinking that everything in the inner loop happened before moving back to the outer loop.
  10. My code works... but I don't understand why. Can someone explain?

    Hi all. I'm new to C programming and I am having A LOT of trouble understanding nested for loops. Here is a program I wrote.


    #include <stdio.h>

    int main(void){
    int userNum = 0;
    ...
Results 1 to 10 of 10