Code & W.Form

W

WELCOME ###

Hi all
From Beginner:
The below is simple program written with C++/ CLR Console; showing the
weights for each of 3 persons as:
============================
#include "stdafx.h"
using namespace System;

int main(array<System::String ^> ^args)

{

array<String^>^ names = {"Jim","Ted", "Bill"};

array<int>^ weights = { 103,100, 90};

Array::Sort(names, weights);

for each(String^ name in names)

Console::Write(L"{0, 10}", names);

Console::WriteLine();

for each(int weight in weights)

Console::Write(L"{0, 10}", weight);

Console::WriteLine();

return 0;

}

++++++++++++++++++++++++++++++++++++++

Now suppose I want to operate this code by "Window Form"

(I can prepare WindoeForm By Visual Studio I have)

Please what I have to do and how to operate the code by W.Form??

Also is there a certain book I can read showing this point in details??

Thanks

====================
 
I

Ian Collins

WELCOME said:
Hi all
From Beginner:
The below is simple program written with C++/ CLR Console; showing the
weights for each of 3 persons as:
============================
#include "stdafx.h"

Looks like you want a windows programming group.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,995
Messages
2,570,230
Members
46,819
Latest member
masterdaster

Latest Threads

Top