K
katyusha
Is it possible to seperately compile two classes (suppose class A and
class B ) , and use class A
in class B .I wish to compile two classes class A in A.c and A.hh and
class B in B.c and B.hh , and then use one class in another , by
combining them during link time .(gcc -c A.o B.o -o output )
class B ) , and use class A
in class B .I wish to compile two classes class A in A.c and A.hh and
class B in B.c and B.hh , and then use one class in another , by
combining them during link time .(gcc -c A.o B.o -o output )