Posts
 
Reputation
Joined
Last Seen
0 Reputation Points
0% Quality Score
Upvotes Received
0
Posts with Upvotes
0
Upvoting Members
0
Downvotes Received
3
Posts with Downvotes
2
Downvoting Members
2
0 Endorsements
Ranked #54.9K
Ranked #4K
~482 People Reached
Favorite Tags
c++ x 2
Member Avatar for joelchrist
Member Avatar for davujose
0
177
Member Avatar for gorgey506

[CODE]//A Fight #include <iostream> #include <cstdlib> #include <ctime> #include <string> using namespace std; using std::cout; using std::endl; using std::cin; using std::string; int main() { char again = 'y'; while (again == 'y') string yourweapon; cout << "Enter weapon: "; [B][U] cin >> yourweapon;[/U][/B] string yourname; cout << "Enter first name: …

Member Avatar for gorgey506
0
161
Member Avatar for El3et

Hi I'm trying to play a WAV file. I have used the following code... [CODE] PlaySound("C\Sounds\GAME_OVER.WAV",NULL,SND_ASYNCH); [/CODE] I get the following [CODE] Error 7 error C2065: 'SND_ASYNCH' : undeclared identifier c:\Users\Chris\Desktop\Pacman\v1.0\Pacman\Pacman.cpp 65[/CODE] I have also tried... [CODE] PlaySound (TEX("\\SOUNDS\\GAME_OVER.WAV"), NULL, SND_SYNC | SND_NODEFAULT); [/CODE] With this i get no sound …

Member Avatar for helsing1989
0
144