Click here to Skip to main content
15,888,610 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
AnswerRe: Qt - What do we mean by those code snippets Pin
MicroVirus14-Apr-11 1:50
MicroVirus14-Apr-11 1:50 
GeneralRe: Qt - What do we mean by those code snippets [modified] Pin
Abder_Rahman14-Apr-11 1:55
Abder_Rahman14-Apr-11 1:55 
GeneralRe: Qt - What do we mean by those code snippets Pin
MicroVirus14-Apr-11 2:18
MicroVirus14-Apr-11 2:18 
GeneralRe: Qt - What do we mean by those code snippets Pin
Abder_Rahman14-Apr-11 22:21
Abder_Rahman14-Apr-11 22:21 
GeneralRe: Qt - What do we mean by those code snippets Pin
MicroVirus15-Apr-11 0:32
MicroVirus15-Apr-11 0:32 
AnswerRe: Qt - What do we mean by those code snippets Pin
David Crow14-Apr-11 10:00
David Crow14-Apr-11 10:00 
QuestionHow can I treat VT_DATE ? Pin
_Flaviu13-Apr-11 23:44
_Flaviu13-Apr-11 23:44 
AnswerRe: How can I treat VT_DATE ? Pin
CPallini13-Apr-11 23:58
mveCPallini13-Apr-11 23:58 
GeneralRe: How can I treat VT_DATE ? Pin
_Flaviu14-Apr-11 0:05
_Flaviu14-Apr-11 0:05 
GeneralRe: How can I treat VT_DATE ? Pin
CPallini14-Apr-11 0:15
mveCPallini14-Apr-11 0:15 
GeneralRe: How can I treat VT_DATE ? Pin
_Flaviu14-Apr-11 0:26
_Flaviu14-Apr-11 0:26 
AnswerRe: How can I treat VT_DATE ? Pin
T210215-Apr-11 10:47
T210215-Apr-11 10:47 
QuestionHow to use One Pointer Object in another .cpp file? Pin
002comp13-Apr-11 23:44
002comp13-Apr-11 23:44 
AnswerRe: How to use One Pointer Object in another .cpp file? Pin
«_Superman_»14-Apr-11 0:44
professional«_Superman_»14-Apr-11 0:44 
GeneralRe: How to use One Pointer Object in another .cpp file? [modified] Pin
002comp14-Apr-11 1:35
002comp14-Apr-11 1:35 
AnswerRe: How to use One Pointer Object in another .cpp file? Pin
Albert Holguin15-Apr-11 4:35
professionalAlbert Holguin15-Apr-11 4:35 
AnswerRe: How to use One Pointer Object in another .cpp file? Pin
Stefan_Lang14-Apr-11 7:02
Stefan_Lang14-Apr-11 7:02 
AnswerRe: How to use One Pointer Object in another .cpp file? Pin
Albert Holguin14-Apr-11 14:43
professionalAlbert Holguin14-Apr-11 14:43 
GeneralRe: How to use One Pointer Object in another .cpp file? [modified] Pin
002comp14-Apr-11 21:14
002comp14-Apr-11 21:14 
Hello Guys
Thanks For all your valuable Replies.

Dear Sir,With this solution If I initialize test variable in sample header file then it will create a new instance And I want the same instance tht i used in A.cpp

Bcoz i want to access the same variable tht i update in other file.


I tried by creating singleton class.I made the Test class as Singleton.And then If I call its instance in global variable(Test class Object) then only I cn access the same object by using extern in anoher cpp file.
Is there any other idea so that i dont need to use extern.
Any Ideas?

Regards
Yogesh

modified on Friday, April 15, 2011 3:24 AM

GeneralRe: How to use One Pointer Object in another .cpp file? Pin
Stefan_Lang14-Apr-11 23:18
Stefan_Lang14-Apr-11 23:18 
GeneralRe: How to use One Pointer Object in another .cpp file? Pin
002comp15-Apr-11 2:24
002comp15-Apr-11 2:24 
GeneralRe: How to use One Pointer Object in another .cpp file? Pin
Stefan_Lang15-Apr-11 4:42
Stefan_Lang15-Apr-11 4:42 
GeneralRe: How to use One Pointer Object in another .cpp file? Pin
Albert Holguin15-Apr-11 4:29
professionalAlbert Holguin15-Apr-11 4:29 
AnswerRe: How to use One Pointer Object in another .cpp file? Pin
Code-o-mat14-Apr-11 23:07
Code-o-mat14-Apr-11 23:07 
QuestionHow to convert filename to fully qualified name when running an app with a filename argument in the current working directory Pin
Erik13-Apr-11 20:05
Erik13-Apr-11 20:05 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.