Search:

Type: Posts; User: RyanW2050

Search: Search took 0.01 seconds.

  1. Replies
    2
    Views
    1,517

    Thank you, I misunderstood some important things...

    Thank you, I misunderstood some important things about arrays. This was fixed by increasing the capacity of each array by 1.
  2. Replies
    2
    Views
    1,517

    array value overwriting another

    #include <stdio.h>

    int main(){

    int array111[5];

    printf("Please enter the 6 array111 numbers.\n");
    scanf("%d %d %d %d %d %d", &array111[0], &array111[1],...
  3. Gotcha, fopen definitely isn't populating that...

    Gotcha, fopen definitely isn't populating that pointer. But why wouldn't it? test.txt is in the local directory of the source.c.... does OSX not work that way?
  4. Simple code compiles in windows, does not in xCode.

    Hi all,

    I'm in the early stages of learning C, and I want to develop on OSX. I wrote a simple program that uses fopen() on a .txt file (in the local directory of the source.c file) and uses...
Results 1 to 4 of 4