>I downloaded the microsoft visual studio and it confused the hell outa me.
Anything will at first. Either you have to deal with the complexity of an IDE (that's a compiler, debugger, editor, etc.. all rolled up into one graphical application), or the complexity of learning command line tools. You should learn both, but starting with an IDE will probably be easier. Since you already have Visual Studio, I can walk you through setting up a project and testing it.
Step 1) Go to File->New->Project
Step 2) From the project templates list, choose Empty Project[1]
Step 3) Type in whatever name you want for the project and hit OK
Step 4) Look for the Solution Explorer[2] and right click on the Source Files folder
Step 5) Choose Add->New Item
Step 6) From the templates list, choose C++ File (.cpp) and call it something like main, then click Add. Now the text editor has a text file in it called main.cpp.
Step 7) Paste this code into the editor:
#include <iostream>
int main()
{
using namespace std;
cout<<"Hello, world!\n";
}
Step 8) Type ctrl+F7 to compile the code
Step 9) Type ctrl+F5 to run it
After the project is set up, the work is minimal. If you want, you can just reuse the same project until you're more comfortable with the IDE.
>what is a compiler?
Simple answer: A compiler turns your source code into a working program.
[1] This is always a good idea because if you don't choose an empty project, Visual Studio will add confusing any annoying junk like precompiled headers.
[2] The default location is on the left side as a docked tool window.