Click here to Skip to main content
15,899,937 members

Comments by anne_rose (Top 5 by date)

anne_rose 20-Mar-13 5:16am View    
I tried it and it worked!!!!!
In main.cpp i never incl keyword "std"::ofstream myfile...and now both soln working perfectly. Thank you so much . Thank u all for the time and effort .
anne_rose 20-Mar-13 4:51am View    
Thanks a lot. Its perfect.
anne_rose 20-Mar-13 4:04am View    
I tried extern keyword but that resulted in linkage problem and on replacing with static it solved the linkage prob. Working on visual studio 2012. So still recommended to use extern?
anne_rose 20-Mar-13 3:52am View    
Thanks a lot Eugen...It worked . and how abt static variables? I have declared two static var(a1 and a2) under same header and then i have to keep incrementing the variables by 1 till the prog end. Once the commonFunc.cpp terminates, the variable a1 is reset to 0.
anne_rose 19-Nov-12 9:15am View    
Hi SA nd Richard

Thanks for the reply.
one general queston. I have developed the MFC application in VC++ and i want this exe to run in any PC. So i want to clarify that is it mandatory that I need to install Visual Studio in all the pcs i run?
SA had replied that applications do not require VS and today my exe worked in one laptop which never had VS installed but failed in another pc.
any dll missing or any dependancies required?
Thanks