Generally when somebody creates a console program he writes
#include <iostream>
#include <stdlib.h>
int main(){
    std::cout<<"hello world"<<std::endl;
    system("pause");
}
The std must be included to call cout and endl statements.
When I create a library using the headers and the code in the .h and .cpp, and then I include that library, I must use the name of functions/clases/structs/etc directly. How can I make it so I have to use a pre-word like the std for cout and endl?
 
     
     
     
    