Thread: Newbie compiler for 64-bit systems

  1. #1
    Registered User
    Join Date
    Apr 2008
    Posts
    4

    Newbie compiler for 64-bit systems

    Hello

    Im 100% new to programming and is eager to start off with tutorials and such. The problem is, the rekommended bloodshed compiler does not work with my 64 bit windows vista OS.

    Are there some compiler which would be usable and newbie friendly which also works for my windows vista ultimate?

    Thank you

  2. #2
    Supermassive black hole cboard_member's Avatar
    Join Date
    Jul 2005
    Posts
    1,709
    Well I can ask a question of my own and possibly answer yours: is there a 64-bit version of Visual Studio Express?
    Good class architecture is not like a Swiss Army Knife; it should be more like a well balanced throwing knife.

    - Mike McShaffry

  3. #3
    C++ Witch laserlight's Avatar
    Join Date
    Oct 2003
    Location
    Singapore
    Posts
    28,413
    Are there some compiler which would be usable and newbie friendly which also works for my windows vista ultimate?
    If I remember correctly, someone did get the MinGW port of g++ to work with Code::Blocks on a 64 bit platform. You could give it a try, perhaps with the IDE+compiler bundle: Code::Blocks 8.02 download page.

    is there a 64-bit version of Visual Studio Express?
    I could not find anything definitive in the Visual Studio Express online FAQ, but I remember something about there being no 64 bit compilers provided for the Express versions. On the other hand, it is possible that the IDE itself may work on a 64 bit platform.
    Quote Originally Posted by Bjarne Stroustrup (2000-10-14)
    I get maybe two dozen requests for help with some sort of programming or design problem every day. Most have more sense than to send me hundreds of lines of code. If they do, I ask them to find the smallest example that exhibits the problem and send me that. Mostly, they then find the error themselves. "Finding the smallest program that demonstrates the error" is a powerful debugging tool.
    Look up a C++ Reference and learn How To Ask Questions The Smart Way

  4. #4
    Registered User
    Join Date
    Apr 2008
    Posts
    4
    Quick replies! I'll get right on to download/try that, thanks.

    We'll see if i can make some sense out of all of this and learn something :P, if i don't, i'll be sure to come back here!

  5. #5
    Registered User Codeplug's Avatar
    Join Date
    Mar 2003
    Posts
    4,981
    Blooshed may just have Vista incompatabilities in general - and may not be a 32bit vs 64bit problem.

    64bit Windows can run 32bit binaries (under WOW64), so you don't absolutely need to create 64bit binaries.

    Looks like both VS 2005 Express and VS 2008 Express support 64bit targets.
    http://msdn2.microsoft.com/en-us/lib...7s(VS.80).aspx

    And they can both run on 64bit machines under WOW64.
    http://download.microsoft.com/downlo... Architectures

    http://www.microsoft.com/express/download/

    gg
    Last edited by Codeplug; 04-20-2008 at 08:21 AM.

  6. #6
    Registered User
    Join Date
    Apr 2008
    Posts
    4
    Alright, do you recommend any of these over the others, for a total beginner?

    Iam using the one suggested first by laser right now, and i can't even seem to get the cout function of the first tutorial to work... I don't get the message in the console, and it complains about not "being built" when i run it... Ah well, back to reading and thanks.

  7. #7
    C++ Witch laserlight's Avatar
    Join Date
    Oct 2003
    Location
    Singapore
    Posts
    28,413
    Alright, do you recommend any of these over the others, for a total beginner?
    The compilers that come with these IDEs are all acceptable. In terms of IDE usage... your mileage may vary, so I find it hard to recommend one over another for a rank beginner.

    Iam using the one suggested first by laser right now, and i can't even seem to get the cout function of the first tutorial to work... I don't get the message in the console, and it complains about not "being built" when i run it... Ah well, back to reading and thanks.
    It sounds like you need to create a project.
    Quote Originally Posted by Bjarne Stroustrup (2000-10-14)
    I get maybe two dozen requests for help with some sort of programming or design problem every day. Most have more sense than to send me hundreds of lines of code. If they do, I ask them to find the smallest example that exhibits the problem and send me that. Mostly, they then find the error themselves. "Finding the smallest program that demonstrates the error" is a powerful debugging tool.
    Look up a C++ Reference and learn How To Ask Questions The Smart Way

  8. #8
    C++まいる!Cをこわせ!
    Join Date
    Oct 2007
    Location
    Inside my computer
    Posts
    24,654
    Goto File -> New -> Project. Select Win32 Console. Follow the wizard and generate your project.
    Now you can enter your code and press F7 to compile and ctrl+F5 to run without debugging (that way, the console window won't disappear).
    Quote Originally Posted by Adak View Post
    io.h certainly IS included in some modern compilers. It is no longer part of the standard for C, but it is nevertheless, included in the very latest Pelles C versions.
    Quote Originally Posted by Salem View Post
    You mean it's included as a crutch to help ancient programmers limp along without them having to relearn too much.

    Outside of your DOS world, your header file is meaningless.

  9. #9
    Kernel hacker
    Join Date
    Jul 2007
    Location
    Farncombe, Surrey, England
    Posts
    15,677
    For 99% of the stuff, using a 64 or 32-bit compiler won't make a blind bit of difference (aside from of course the code that the compiler generates is different - but you can't tell from running the application). Yes, the 64-bit x86 variant has more registers, which should help the compiler generate better code. But for small applications, 32-bit code can be just as efficient.

    --
    Mats
    Compilers can produce warnings - make the compiler programmers happy: Use them!
    Please don't PM me for help - and no, I don't do help over instant messengers.

  10. #10
    Registered User
    Join Date
    Apr 2008
    Posts
    4
    Yeah after some bashing my head into the wall i figured out what i needed to do, and is on my way on the beginner tutorials. Do you have any recommendations if you should buy/borrow some books such as those recommended on the site?

    And you've got a nice forum here, lots of replies.

  11. #11
    Kernel hacker
    Join Date
    Jul 2007
    Location
    Farncombe, Surrey, England
    Posts
    15,677
    There are LOTS of books on C++ out there. You should try to get your hands on the Bjarne Stroustrup book - it's not the best teaching book, but it's THE best book to describe the details when you need that.

    As to a book to learn from, I'll leave that to someone else.

    --
    Mats
    Compilers can produce warnings - make the compiler programmers happy: Use them!
    Please don't PM me for help - and no, I don't do help over instant messengers.

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Copy bit to bit
    By Coder2Die4 in forum C Programming
    Replies: 15
    Last Post: 06-26-2003, 09:58 AM
  2. binary numbers
    By watshamacalit in forum C Programming
    Replies: 4
    Last Post: 01-14-2003, 11:06 PM
  3. 16 bit or 32 bit
    By Juganoo in forum C Programming
    Replies: 9
    Last Post: 12-19-2002, 07:24 AM
  4. 16 Bit Compiler
    By Jperensky in forum C Programming
    Replies: 5
    Last Post: 03-29-2002, 03:08 PM
  5. Array of boolean
    By DMaxJ in forum C++ Programming
    Replies: 11
    Last Post: 10-25-2001, 11:45 PM