Welcome to Dream.In.Code
Become a C++ Expert!

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!




Why is C++ tutorial teaching me in the Win32 Console Application

2 Pages V  1 2 >  
Reply to this topicStart new topic

Why is C++ tutorial teaching me in the Win32 Console Application

xAlanxEnglandx
6 Jul, 2008 - 12:00 PM
Post #1

New D.I.C Head
*

Joined: 6 Jul, 2008
Posts: 31

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... smile.gif

Thanks guys. smile.gif

This post has been edited by xAlanxEnglandx: 6 Jul, 2008 - 12:02 PM
User is offlineProfile CardPM
+Quote Post

gabehabe
RE: Why Is C++ Tutorial Teaching Me In The Win32 Console Application
6 Jul, 2008 - 12:05 PM
Post #2

Donkey DIC
Group Icon

Joined: 6 Feb, 2008
Posts: 5,556



Thanked: 99 times
Dream Kudos: 2650
Expert In: ruling the world.

My Contributions
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.

Hope this helps smile.gif
User is offlineProfile CardPM
+Quote Post

xAlanxEnglandx
RE: Why Is C++ Tutorial Teaching Me In The Win32 Console Application
6 Jul, 2008 - 12:09 PM
Post #3

New D.I.C Head
*

Joined: 6 Jul, 2008
Posts: 31

QUOTE(gabehabe @ 6 Jul, 2008 - 01:05 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 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 smile.gif


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?

User is offlineProfile CardPM
+Quote Post

gabehabe
RE: Why Is C++ Tutorial Teaching Me In The Win32 Console Application
6 Jul, 2008 - 12:11 PM
Post #4

Donkey DIC
Group Icon

Joined: 6 Feb, 2008
Posts: 5,556



Thanked: 99 times
Dream Kudos: 2650
Expert In: ruling the world.

My Contributions
Not really, no.

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?
User is offlineProfile CardPM
+Quote Post

xAlanxEnglandx
RE: Why Is C++ Tutorial Teaching Me In The Win32 Console Application
6 Jul, 2008 - 12:23 PM
Post #5

New D.I.C Head
*

Joined: 6 Jul, 2008
Posts: 31

QUOTE(gabehabe @ 6 Jul, 2008 - 01:11 PM) *

Not really, no.

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. smile.gif

Thanks...

User is offlineProfile CardPM
+Quote Post

gabehabe
RE: Why Is C++ Tutorial Teaching Me In The Win32 Console Application
6 Jul, 2008 - 12:32 PM
Post #6

Donkey DIC
Group Icon

Joined: 6 Feb, 2008
Posts: 5,556



Thanked: 99 times
Dream Kudos: 2650
Expert In: ruling the world.

My Contributions
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:
  1. Loads and loads and loads of console applications.
  2. Basic Windows API stuff, just about making a window, that was it.
  3. 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)
User is offlineProfile CardPM
+Quote Post

xAlanxEnglandx
RE: Why Is C++ Tutorial Teaching Me In The Win32 Console Application
6 Jul, 2008 - 12:39 PM
Post #7

New D.I.C Head
*

Joined: 6 Jul, 2008
Posts: 31

QUOTE(gabehabe @ 6 Jul, 2008 - 01:32 PM) *

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:
  1. Loads and loads and loads of console applications.
  2. Basic Windows API stuff, just about making a window, that was it.
  3. 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
User is offlineProfile CardPM
+Quote Post

Locke37
RE: Why Is C++ Tutorial Teaching Me In The Win32 Console Application
6 Jul, 2008 - 12:44 PM
Post #8

I'm not a thief...I prefer the term TREASURE HUNTER!
Group Icon

Joined: 20 Mar, 2008
Posts: 1,041



Thanked: 41 times
Dream Kudos: 325
My Contributions
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.
User is offlineProfile CardPM
+Quote Post

polymath
RE: Why Is C++ Tutorial Teaching Me In The Win32 Console Application
6 Jul, 2008 - 03:54 PM
Post #9

D.I.C Regular
Group Icon

Joined: 4 Apr, 2008
Posts: 415



Thanked: 4 times
Dream Kudos: 500
My Contributions
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)

User is offlineProfile CardPM
+Quote Post

KYA
RE: Why Is C++ Tutorial Teaching Me In The Win32 Console Application
6 Jul, 2008 - 04:14 PM
Post #10

#include <nerd.h>
Group Icon

Joined: 14 Sep, 2007
Posts: 5,045



Thanked: 124 times
Dream Kudos: 1200
My Contributions
Plus people from the 80s and 90s love console apps. wink2.gif
User is online!Profile CardPM
+Quote Post

baavgai
RE: Why Is C++ Tutorial Teaching Me In The Win32 Console Application
6 Jul, 2008 - 04:58 PM
Post #11

Dreaming Coder
Group Icon

Joined: 16 Oct, 2007
Posts: 2,046



Thanked: 106 times
Dream Kudos: 475
Expert In: C, C++, Java, C#, ASP.NET, PHP, Perl, Python, Oracle, SQL Server, MySql, HTML, JavaScript, Lua

My Contributions
QUOTE(xAlanxEnglandx @ 6 Jul, 2008 - 04: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. wink2.gif

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
User is online!Profile CardPM
+Quote Post

xAlanxEnglandx
RE: Why Is C++ Tutorial Teaching Me In The Win32 Console Application
6 Jul, 2008 - 10:17 PM
Post #12

New D.I.C Head
*

Joined: 6 Jul, 2008
Posts: 31

QUOTE(baavgai @ 6 Jul, 2008 - 05:58 PM) *

QUOTE(xAlanxEnglandx @ 6 Jul, 2008 - 04: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. wink2.gif

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...?

Thanks everyone for you help.

User is offlineProfile CardPM
+Quote Post

2 Pages V  1 2 >
Reply to this topicStart new topic
Time is now: 12/4/08 10:42AM

Live C++ Help!

C++ Tutorials

Reference Sheets

C++ Snippets

DIC Chatroom

Bye Bye Ads

Monthly Drawing

Thumb Drive

Top Contributors

Top 10 Kudos This Month