20 years, 6 months ago
Highlights
wow its so much easier to work with std::string.i wrote a new program in minutes.thank you all very much for these great explanations.
20 years, 6 months ago
20 years, 6 months ago
i am trying to read a txt file using fstream fstream myfile("code.dat"); code.dat looks like this A BCDEF B CC C XXAA D W E . H and so on. every letter has its own code (le…
20 years, 6 months ago
here's the situation i have a class called DirectSound. i have a function DirectSound::PlaySound(char* fileName) what that function does is: -opens wav file and gets header info…
21 years, 1 month ago
hey guys I have a strange problem so let me explain class DirectSound { //initialize DirectSound8 interface } class DirectSound2D : public DirectSound { bool Play(char* FileName…
21 years, 2 months ago
Latest Activity
See all in Discussionswow its so much easier to work with std::string.i wrote a new program in minutes.thank you all very much for …
20 years, 6 months ago
the code is compiled in vc++2003#include <iostream>#include <fstream>using namespace std;ifstream fCode("code.dat");struct structCodes{ char* cLetter; char* cCode;};struct structCodes Code
20 years, 6 months ago
but why is this happening? because of char*?
20 years, 6 months ago