User forums > General (but related to Code::Blocks)
Too dumb to get started?
Newbie0815:
This is about my 100s attempt to get started in programming, the previous 99 all ended the same way, I keep trying 2 or 3 days and I give up because I get nowhere, and I don´t understand why this should be so unbelievable complicated
As you can see, I haven´t totally given up yet, I always get back to it a week later or so, but you may still call me the bloodiest noob you´ve ever met, so forgive me for asking the dumbest questions
I´m not absolute new to programming, I know some basics in php/mysql
I´ve searched for online tutorials for beginners in C/C++, found some, and managed to write my first Hello World program to run in a DOS box
After that most beginner tutorials explain some basics about definig variables, get input, calculate and output, loops and stuff, that part isn´t new to me, a bit different syntax, but basicly the same as in php
After that, there comes the transformation of the Hello World program into a win32 application, sounds very easy, even the explanation looks very easy, but this is the point where I´m getting stuck
All the tutorials I found say something about the difference in code, like I have to use windows.h instead of iostream, but none of them mentions with a single word, that upon opening a new project and choose win32 application I get a main.cpp containing a whole bunch of code already where I have not the slightest clue WHERE to fit in the Hello World
Other tutorials I found are way too advanced for me, I don´t get a single word there
I keep searching, but I wonder, isn´t there an easy tutorial somewhere on the web which doesn´t explain what I already know and then either ends or jumps to a point where I don´t get a word?
I´d be willing to buy a book, but after this experience I almost expect it would be the same thing, either its about basics I know already or it begins at a point where I don´t understand anything at all
Can someone help me out? An easy tutorial for dummies, titled from web-programming to real programming or something like that?
sethjackson:
--- Quote from: Newbie0815 on July 29, 2006, 02:51:59 am ---This is about my 100s attempt to get started in programming, the previous 99 all ended the same way, I keep trying 2 or 3 days and I give up because I get nowhere, and I don´t understand why this should be so unbelievable complicated
As you can see, I haven´t totally given up yet, I always get back to it a week later or so, but you may still call me the bloodiest noob you´ve ever met, so forgive me for asking the dumbest questions
I´m not absolute new to programming, I know some basics in php/mysql
I´ve searched for online tutorials for beginners in C/C++, found some, and managed to write my first Hello World program to run in a DOS box
After that most beginner tutorials explain some basics about definig variables, get input, calculate and output, loops and stuff, that part isn´t new to me, a bit different syntax, but basicly the same as in php
After that, there comes the transformation of the Hello World program into a win32 application, sounds very easy, even the explanation looks very easy, but this is the point where I´m getting stuck
All the tutorials I found say something about the difference in code, like I have to use windows.h instead of iostream, but none of them mentions with a single word, that upon opening a new project and choose win32 application I get a main.cpp containing a whole bunch of code already where I have not the slightest clue WHERE to fit in the Hello World
Other tutorials I found are way too advanced for me, I don´t get a single word there
I keep searching, but I wonder, isn´t there an easy tutorial somewhere on the web which doesn´t explain what I already know and then either ends or jumps to a point where I don´t get a word?
I´d be willing to buy a book, but after this experience I almost expect it would be the same thing, either its about basics I know already or it begins at a point where I don´t understand anything at all
Can someone help me out? An easy tutorial for dummies, titled from web-programming to real programming or something like that?
--- End quote ---
I'm assuming you want to know how to code Win32 GUI programs right? I think this tutorial is the de facto standard for the Win32 API. :)
http://winprog.org/tutorial/
EDIT:
BTW here is the Win32 API Hello World program. :)
--- Code: (cpp) ---#include <windows.h>
int WINAPI WinMain(HINSTANCE hInstance, HINSTANCE hPrevInstance,
LPSTR lpCmdLine, int nCmdShow)
{
MessageBox(0, "Hello World!", "Note", MB_OK);
return 0;
}
--- End code ---
Newbie0815:
thanks for the quick answer, I´ll give it a try (and I´m sure I´ll be back soon)
Edit:
yeah, back already, didn´t even make it through chapter 1 of Getting Started
Quote:
If you don't know what a macro or a typedef are, or how a switch() statement works, then turn back now and read a good book or tutorial on the C language first.
I guess I need that good book or tutorial first
kidmosey:
http://kpest.musitu.org/
Check out the C/C++ Tutorials section.
I'm not spamming, honest! These are the links I used when I got started with programming soooo many years ago. Most of the links still seem good, too.
[edit]
If I were you, I'd skip down to the Coronado Enterprises Tutorials. I probably should have placed them first.
[/edit]
sethjackson:
--- Quote from: Newbie0815 on July 29, 2006, 03:06:30 am ---thanks for the quick answer, I´ll give it a try (and I´m sure I´ll be back soon)
Edit:
yeah, back already, didn´t even make it through chapter 1 of Getting Started
Quote:
If you don't know what a macro or a typedef are, or how a switch() statement works, then turn back now and read a good book or tutorial on the C language first.
I guess I need that good book or tutorial first
--- End quote ---
You don't need a book. Just a good C++ tutorial. :) I didn't know what that stuff was either when I started. :)
http://www.cplusplus.com/doc/tutorial/
Navigation
[0] Message Index
[#] Next page
Go to full version