C++ question |

Hmm... does anyone even come down here anymore? Oh well, I'll ask anyway...
I'm trying to make a basic application in Visual C++ 2005, but I'm very stuck. I need to access the controls that I've added to the window's form, but nothing I do will compile correctly. Does anybody happen to know how to do this?
The rest of the internet has given me nothing so far, and my other common forum died a few days ago and still isn't back up. Any help would be greatly appreciated.
Re: C++ question
Try the default hello world project and build from there.
Adding new components and code for them should be very easy. You must be doing something wrong.
There are many tutorials around for all levels of developers, but if you are new into C++ and new into event-driven programming, you'll have a very difficult time understanding what's going on.

Re: C++ question
The answer will depend on what type of Visual C++ project you created. Visual Studio offers support for a variety of project types, including older frameworks such as MFC and straight Win32.
If you created a CLR project (Microsoft's newest framework), the code to access a control might look something like this:
textBox1->Text = "Some text";
FYI, I personally find that C#'s syntax is more clear than the newer versions of Visual C++. If you're going to be working in .NET anyway you'll find that most developers prefer C# over Visual C++.




Re: C++ question
I hate to report this to you, but I am pretty new to C++, plus I am using DevC++ as it is free and has a nice interface. All I can say is use some of that google-fu, sorry I'm not much help :/