Home » Community » Newbie corner » Fell at the first hurdle (Beginners example - where to put code)
Fell at the first hurdle [message #44608] |
Fri, 17 April 2015 14:48 |
Asrampd
Messages: 1 Registered: April 2015 Location: Berkshire England
|
Junior Member |
|
|
In the first example "Getting stared" it says (about half way down)....
Making it Do Something
Let's add some functionality. We need to write a function that adds an item to our list when we push the button. Add the following to the class definition in SimpleDemo.h:
void AddItem();
BUT WHERE is the "class definition" - thereis no section called class definition
Ta.
|
|
|
Goto Forum:
Current Time: Sun May 11 14:25:12 CEST 2025
Total time taken to generate the page: 0.00655 seconds
|