Search:

Type: Posts; User: wiggsfly

Search: Search took 0.00 seconds.

  1. Replies
    5
    Views
    2,397

    That was it. THANK YOU!

    That was it. THANK YOU!
  2. Replies
    5
    Views
    2,397

    Yeah, I'm entering the loop and it closes...

    Yeah, I'm entering the loop and it closes afterwards (although with the current design it will never hit the close). I want to force the user to use cntrl-c to end for now.

    Here is the whole code:...
  3. Replies
    5
    Views
    2,397

    Problem with a loop

    When I put the following code in a loop it will not write to the file. When I take it out of the loop it works fine (I realize that for now it is an infinite loop as that is part of the assignment)....
  4. Help getting runtime double free or corruption error

    I thought I had this done, but if I try to run with multiple files (mygrep print *.c) I get a double free or corruption runtime error. Any suggestions.


    /*
    *CS306 Lab 1 lab1.c
    *Author: Chris...
  5. Replies
    5
    Views
    1,300

    Got it. I removed chars_left = INC_BUFF_SIZE;...

    Got it. I removed
    chars_left = INC_BUFF_SIZE; and it seems to be working fine. Thanks all!
  6. Replies
    5
    Views
    1,300

    That's what I would have thought, but that's not...

    That's what I would have thought, but that's not what is happening. I've tried testing for null with some print statements, yet they never get executed.
  7. Replies
    5
    Views
    1,300

    Some help with realloc

    Hi all, I'm new to C after working with PHP and other languages for years. I'm taking a class and having some problems with an assignment. In the following code, everything works fine until I try to...
Results 1 to 7 of 7