Search:

Type: Posts; User: jstn

Search: Search took 0.01 seconds.

  1. Replies
    5
    Views
    1,433

    well here i am 5 minutes later, happy to report...

    well here i am 5 minutes later, happy to report that i just removed the hold = (char *)malloc(sizeof(fptr)*sizeof(char) ); and instead used char hold[250] = { }; which worked like a charm!

    thanks...
  2. Replies
    5
    Views
    1,433

    hold is what holds each line as it is read from...

    hold is what holds each line as it is read from the file.



    the file checking is done in a seperate function call ealier in the program, so i'm sure that the file exists or i wouldn't be at this...
  3. Replies
    5
    Views
    1,433

    ok i'll make the additions to the file after...

    ok i'll make the additions to the file after lunch. BTW i check for the existance of the file before this function is called. i know i'm at LEAST correct there ;) thanks for the input! i will post...
  4. Replies
    5
    Views
    1,433

    Need another set of eyes for debugging...

    i've been staring at this code for weeks now and i can't figure out why it segfaults. can someone have a look at it and give me some feedback? thanks!

    the function opens a file located in the...
  5. Thread: ascii animation

    by jstn
    Replies
    3
    Views
    12,935

    great - thanks for your help Prelude. -jstn

    great - thanks for your help Prelude.

    -jstn
  6. Thread: ascii animation

    by jstn
    Replies
    3
    Views
    12,935

    ascii animation

    i would like to add some simple ascii animation to my application. i've seen it done with other linux based console apps (which is what mine is). Here is an example; the user loads the app...


    ...
  7. Replies
    2
    Views
    1,948

    general pointer & malloc question

    i was wondering...

    if a pointer holds the address to the item it points to, then why do you have to malloc a pointer when you create a new node on a linked list? you're not storing the new node...
  8. Replies
    2
    Views
    1,957

    find first occurance of a string in a file

    hi all post #1 :]

    i've got a file that is generated by a program i've made. the first few lines of the file are comments, deliminated by #'s. i'd like to be able to do a fscanf on each line of...
Results 1 to 8 of 8