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

C / C++ / MFC

 
GeneralRe: Where do I write questions in C? Pin
gizmokaka7-Sep-07 0:05
gizmokaka7-Sep-07 0:05 
GeneralRe: Where do I write questions in C? Pin
Cedric Moonen7-Sep-07 0:56
Cedric Moonen7-Sep-07 0:56 
GeneralRe: Where do I write questions in C? Pin
gizmokaka7-Sep-07 0:58
gizmokaka7-Sep-07 0:58 
GeneralRe: Where do I write questions in C? Pin
Russell'7-Sep-07 0:56
Russell'7-Sep-07 0:56 
GeneralRe: Where do I write questions in C? Pin
gizmokaka7-Sep-07 1:09
gizmokaka7-Sep-07 1:09 
GeneralRe: Where do I write questions in C? Pin
jhwurmbach7-Sep-07 1:50
jhwurmbach7-Sep-07 1:50 
GeneralRe: Where do I write questions in C? Pin
gizmokaka7-Sep-07 2:26
gizmokaka7-Sep-07 2:26 
GeneralRe: Where do I write questions in C? [modified] Pin
jhwurmbach7-Sep-07 2:36
jhwurmbach7-Sep-07 2:36 
The point remains: Your struct table_rec is part of a public interface (as you are reaching inside of it).
The public interface must be completely known to be used.

If you do not want this, you will have to add access-functions for the data you need:
char* customer_get_colname( table_rec* customer);
The implementation of this function has to be able to see the complete table_rec. But users of it have not.





-- modified at 8:42 Friday 7th September, 2007
Typo


Though I speak with the tongues of men and of angels, and have not money, I am become as a sounding brass, or a tinkling cymbal.
George Orwell, "Keep the Aspidistra Flying", Opening words

GeneralRe: Where do I write questions in C? Pin
gizmokaka7-Sep-07 2:57
gizmokaka7-Sep-07 2:57 
GeneralRe: Where do I write questions in C? Pin
jhwurmbach7-Sep-07 2:58
jhwurmbach7-Sep-07 2:58 
GeneralRe: Where do I write questions in C? Pin
gizmokaka7-Sep-07 6:23
gizmokaka7-Sep-07 6:23 
GeneralRe: Where do I write questions in C? Pin
jhwurmbach7-Sep-07 6:24
jhwurmbach7-Sep-07 6:24 
GeneralRe: Where do I write questions in C? Pin
El Corazon7-Sep-07 3:38
El Corazon7-Sep-07 3:38 
GeneralRe: Where do I write questions in C? Pin
Russell'7-Sep-07 22:58
Russell'7-Sep-07 22:58 
QuestionIntelliSense and Sockets Pin
baerten6-Sep-07 21:52
baerten6-Sep-07 21:52 
AnswerRe: IntelliSense and Sockets Pin
Naveen6-Sep-07 23:20
Naveen6-Sep-07 23:20 
AnswerRe: IntelliSense and Sockets Pin
krmed7-Sep-07 0:48
krmed7-Sep-07 0:48 
QuestionProblem about draw text Pin
kcynic6-Sep-07 21:31
kcynic6-Sep-07 21:31 
AnswerRe: Problem about draw text Pin
KarstenK6-Sep-07 21:38
mveKarstenK6-Sep-07 21:38 
AnswerRe: Problem about draw text Pin
Nishad S6-Sep-07 21:54
Nishad S6-Sep-07 21:54 
AnswerRe: Problem about draw text Pin
Naveen6-Sep-07 22:26
Naveen6-Sep-07 22:26 
GeneralRe: Problem about draw text Pin
Nishad S6-Sep-07 22:30
Nishad S6-Sep-07 22:30 
GeneralRe: Problem about draw text Pin
Naveen6-Sep-07 22:34
Naveen6-Sep-07 22:34 
GeneralRe: Problem about draw text Pin
Nishad S7-Sep-07 0:52
Nishad S7-Sep-07 0:52 
GeneralRe: Problem about draw text Pin
Naveen7-Sep-07 0:56
Naveen7-Sep-07 0: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.