Search:

Type: Posts; User: gman89

Search: Search took 0.01 seconds.

  1. Replies
    9
    Views
    9,994

    Thanks for the help guys, but I'm still having...

    Thanks for the help guys, but I'm still having problems. So far I've got this:



    int i, j;
    char input_line[6];
    char array[5][5]

    for(i = 0; i < 5; i++) {
    fgets(input_line, 6,...
  2. Replies
    9
    Views
    9,994

    Sorry, I actually didn't copy the code from the...

    Sorry, I actually didn't copy the code from the program, I just rushed it quickly. This is how it was:



    #define ROWS 5
    #define COLMNS 5

    char array[5][5];

    while(y < COLMNS) {
  3. Replies
    9
    Views
    9,994

    2D Array's, assigning chars.

    I've become quite frustrated trying to assign input into 2D Arrays. What's the best way to do it?

    I have a 2D array of char type that is initially empty. I want to print out the array once the...
  4. Replies
    8
    Views
    1,167

    Hey thanks, that actually worked when I entered...

    Hey thanks, that actually worked when I entered integers with comma's in between. I never would have picked that up.
  5. Replies
    8
    Views
    1,167

    Thanks for the help. But I should have stressed...

    Thanks for the help. But I should have stressed more that I'm trying to just use If statements. To simplify it can I create a new integer or float or something?
    The output I get with my original...
  6. Replies
    8
    Views
    1,167

    An unprecedented n00b thread...

    Omg can someone please inform me on how I can sort 3 integers only with basic commands like printf, scanf, and if statements? No looping or switches.

    I tried heaps of things, creating high and low...
Results 1 to 6 of 6