problem code...

This is a discussion on problem code... within the C++ Programming forums, part of the General Programming Boards category; Ok I have created a program that takes a text file (not actualy a text file) and inputs the information ...

  1. #1
    Registered User ski6ski's Avatar
    Join Date
    Aug 2001
    Posts
    133

    problem code...

    Ok I have created a program that takes a text file (not actualy a text file) and inputs the information in it. The only problem is that original file is not a text file. The actual extention is .mpc (multi player character). But you can view it in notepad as a .txt. One of the caracters in the file is the return key. It shows up as a box in the text file. I will upload the file so that you can see what I am saying.

    The problem I have is: How do I get this to imput in my program?
    Second problem is: How do I print this character to a file?

    I know ifstream.h, but this return character has me stumped!
    C++ Is Powerful
    I use C++
    There fore I am Powerful

  2. #2
    Registered User ski6ski's Avatar
    Join Date
    Aug 2001
    Posts
    133
    Some how the file didnt upload......
    Attached Files Attached Files
    C++ Is Powerful
    I use C++
    There fore I am Powerful

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Code problem
    By sybariticak47 in forum C++ Programming
    Replies: 9
    Last Post: 02-28-2006, 11:50 AM
  2. Problem with game code.
    By ajdspud in forum C++ Programming
    Replies: 5
    Last Post: 02-14-2006, 06:39 PM
  3. problem with selection code
    By DavidP in forum Game Programming
    Replies: 1
    Last Post: 06-14-2004, 02:05 PM
  4. Replies: 5
    Last Post: 12-03-2003, 05:47 PM
  5. Help with code for simple Y2K problem
    By Mule in forum C++ Programming
    Replies: 3
    Last Post: 03-06-2003, 12:53 AM

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21