Click here to Skip to main content
15,912,756 members
Home / Discussions / Managed C++/CLI
   

Managed C++/CLI

 
QuestionTIMESTAMP_STRUCT from MFC to forms Pin
earlgraham15-May-07 10:02
earlgraham15-May-07 10:02 
AnswerRe: TIMESTAMP_STRUCT from MFC to forms Pin
Mark Salsbery15-May-07 13:44
Mark Salsbery15-May-07 13:44 
GeneralRe: TIMESTAMP_STRUCT from MFC to forms Pin
earlgraham16-May-07 5:31
earlgraham16-May-07 5:31 
Questionpointers and structures Pin
klutez12315-May-07 2:49
klutez12315-May-07 2:49 
AnswerRe: pointers and structures Pin
led mike15-May-07 6:15
led mike15-May-07 6:15 
Questionoutput to console in Vc++2005 Pin
lavy288315-May-07 1:55
lavy288315-May-07 1:55 
AnswerRe: output to console in Vc++2005 Pin
Mark Salsbery15-May-07 5:55
Mark Salsbery15-May-07 5:55 
AnswerRe: output to console in Vc++2005 Pin
StevenS_Dev21-May-07 4:10
StevenS_Dev21-May-07 4:10 
If you want both readfromfile and Main to know about the variable Wc, then one option is to use what is called 'file scope'. If you define 'Wc' in file scope, then the variable becomes global for this ONE file. You simply define 'int Wc;', or perhaps 'static int Wc;' at the top of your file. Now you can use Wc anywhere in this file.

The current code will only print out the last result of Wc. Is that what you want? If you want to print Wc for each loop, you will need the WriteLine inside the for loop.
GeneralRe: output to console in Vc++2005 Pin
lavy288321-May-07 4:12
lavy288321-May-07 4:12 
Questionmissing ; before * Pin
subramanyeswari14-May-07 22:48
subramanyeswari14-May-07 22:48 
AnswerRe: missing ; before * Pin
Mark Salsbery15-May-07 5:51
Mark Salsbery15-May-07 5:51 
Question__loctotime_t problem Pin
bouli14-May-07 21:12
bouli14-May-07 21:12 
QuestionThe good, the bad and the ugly (or C#, COM and C++/CLI) Pin
originSH14-May-07 5:11
originSH14-May-07 5:11 
Questionerror in readxml with database Pin
lavy288314-May-07 5:10
lavy288314-May-07 5:10 
AnswerRe: error in readxml with database Pin
originSH14-May-07 5:53
originSH14-May-07 5:53 
Questionreadxml with dataset Pin
lavy288314-May-07 4:18
lavy288314-May-07 4:18 
AnswerRe: readxml with dataset Pin
Hamid_RT22-May-07 2:04
Hamid_RT22-May-07 2:04 
GeneralRe: readxml with dataset Pin
lavy288322-May-07 5:30
lavy288322-May-07 5:30 
GeneralRe: readxml with dataset Pin
lavy288322-May-07 5:31
lavy288322-May-07 5:31 
GeneralRe: readxml with dataset Pin
Hamid_RT22-May-07 7:40
Hamid_RT22-May-07 7:40 
AnswerRe: AfxMessageBox and Strings!!! Pin
led mike14-May-07 4:51
led mike14-May-07 4:51 
QuestionHow to pass a function as an argument to other function Pin
subramanyeswari14-May-07 3:12
subramanyeswari14-May-07 3:12 
AnswerRe: How to pass a function as an argument to other function Pin
led mike14-May-07 4:53
led mike14-May-07 4:53 
GeneralRe: How to pass a function as an argument to other function Pin
subramanyeswari14-May-07 18:34
subramanyeswari14-May-07 18:34 
AnswerRe: How to pass a function as an argument to other function Pin
Hamid_RT22-May-07 2:01
Hamid_RT22-May-07 2:01 

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.