Skip to main content

Posts

Showing posts from April, 2016

C++ programming

#include <iostream> using namespace std; int main(){  cout << "Hello world" << endl;  return 0; } OR #include <iostream> using namespace std; int main(){  cout << "Hello world" ;  return 0; } Explanation   #include <iostream> are also called per-processor directives which includes files that the computer needs to run later in the program. using namespace std; is a standard library. A standard library in computer programming is the library made available across implementations of a programming language. int stands for integer. int main( ){ return 0; } this stands for functions. Functions are things a programmer wants the computer to do. they are made up of statements which ends up with " ; ".

Introduction C++ Programming

This tutorial is for those people who want to learn programming in C++ and do not necessarily have any previous kn owledge of other programming languages. Of course any knowledge of other programming languages or any general computer skill can be useful to better understand this tutorial, although it is not essential. It is also suitable for those who need a little update on the new features the language has acquired from the latest standards. If you are familiar with the C language, you can start with the next program code using your codeblocks or dev C++ software. There are slight differences in the C++ syntax for some C features, so I recommend you its reading anyway.

Coding Tips you should know

Get started . Do not feel bad that you are not an expert programmer yet. In 10,000 hours, you will be. All you need to do is start. Dedicate some time each day or week to checking things off this list. You can take as long as you want or move as fast as you want. If you’ve decided to become a great programmer, you've already accomplished the hardest part: planting the seed. Now you just have to add time and your skills will blossom. If you need any help with any of these steps, feel free to email me and I'll do my best to help. Don't worry . Do not be imitated by how much you don't understand. Computers are still largely magic even to me. We all know that computers are fundamentally about 1s and 0s, but what the hell does that really mean? It took me a long time to figure it out–it has something to do with voltages and transistors. There are endless topics in computer science and endless terms that you won’t understand. But if you stick wit