Click here to Skip to main content
15,905,232 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Debugger can not find debugging information of a MFC project. Pin
George228-Sep-03 4:03
George228-Sep-03 4:03 
QuestionHow does DLL share functionality with other application? Pin
Link260027-Sep-03 17:15
Link260027-Sep-03 17:15 
AnswerRe: How does DLL share functionality with other application? Pin
twing27-Sep-03 19:24
twing27-Sep-03 19:24 
GeneralRe: How does DLL share functionality with other application? Pin
Link260028-Sep-03 8:49
Link260028-Sep-03 8:49 
QuestionAnyone know how to add a dll file into the project? Pin
Link260027-Sep-03 15:47
Link260027-Sep-03 15:47 
AnswerRe: Anyone know how to add a dll file into the project? Pin
Adam °Wimsatt27-Sep-03 16:10
Adam °Wimsatt27-Sep-03 16:10 
GeneralRe: Anyone know how to add a dll file into the project? Pin
Link260027-Sep-03 16:50
Link260027-Sep-03 16:50 
GeneralTemplates Pin
73Zeppelin27-Sep-03 13:16
73Zeppelin27-Sep-03 13:16 
Converting a class I have into a class template
so that I can utilize it for various data types.
I've never used templates before, and am trying
to sort a few things out.
In the class I currently hold data in an array of
doubles by declaring a pointer to the data.
<br />
double* m_pdData;<br />

and then initialize using the operator new. So that
<br />
m_pdData = new[double dSize];<br />

I'm not entirely clear on how to declare these items
in a templated version of the class.

Would their equivalents be:

<br />
T* m_pdData;<br />


and
<br />
m_pdData = new[T dSize];<br />


or is there a little bit more to it??

Also, what is the notation convention?
ie: for a member function that's a pointer
to type double we prefix with m_pd
for a template what would be the equivalent...
m_p???

TIA.


John Theal
Physicist/Mathematical Programmer
Digital Immersion Software Corporation

Got CAD?
http://www.presenter3d.com[^]
http://www.merlin3d.com[^]
GeneralRe: Templates Pin
spiritualfields27-Sep-03 13:40
spiritualfields27-Sep-03 13:40 
GeneralRe: Templates Pin
Anonymous27-Sep-03 14:02
Anonymous27-Sep-03 14:02 
GeneralRe: Templates Pin
Taka Muraoka27-Sep-03 14:37
Taka Muraoka27-Sep-03 14:37 
GeneralRe: Templates Pin
73Zeppelin27-Sep-03 15:22
73Zeppelin27-Sep-03 15:22 
GeneralPlease Give me 10cm Line on Printer Pin
Kapoor Vikrant27-Sep-03 11:57
Kapoor Vikrant27-Sep-03 11:57 
GeneralRe: Please Give me 10cm Line on Printer Pin
JWood27-Sep-03 12:10
JWood27-Sep-03 12:10 
GeneralRe: Please Give me 10cm Line on Printer Pin
Kapoor Vikrant27-Sep-03 15:28
Kapoor Vikrant27-Sep-03 15:28 
QuestionHow can I remove the menu from a CFormView? Pin
DanYELL27-Sep-03 10:49
DanYELL27-Sep-03 10:49 
AnswerRe: How can I remove the menu from a CFormView? Pin
JWood27-Sep-03 11:41
JWood27-Sep-03 11:41 
GeneralRe: How can I remove the menu from a CFormView? Pin
DanYELL27-Sep-03 12:16
DanYELL27-Sep-03 12:16 
GeneralRe: How can I remove the menu from a CFormView? Pin
JWood27-Sep-03 12:40
JWood27-Sep-03 12:40 
GeneralRe: How can I remove the menu from a CFormView? Pin
JWood27-Sep-03 13:00
JWood27-Sep-03 13:00 
Generalusing Basic Runtime Checks in VC7 Pin
Jim Crafton27-Sep-03 8:31
Jim Crafton27-Sep-03 8:31 
GeneralRe: using Basic Runtime Checks in VC7 Pin
Mike Dimmick27-Sep-03 12:15
Mike Dimmick27-Sep-03 12:15 
GeneralWinExec Pin
OTVAC30527-Sep-03 8:27
OTVAC30527-Sep-03 8:27 
GeneralRe: WinExec Pin
Ravi Bhavnani27-Sep-03 9:51
professionalRavi Bhavnani27-Sep-03 9:51 
GeneralRe: WinExec Pin
Alexander M.,27-Sep-03 12:03
Alexander M.,27-Sep-03 12:03 

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.