Thread: Compiler problem

  1. #1
    Registered User
    Join Date
    Jul 2007
    Posts
    3

    Compiler problem

    i'm using windows vista and cant get a compiler that doesnt require admin rights to install. I am new to learnin C and need a compiler to test out my codes.
    I dont want fancy features just want something to compile code. But i dont want a file that requires admin rights to install cause i dont have that can someone please help me?

  2. #2
    and the hat of int overfl Salem's Avatar
    Join Date
    Aug 2001
    Location
    The edge of the known universe
    Posts
    39,659
    Which ones have you tried already?
    If you dance barefoot on the broken glass of undefined behaviour, you've got to expect the occasional cut.
    If at first you don't succeed, try writing your phone number on the exam paper.

  3. #3
    Registered User
    Join Date
    Jul 2007
    Posts
    3
    Borlands, and everythingelse cant even remember. Do you think it is a good idea to learn C without a compiler? I only want to learn it to put together a game. So I can learn it using notepad and once i've learned it, i'll program the whole entire game unto note pad

  4. #4
    Registered User MacNilly's Avatar
    Join Date
    Oct 2005
    Location
    CA, USA
    Posts
    466
    Quote Originally Posted by fredi_G View Post
    Borlands, and everythingelse cant even remember. Do you think it is a good idea to learn C without a compiler? I only want to learn it to put together a game. So I can learn it using notepad and once i've learned it, i'll program the whole entire game unto note pad
    I don't think so. It'd be like learning to paint by just looking at paintings. You need to get out your paintbrush and palette. Yeah, cheesy analogy.

    How much do you know about C?

    You could learn the basics like loops, data types, if statements, ect w/o a compiler but you'd be hard pressed to learn anything above the very basics without some method to test. By testing code you learn how things work, what works and what doesn't.

  5. #5
    Registered User
    Join Date
    Jun 2007
    Posts
    6
    Here is a list of free compilers:
    http://www.thefreecountry.com/compilers/cpp.shtml

    I think MinGW (GCC for Windows platforms) should work without admin privileges but I'm not sure on Vista. You could also try LCC.

    If you want to start any project that it's not very small (i.e. homeworks) you should start using some tool to help managing your project. A list of free IDEs can be found here. Personally I use Code::Blocks and I think it's a great tool.

    Regards

  6. #6
    The larch
    Join Date
    May 2006
    Posts
    3,573
    Games are usually quite complicated to program. I seriously doubt you'll ever manage to learn to program that well without a compiler and a chance to run anything.

    There's an online compiler (Comeau) that you can use to test if your code at least compiles. However, the fact that code doesn't have syntax errors, doesn't mean that the program does what you expect.

    May-be you could ask whoever has the admin rights for the computer to install you a compiler?
    I might be wrong.

    Thank you, anon. You sure know how to recognize different types of trees from quite a long way away.
    Quoted more than 1000 times (I hope).

  7. #7
    Registered User
    Join Date
    Jan 2007
    Posts
    72
    i think that admin right is comming from your pc. that mean that whenever you install a software you had the same problem.

  8. #8
    Registered User MacNilly's Avatar
    Join Date
    Oct 2005
    Location
    CA, USA
    Posts
    466
    If you REALLY want to learn to program go buy your own computer (laptop pref.) and install a linux distro on it that will include C, C++, Perl, Python, (probably) Java, (probably) NASM too. You can't learn to program depending on IDE's to do all the work for you. Get familiar with the terminal interface. All IMO, of course.

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Dev-C++ compiler problem
    By GrasshopperEsq in forum C++ Programming
    Replies: 19
    Last Post: 05-08-2008, 02:35 AM
  2. Compiler Problem
    By sitestem in forum C++ Programming
    Replies: 2
    Last Post: 04-11-2004, 03:48 PM
  3. Replies: 5
    Last Post: 12-03-2003, 05:47 PM
  4. Problem with compiler
    By knight543 in forum C++ Programming
    Replies: 4
    Last Post: 02-09-2002, 09:16 PM
  5. Please help me with this compiler problem
    By incognito in forum C++ Programming
    Replies: 1
    Last Post: 01-05-2002, 05:14 PM