Jump to content
  • Advertisement

shadowmark

Member
  • Content Count

    33
  • Joined

  • Last visited

Community Reputation

121 Neutral

About shadowmark

  • Rank
    Member
  1. shadowmark

    Practing C++

    That sounds pretty good I'll probably try that.
  2. shadowmark

    Practing C++

    Well right now im just now starting on referencing but ive learned about vecotrs, arrays, alrgorithms, functions, and string objects and some other stuff if thats any help on it.
  3. shadowmark

    Practing C++

    Ive been working in my begginer game programming book (C++), and its just been geting real diffuclt progressing through the book, because it keeps on getting tougher. and i was wondering if anyone had any ideas on how i could practice using the code by writing some really simple text based games to help me get more of the feel for learning the lauguage.
  4. shadowmark

    Graphics Library

    So wait does these graphics libraries work with all launguges
  5. shadowmark

    Graphics Library

    I heard some things of graphics librarys like SDL and allegro, and i was wondering what are Graphic Librarys? Do they allow you to create moving acting graphics or is it just a list of graphics? and is it free to get? I'm verry new at this lol.
  6. shadowmark

    Games

    OH i figured it out. I am very dumb. Thanx for the help.
  7. shadowmark

    Games

    Well the game is called "Maul Ball" and its written by this guy named stro.
  8. shadowmark

    Games

    It doesn't say anything in the readme.
  9. shadowmark

    Games

    This is a very noob question but, How do you run peoples games? like i want play someones game. and ive downloaded it but its just a folder with contents how would i play the game?
  10. shadowmark

    C++, Iterator

    Ok now I have another problem lol. When I put that in and ran it. It asked if you would want to add or subtract. but then when i wanted to add. It didn't let me type anything it just went straight threw everything.
  11. shadowmark

    C++, Iterator

    OOO thanx. I havn't learned that yet. thanx a bunch. :)
  12. shadowmark

    C++, Iterator

    Ok it worked but it won't let me put spaces in the game im adding. am i sposed to like have some king of bonus thing added.
  13. shadowmark

    C++, Iterator

    Im not quite sure why its displaying the arrow things wrong < i don't kno why its doing that
  14. shadowmark

    C++, Iterator

    Hi, im making this program that holds a list of favorite games and asks the user if they would like to add or subtract a game. but I am having trouble getting my program to display what they chose for a favortie game. here's the code: // Video Game List // Iterating and using Vectors #include &lt;iostream&gt; #include &lt;string&gt; #include &lt;conio.h&gt; #include &lt;vector&gt; using namespace std; int main() { vector&lt;string&gt; list; list.push_back("Resident Evil 4"); list.push_back("Halo 2"); list.push_back("Star Wars Galaxies"); vector&lt;string&gt;::iterator myIterator; vector&lt;string&gt;::const_iterator iter; cout &lt;&lt; "Your Favorite games:\n\n"; //show favorite games for (iter = list.begin(); iter != list.end(); ++iter) cout &lt;&lt; *iter &lt;&lt; endl; char add; char subtract; char choice; char game; add = 'a'; subtract = 's'; cout &lt;&lt; "\nPress 'a' to add a game or press 's' to subtract a game\n"; cin &gt;&gt; choice; if(choice == 'a') { cout &lt;&lt; "Enter the game name you would like to add."; cin &gt;&gt; game; cout &lt;&lt; "\nYour Games are now:\n"; //need to add 'game' to the list for (iter = list.begin(); iter != list.end(); ++iter) cout &lt;&lt; *iter &lt;&lt; endl; }else cout &lt;&lt; "You chose to subtract."; getch(); return 0; }
  15. shadowmark

    game loop (C++)

    oh. I also have another question. this theirs something wrong with the while part and i don't kno what it is. and help would be greatly appreciated again. char again = 'y'; cout << "\nGood roll, do you want to roll again? (y/n): "; cin >> again; } while (again == 'y'); // End the loop here. oops i posted twice.
  • Advertisement
×

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

GameDev.net is your game development community. Create an account for your GameDev Portfolio and participate in the largest developer community in the games industry.

Sign me up!