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

Connexion utilisateur

  • Créer un nouveau compte
  • Demander un nouveau mot de passe

Navigation

  • news
    • archive
    • blogs
    • books
    • forums
    • recent posts
    • groups
  • image galleries
  • projects & downloads
  • search
  • create content
  • agrégateur de nouvelles

Rechercher

Qui est en ligne

Il y a actuellement 1 utilisateur et 264 invités en ligne.

Utilisateurs en ligne

  • rory_20_uk

Languages

  • English English
  • French French

Parcourir les archives

« Décembre 2008  
Lu Ma Me Je Ve Sa Di
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        
Accueil » news » forums » Online Community » Off-topic & Casual Conversations

C++ question

Image de Thy Reaper
Soumis par Thy Reaper le Jeu, 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 ›
» Vous devez vous identifier ou créer un compte pour écrire des commentaires

Options d'affichage des commentaires

Sélectionnez la méthode d'affichage des commentaires que vous préférez, puis cliquez sur "Sauvegarder les paramètres" pour activer vos changements.

Re: C++ question

Soumis par tb87670 le Lun, 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 :/

» Vous devez vous identifier ou créer un compte pour écrire des commentaires

Re: C++ question

Soumis par gnosis le Ven, 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.

» Vous devez vous identifier ou créer un compte pour écrire des commentaires
Image de RogerN

Re: C++ question

Soumis par RogerN le Ven, 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++.

» Vous devez vous identifier ou créer un compte pour écrire des commentaires

Options d'affichage des commentaires

Sélectionnez la méthode d'affichage des commentaires que vous préférez, puis cliquez sur "Sauvegarder les paramètres" pour activer vos changements.

Now on STEAM

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

Contenu populaire

Aujourd'hui :

  • Research By Percentage SUCKS
  • Is the Patch Process Dead, and Other Thoughts...
  • Known SE5 v1.74 Bugs
  • Space Empires V 1.74
  • Babylon 5 Wars SEV Mod Update

Depuis toujours :

  • 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

Dernier accès :

  • Set Starting Point Ordered
  • Has any one ever seen a "Points - Change" event work?
  • doesnt work right with version 1.13 of SE5
  • Transfer Cargo window transfering when it shouldn't
  • Ships sets - Ai wont do any thing
(c) Strategy First, Inc. All rights reserved.