Join 137,175 C++ Programmers for FREE! Get instant access to thousands of C++ experts, tutorials, code snippets, and more! There are 2,369 people online right now. Registration is fast and FREE... Join Now!
Hey guys, Ime a beginner. and took up C++ programming. I took up a microsoft tutorial for visual c++ express edition and studying the tutorial, however it said about for the tutorial it will teach me in the Win32 console application to make the tutorial easy...
The book teaches the syntax, and all the features like control statements and stuff to know to programming, but would I need a seperate tutorial to make something like a "Windows Forms Application" with working buttons that open message boxes and stuff, I dont see how the Win32 console application is teaching me how to actually add buttons and stuff for a person to use in software...
Please dont be mean if its a stupid question, ime only a beginner...
Thanks guys.
This post has been edited by xAlanxEnglandx: 6 Jul, 2008 - 12:02 PM
Console apps are the best way to start learning. If you're interested in windows forms, I suggest looking into some kind of .NET development... C# and VB are the most common.
Personally, I think that learning from console is the best way, simply to learn the fundamentals of any programming.
However, if you would like to learn the Windows API through C++ try my list of resources and look under the Windows tutorials.
Console apps are the best way to start learning. If you're interested in windows forms, I suggest looking into some kind of .NET development... C# and Java are the most common.
Personally, I think that learning from console is the best way, simply to learn the fundamentals of any programming.
However, if you would like to learn the Windows API through C++ try my list of resources and look under the Windows tutorials.
Hope this helps
You would need to go onto this kind of thing anyway wouldent you, You wouldent get someone using your programmed software or game from a Console App?
But, by learning from the console applications, you can learn the principals of programming.
Basically, you can learn all of the stuff you need to know before throwing in graphics manipulation, too.
What are you more interested in moving towards? Windows software development, or game development?
Or maybe application for other operating systems, such as Linux?
Well, ime taking in this tutorial quite well and taking in the principals of programming quite good.
I am kind of interested in Game Programming, and thought starting of with some Windows Form Applications it would give me some practice to get better at programming, but are game programming and software programming two different things?
(Say if I took a tutorial on game programming, Would i have difficulty making a windows form application?) I dont see how, as it would be the same programming language using the same principals of the language...
so when you said about which way I want to go with Programming, would windows software give me practice and advance me for game programming?, of course after I've learned all the principals and stuff from the tutorial book.
Kind of. I don't really like C++ for any Windows forms programming. Take a look at C# and Visual Basic, they are really good for simple Windows apps, they even come with a design view to drag and drop the stuff for the interface.
The way I learned:
Loads and loads and loads of console applications.
Basic Windows API stuff, just about making a window, that was it.
SDL and OpenGL (learning now)
Take your time with it... it's not something that you can rush.
If you want a book, I strongly suggest getting "Game Programming All In One" published by Premier Press, it's awesome and teaches console, windows and DirectX (games graphics for Windows)
Kind of. I don't really like C++ for any Windows forms programming. Take a look at C# and Visual Basic, they are really good for simple Windows apps, they even come with a design view to drag and drop the stuff for the interface.
The way I learned:
Loads and loads and loads of console applications.
Basic Windows API stuff, just about making a window, that was it.
SDL and OpenGL (learning now)
Take your time with it... it's not something that you can rush.
If you want a book, I strongly suggest getting "Game Programming All In One" published by Premier Press, it's awesome and teaches console, windows and DirectX (games graphics for Windows)
So with all The Principals I learn from the tutorial, Ide be then ready to take a look at a game Programming tutorial, such as that book you suggested?
I have used simple C programming and Visual basic for forms applications (I dident learn much of C though), untill I wanted a much more powerful and more challenging language such as C++.
Thanks for you help anyway...
This post has been edited by xAlanxEnglandx: 6 Jul, 2008 - 12:42 PM
Agreed, console apps are used in most beginner's tutorials and such. Most applications I did in my first Java class were on the console. Then we slowly made our way into using GUI's and Files and such.
Everyone needs to use console apps! Console apps are essential for learning all the capabillities of a language and getting used to programming in that language.
The way i learned:
-Web Development Stuff -Batch Scripts -(Then I moved to C++) -Tons of Console apps and utilities -Allegro Game Programming Library -Windows Forms in C++ and C++.NET (still learning)
I dont see how the Win32 console application is teaching me how to actually add buttons and stuff for a person to use in software...
You have to walk before you can run.
The idea is to present concepts in such a way that they build on concepts already presented. Primitive variables, then arrays, etc. With this in mind, being able to get output from a program with a simple print has obvious advantages. A windows program would have to create a window and a label or listbox before you even get off the ground.
I create windows applications for a living. The first program type I prototype in is usually a console app. Once all the messy behind the scenes code behaves as expected, then it's time to start playing with forms, controls, events, etc.
Doing a console app is NOT a waste of time. Nothing you learn in computers ever is. You'll take it all with you when you start writing that GUI app you want to.
This post has been edited by baavgai: 6 Jul, 2008 - 05:00 PM
I dont see how the Win32 console application is teaching me how to actually add buttons and stuff for a person to use in software...
You have to walk before you can run.
The idea is to present concepts in such a way that they build on concepts already presented. Primitive variables, then arrays, etc. With this in mind, being able to get output from a program with a simple print has obvious advantages. A windows program would have to create a window and a label or listbox before you even get off the ground.
I create windows applications for a living. The first program type I prototype in is usually a console app. Once all the messy behind the scenes code behaves as expected, then it's time to start playing with forms, controls, events, etc.
Doing a console app is NOT a waste of time. Nothing you learn in computers ever is. You'll take it all with you when you start writing that GUI app you want to.
So once Ive learned the Principals of C++ programming, would I need a seperate tutorial on how to make stuff like windows, lists, buttons ect...?