Jump to content

  • Log In with Google      Sign In   
  • Create Account

EddieV223

Member Since 24 Oct 2010
Offline Last Active Dec 13 2014 11:09 AM

Posts I've Made

In Topic: c++ help

08 July 2014 - 06:05 PM

 


I'll explain.
Upvote for Seinfield.

 

Sometimes it's best to lead the student without simply giving the answers.

 

And no I didn't down vote you.


In Topic: c++ help

08 July 2014 - 11:57 AM

Of course it is possible though text processing can be difficult.   The simplest way to do this is a text in stream.  These classes have very similar syntax to your console streams.

 

http://en.cppreference.com/w/cpp/io/basic_ifstream

 

Then you need to come up with a format.

 

Here is an example

 

_________

Beer 12 pack

8.99

Cookies

3.99

Beef Jerky

2.49

_________

 

As you can see there is a repeating format here.  Every data field has it's own line ( the delimiter ).  Each product has its string name, and its price.

 

When you parse this you can create a vector of products ( think Products class or struct ) to hold your data.

 

Bonus points, give each product a uniqueID ( not a string ) that can be used for identification within your app.


In Topic: c++ basics

05 July 2014 - 12:57 PM

Try these video tutorials.

 

https://www.youtube.com/playlist?list=PLXjSIEICHR3OW7Ala0hkwNSrVE0uUpH6c


In Topic: Game engine for beginners, details here...

29 June 2014 - 11:43 AM

Obviously unity is your best choice, but something you didn't mention is this,

 

Game Studio A8 http://www.3dgamestudio.com/

 

 

PS go with unity.


In Topic: Best game-engine for post-apocalyptic games

14 April 2014 - 11:35 AM

Buy a book on unity there are plenty and will explain customizing the UI.  Also there are packages in the  assets store for better UI construction.


PARTNERS