Ok I know yuour need a compiler to run the program C++, but how do i make it just work on my computer...Like if i write a program and want to test on one of my friend how do I make it work?
you don't need a compiler to run a C++ program. Once compiled a program can run on all the computers compatible with the machine which it was compiled for.