Forum: C++ Aug 30th, 2009 |
| Replies: 2 Views: 313 Thanx for your advice! UGP_BUTTON_DOWN isn't anything special, just the name of a case option. Anyway I didn't really need a mouse flag I just had to make another enum with some state options and a... |
Forum: C++ Aug 20th, 2009 |
| Replies: 2 Views: 313 For example, I want to set flag so that when I click a mouse down a screen schows up. I got that. But when I take my finger off of the button it disappears. Does anyone know how to set up a falg so... |
Forum: C++ Jul 24th, 2008 |
| Replies: 10 Views: 1,884 I'm sorry if I made it seem I was here to copy and paste... THat surely wasn't the case. If it was like that what am I doing trying to become a programmer in the first place? If I don't understand... |
Forum: C++ Jul 24th, 2008 |
| Replies: 10 Views: 1,884 Ok here is what I want to do. "Hello world" is on my list of objects by default. When I type in "list" Hello world should come up. Now I type in "add" and it aks what object would you like to add. So... |
Forum: C++ Jul 24th, 2008 |
| Replies: 10 Views: 1,884 Thanks ArkM and Vernon, your posts have helped me alot!
But I have one more point of contention.
Here it is.
else if (input == SEARCH)
{
cout << "What object do you want?";
string... |
Forum: C++ Jul 23rd, 2008 |
| Replies: 7 Views: 2,969 You could use the Beep command...
Beep(523,500); // 523 hertz (C5) for 500 milliseconds
Beep(587,500);
Beep(659,500);
Beep(698,500);
Beep(784,500);
but you probably didn't want to hear... |
Forum: C++ Jul 23rd, 2008 |
| Replies: 10 Views: 1,884 |
Forum: C++ Jul 23rd, 2008 |
| Replies: 10 Views: 1,884 I'm not quite clear on how to do that...
This is what I got so far.
else if (input == SEARCH)
{
cout << "What object do you want?";
std::vector - scan::iterator iter=vect.begin();iter... |
Forum: C++ Jul 22nd, 2008 |
| Replies: 10 Views: 1,884 Ok here is what I got so far.
When you type add, it asks what object would you like to add
When you type list, it lists those objects
When you type exit, you leave the program
What I would like... |
Forum: C++ Jul 16th, 2008 |
| Replies: 6 Views: 1,203 I know this a long dead subject but... if anyone else has this problem like I did!
here is the solution
#include <iostream>
using namespace std;
void spaces(int x) //I'm thinking, everybody... |
Forum: C++ Jun 27th, 2008 |
| Replies: 2 Views: 949 Ok, let's put it this way. I need to know how to set it up for my project without it interfering with OpenGL. I have a good idea which folder but don't know what DLL to put in. So far the manual has... |
Forum: C++ Jun 26th, 2008 |
| Replies: 2 Views: 949 For Visual Studio 2008. I am not sure if this is the right place for it, but maybe someone here can help me. I have my program set up for Open GL, I also want to put Open AL in there too. Now I... |
Forum: C++ Jun 23rd, 2008 |
| Replies: 4 Views: 1,073 Thanx a lot Ancient Dragon! Here is my solution in case anyone else ever runs into this type of problem.
void continueGame()// My problem is here...
{
//open save file for previous matrix... |
Forum: C++ Jun 23rd, 2008 |
| Replies: 4 Views: 1,073 GetHealth() returns the persons life and places it on the screen. Originally, (nit sure if you remember) I had put the health variable called int life; in the main cpp. I believe I have the save... |
Forum: C++ Jun 22nd, 2008 |
| Replies: 4 Views: 1,073 Can anyone give me a hint on how to save my heroes health that is in a PLAYER class that would be GetHealth() because it inherited that from the base class entity.
SetHealth() is in the base class... |
Forum: C++ Jun 22nd, 2008 |
| Replies: 6 Views: 699 I believe you got to declare what today is. |
Forum: C++ Jun 19th, 2008 |
| Replies: 3 Views: 2,991 Thanx it it worked! Now if I could figure out the composition thing... Thanks a lot man u r awesome! |
Forum: C++ Jun 19th, 2008 |
| Replies: 3 Views: 2,991 First off, this is homework and I do my classes online and the teacher doesn't respond to my e-mails in the fastest fashion. I've been getting linker errors all day and I'd like at least an... |
Forum: C++ Jun 15th, 2008 |
| Replies: 5 Views: 2,142 For unions. Unions cannot have base classes, and unions can not be used as base classes.
Did I get it right? |
Forum: C++ Jun 12th, 2008 |
| Replies: 7 Views: 797 Thank you very much!! I post the cpp file so if anyone else needs help like I did they can get it here! You can consider this thread solved! |
Forum: C++ Jun 8th, 2008 |
| Replies: 7 Views: 797 Thanx for the code optimization Ancient Dragon. Now if I could just figure out how to get the program to recognize the difference between saving and continuing in the first room and saving and... |
Forum: C++ Jun 8th, 2008 |
| Replies: 7 Views: 797 Still got the same results. Did you type in the code and get it to work yourself? Because I had tried something to that effect before and had no luck. |
Forum: C++ Jun 8th, 2008 |
| Replies: 7 Views: 797 Hello everyone. This is my first post here. I am only posting here under the most extreme circumstances because I cannot for the life of me figure out how to make my save function for RPG game to... |