I just realized that instead of
char_array[0][0] << file_name;
it should be
file_name>>char_array[0][0];
Type: Posts; User: raptor1770
I just realized that instead of
char_array[0][0] << file_name;
it should be
file_name>>char_array[0][0];
Ok, I understand that thank you. So to read characters from the file I should just read into a two dimensional array of characters somewhat like this?
char_array[0][0] << file_name;
In some...
Thank you for the prompt response.
What I meant is that I need to pull the integers out one at a time so that I can store them individually in a two dimensional array or vector. Imagine that the...
Hello,
I need to prompt the user for a filename and then open and read from that file. Also I need to be able to take the contents of the file I'm reading from and store them in a vector or stack....
Thank you again for everyones support. I found out the problem. Instead of
const wchar_t g_szClassName[] = L"myWindowClass"; I had
const char g_szClassName[] = "myWindowClass";
Thank you for your help so far. Does anyone know the way to link the file in Visual C++ 2008 Express?
Im not sure what that means but would it have something to do with the fact that I'm using the Netbeans IDE and cygwin compiler?
Sorry that this is messy, but im under a quickly approaching deadline. I would consolidate the code but I am new to windows programming and I'm not sure whats wrong.
I just would like to know why...
Thank you everyone for your help.
I have read this on your comments on another program before and I think its a great idea. Unfortunately the programming course I am in has not covered fgets...
Im using Cygwin.
I just got the whole thing to work perfectly (I think).
Heres the code I have as of now.
Feel free to test it and I would appreciate anyone informing me of bugs I missed.
...
Thank you for your help. My program is compiling and running but I'm getting a really strange run time error.
If you look at the Initialize function, i think that i'm initializing the first 6...
Hello everyone.
I have looked through other posts and have not found a solution to my problem but if there is another thread with the same problem please reply with the URL.
This is a first...