Hi all,
I am using Visual Studio.net. Until now, I have used it primarily for asp.net (vb) web applications. Tonight I decided to install the c++ element and take a look at building a form application. I hope some of you can appreciate that we all have different methods of learning. In my case I simply need a few pointers on how I reference some objects. The tutorials I have found do not really allow me to grasp the fundamentals in the way my brain can absorb.
My questions relate to a new Windows Forms Application. I have added two text boxes and a button in Form1.h the text boxes are name strInputString and strOutputString. I simply wish to know A: How I reference these in Form1.cpp (including syntax.. does the name already create a string for the object etc?) B: The syntax for building an event and function for the click of my button (btnConvert) C: Any additional information I should be aware of.. For example I have seen in C++ tutorials the declaration of a main() function...
I do apologise for my ignorance and I hope that you will understand that if someone can explain these elements to me in this way I can quite happily learn and build from them.
Thanks in advance.
I am using Visual Studio.net. Until now, I have used it primarily for asp.net (vb) web applications. Tonight I decided to install the c++ element and take a look at building a form application. I hope some of you can appreciate that we all have different methods of learning. In my case I simply need a few pointers on how I reference some objects. The tutorials I have found do not really allow me to grasp the fundamentals in the way my brain can absorb.
My questions relate to a new Windows Forms Application. I have added two text boxes and a button in Form1.h the text boxes are name strInputString and strOutputString. I simply wish to know A: How I reference these in Form1.cpp (including syntax.. does the name already create a string for the object etc?) B: The syntax for building an event and function for the click of my button (btnConvert) C: Any additional information I should be aware of.. For example I have seen in C++ tutorials the declaration of a main() function...
I do apologise for my ignorance and I hope that you will understand that if someone can explain these elements to me in this way I can quite happily learn and build from them.
Thanks in advance.