Jump to content



Welcome to AstaHost - Dear Guest , Please Register here to get Your own website. - Ask a Question / Express Opinion / Reply w/o Sign-Up!

Toggle shoutbox Shoutbox Open the Shoutbox in a popup

@  agyat : (23 May 2013 - 01:23 AM) Wow! Mr. Sb Back Home.
@  OpaQue : (23 May 2013 - 12:44 AM) Ting
@  OpaQue : (24 April 2013 - 02:44 PM) I guess, Time to run Mycent script.
@  OpaQue : (24 April 2013 - 02:43 PM) wow.. not much spam. except habatt posting lot of links.. :P
@  yordan : (23 April 2013 - 01:04 PM) You're welcome, agyat. Nice to have been helpful. Second lesson: try full words, "you" instead of "EW".
@  agyat : (23 April 2013 - 05:03 AM) @YORDAN: tHANK EW FOR YOUR FIRST LESSON.   :D
@  yordan : (22 April 2013 - 09:43 PM) @agyat : "why don't you help me", or "please help me", or "please teach us"
@  yordan : (22 April 2013 - 09:42 PM) welcome back, velma
@  velma : (22 April 2013 - 07:51 AM) **yawns** Good to be back, wonder what is going on here :)
@  agyat : (22 April 2013 - 03:50 AM) Oh! so, why don't help me learn english..
@  yordan : (21 April 2013 - 08:38 PM) The goal mentioned by shiu : "learning english, learning computer"
@  agyat : (21 April 2013 - 06:31 PM) WHAT GOAL?
@  yordan : (20 April 2013 - 10:39 AM) yes, that's our goal. simultaneouly learning English and teaching/learning computer using.
@  shiyu : (20 April 2013 - 07:30 AM) learning english,learning computer
@  yordan : (19 April 2013 - 01:11 PM) Oh, I see, it's just a trick in order to force people looking at your texte. Somehow smart, maybe.
@  agyat : (19 April 2013 - 02:54 AM) And of course I know it is not SEO friendly.
@  agyat : (19 April 2013 - 02:52 AM) There may be two possible answers for that ....


1) Shout was posted using mobile keypad.

2) To force people read content carefully and/or with more concentration.
@  agyat : (19 April 2013 - 02:49 AM) There may be two possible answers for that ....
@  yordan : (18 April 2013 - 09:35 PM) however, why this mixing of capital letters in the middle of your text?
@  agyat : (18 April 2013 - 11:10 AM) false feelings.

Photo
- - - - -

C++ Compiler


6 replies to this topic

#1 sparkx

sparkx

    Sparkx

  • [HOSTED]
  • 376 posts
  • Gender:Male
  • Location:Dana Point, CA, USA
  • myCENTs:55.07

Posted 15 August 2007 - 06:14 PM

Now I am currently using Dev-C++ by Bloodshed. I don't like it much first off it closes the prompt automaticly I cannot see if my program worked or not. I am also working on visual c++ and it doesn't seem to be support making a window.
I want to just replace it all togeather. What is a good C++ compiler for windows xp? I heard that Microsoft Visual C++ is good for visual c++ but what are your reviews? I am planing on making advanced 3D software (games) using C++. I would like it if all the compilers suggested supported GLauxe  (if you know what that means).
Also I know that this is possible with java but is it also possible to compile C++ with Windows Command Prompt? Is so what files do I need to download.
Thanks,
Sparkx
Note: I am new to programming in C++. I know very little about the subject other then making simply commands within main().
Sorry for any odd spacing in this post. My computer does not support the <textarea> used in IPB.

#2 polarysekt

polarysekt

    Advanced Member

  • Members
  • 128 posts
  • Location:St. Louis, MO
  • Interests:computers, music

Posted 25 September 2007 - 08:22 PM

Since you're using the win32 platform already, I would recommend Microsoft's Visual C++ Express 2005 -- It's completely free... but the initial version is a bit lacking in features...
Here's the App (you might require validation):


http://msdn.microsof...xpress/visualc/


In order to create ordinary win32 applications (withOUT the .NET framework) you need to download the Microsoft Platform SDK... Here's that one:

http://www.microsoft...;displaylang=en

(the prettier links all redirect to this asp...)


Anyways - once you get that installed into a good, firm location, you should proceed to your Visual C++ install directory...

Access:

C:\Program Files\Microsoft Visual Studio 8\VC\VCProjectDefaults
the file you want is: corewin_express.vsprops

locate the line:
AdditionalDependencies=”kernel32.lib”

and you want to add the win32 api dependencies as well, so make sure it reads:
AdditionalDependencies=”kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib”

notice they're separated by spaces only

now enter the folder:
C:\ProgramFiles\Microsoft Visual Studio 8\VC\VCWizards\AppWiz\Generic\Application\html\1033

it's pretty freakin deep, but go all the way and find: AppSettings.htm

on lines 441-444 (if you don't have the info, search!) WIN_APP and DLL_APP are disabled... just script comment them out...

// WIN_APP.disabled = true;
// WIN_APP_LABEL.disabled = true;
// DLL_APP.disabled = true;
// DLL_APP_LABEL.disabled = true;

notice all i added was the //


the last thing now is to run Visual C++... if you've already done so you need to restart it to make sure the changes you made to the settings are applied....

you'll need now to add links for the LIBRARIES, HEADERS, and EXECUTABLES....

Go to TOOLS->OPTIONS...
Open the Projects and Solutions node on the left... and Select VC++ Directories...

on the right you will need to modify the dropdown combo selection to access the three areas in question...

Library Files

(install dir:default is \Program Files\Microsoft Platform SDK) \Lib
so include the Lib folder...


Include Files

(install dir) \Include


Executables

(install dir) \Bin



Save your settings there... and try to make an app!

Oh yeah... until you set yourself your own framework, you must access win32 apps from the "Console Application" project... When you select this, you need to access Application Settings before creating the project, and there are a few more familiar options available... Windows application is probably what you'll want...


hope you check it out... i moved finally from DevC++ a little while back, because it so indirectly used the MSVCRT.dll -- Visual C++ steps directly to the important API .dll's -- also - it's FREE : )

#3 wutske

wutske

    Way Out Of Control - You need a life :)

  • [HOSTED]
  • 1,443 posts
  • Gender:Male
  • Location:Belgium
  • myCENTs:98.90

Posted 26 September 2007 - 03:35 PM

wow ... doesn't it do all those steps automaticaly ? I have Visual Studio 2005 and all I had to do is run the installer, write my program and push F5 to compile and run my program ;)

#4 polarysekt

polarysekt

    Advanced Member

  • Members
  • 128 posts
  • Location:St. Louis, MO
  • Interests:computers, music

Posted 05 January 2008 - 09:54 PM

Visual C++ 2008 allows you to program right off the bat....


I also downloaded the PSDK from microsoft though i can't tell if that mattered...

anyways it's been working just fine, and I'm pretty sure it has full 64-bit support... and I know the last version of DevC++ I used was still quite experimental in the 64-bit department...


not to mention you no longer require MSVCRT.DLL if you compile with VC++ as opposed to the mingw system... they said they were working on a custom runtime, but I haven't seen an update, especially with Dev-C++... in years...

Edited by polarysekt, 05 January 2008 - 09:55 PM.


#5 xboxrulz

xboxrulz

    Colonel Panic

  • Members
  • 3,057 posts
  • Gender:Male
  • Location:Toronto, Ontario, Canada
  • myCENTs:59.15

Posted 06 January 2008 - 04:05 AM

I always support open source software, so I will suggest you MinGW, it's a Windows version of GCC. GCC is the basis of Linux programming (you must use GCC if you want to compile it without a problem on Linux and other unices).

GCC is GNU's C compiler. It is free and 100% open source!

http://www.mingw.org/
The GCC website: http://www.gnu.org/software/gcc/

xboxrulz

#6 Quatrux

Quatrux

    the Q

  • [HOSTED]
  • 1,669 posts
  • Gender:Male
  • Location:Lithuania, Vilnius
  • Interests:PHP, MySQL, Oracle, PL/SQL, HTML, CSS, Javascript, jQuery, C# Computers, Alternative OS, Amiga, MorphOS, Beer, Friends, Linux, KDE..
  • myCENTs:30.76

Posted 06 January 2008 - 08:29 AM

I used to use Dev-C++ and it was quite a normal compiler, but one day it just stopped working normally, I read that it was a bug, even though it wasn't updated for quite a while, but I guess something other did update on Windows side, that once a program is compiled, I couldn't compile it again, due to it was in use, even though it closed it, even after that I couldn't delete the exe file from the debug, I needed to reboot and delete it or again to compile it, due to it could overwrite, but again, the same thing happened..

After that I tried to use Eclipse C++, but I didn't like couple of things and didn't understand couple of things, so just moved to Visual Studio 2005 C++, even though I didn't like it, but with time I got used to it and in the University they usually use it, so I can't say anything bad, even though I would like a better simple free C/C++ Compiler, for free or even open source..

#7 The Pixel Coder

The Pixel Coder

    Newbie [ Level 2 ]

  • Members
  • 12 posts

Posted 12 January 2008 - 08:01 PM

Mmh, games huh. What kind of games? Crossplatfrom (opengl?) or windows-specific (DX?)

I mostly prefer Code::Blocks IDE, which uses the MinGW (windows) compiler or GCC (linux). It even has a ready opengl sample application to get you started (no configuration or additional header files needed).
If, however, youre going for DX, i suppose only windows, then i think MS Visual C++ would be a bad idea. I just saw VC++ 2008 is available to download and i also did so (however, not many changes compared to previous 2005 version).

Gl with your game... ^_^



Reply to this topic



  


0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users