Thread: basic programming for some but sooo hard for me

  1. #16
    Registered User
    Join Date
    Sep 2006
    Posts
    8,868
    Code is fixed.

    Are you allowed to use functions besides just main() ?

  2. #17
    Registered User
    Join Date
    Feb 2010
    Posts
    13
    I shouldn't see why i cant he never said anything about not using more than one function

  3. #18
    Registered User
    Join Date
    Sep 2006
    Posts
    8,868
    I was thinking just rewind(filePointer), the filepointer, and use the same loop to put each line into the char array, same as before, and then send it out to a few functions for the various tests.

    You could do it all in one BIG while loop, but that gets pretty messy.

    Do you have a test string made up with all the changes needed to be made, yet?

    That would be helpful to have, right off.

    But it's getting late. Some sleep will help. I'm assuming you're in the USA time zones. Ignore my rantings if you're in Germany or someplace on the other side of the world.

  4. #19
    Registered User
    Join Date
    Feb 2010
    Posts
    13
    no im in the uk, i havent got anything else sorted yet as i am still researching how to do the rest, i was just concentrating on the file open and copy as i dididnt want to get to confused

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. [ANN] New script engine (Basic sintax)
    By MKTMK in forum C++ Programming
    Replies: 1
    Last Post: 11-01-2005, 10:28 AM
  2. what are your thoughts on visual basic?
    By orion- in forum A Brief History of Cprogramming.com
    Replies: 16
    Last Post: 09-22-2005, 04:28 AM
  3. Replies: 2
    Last Post: 07-06-2005, 07:11 PM

Tags for this Thread