Click here to Skip to main content
16,007,687 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
AnswerRe: Where do I write questions in C? Pin
Nishad S6-Sep-07 22:33
Nishad S6-Sep-07 22:33 
AnswerRe: Where do I write questions in C? Pin
Hamid_RT6-Sep-07 23:43
Hamid_RT6-Sep-07 23:43 
GeneralRe: Where do I write questions in C? Pin
gizmokaka6-Sep-07 23:49
gizmokaka6-Sep-07 23:49 
GeneralRe: Where do I write questions in C? Pin
Cedric Moonen6-Sep-07 23:53
Cedric Moonen6-Sep-07 23:53 
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 
The error message tells clearly what is the error:
gizmokaka wrote:
rdb->customers->localData->colName

at this line the structs are unknown.

You have to include the struct declarations before, so, as is telling Cedric, you canto put they in the header file.

Or, if you want to hide that structs to the user, you have to put ALL the code that use they in the SAME file, above the declaration of that structs.
Elseway the compiler can't know that table_rec and data exists.

Dead | X|



Russell

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 
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 

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.