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

Managed C++/CLI

 
GeneralRe: Deployment of Application Pin
mikobi3-Jul-08 20:29
mikobi3-Jul-08 20:29 
GeneralRe: Deployment of Application Pin
C# Beginner Nick16-Aug-08 17:10
C# Beginner Nick16-Aug-08 17:10 
QuestionTextBox Pin
mikobi1-Jul-08 20:05
mikobi1-Jul-08 20:05 
AnswerRe: TextBox Pin
leonigah1-Jul-08 20:32
leonigah1-Jul-08 20:32 
GeneralRe: TextBox Pin
mikobi1-Jul-08 22:21
mikobi1-Jul-08 22:21 
GeneralRe: TextBox [modified] Pin
mikobi2-Jul-08 2:22
mikobi2-Jul-08 2:22 
QuestionCan I use FOR EACH on an array of structures? Pin
BuckBrown1-Jul-08 11:42
BuckBrown1-Jul-08 11:42 
AnswerRe: Can I use FOR EACH on an array of structures? [modified] Pin
Mark Salsbery1-Jul-08 13:48
Mark Salsbery1-Jul-08 13:48 
ref struct TestStruct
{
   int i;
};

array<teststruct^> ^teststructarray = gcnew array<teststruct^>(20);

for (int i = 0; i < 20; i++)
   teststructarray[i] = gcnew TestStruct();

for each (TestStruct ^teststruct in teststructarray)
{
   teststruct->i = 42;
}


value struct TestValStruct
{
   int i;
};

array<testvalstruct> ^testvalstructarray = gcnew array<testvalstruct>(20);
for each (TestValStruct %testvalstruct in testvalstructarray)
{
   testvalstruct.i = 42;
}


That's better Smile | :)

Mark Salsbery
Microsoft MVP - Visual C++

Java | [Coffee]

modified on Tuesday, July 1, 2008 8:08 PM

AnswerRe: Can I use FOR EACH on an array of structures? Pin
Luc Pattyn1-Jul-08 14:28
sitebuilderLuc Pattyn1-Jul-08 14:28 
AnswerRe: Can I use FOR EACH on an array of structures? Pin
leonigah1-Jul-08 20:35
leonigah1-Jul-08 20:35 
Questionsample project Pin
Xaria30-Jun-08 16:33
Xaria30-Jun-08 16:33 
AnswerRe: sample project Pin
Polar_Sheep30-Jun-08 21:40
Polar_Sheep30-Jun-08 21:40 
AnswerRe: sample project Pin
led mike1-Jul-08 4:30
led mike1-Jul-08 4:30 
AnswerRe: sample project Pin
Mark Salsbery1-Jul-08 7:26
Mark Salsbery1-Jul-08 7:26 
GeneralRe: sample project Pin
led mike3-Jul-08 8:07
led mike3-Jul-08 8:07 
GeneralRe: sample project Pin
Mark Salsbery3-Jul-08 8:11
Mark Salsbery3-Jul-08 8:11 
QuestionLandscape property does not appear to work. Pin
BuckBrown30-Jun-08 11:40
BuckBrown30-Jun-08 11:40 
AnswerRe: Landscape property does not appear to work. Pin
BuckBrown30-Jun-08 11:50
BuckBrown30-Jun-08 11:50 
QuestionCreating Playing window in VC++ Windows forms Applicaton Pin
bhanu_850929-Jun-08 23:04
bhanu_850929-Jun-08 23:04 
AnswerRe: Creating Playing window in VC++ Windows forms Applicaton Pin
Mark Salsbery30-Jun-08 6:25
Mark Salsbery30-Jun-08 6:25 
Questiondatabase Pin
rose19629-Jun-08 20:14
rose19629-Jun-08 20:14 
AnswerRe: database Pin
Mark Salsbery29-Jun-08 20:30
Mark Salsbery29-Jun-08 20:30 
GeneralRe: database Pin
rose19630-Jun-08 2:04
rose19630-Jun-08 2:04 
GeneralRe: database Pin
Mark Salsbery30-Jun-08 6:15
Mark Salsbery30-Jun-08 6:15 
AnswerRe: database Pin
Paul Conrad2-Jul-08 18:18
professionalPaul Conrad2-Jul-08 18:18 

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.