Latest

Archive

Community news

C++

Communities and Content

Databases

Editorials

Emacs

General

HTML

Java

Notices

PHP

XML

Apache

C++

Database

General

HTML

Java

Javascript

Linux

Object oriented programming

Open source

Perl

PHP

Python

Ruby

SOAP

XML

Suggest a link

Advertise on zez

Contribute

Contact us

About zez


File I/O problem


Categories C++ Code

Topic:

File I/O problem

Author:

Geir Haugom

Time:

10.11.2000 10:32

Text:

Hi
I have some problems with file input/output. I've tried the
fread/fwrite commands, and I've tried the ifstream and ofstream, but I don't seem to get it right.
Can somebody help me with file input/output?
Here is what I'm doing. I play a game called VGA Planets (play by email game, space-like game, with ships and starbases etc). I've got a file describing how all the game files is built up. But when I try to read these files in C++, I have some problems. And I have even more problems trying to write back into the game files.
The game was written in Visual Basic, so the files are very visual basic friendly. The program I'm trying to write in C++, I've already written it in VB, and it works there.. but I want a C++ copy, but ... file i/o is a mess. :(
Let me know if you can help me out.



Message threads

Topic: Author:
Time:
File I/O problem Geir Haugom 10.11.2000 10:32  
  RE: File I/O problem Geir Haugom 10.11.2000 10:32  
  File I/O problem Gunnstein Lye 10.11.2000 10:32  
  File I/O problem Frank Olav Karlsen 10.11.2000 10:32  


Forgot your password?

Register a new user

Results

Polls