Click here to Skip to main content
15,911,306 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralReading Disk device Pin
Anonymous17-Sep-02 0:38
Anonymous17-Sep-02 0:38 
GeneralAsynchronous Transfer Mode (ATM) Pin
EllieS17-Sep-02 0:07
EllieS17-Sep-02 0:07 
GeneralCString Pin
Gian17-Sep-02 0:01
Gian17-Sep-02 0:01 
GeneralRe: CString Pin
Gian17-Sep-02 0:05
Gian17-Sep-02 0:05 
GeneralRe: CString Pin
Alexandru Savescu17-Sep-02 1:57
Alexandru Savescu17-Sep-02 1:57 
GeneralRe: CString Pin
Gian17-Sep-02 3:12
Gian17-Sep-02 3:12 
GeneralUsing C++ code from C Pin
benjymous16-Sep-02 23:33
benjymous16-Sep-02 23:33 
GeneralRe: Using C++ code from C Pin
Alexandru Savescu17-Sep-02 3:25
Alexandru Savescu17-Sep-02 3:25 
I am afraid you cannot do that. C++ is a superset of C, so basically C is not aware of C++. Anyway, you can do the other way arround. From C++ call C functions. So my suggestion is write your application in C++ and use from there the C functions. Also make sure you add extern "C" when including C-header files.

Best regards,
Alexandru Savescu
GeneralRe: Using C++ code from C Pin
benjymous17-Sep-02 4:25
benjymous17-Sep-02 4:25 
GeneralRe: Using C++ code from C Pin
Paul M Watt17-Sep-02 6:21
mentorPaul M Watt17-Sep-02 6:21 
Questionhow to read mails from any server using VC++? Pin
Omar Lodhi16-Sep-02 23:33
Omar Lodhi16-Sep-02 23:33 
AnswerRe: how to read mails from any server using VC++? Pin
benjymous16-Sep-02 23:37
benjymous16-Sep-02 23:37 
GeneralRe: how to read mails from any server using VC++? Pin
JohnnyG17-Sep-02 3:41
JohnnyG17-Sep-02 3:41 
General[GDI+] OS compatibility query Pin
Nish Nishant16-Sep-02 22:43
sitebuilderNish Nishant16-Sep-02 22:43 
GeneralRe: [GDI+] OS compatibility query Pin
Stephane Rodriguez.17-Sep-02 2:08
Stephane Rodriguez.17-Sep-02 2:08 
GeneralRe: [GDI+] OS compatibility query Pin
Nish Nishant17-Sep-02 13:55
sitebuilderNish Nishant17-Sep-02 13:55 
GeneralADO calling stored proceures Pin
Anonymous16-Sep-02 22:37
Anonymous16-Sep-02 22:37 
GeneralRe: ADO calling stored proceures Pin
Jon Hulatt16-Sep-02 22:56
Jon Hulatt16-Sep-02 22:56 
GeneralThree Tier Layer Design and Db Grids... Pin
Braulio Dez16-Sep-02 22:30
Braulio Dez16-Sep-02 22:30 
GeneralPointer to a modal dialog Pin
AlecJames16-Sep-02 22:32
AlecJames16-Sep-02 22:32 
QuestionShow image in CRichEditCtrl ? Pin
Dmitry Timin16-Sep-02 22:22
sussDmitry Timin16-Sep-02 22:22 
QuestionWhy the compiler told me the class is redefined? Pin
wood16-Sep-02 21:45
wood16-Sep-02 21:45 
AnswerRe: Why the compiler told me the class is redefined? Pin
jmkhael16-Sep-02 21:49
jmkhael16-Sep-02 21:49 
AnswerRe: Why the compiler told me the class is redefined? Pin
Joaquín M López Muñoz16-Sep-02 21:50
Joaquín M López Muñoz16-Sep-02 21:50 
GeneralQuestion about Winsock Pin
nachilau16-Sep-02 21:40
nachilau16-Sep-02 21:40 

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.