Thread: I cannot compile for VISTA???

  1. #1
    Registered User
    Join Date
    Dec 2009
    Posts
    25

    Angry I cannot compile for VISTA???

    i dowloaded the Code::blocks but i cannot compile any program..I have a vista

    then i read that i have to download a MinGW 5.1.6 exe.but when i downloaded it, icouldnt find the compiler in my pc...i already sent an email to these guys on their site but they ignored me...

    any help?

  2. #2
    Registered User
    Join Date
    Nov 2009
    Posts
    151
    did you try searching for code::blocks in the search thing in the start menu?

  3. #3
    Registered User
    Join Date
    Dec 2009
    Posts
    25
    Quote Originally Posted by bijan311 View Post
    did you try searching for code::blocks in the search thing in the start menu?
    yes i did dowloaded the code:blocks and run the compiler but i could not compile anything with it..instead it gives me a message:
    "It seems that the projest has not been built yet. Do you want to build it now?"

    when i press "Yes" it does nothing!

  4. #4
    C++まいる!Cをこわせ!
    Join Date
    Oct 2007
    Location
    Inside my computer
    Posts
    24,654
    BerliOS Download - The Open Source Mediator
    Try this one. C::B and the compiler in one package. Integrated and configured.
    The error has nothing to do with Vista and everything with how you haven't properly configured the IDE.
    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.

  5. #5
    Registered User
    Join Date
    Nov 2009
    Posts
    151
    and if that still doesn't work try downloading visual c++ express from microsoft. Thats the one that i use and it works well.

  6. #6
    Registered User
    Join Date
    Dec 2009
    Posts
    25
    Quote Originally Posted by bijan311 View Post
    and if that still doesn't work try downloading visual c++ express from microsoft. Thats the one that i use and it works well.
    do ihave to pay to dowload it?

  7. #7
    Registered User
    Join Date
    Nov 2009
    Posts
    151
    no, and if you didn't know the link was in my last post

  8. #8
    Registered User
    Join Date
    Dec 2009
    Posts
    25
    Quote Originally Posted by bijan311 View Post
    no, and if you didn't know the link was in my last post
    yes i got the link..thanks..i'll try it

  9. #9
    Registered User
    Join Date
    Nov 2009
    Posts
    151
    hope it works for you

  10. #10
    Registered User
    Join Date
    Dec 2009
    Posts
    25
    [B][U]ok it works now..i think...is the output of this program right?
    after the "hello, world" message, it show this:

    Process returned 0(0x0) execution time : 0.053 s
    Press any key to continue


    is it right???

  11. #11
    Malum in se abachler's Avatar
    Join Date
    Apr 2007
    Posts
    3,195
    that depends on the program, but by convention programs return 0 on success.

  12. #12
    Algorithm Dissector iMalc's Avatar
    Join Date
    Dec 2005
    Location
    New Zealand
    Posts
    6,318
    Quote Originally Posted by Greek_89 View Post
    yes i did dowloaded the code:blocks and run the compiler but i could not compile anything with it..instead it gives me a message:
    "It seems that the projest has not been built yet. Do you want to build it now?"

    when i press "Yes" it does nothing!
    There's a good chance that your problem is mentioned in whatever FAQ there is for it. Unless you read through many FAQ articles there's a good chance many ignored you because your problem was too common for them to care about any more.
    Or maybe you just didn't wait long enough.
    My homepage
    Advice: Take only as directed - If symptoms persist, please see your debugger

    Linus Torvalds: "But it clearly is the only right way. The fact that everybody else does it some other way only means that they are wrong"

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. C and C++ compile speed
    By swgh in forum A Brief History of Cprogramming.com
    Replies: 3
    Last Post: 01-02-2007, 02:37 PM
  2. Compile as you type
    By Rocketmagnet in forum A Brief History of Cprogramming.com
    Replies: 33
    Last Post: 12-07-2006, 01:36 PM
  3. How to compile mfc libs from platform sdk
    By tjcbs in forum Windows Programming
    Replies: 6
    Last Post: 11-19-2006, 08:20 AM
  4. Compile crashes certain windows
    By Loduwijk in forum C++ Programming
    Replies: 5
    Last Post: 03-26-2006, 09:05 PM
  5. How can I compile C or C++ with Visual Studio .NET?
    By Dakkon in forum C Programming
    Replies: 8
    Last Post: 02-11-2003, 02:58 PM