Search:
Type: Posts; User: Newkid34
Search:
Search took 0.01 seconds.
-
December 5th, 2010, 11:12 AM
i dont understand how booleans in a struct work. can anyone give me some help?
to be honest i dont know how boolean variables work at all and i tried to read up on it but i am still unclear.
...
-
December 4th, 2010, 10:33 AM
thanks,
can i ask why this was moved? i am using visual studio and also using WINAPI.
can i get this moved back to the appropriate sub-forum?
-
December 2nd, 2010, 12:55 PM
#include <windows.h>
#include <string>
using namespace std;
const char g_szClassName[] = "myWindowClass";
const int ID_TIMER = 1;
const int BALL_MOVE_DELTA = 4; //ball speed
typedef struct...
-
December 2nd, 2010, 12:53 PM
as the original problem is solved im going to open a new thread for the current problem. it seems no one is answering this and i think the misleading title may be the cause
-
December 2nd, 2010, 11:55 AM
can someone give me some insight as to how to create an array of bricks instead of drawing each individually? I realize individually it makes it significantly harder to do a brick collision...
-
November 29th, 2010, 10:42 PM
#include <windows.h>
#include <string>
using namespace std;
const char g_szClassName[] = "myWindowClass";
const int ID_TIMER = 1;
const int BALL_MOVE_DELTA = 4; //ball speed
typedef struct...
-
November 29th, 2010, 09:09 PM
ohhh your right about that, Thanks. will try and repost
-
November 27th, 2010, 01:48 PM
#include <windows.h>
#include <string>
using namespace std;
const char g_szClassName[] = "myWindowClass";
const int ID_TIMER = 1;
const int BALL_MOVE_DELTA = 4; //ball speed
typedef struct...
-
November 26th, 2010, 09:36 PM
ok so COMPLETE code remodification.....
here is the new code
#include <windows.h>
#include <string>
using namespace std;
-
November 23rd, 2010, 02:42 PM
i cant figure out how to make a brick break program, i have put days of work into this and i dont understand how this is to be easy....Does anyone have, or know of, a tutorial where i can get a...
-
November 22nd, 2010, 10:19 PM
ok but what is the simplest solution?
-
November 22nd, 2010, 04:09 PM
well what i don't understand is that the file paints the image of the ball that is displayed but not the image of the brick. i was wondering the same thing, where do i declare what the bmp file is,...
-
November 21st, 2010, 11:42 PM
#include <windows.h>
#include "resource.h"
const char g_szClassName[] = "myWindowClass";
HBITMAP g_hbmBall = NULL;
HBITMAP g_hbmBrick = NULL;
LRESULT CALLBACK WndProc(HWND hwnd, UINT msg,...
-
November 20th, 2010, 08:30 PM
Well for the final project for my c++ class we have to create a Breakout game using win api. I was wondering if the best thing to do for the blocks would be to include a .bmp file of the blocks. What...
-
November 16th, 2010, 02:49 PM
when i use
#include "resources.h"
i end up with these errors
1>c:\users\mrn5\documents\visual studio 2008\projects\project1new\project1new\resources.h(7) : error C2059: syntax error :...
-
November 11th, 2010, 12:26 PM
If it is in the Same folder as the cpp file shouln't it not matter?
Also, i dont really kno what you mean, i dont know how to define file paths in MSVC++.
-
November 11th, 2010, 12:14 PM
So i searched MSDN and i cannot figure out why i can't include the resources.h file i created for my program.
Here is how i did it.
1- Right click project folder and hit add-new item, chose .h...
-
November 4th, 2010, 11:33 AM
Im trying to put in a case where the window checks if the up key is pressed, and then displays a message, and i know the actual virtual key code for VK_UP is 26 or 0x26. What i dont know is how to...
-
October 16th, 2010, 07:55 PM
if you run the program the file gets created....
if you want a file create a txt document that is blank and put it in the folder. dont forget to name it petnames.txt
just to be clear, when you...
-
October 16th, 2010, 07:29 PM
you run the program once, and it creates and edits the file with what you input.
when you run it again it should come up and say "file found" because you have run the program before. It should...
-
October 16th, 2010, 06:27 PM
my mistake for wrong forum but the file is created when you run the program for the first time, then when you run it again it doesn't work.
Regards,
Newkid34
-
October 16th, 2010, 02:52 PM
So i am at the end of this project that makes animals that the user inputs bite each other.
The only problem i am having is when i go to read from a file that already exists.
I think i have...
-
September 30th, 2010, 10:35 AM
Im havign aproblem with a peice of code in this program, i have posted it after the program in its entirety. What happens when i run the program is it is supposed to check is a file exists. If it...
-
September 28th, 2010, 11:30 AM
ahh this looks like it is the right direction of what the teacher wanted us to do, Thanks.
As to what im trying to do, i dont even know. my professor leaves these assignments so vague and "open to...
-
September 23rd, 2010, 11:14 AM
I need to create an array of the dobite and dobitten functions i have here.
i have tried to create the array as follows
string petArray[1] = {&d1.doBite(&c1)};
cout << petArray[0];
and i cant...
|
Click Here to Expand Forum to Full Width
|