Click here to Skip to main content
15,915,600 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
AnswerRe: Help plz Pin
toxcct25-Apr-06 8:16
toxcct25-Apr-06 8:16 
AnswerRe: Help plz Pin
Michael Dunn25-Apr-06 8:31
sitebuilderMichael Dunn25-Apr-06 8:31 
QuestionArray's again Pin
#hackC++25-Apr-06 7:35
#hackC++25-Apr-06 7:35 
AnswerRe: Array's again Pin
toxcct25-Apr-06 7:46
toxcct25-Apr-06 7:46 
QuestionRe: Array's again Pin
#hackC++25-Apr-06 7:50
#hackC++25-Apr-06 7:50 
AnswerRe: Array's again Pin
toxcct25-Apr-06 7:52
toxcct25-Apr-06 7:52 
GeneralRe: Array's again Pin
Maxwell Chen25-Apr-06 7:51
Maxwell Chen25-Apr-06 7:51 
AnswerRe: Array's again Pin
Roland Pibinger25-Apr-06 7:53
Roland Pibinger25-Apr-06 7:53 
v2.0 wrote:
#hackC++ wrote:
const size_t array = 3;
int ca[array];
1. you cannot do this.


You can in C++ (not in C).

v2.0 wrote:
#hackC++ wrote:
cout << ca << endl;
this prints ca which is a pointer to the first int which compounds the array, so what you get is actually the address at which the array has been allocated...
if you want to print each elements in the array, iterate over it.


'iterate' means a for-loop Wink | ;)
GeneralRe: Array's again Pin
toxcct25-Apr-06 7:56
toxcct25-Apr-06 7:56 
AnswerRe: Array's again Pin
Kharfax25-Apr-06 7:48
Kharfax25-Apr-06 7:48 
GeneralRe: Array's again Pin
toxcct25-Apr-06 7:56
toxcct25-Apr-06 7:56 
GeneralRe: Array's again Pin
#hackC++25-Apr-06 7:57
#hackC++25-Apr-06 7:57 
GeneralRe: Array's again Pin
toxcct25-Apr-06 8:14
toxcct25-Apr-06 8:14 
GeneralRe: Array's again Pin
David Crow25-Apr-06 8:42
David Crow25-Apr-06 8:42 
AnswerRe: Array's again Pin
Michael Dunn25-Apr-06 8:33
sitebuilderMichael Dunn25-Apr-06 8:33 
QuestionCapturing Registry Key name,value,Status Pin
kiranin25-Apr-06 7:32
kiranin25-Apr-06 7:32 
Questionregular MFC DLL with OCX control does not show dialog Pin
alferx125-Apr-06 7:02
alferx125-Apr-06 7:02 
AnswerRe: regular MFC DLL with OCX control does not show dialog Pin
alferx125-Apr-06 7:09
alferx125-Apr-06 7:09 
QuestionPainting bad issues (GDI) Pin
Rafael Fernández López25-Apr-06 6:47
Rafael Fernández López25-Apr-06 6:47 
AnswerSOLVED Pin
Rafael Fernández López25-Apr-06 8:30
Rafael Fernández López25-Apr-06 8:30 
QuestionArrays Pin
#hackC++25-Apr-06 6:01
#hackC++25-Apr-06 6:01 
Answer[deleted] Pin
toxcct25-Apr-06 6:07
toxcct25-Apr-06 6:07 
QuestionRe: Arrays Pin
David Crow25-Apr-06 6:11
David Crow25-Apr-06 6:11 
AnswerRe: Arrays Pin
toxcct25-Apr-06 6:16
toxcct25-Apr-06 6:16 
GeneralRe: Arrays Pin
David Crow25-Apr-06 6:22
David Crow25-Apr-06 6:22 

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.