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
Post a Comment