Click here to Skip to main content
16,011,680 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: undeclared identifier "class" Pin
VonHagNDaz31-Mar-08 7:23
VonHagNDaz31-Mar-08 7:23 
QuestionRe: undeclared identifier "class" Pin
David Crow31-Mar-08 7:28
David Crow31-Mar-08 7:28 
GeneralRe: undeclared identifier "class" Pin
VonHagNDaz31-Mar-08 7:38
VonHagNDaz31-Mar-08 7:38 
GeneralRe: undeclared identifier "class" Pin
David Crow31-Mar-08 7:44
David Crow31-Mar-08 7:44 
GeneralRe: undeclared identifier "class" Pin
VonHagNDaz31-Mar-08 7:51
VonHagNDaz31-Mar-08 7:51 
GeneralRe: undeclared identifier "class" Pin
David Crow31-Mar-08 7:55
David Crow31-Mar-08 7:55 
GeneralRe: undeclared identifier "class" Pin
CPallini31-Mar-08 11:25
mveCPallini31-Mar-08 11:25 
GeneralRe: undeclared identifier "class" Pin
VonHagNDaz1-Apr-08 7:20
VonHagNDaz1-Apr-08 7:20 
CPallini wrote:
I suppose they're smart enough to consider *.c files as C sources, while *.cpp ones as C++ sources.


correct, but what I'm trying to do is make a class in a .cpp file. Long story short I gave up and I'm using structs now, but structs cant have member functions, so I'm confused. I've only been exposed to OOP in c++, and I've poked c with a 10 foot pole once. I need member functions for the struct, or is that strictly c++ OOP? Google isn't turning up much when I search for member functions for structs, I'm guessing this is a lost cause as well.

dumb programming question #2 :

If I was trying to make a more object oriented approach in c, where would I begin? That might be a basic question, but if you've been reading, all my attempts so far have failed, or are wrong...

moral :
Colleges need more classes on just c and non OOP approaches. In school we had 10+ c++ OOP classes, and one c class where they said "This is c, no one uses it anymore, but now you've been exposed to it..."

[Insert Witty Sig Here]

GeneralRe: undeclared identifier "class" Pin
CPallini1-Apr-08 7:53
mveCPallini1-Apr-08 7:53 
GeneralRe: undeclared identifier "class" Pin
VonHagNDaz1-Apr-08 8:00
VonHagNDaz1-Apr-08 8:00 
QuestionRe: undeclared identifier "class" Pin
CPallini1-Apr-08 9:33
mveCPallini1-Apr-08 9:33 
GeneralRe: undeclared identifier "class" Pin
VonHagNDaz1-Apr-08 9:37
VonHagNDaz1-Apr-08 9:37 
GeneralRe: undeclared identifier "class" Pin
CPallini1-Apr-08 10:19
mveCPallini1-Apr-08 10:19 
GeneralRe: undeclared identifier "class" Pin
Saurabh.Garg31-Mar-08 6:33
Saurabh.Garg31-Mar-08 6:33 
Generaldiffernce between ...!! Pin
Member 427882931-Mar-08 3:42
Member 427882931-Mar-08 3:42 
GeneralRe: differnce between ...!! Pin
David Crow31-Mar-08 3:49
David Crow31-Mar-08 3:49 
Questioncomunicate with USB Pin
Joseph Marzbani31-Mar-08 3:13
Joseph Marzbani31-Mar-08 3:13 
GeneralRe: comunicate with USB Pin
David Crow31-Mar-08 3:33
David Crow31-Mar-08 3:33 
QuestionThe instruction at "" referenced memory at "" The memory couldn't be read [modified] Pin
Joseph Marzbani31-Mar-08 2:51
Joseph Marzbani31-Mar-08 2:51 
GeneralRe: The instruction at "" referenced memory at "" The memory couldn't be read Pin
Cedric Moonen31-Mar-08 3:02
Cedric Moonen31-Mar-08 3:02 
GeneralRe: The instruction at "" referenced memory at "" The memory couldn't be read Pin
Hamid_RT7-Apr-08 2:47
Hamid_RT7-Apr-08 2:47 
Generaldialog based problem Pin
rowdy_vc++31-Mar-08 2:15
rowdy_vc++31-Mar-08 2:15 
QuestionRe: dialog based problem Pin
Joseph Marzbani31-Mar-08 2:29
Joseph Marzbani31-Mar-08 2:29 
GeneralRe: dialog based problem Pin
David Crow31-Mar-08 3:36
David Crow31-Mar-08 3:36 
GeneralMfc ClassWizard hangs VC6 Pin
Martin96631-Mar-08 1:56
Martin96631-Mar-08 1:56 

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.