Visual C++ Forms

Hello,

Been through the basics of C++ programming (finished "C++ A Beginner's Guide 2nd Edition(2003) by Herbert Shildt) and thought I'd continue with Windows Forms now.

Placing buttons etc is going pretty well (:P), but giving them slighty more complicated actions is sort of harder then I thought.

So, first of all I was wondering which tutorial you would recommend to learn it from.




At the moment trying to make a small program which reads a data txt file which contains names and below each name some personal info. The prog should show all the names in 1 column in a datagrid as buttons. When a name is clicked it reveals the data in a new window + data is editable

Text file:

Person1
(age 15)(language french)(country france)(option4 answer4)(...
Person2
(age 18)(language english)(country USA)(option4 answer4)(...
...
...

So far placed buttons but can't figure out where the tutorials get the "System::int32::..." code from.

Help would be highly appreciated ^^
Thanks on advance
Theres a wonderfull book explaining Visual Studio 2010 C++ that i would completely recommend. (And taught me many more usefull c++ techniques)

"Programming with Visual C++ Concepts and Projects"
By: James Allert

This will go pretty in depth into what you want.

By new window you mean you want to open a new form? or message box?
Thanks !

Managed to find a free readable version of the book on amazon.
I like it so far. :)


And was thinking 'bout a form, since I managed to produce that succesfully a few times :D, though it doesn't really matter for a test application like this ^^
Last edited on
Topic archived. No new replies allowed.