Home Crush your enemies... and create an EMPIRE!!! Space Empires V -- BUY NOW!!!

User login

  • Create new account
  • Request new password

Navigation

  • news
    • archive
    • blogs
    • books
    • forums
    • recent posts
    • groups
  • image galleries
  • projects & downloads
  • search
  • create content
  • news aggregator

Search

Who's online

There are currently 3 users and 166 guests online.

Online users

  • mudshark
  • Jozsf
  • Pham Nuwen

Languages

  • English English
  • French French

Browse archives

« July 2008  
Mo Tu We Th Fr Sa Su
  1 2 3 4 5 6
7 8 9 10 11 12 13
14 15 16 17 18 19 20
21 22 23 24 25 26 27
28 29 30 31      
Home » news » forums » Online Community » Off-topic & Casual Conversations

C++ question

Thy Reaper's picture
Submitted by Thy Reaper on Thu, 2007-02-15 18:30. Off-topic & Casual Conversations

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.

‹ I see... C O L O R S !!! Vote for Space Empires 5 as Gamespots best strategy game of 2006 ›
» login or register to post comments

Comment viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.

Re: C++ question

Submitted by tb87670 on Mon, 2007-04-09 23:46.

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 :/

» login or register to post comments

Re: C++ question

Submitted by gnosis on Fri, 2007-04-13 09:14.

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.

» login or register to post comments
RogerN's picture

Re: C++ question

Submitted by RogerN on Fri, 2007-04-13 09:49.

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++.

» login or register to post comments

Comment viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.

Now on STEAM

Now on STEAM!Space Empires V via STEAMSpace Empires IV via STEAMSTEAM online by Valve Corporation

Popular content

Today's:

  • I am so impressed!
  • Stuipd Question
  • Neutral pack 1.10 released, now adds three neutral races.
  • Space Empires V 1.74
  • Space Dock suggestion

All time:

  • Space Empires V and VI: Expansions and the Future: Tell the Company What's on Your Wish List
  • Space Empires V
  • Gritty Galaxy Fleet Clash
  • Damn Dirty Bugs/Annoyances
  • Space Empires V: General Thoughts, Observations, and Suggestions

Last viewed:

  • Crystalline Weapons
  • SE5 Map Creator
  • Developments over time
  • I am so impressed!
  • Stuipd Question
(c) Strategy First, Inc. All rights reserved.