Click here to Skip to main content
16,004,192 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralVisual Studio IDE Pin
Gabor Kalman4-Mar-05 2:47
Gabor Kalman4-Mar-05 2:47 
GeneralI'm searching for Visual C++ Books Pin
fracco4-Mar-05 1:16
fracco4-Mar-05 1:16 
GeneralRe: I'm searching for Visual C++ Books Pin
Jetli Jerry4-Mar-05 2:35
Jetli Jerry4-Mar-05 2:35 
GeneralRe: I'm searching for Visual C++ Books Pin
ur_unholyness4-Mar-05 7:29
ur_unholyness4-Mar-05 7:29 
GeneralRe: I'm searching for Visual C++ Books Pin
Anand for every one4-Mar-05 19:39
Anand for every one4-Mar-05 19:39 
GeneralSending a digitally signed email Pin
Muhammad Irfan Azam4-Mar-05 1:04
Muhammad Irfan Azam4-Mar-05 1:04 
Questionglobally scoped array of objects? Pin
baxybaxy4-Mar-05 0:51
baxybaxy4-Mar-05 0:51 
AnswerRe: globally scoped array of objects? Pin
Steen Krogsgaard4-Mar-05 4:14
Steen Krogsgaard4-Mar-05 4:14 
I'd go for possiblity no 3 by making City a global variable. I have never used VC7.0 or managed code/arrays, but in my VC6.0 I would put the declaration in a common header:
<br />
extern array^ City;<br />


and in one (and only one) cpp put
<br />
array^ City = NULL<br />


and in your XML read function:
<br />
City = gcnew array(numberofcities)<br />


In this way City is visible all over your program

Cheers
Steen.

"To claim that computer games influence children is ridiculous. If Pacman had influenced children born in the 80'ies we would see a lot of youngsters running around in dark rooms eating pills while listening to monotonous music"
GeneralRe: globally scoped array of objects? Pin
Chris Meech4-Mar-05 5:42
Chris Meech4-Mar-05 5:42 
GeneralRe: globally scoped array of objects? Pin
Steen Krogsgaard6-Mar-05 21:05
Steen Krogsgaard6-Mar-05 21:05 
QuestionWhat is the Mystery behind Release Folder ? Pin
zahid_ash4-Mar-05 0:36
zahid_ash4-Mar-05 0:36 
AnswerRe: What is the Mystery behind Release Folder ? Pin
jan larsen4-Mar-05 1:42
jan larsen4-Mar-05 1:42 
GeneralRe: What is the Mystery behind Release Folder ? Pin
aritosteles5-Mar-05 13:53
aritosteles5-Mar-05 13:53 
Generaltext setting in list control Pin
deldeep3-Mar-05 23:39
deldeep3-Mar-05 23:39 
GeneralRe: text setting in list control Pin
David Crow4-Mar-05 2:59
David Crow4-Mar-05 2:59 
GeneralRe: text setting in list control Pin
deldeep4-Mar-05 20:45
deldeep4-Mar-05 20:45 
GeneralRe: text setting in list control Pin
David Crow7-Mar-05 3:20
David Crow7-Mar-05 3:20 
GeneralRe: text setting in list control Pin
deldeep7-Mar-05 17:39
deldeep7-Mar-05 17:39 
GeneralCREATE PROCESS Pin
sunit53-Mar-05 22:59
sunit53-Mar-05 22:59 
GeneralRe: CREATE PROCESS Pin
Jetli Jerry4-Mar-05 0:46
Jetli Jerry4-Mar-05 0:46 
GeneralRe: CREATE PROCESS Pin
sunit54-Mar-05 2:13
sunit54-Mar-05 2:13 
GeneralRe: CREATE PROCESS Pin
sunit54-Mar-05 2:15
sunit54-Mar-05 2:15 
GeneralRe: CREATE PROCESS Pin
David Crow4-Mar-05 3:05
David Crow4-Mar-05 3:05 
GeneralSet background colour on a CDateTimeCtrl Pin
roccap3-Mar-05 22:46
roccap3-Mar-05 22:46 
GeneralRe: Set background colour on a CDateTimeCtrl Pin
namaskaaram4-Mar-05 1:23
namaskaaram4-Mar-05 1:23 

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.