View Single Post
Old Dec 11th, 2005, 5:01 AM   #8
metsfan
Programmer
 
Join Date: Dec 2005
Posts: 57
Rep Power: 0 metsfan is an unknown quantity at this point
learning to program is not an easy task but it is good that you have decided to pick it up

the first thing you should do is learn to do a simple "hello world" program. this is the first step to learning how a program is run

next you should learn how to do some functions. write them in your main.c file. a good start would be something like an adding function, or a mapping function. learn about variables, primitive data types, and user-created types. learning about types and typing in general is an esential principle of programming. make sure you fully understand what it means for a program to be "well typed"

next you want to learn how to do some object oriented stuff. learn about header files, structs, and classes. this is the first step to truly understanding programming

learn about some basic data structures such as binary search trees, hash tables, lists, and arrays. these are strong building blocks with many different uses.

after you understand that basic stuff and fundamentals, test your skills by programming an algorithm. a good, basic start is something such as a sorting algorithm. some easy ones are insertion sort, bubble sort, and binary tree sort
metsfan is offline   Reply With Quote