topic
Type: Posts; User: ZooTrigger1191
I guess when you really look at it. It really isn't a singleton then. Also, I used an absolute directory in fout.open( ) because when I just typed in "Information.txt" it didn't work for some reason.
Hello guys, I haven't programmed in three months and I'm re-learning C++ in order to move on to SDL and program some games. I've made this program featuring the use of singleton(sorta) and file...
Life, the Universe, and everything else. Things that can't be explained would fall under the category of everything else. The Universe consist of everything else. The Universe is the giant mystery....
I've looked over the code and everything looks fine. It won't compile though.
Instead of this......
/* get a handle to the bitmap */
hMainBMP = LoadBitmap(hInst, "MainBMP");
if(hMainBMP == NULL)
MessageBox(NULL,...
Novacain. You were right. Thanks for the help. I made that small program because I was having trouble with a larger program. I made the necessary changes in the larger program and the problem still...
I guess so......<insert fake laugh here>
I seriously don't know whats wrong with the code. Everything looks fine but the bitmap would be displayed.
Just wanted you guys to take a look at a code I made with template bubble sorting. I hope you guys have interesting suggestions that could perhaps better my code.
I've looked over my code several times and I'm unable to find out what I did wrong. It looks ok to me. Its suppose to set all of the elements of the array to random numbers under 100 and then sort...
but I don't want to.......
Try placing it all in a .cpp file and then attach it to your post. I can't read it correctly from there.
Well, its OpenGL code. It probably takes long to read.
I'm going to download it now.
my bad, replace if( !Buffer ) with if( (strlen(Buffer))==0)
or
#include <iostream>
#include <fstream>
int main()
{
char Buffer[80]
Heres a better way
[code]
#include <iostream>
#include <fstream>
int main()
{
char *Buffer;
ifstream fin;
Some advice to future responders. If you have some minor to say just PM me. The whole point of me posting this topic is to get this problem resolve. Not to better my english.
Note: I was in a rush...
I've been experimenting with this method for the last five minutes and it hasn't properly produced what exactly I want. I want a program that outputs 10 random decimal numbers. All of the decimal...
For most people its an inactive social life which causes their love for computers to grow quickly. For me....well....its an inactive social life and the desire of game making.
What inspired you to...