Search:

Type: Posts; User: stefanturk

Search: Search took 0.01 seconds.

  1. Replies
    2
    Views
    1,099

    Malloc Pointer Issue

    Hey guys, small issue that I'm sure has a quick fix, but I'm stumped. I'm getting this error:
    vector.c:20:13: warning: assignment from incompatible pointer type [enabled by default]
    vector.c:24:12:...
  2. Replies
    6
    Views
    1,227

    Wow that was super simple thanks

    Wow that was super simple thanks
  3. Replies
    6
    Views
    1,227

    Ok I see. So I am only giving it one character...

    Ok I see. So I am only giving it one character when it needs a whole string. So how would I give the second half of the string? Can I use strcpy? Or is there another function that will copy only the...
  4. Replies
    2
    Views
    851

    Seg Fault with fscanf

    I'm sure I'm just making a stupid error but I am getting a seg fault when I fscanf on line 15. Do you know the reason? Btw I'm not done with the program.



    #include <stdio.h>
    4 #include...
  5. Replies
    6
    Views
    1,227

    Pointer Error

    Hey guys, I'm fairly new to C programming and don't understand pointers very well. This program compares two strings and outputs the suffix (suffix of "globally" and "internally" is "ally"). I am...
Results 1 to 5 of 5