Click here to Skip to main content
15,886,806 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
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 
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 
My questions (numbering inserted for ease of reference)
Stefan63 wrote:
1 Why do you not want to use extern?
2 Why do you want to create an instance of class TEST in A.cpp?
3 Do you know what a class is?
4 Why do you not provide a header for Sample.cpp?
5 How do you even call the functions in Sample.cpp when you don't have a header?
6 Have you actually successfully compiled the code you've written so far, or any part of it?
7 Did you actually create a project?

Your response (numbers inserted for ease of reference):
yogeshs wrote:
1. By using <layer>Extern makes the performance of my aplication low.

This answer does not make sense, as "extern" has nothing at all to do with runtime performance! You did not answer any of the other questions either, except by saying
yogeshs wrote:
my project doesnt allow me to do other things
What do you mean? Did you get errors?

Really, if my previous posting had been a test, you'd scored -2 out of 7 points. Fortunately for you it was not a test. But as long as you keep adding nonsensical information rather than answer easy questions, we cannot help you.
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 
AnswerRe: How to convert filename to fully qualified name when running an app with a filename argument in the current working directory Pin
«_Superman_»13-Apr-11 21:30
professional«_Superman_»13-Apr-11 21:30 
GeneralRe: How to convert filename to fully qualified name when running an app with a filename argument in the current working directory Pin
Erik14-Apr-11 0:00
Erik14-Apr-11 0:00 
GeneralCMFCEditBrowseCtrl leaks... Pin
danLenehan13-Apr-11 8:51
danLenehan13-Apr-11 8:51 
GeneralRe: CMFCEditBrowseCtrl leaks... Pin
Maximilien13-Apr-11 9:42
Maximilien13-Apr-11 9:42 
GeneralRe: CMFCEditBrowseCtrl leaks... Pin
danLenehan13-Apr-11 13:48
danLenehan13-Apr-11 13:48 
GeneralRe: CMFCEditBrowseCtrl leaks... Pin
Maximilien13-Apr-11 14:15
Maximilien13-Apr-11 14:15 
QuestionTried Searching but Can't find the Answer Pin
JohnnyG13-Apr-11 8:20
JohnnyG13-Apr-11 8:20 
AnswerRe: Tried Searching but Can't find the Answer Pin
Albert Holguin13-Apr-11 8:27
professionalAlbert Holguin13-Apr-11 8:27 
GeneralRe: Tried Searching but Can't find the Answer Pin
JohnnyG13-Apr-11 8:39
JohnnyG13-Apr-11 8:39 
GeneralRe: Tried Searching but Can't find the Answer Pin
Albert Holguin13-Apr-11 9:56
professionalAlbert Holguin13-Apr-11 9:56 
GeneralRe: Tried Searching but Can't find the Answer [modified] Pin
JohnnyG13-Apr-11 10:08
JohnnyG13-Apr-11 10:08 
AnswerRe: Tried Searching but Can't find the Answer Pin
MicroVirus14-Apr-11 2:10
MicroVirus14-Apr-11 2:10 
GeneralRe: Tried Searching but Can't find the Answer Pin
JohnnyG14-Apr-11 3:22
JohnnyG14-Apr-11 3:22 
QuestionGlui in visual studio 2008 ( c++ ) Pin
Member 783376313-Apr-11 5:42
Member 783376313-Apr-11 5:42 

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.