Gud day,
Suppose I have these files:
hello.h
hello.cpp
main.cpp
in what directory will I put the hello.o and hello.hpp so that I will only type
$ g++ main.cpp -o main
not,
$ g++ main.cpp hello.cpp -I. -o main.cpp
in the terminal..
thanks.... I will highly appreciate youre response....