In main I have
string str_choice;
I am trying to use
cout << "Please enter date in mm/dd/yyyy format";
getline(cin,str_choice);
cout << str_choice;
Type: Posts; User: Vanished
In main I have
string str_choice;
I am trying to use
cout << "Please enter date in mm/dd/yyyy format";
getline(cin,str_choice);
cout << str_choice;
I am very interested in learnign about game programming, but I am trying to find a great book to read over holiday. I have 2 semesters of C, and 1 semester of C++ under my belt. I want to have the...
Does anyone know where I can find good .wav files of war like sounds. I am lookign for stuff for a Battleship game.
Thanks,
Van
Just what I needed, thank you soo much. I guess if I would have read the MSDN section on PlaySound a little mroe closely I would have caught that. I cut and pasted a call to PLaySound that had...
I am using the PlaySound function to play a .wav file of an explosion within a Battleship game I made for class. The problem I am having is that a section of code will not run until the .wav file is...
I am using the PlaySound function to play a .wav file of an explosion within a Battleship game I made for class. The problem I am having is that a section of code will not run until the .wav file is...
Travis Dane, the pragma comment worked. Thanks:) Can you explain what pragma is?
Van
I don't have a selection for Settings under Project. I have Add Class, Add Resource, Add New Item, Add Existing Item, New Folder and something else. Maybe it is different in MSVS .Net, I will look...
I have included mmsystem.h but how do I link the .lib file. I can't figure that part out. I am using MS Visual Studio .NET
Van
I am trying to use the Play Sound function , but I am getting this error : unresolved external symbol __imp__PlaySoundA@12 referenced in function _main
I am nto sure what to do with this. I am using...
I am in the same class as BBNERD, and we are done with class for X-Mas break. I want to work on sound over break and not sure where and how to start. I am running Windows XP, so if I was to make a...
I want to thank everyone who helped, me with the color portion. I know the game isn't much. But it is a start:)
Van
well part of the idea behind having memeber variables private, is so that are protected from being messed with. If they were public, then anyone could get in and mess with the variables. But by...
Wassup Josh!! How goes the program? I haven't really started mine yet. Also what did I miss in class, I had to help my parents move into there new house. Also I am working on finding out how to do...
BBNerd, let me guess are you in Fulton's 168 course:)
Van
Except the ones that say, "Yeah, I have this assignment due tommorow and uh yeah, I don't understand can someone help me write the code":)
Van
Yes it is just what I have been looking for, now I need to figure out how to find which area contains functions that deal with text output formatting and timers:)
Van
I am learning C++ right now, and I am using Visual Studio .Net. My question is this, I am trying to find out what functions are available in C++ that I can use for a timer, and ways I can change text...
I am using .NET Visual Studio C++ and am trying to find a way to change the output color to the console window. I am wanting to make some words red, white and blue and not sure if there is a function...
Thank you Eibro I will have to give that a try.
Van
I am wondering if there is a function or command that can be used like precision where once called it will add a certain amount of spaces before all output until otherwise changed. Instead of having...
How would I initialize this
char **stringArray
I am trying to figure out how to initialize it with my firts and last name, but everytime I try it won't work. I am assuming that char...
Just what I was looking for
Is there a simple way when using the rand() function to limit it to lets say between 0 and 100?
This is a practice problem for class that has me stumped. I am very new to C, so please don't flame. I am stuck on a simple array problem for class, but I cannot figure out what to do next. Here is...