Below is the main part of my program that I think I am having some diffculties, please give me some of your advice as to how I can fix the problem...
Millions of thanks to you...
Code:int func(){ int i; char c; ... struct s{ int funci(){ return ::i;} //some others }; //do something with struct; return somenumber; } int main(){ //testing... s* ps; int geti = ps->funci(); int getii = ps->i; assert(geti,getii); //do other things... return 0; }




Reply With Quote