Click here to Skip to main content
15,890,897 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Popularity Of C among developer Pin
Richard MacCutchan16-Apr-19 21:07
mveRichard MacCutchan16-Apr-19 21:07 
GeneralRe: Popularity Of C among developer Pin
Dar Brett17-Apr-19 1:43
Dar Brett17-Apr-19 1:43 
GeneralRe: Popularity Of C among developer Pin
Richard MacCutchan17-Apr-19 2:49
mveRichard MacCutchan17-Apr-19 2:49 
QuestionRe: Popularity Of C among developer Pin
David Crow17-Apr-19 9:13
David Crow17-Apr-19 9:13 
AnswerRe: Popularity Of C among developer Pin
Richard MacCutchan17-Apr-19 21:29
mveRichard MacCutchan17-Apr-19 21:29 
GeneralRe: Popularity Of C among developer Pin
David Crow17-Apr-19 2:35
David Crow17-Apr-19 2:35 
GeneralRe: Popularity Of C among developer Pin
Richard MacCutchan17-Apr-19 2:48
mveRichard MacCutchan17-Apr-19 2:48 
GeneralRe: Popularity Of C among developer Pin
David Crow17-Apr-19 3:09
David Crow17-Apr-19 3:09 
Indeed (too many years away from it), but that does not change my point. If you had something like this in the H file:
struct CarPrivate;

struct Car 
{
    struct CarPrivate* priv;
};

extern char* GetYear(struct Car* car);
And had something like this in the C file:
struct CarPrivate 
{
    int year;
};

int GetYear(struct Car* car) 
{
    return car->priv->year;
}
You would not be able to access members of CarPrivate like:
void main( void )
{
    struct Car* car = some_method_to_create_car();
    int year = car->priv->year; // error
}

"One man's wage rise is another man's price increase." - Harold Wilson

"Fireproof doesn't mean the fire will never come. It means when the fire comes that you will be able to withstand it." - Michael Simmons

"You can easily judge the character of a man by how he treats those who can do nothing for him." - James D. Miles


GeneralRe: Popularity Of C among developer Pin
Richard MacCutchan17-Apr-19 3:27
mveRichard MacCutchan17-Apr-19 3:27 
QuestionRe: Popularity Of C among developer Pin
David Crow17-Apr-19 3:50
David Crow17-Apr-19 3:50 
AnswerRe: Popularity Of C among developer Pin
Richard MacCutchan17-Apr-19 6:19
mveRichard MacCutchan17-Apr-19 6:19 
GeneralRe: Popularity Of C among developer Pin
David Crow17-Apr-19 6:27
David Crow17-Apr-19 6:27 
GeneralRe: Popularity Of C among developer Pin
Richard MacCutchan17-Apr-19 6:35
mveRichard MacCutchan17-Apr-19 6:35 
QuestionRe: Popularity Of C among developer Pin
David Crow17-Apr-19 7:00
David Crow17-Apr-19 7:00 
AnswerRe: Popularity Of C among developer Pin
Richard MacCutchan17-Apr-19 21:30
mveRichard MacCutchan17-Apr-19 21:30 
AnswerRe: Popularity Of C among developer Pin
John R. Shaw19-Apr-19 8:47
John R. Shaw19-Apr-19 8:47 
GeneralRe: Popularity Of C among developer Pin
jschell21-Apr-19 7:46
jschell21-Apr-19 7:46 
AnswerRe: Popularity Of C among developer Pin
jschell21-Apr-19 7:35
jschell21-Apr-19 7:35 
QuestionGet menu color in MFC feature pack Pin
_Flaviu13-Apr-19 23:26
_Flaviu13-Apr-19 23:26 
Question"Debug Assertion Failed at line: 252 in viewcore.CPP" Pin
manoharbalu10-Apr-19 18:21
manoharbalu10-Apr-19 18:21 
AnswerRe: "Debug Assertion Failed at line: 252 in viewcore.CPP" Pin
Victor Nijegorodov10-Apr-19 20:58
Victor Nijegorodov10-Apr-19 20:58 
QuestionRe: "Debug Assertion Failed at line: 252 in viewcore.CPP" Pin
David Crow11-Apr-19 10:33
David Crow11-Apr-19 10:33 
QuestionProblem when I run the application using cntrl+F5. Wintech OPC DLL Pin
D.Manivelan8-Apr-19 4:02
D.Manivelan8-Apr-19 4:02 
AnswerRe: Problem when I run the application using cntrl+F5. Wintech OPC DLL Pin
11917640 Member 9-Apr-19 22:57
11917640 Member 9-Apr-19 22:57 
GeneralRe: Problem when I run the application using cntrl+F5. Wintech OPC DLL Pin
D.Manivelan10-Apr-19 19:04
D.Manivelan10-Apr-19 19:04 

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.