English Deutsch Français Italiano Español Português 繁體中文 Bahasa Indonesia Tiếng Việt ภาษาไทย
All categories

i want to learn programming languages but what should i know about computers before? i mean i opened a book on (c++ i think) and it started off with syntax and i was like wat...... so does anyone know what i should start with or work with? Thnx to whoever answers

2007-01-13 18:51:57 · 4 answers · asked by Raj 2 in Computers & Internet Other - Computers

i want to learn programming languages but what should i know about computers before? i mean i opened a book on (c++ i think) and it started off with syntax and i was like wat...... so does anyone know what i should start with or work with? Thnx to whoever answers

also like i want to know how computers work and such

2007-01-13 18:57:46 · update #1

4 answers

Start where the book tells you, and focus. It's fairly simple to start off, so you should be fine. If you still have troubles, start with C instead of C++.
Or ask a question about what the syntax means! An example is below (I assume the first example is "Hello, World!"):

#include // This line calls a file that translates your code into an executable

using namespace std; // This makes your code-writing more convenient and has something to do with namespaces, which will be mentioned later in the book with more detail

int main() { // This starts the main method, which is a necessary part of ALL C++ methods.

cout << "Hello, World!" << endl; // cout is the function that outputs information to a console, the << tells the computer to put what comes after it into the cout function, and the "Hello, World!" is what you want to come out.

return 0; // All int functions need a return statement, but you don't need to know why yet.

} // Ends the main method

2007-01-13 19:00:16 · answer #1 · answered by Solirus Distruct 2 · 0 0

Learn a simple language like HTML or Javascript to get the basics of coding, or rather understand the logic of these things. Also try and find some sites that have lots of tutorials and such.

2007-01-13 18:56:11 · answer #2 · answered by Some_Jerk 2 · 0 0

I would start with some simple batch files and scripts that manipulate the file system, etc. on your computer. you should also have a decent knowledge of DOS if you are going to be programing on a windows based platform...

2007-01-13 20:32:18 · answer #3 · answered by lv_consultant 7 · 0 0

Batch files
Basic

Basic lives up to it's name, it's simple and can give you an idea of the logic behind programming.

2007-01-13 20:47:54 · answer #4 · answered by Anonymous · 0 0

fedest.com, questions and answers