Search:

Type: Posts; User: Martyn27

Search: Search took 0.01 seconds.

  1. Replies
    15
    Views
    5,192

    Ok thanks for the help MK and everyone else....

    Ok thanks for the help MK and everyone else. Going to give this a break for now and go at it again tomorrow.
  2. Replies
    15
    Views
    5,192

    Ok ill try it that way. What should i use to get...

    Ok ill try it that way. What should i use to get the data from a file fgets still? Yeah we have used switch/case but briefly.

    But still, arent i going to have a case for every type of illegal...
  3. Replies
    15
    Views
    5,192

    Or i could just add another loop at the end i...

    Or i could just add another loop at the end i guess. Keep that loop what its doing and use this one to make all I's a capital.
  4. Replies
    15
    Views
    5,192

    Yeah but its doing other stuff for example ...

    Yeah but its doing other stuff for example


    else if (strchr(c, '#')) // Check for a hash.
    {
    correctionCount++;
    }
    //-------------------------------
    else if (strchr(c, '...
  5. Replies
    15
    Views
    5,192

    Argh. To get it to read line by line it means im...

    Argh. To get it to read line by line it means im going to have to change my entire program. Would there be anyway possible to do it by reading one char at a time?
  6. Replies
    15
    Views
    5,192

    Ok thanks ill give that a try Yeah. The brief...

    Ok thanks ill give that a try

    Yeah. The brief says any occurence of the char i on its own should be made Capital.
  7. Replies
    15
    Views
    5,192

    Ok how do i use fgets to read a line instead of...

    Ok how do i use fgets to read a line instead of char?. Only started c a few months ago and our lecturer kinda...sucks :P
  8. Replies
    15
    Views
    5,192

    What if there is multiple occurences of a char on...

    What if there is multiple occurences of a char on a single line?
  9. Replies
    15
    Views
    5,192

    C assignment question

    Hey guys just need a bit of help with some code i am doing for an assignment. Basically we are given a file and we need to manipulate the data. However there is one thing im struggaling to do. I need...
  10. Thread: Compiler

    by Martyn27
    Replies
    7
    Views
    1,267

    Nope is definately just ;c\ Yup the directory...

    Nope is definately just ;c\

    Yup the directory exists

    Yup there is a gcc.exe in there




    Tried Gcc.exe - v same result.
  11. Thread: Compiler

    by Martyn27
    Replies
    7
    Views
    1,267

    As in close it down and open it up again, yeah....

    As in close it down and open it up again, yeah. Would restarting my PC help?
  12. Thread: Compiler

    by Martyn27
    Replies
    7
    Views
    1,267

    Compiler

    Hey guys.

    First off i'd just like to say im really new to C. We are just about to start it soon in uni and our lecturer recommended a book for us. I decided to get it and do some reading up before...
Results 1 to 12 of 12