January 29th, 2010, 06:11 AM
i wasnt using -c in the command, it is working now
thx for your time :)
January 29th, 2010, 05:56 AM
thank you all for your answers....
i tried to do what you suggested. instead of including the whole 1st file to the 2nd i made a header file that contains only the declarations of the first file....
January 18th, 2010, 06:42 PM
how can i compile each file separately?for example file no2 needs the class which is declared in file no1 because it creates an object of this class and then it uses it ...can i include it some how...
January 18th, 2010, 12:52 PM
hello all! i am new here and pretty junior as a developer so i would like your help please :)
i have created a project which is consisted of around 30 C++ files. every .cpp file contains one class...