VS 2010 Oop - Made Program With 2 Files (file1 And File2) Make An Object Of File2 In File1Oct 12, 2010
I have made a program with 2 files, say (file1 and file2). Here I need to make an object of file2 in file1 where I need help from file2. And file2 needs the display text from file1 again to execute the enquiry. So I made an object of file1 in file2 to get the content in display text. But I get stack overflow exception when compiling. I do somehow understand why I get this information. But how do I solve this problem. I thought if I made this display variable to be public, I might reach it from file2. But I couldn't get the content.