Hello guys! im a (noob) programmer and i started learning c++ and i have been watching tuts and i have learned all the basic stuff but all the tuts i have watched all only use a console! i feel i have the basics down but i dont know how i would use c++ outside of a console window with just basic math and printing strings. so the question is is there any good tuts for C++ that is for beginners but also not on console but on a engine that is pure code? thanks
C++ starter
For something more than the console, you can look at things like SFML. This gives you windows, graphics, input, and audio handling.
For something more than the console, you can look at things like SFML. This gives you windows, graphics, input, and audio handling.
^^^ Not only is SFML an easy library, it will introduce you to what classes that you write should look like.
I think, therefore I am. I think? - "George Carlin"
My Website: Indie Game Programming
My Twitter: https://twitter.com/indieprogram
My Book: http://amzn.com/1305076532
For something more than the console, you can look at things like SFML. This gives you windows, graphics, input, and audio handling.
^^^ Not only is SFML an easy library, it will introduce you to what classes that you write should look like.
i have installed SFML to visual studio 2010 and got the example program working, now do u know how i should get started or any tut's to look at?
SFML's documentation comes with pretty good tutorials: http://www.sfml-dev.org/tutorials/2.1/
do i have to re input the sfml path every time i make a new project? i give up and restart all the time.
do i have to re input the sfml path every time i make a new project? i give up and restart all the time.
Yes, every time you make a new project you have to add the links to the header files and libraries. But that just means you'll get lots of practice.
There are tons of examples that come with the library. I would start by running those and seeing what looks interesting.
I think, therefore I am. I think? - "George Carlin"
My Website: Indie Game Programming
My Twitter: https://twitter.com/indieprogram
My Book: http://amzn.com/1305076532
do i have to re input the sfml path every time i make a new project? i give up and restart all the time.
I'm almost certain that you can create your own custom project templates with all paths set up, so that when you create a new project, you can use this template as the base, and you don't have to add the SFML paths manually.
Do a web search for "Creating Visual Studio Project Templates"
These links may help:
http://msdn.microsoft.com/en-us/magazine/cc188697.aspx
http://www.c-sharpcorner.com/UploadFile/370e35/create-your-own-project-template-in-visual-studio/
do i have to re input the sfml path every time i make a new project? i give up and restart all the time.
I'm almost certain that you can create your own custom project templates with all paths set up, so that when you create a new project, you can use this template as the base, and you don't have to add the SFML paths manually.
Do a web search for "Creating Visual Studio Project Templates"
These links may help:
http://msdn.microsoft.com/en-us/magazine/cc188697.aspx
http://www.c-sharpcorner.com/UploadFile/370e35/create-your-own-project-template-in-visual-studio/
aw says you can not do it with C++ oh well ill just make a back up of a project file and copy it when i restart?