1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

How do I read a text file into an object by using main() functions??

Discussion in 'C++' started by John Sand, Aug 28, 2010.

  1. John Sand

    John Sand New Member

    Joined:
    Aug 28, 2010
    Messages:
    1
    Likes Received:
    0
    Trophy Points:
    0
    <div>Hi! Still being an absolute beginner, I can't find a reason for why this program doesn't run properly (note that the program is not complete). It is possible to compile it but it encounters some kind of error when executing. The string saves the file properly I have checked this by using cout
     

Share This Page