3 Topics

Member Avatar for
Member Avatar for nitin1

#include<iostream> using namespace std; class Singleton { static Singleton * s; Singleton() { } public: ~Singleton() { s = NULL; } static Singleton * getInstance(); void print() { cout<<this<<endl; } }; Singleton* Singleton::s=NULL; Singleton* Singleton::getInstance() { if(s == NULL) { s = new Singleton(); } return s; } int main() …

Member Avatar for deceptikon
0
315
Member Avatar for Andrew de Beer

Hi All I use MS Access to import information from Excel, check for duplicates and post it to an Access data table. The amount of data is making this process extremely slow. I am attempting to move the data tables to MySQL and then running a Stored Procedure to do …

Member Avatar for DaveAmour
0
170
Member Avatar for TarkiB

Hi guys, I'm running into an issue that's really frustrating me. It's probably the most common newbie oversight, causing me to get the dreaded NullReferenceException. I've encountered it many times before, but this time it's got me stumped. I'm filling a Datagrid with a table from a database. I'm able …

Member Avatar for arunkumars
0
290

The End.