Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Search results for query: *

  1. shadowsilver

    PROBLEMS with getting console info

    But it's all at MSDN, it shows the contents of that struct and everything! I think I can do it another way, though. Thanks anyways!
  2. shadowsilver

    PROBLEMS with getting console info

    Can anybody help me? I'm trying to use the GetConsoleScreenBufferInfo function to get the location of the cursor on the screen at any time, but I'm having troubles. I've studied MSDN, and thought I'd figured it out, but it didn't work. I've looked all over for example source code for that...
  3. shadowsilver

    HOW TO show a pic in console

    Hey, i'm a newbie to graphics in C++, how can you show a picture in console mode - using any type of graphics system you choose to show me. Also, what is a good graphics sys to start out with - eg. OpenGL, etc.? Any code, or comments would be helpful. Thanks!
  4. shadowsilver

    Help on defining constructors easily...

    Thanks for the clarification, chipperMDW. I just wondered whether it was possible. It's not really any harder, but I just figured it would simplify my code if you could do that. I wasn't sure whether C++ came with a way to automate that kind of initializing, seeing as how I would think it...
  5. shadowsilver

    Help on defining constructors easily...

    Does anyone know if there is a way to send arguments to a constructor and not have to use a local copy to transfer them to their rightful homes? Like: class Person { int Hlth, Att, Def; string Name; Person(int InitHlth, int InitAtt, int InitDef, string InitName); } Is there another way to do...
  6. shadowsilver

    Question referring to classes

    I'll work on more of the code and maybe post some here.
  7. shadowsilver

    Question referring to classes

    I appreciate all the help, chipperMDW, it helps a lot. I have learned about inheritance, but did not really understand how it could be used in practical situations. But this helps a lot. Oh, and that helps me alot about the virtual functions!
  8. shadowsilver

    Question referring to classes

    Thanks, man. I don't really understand some of the parts of inheritance and virtual functions, but that's something I'll have to learn.
  9. shadowsilver

    Question referring to classes

    I have taught myself C++ and have quite a bit of experience, but I am just now getting to understand classes. I am writing a simple two-player turn-based game and have decided to use classes to make it easier. I have already made part of it, but I have a question about using member functions...

Part and Inventory Search

Back
Top