Hello Folks ,
 
I have a many many  c++ class which has 50+ variables of  kinds of primitive 
data types , pointers to primitive types , pointers  to other classes and 
structs .
 
I need to dump the values inside the class which has 50+ vars rather than using 
printf or cout at run time .
 
as i need to dump into binary files , before dumping i need to check in on shot 
the values inside the classes inside the code  or  any flag at compile time 
which can help me tov iew values at runtime  .
 
yes i tried options of gdb,ddd, options to view all variables inside class  . 
 
__progname works for structs and not classes as per below url 
http://stackoverflow.com/questions/3311182/linux-c-easy-pretty-dump-printout-of-structs-like-in-gdb-from-source-cod

 
any help is really appriciated
 
 
Thanks
Narendra



_______________________________________________
ILUGC Mailing List:
http://www.ae.iitm.ac.in/mailman/listinfo/ilugc

Reply via email to