- Upvotes Received
- 0
- Posts with Upvotes
- 0
- Upvoting Members
- 0
- Downvotes Received
- 1
- Posts with Downvotes
- 1
- Downvoting Members
- 1
8 Posted Topics
Hi This is Singleton class program, please let me know any changes required in this code............... #include <iostream> using namespace std; class Singleton { private: static bool instanceFlag; static Singleton *single; Singleton() { //private constructor } public: static Singleton* getInstance(); void method(); ~Singleton() { instanceFlag = false; } }; bool … | |
[code]#include <iostream> using namespace std ; class Singleton { public: // Implement the logic here to instantiate the class for the first time by validating the // member pointer. If member pointer is already pointing to some valid memory it means // that the first object is created and it … | |
Hi I need some ideas to force MQGET call fail on receiving interupt signal in AIX O/S. Thanks in Advance | |
HI I would like to pass new argument to cureently running process with out interuption in unix using c code can any one Idea on this Please suggest Thanks in Advance Madan | |
:-/ Hi can nayone help me to write SFTP script to copy files from one server to another sever any help appreciated Thank you Madan | |
HI I would likt to create input files for testing, format is like this INPUT Format DISP NUM BYTES Desc 0 4 CODE 4 10 EMP NO 14 3 AGE 17 1 SEX which will be used for creating flat files ( data in excel file). OUTPUT file should be … | |
HI I would likt to create input files for testing, format is like this INPUT Format DISP NUM BYTES Desc 0 4 CODE 4 10 EMP NO 14 3 AGE 17 1 SEX which will be used for creating flat files ( data in excel file). OUTPUT file should be … | |
We cannot have static friend function............ because 1.since static member functions can access only static data members...where as friend function can access all the members. 2.Friend function also require an object to access the members...where as static member functions can not. 3. Another thing ....since friend functions are non-member functions....and … |
The End.