C++ includes problems, 6 files, previously defined functions -


i got 6 files, lets 'a', 'b', 'c', 'd', 'e' , 'f', .cpp. 'a' main file, 'b' , 'c' included in 'a', , 'd', 'e' , 'f' included in 'b' , in 'c'. in 'd', 'e' , 'f' there few classes , namespaces. , lot of them throw 'previously defined' error. second day trying handle that, reading lot in internet, i'm stuck. classes declared , defined in 'd','e' , 'f' used in 'b' , 'c'.

you aren't supposed include .cpp files. put declarations in .h files , include those.


Comments

Popular posts from this blog

sql - invalid in the select list because it is not contained in either an aggregate function -

Angularjs unit testing - ng-disabled not working when adding text to textarea -

How to start daemon on android by adb -