From a Newb to Newbs 03-07-2015, 04:27 PM
#1
This is my advice to all those who are wanting to learn C++ but have no guidance. I'm a newb myself, but this post will hopefully help you. Within a few hours, you should be getting the hang of it!
First of all, yes, you need a computer. A computer is the most efficient way to program as far as I'm concerned. It also is able to compile and run programs by itself.
However! You can study on your android device! I would recommend these links (bottom of post; read whole post) to you, personally.
While learning, you may want to challenge yourself. Think about something fun and try it! If you fumble or want to do something, note it and Google it! If you don't find what you're looking for, ask somebody! If you've already given forth effort, we won't be upset, Hell, I'd be glad by someone's devotion to go ahead.
I only have experience programming on windows (I know, I know, boo me.), so I may not be the best to ask for help on Linux and such.
You may want to save or bookmark this post for future reference.
Setting up your C++ programming environment
First of all, this is easier than it sounds. All you have to do is download and install Bloodshed Dev C++. To make a new source, press File then New and select Source. Then you're ready to roll!
_____
If you want your program to wait a few seconds, use...
#include <iostream>
#include <windows.h>
using namespace std;
int main ()
{
cout<<"This is seconds before.\n";
Sleep(milliseconds);
cout<<"Seconds after.\n";
}
Be sure to capitalize Sleep, it is important.
____
If you want to get the user to input a word or sentence, etc... and read it out...
#include <iostream>
#include <string>
using namespace std;
int main()
{
string Name;
cout << "What is your name?\n";
getline (cin, Name);
cout<<"Salutations, "<<Name<<".\n";
}
If you have any questions or anything else, please feel free to comment here or message me!
Some examples:
![[Image: d5b64f184168e62da5b69bc40cdd0d69.jpg]](http://tapatalk.imageshack.com/v2/15/03/07/d5b64f184168e62da5b69bc40cdd0d69.jpg)
![[Image: 9ec6b7ad8cca1447afda2e3f29bed59c.jpg]](http://tapatalk.imageshack.com/v2/15/03/07/9ec6b7ad8cca1447afda2e3f29bed59c.jpg)
Android C++ Guide:
https://play.google.com/store/apps/detai...for.hacker
MultiLang Compiler:
https://play.google.com/store/apps/detai...inecompilr
Hope this helps!
First of all, yes, you need a computer. A computer is the most efficient way to program as far as I'm concerned. It also is able to compile and run programs by itself.
However! You can study on your android device! I would recommend these links (bottom of post; read whole post) to you, personally.
While learning, you may want to challenge yourself. Think about something fun and try it! If you fumble or want to do something, note it and Google it! If you don't find what you're looking for, ask somebody! If you've already given forth effort, we won't be upset, Hell, I'd be glad by someone's devotion to go ahead.
I only have experience programming on windows (I know, I know, boo me.), so I may not be the best to ask for help on Linux and such.
You may want to save or bookmark this post for future reference.
Setting up your C++ programming environment
First of all, this is easier than it sounds. All you have to do is download and install Bloodshed Dev C++. To make a new source, press File then New and select Source. Then you're ready to roll!
_____
If you want your program to wait a few seconds, use...
#include <iostream>
#include <windows.h>
using namespace std;
int main ()
{
cout<<"This is seconds before.\n";
Sleep(milliseconds);
cout<<"Seconds after.\n";
}
Be sure to capitalize Sleep, it is important.
____
If you want to get the user to input a word or sentence, etc... and read it out...
#include <iostream>
#include <string>
using namespace std;
int main()
{
string Name;
cout << "What is your name?\n";
getline (cin, Name);
cout<<"Salutations, "<<Name<<".\n";
}
If you have any questions or anything else, please feel free to comment here or message me!
Some examples:
![[Image: d5b64f184168e62da5b69bc40cdd0d69.jpg]](http://tapatalk.imageshack.com/v2/15/03/07/d5b64f184168e62da5b69bc40cdd0d69.jpg)
![[Image: 9ec6b7ad8cca1447afda2e3f29bed59c.jpg]](http://tapatalk.imageshack.com/v2/15/03/07/9ec6b7ad8cca1447afda2e3f29bed59c.jpg)
Android C++ Guide:
https://play.google.com/store/apps/detai...for.hacker
MultiLang Compiler:
https://play.google.com/store/apps/detai...inecompilr
Hope this helps!

![[+]](https://sinister.li/images/modern/collapse_collapsed.png)

















