Forum: Game Development May 6th, 2009 |
| Replies: 1 Views: 464 I have made scoreboards before in programs, but
i was wondering if there was an easier way, or at least a shorter way since this method will take up around 50 lines.
here's what I usually do
... |
Forum: Graphics and Multimedia May 5th, 2009 |
| Replies: 1 Views: 439 I am trying to sync a sound effect with an action in a flash game, but it does'nt seem bo be working. I am trying to make an explsion sound when the player's ship gets destroyed, here's some of my... |
Forum: C++ Nov 26th, 2008 |
| Replies: 5 Views: 457 of corse i would do something so small it was barely noticeable, it usually only takes a fresh pair of eyes or two. Thanks |
Forum: C++ Nov 25th, 2008 |
| Replies: 5 Views: 457 sorry, here we go:
void cardT()
{
int KQJ = 0;
if (Card == 11)
{
cout << "Dealer draws a Jack\n";
Card = 10; |
Forum: C++ Nov 25th, 2008 |
| Replies: 5 Views: 457 I dont know why, but this program I wrote is having a problem. it has a problem converting an Ace from 11 to 1 when the players have more than 21. if you could look over this, I would appreciate it.... |
Forum: C++ Nov 24th, 2008 |
| Replies: 6 Views: 413 Ah HA! my thanks to you both, (especially with that stupid if statement). Now I an finally get his progam to work for me.
Thanks again. |
Forum: C++ Nov 23rd, 2008 |
| Replies: 6 Views: 413 Ok, I'm fairly certain that I have everything the right way, my only problem is this error message:
ISO C++ forbids assignment of arrays
it says this at the "mine[j] = mine[j + 1];" point (note:... |
Forum: C++ Nov 22nd, 2008 |
| Replies: 6 Views: 413 OK, i see what you mean, but i'm having a ard time putting it into practice. let me show you what i have so far:
#include <iostream>
#include <iomanip>
using namespace std;
const int... |
Forum: C++ Nov 22nd, 2008 |
| Replies: 6 Views: 413 Okay, so I've been working on a program that will allow the user to input what items they want into an array and make the output look like this:
Item 1. Sword
Item 2. Shield
Item 3. Sword
Item... |
Forum: C++ Nov 20th, 2008 |
| Replies: 2 Views: 307 Ah, now I see what I was doing wrong. That makes sence. Thanks for your help. |
Forum: C++ Nov 20th, 2008 |
| Replies: 2 Views: 307 I have had this problem a couple of times but i am unsure of what it means. could someone tell me what the error message "non-lvalue in assignment" translates to in english, please? |
Forum: C++ Nov 19th, 2008 |
| Replies: 6 Views: 413 Ah Ha! it works, you have my thanks.
The bunny thanks you too. 8D |
Forum: C++ Nov 19th, 2008 |
| Replies: 6 Views: 413 Im sorry to say it, butwhen I pasted your program to my compiler, i had the same problem when i started. Have you any other thoughts? please. |
Forum: C++ Nov 18th, 2008 |
| Replies: 6 Views: 413 Ok, i see what you mean. but it doent seem to be working, maybe i am not writing it correctly. here's what i'm trying:
char Items[NumItems][StringSize] =
{ "Sword", "Shield",... |
Forum: C++ Nov 18th, 2008 |
| Replies: 6 Views: 413 I am a bit confused. I am trying to make a program that will take the choices you make and display them all simular to this:
Item 1. Sword
Item 2. Shield
Item 3. Potion
Item 4. Potion
but... |
Forum: C++ Nov 4th, 2008 |
| Replies: 2 Views: 1,491 Ah, that makes more sence. Thank you. |
Forum: C++ Nov 4th, 2008 |
| Replies: 2 Views: 1,491 I'm trying to make this program work like a game of BlackJack. However, the program will not listen to me when I try to end the loop. does anyone have any sugestions on how to fix this program?
... |
Forum: C++ May 5th, 2008 |
| Replies: 10 Views: 809 Thank you Ancient, your programming knowlege has saved yet annother hide.
the Bunny below thanks you too. |
Forum: C++ May 5th, 2008 |
| Replies: 10 Views: 809 ah, that makes sense
it still is not working, so I was thinking, might the atoi finction work to solve this? |
Forum: C++ May 5th, 2008 |
| Replies: 10 Views: 809 here
void testSort(vector<int>& test)
{
for (ubt startScan = 0;startScan < (test.size()-1); startScan++)
} |
Forum: C++ May 5th, 2008 |
| Replies: 10 Views: 809 what exactly is "ubt?" I can't find it in my book. |
Forum: C++ May 5th, 2008 |
| Replies: 10 Views: 809 I tried that and got this error message
cannot convert `std::vector<int, std::allocator<int> >' to `int*' for argument `1' to `void testSort(int*, int)' |
Forum: C++ May 5th, 2008 |
| Replies: 10 Views: 809 I have been working on this problem so much, I have started to think in Binary.
what I am supposed to do is put User defined numbers in acending order.
Here is what I tried.
(please dont laugh)
... |