Search:

Type: Posts; User: Vanished

Search: Search took 0.02 seconds.

  1. Replies
    2
    Views
    1,343

    Getline is driving me crazy

    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;
  2. Replies
    2
    Views
    1,152

    Looking for some guidance

    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...
  3. Replies
    2
    Views
    1,083

    Now that I have figured out sound,

    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
  4. Replies
    2
    Views
    1,562

    Just what I needed, thank you soo much. I guess...

    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...
  5. Replies
    2
    Views
    1,562

    Question on sound in a game of mine

    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...
  6. Replies
    4
    Views
    1,372

    Question on sound in a game of mine.

    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...
  7. Replies
    8
    Views
    1,171

    Travis Dane, the pragma comment worked. Thanks:)...

    Travis Dane, the pragma comment worked. Thanks:) Can you explain what pragma is?

    Van
  8. Replies
    8
    Views
    1,171

    I don't have a selection for Settings under...

    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...
  9. Replies
    8
    Views
    1,171

    I have included mmsystem.h but how do I link the...

    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
  10. Replies
    8
    Views
    1,171

    Trying to use PlaySound

    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...
  11. Thread: sounds?

    by Vanished
    Replies
    6
    Views
    3,199

    I am in the same class as BBNERD, and we are done...

    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...
  12. Replies
    3
    Views
    1,201

    Here is my game.Thanks for the help

    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
  13. Replies
    4
    Views
    902

    well part of the idea behind having memeber...

    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...
  14. Replies
    10
    Views
    1,333

    Wassup Josh!! How goes the program? I haven't...

    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...
  15. Replies
    10
    Views
    1,333

    BBNerd, let me guess are you in Fulton's 168...

    BBNerd, let me guess are you in Fulton's 168 course:)

    Van
  16. Replies
    7
    Views
    1,660

    Except the ones that say, "Yeah, I have this...

    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
  17. Replies
    7
    Views
    1,660

    Yes it is just what I have been looking for, now...

    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
  18. Replies
    7
    Views
    1,660

    Sorry for a dumb question.

    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...
  19. Replies
    2
    Views
    1,073

    Trying to find a way to change color

    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...
  20. Thread: Setw question

    by Vanished
    Replies
    3
    Views
    1,015

    Thank you Eibro I will have to give that a try. ...

    Thank you Eibro I will have to give that a try.

    Van
  21. Thread: Setw question

    by Vanished
    Replies
    3
    Views
    1,015

    Setw question

    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...
  22. Replies
    3
    Views
    988

    String array question

    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...
  23. Thread: Using rand()?

    by Vanished
    Replies
    3
    Views
    1,026

    Thank You

    Just what I was looking for
  24. Thread: Using rand()?

    by Vanished
    Replies
    3
    Views
    1,026

    Using rand()?

    Is there a simple way when using the rand() function to limit it to lets say between 0 and 100?
  25. Replies
    1
    Views
    2,985

    Question on an array practice problem

    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...
Results 1 to 25 of 25