Free C++ Compiler?

This is a discussion on Free C++ Compiler? within the C++ Programming forums, part of the General Programming Boards category; Hello,
I'm working on a c++ project at school but the only compilers I can find require an installation. The ...

I don't know how they did it. I've tried to install many programs (such as firefox, bloodshed c++ compiler) and it says "You do not have the proper privleges to install this. Contact you system administrator for more information." Or something along those lines.

There's gotta be a compler that you can just copy the execuable and necessary library files and then just make a batch file to do "gcc file.cpp".

MinGW might be usable without "installation." Failing that maybe you can find a gcc binary out there somewhere, but you still need a standard library (headers and library archives). A compiler binary all by itself isn't enough to create useful programs.

Have you tried asking if you can install something? If they expect you to write code, it seems reasonable that they should let you install a compiler.

It's a weird situation. Usually im in the "tech" lab writing out the code, but thats full so I'm stuck in the library to do my work. I asked and they said to ask the tech person - no idea who that is...

I was just hoping there was a .zip file with the library headers and a compler =\

It's a weird situation. Usually im in the "tech" lab writing out the code, but thats full so I'm stuck in the library to do my work. I asked and they said to ask the tech person - no idea who that is...

I was just hoping there was a .zip file with the library headers and a compler =\

Do you have access to a UNIX account somewhere? You could just ssh there and do development remotely.

Well, if you really wanted me to I could put the entire Microsoft Visual Studio Express Edition (which is free) into a zip file, however, that could possibly be illegal/bad so does anyone have an idea whether or not that's bad?

Obvioulsy, the term "installation" can be interpreted in many ways, but I believe that ALL compilers require installation in some way or another. Certainly gcc on Linux does - it just happens to be part of what is often installed by default.

You are very unlikely to find any compiler that can be installed without "installing". Now there's of course a question as to what the system admin software constitutes as "installation", and what is just copying files from one place to another. Without knowing that, it's almost impossible to give you a "right answer".

For example, I'm 100&#37; sure that any of the gcc-variants (mingw for example) that run on Windows can be "instlaled" entirely without touching any files in \windows (or \winnt in relevant cases), which may be one reason for requiring "installation".

On the other hand if "copying executable files or DLL's" to the machine is what's considered "installing", then the likely answer is that "you can't do that".

Windows doesn't have umasks as far as I know, so nothing can stop the user from copying an executable to his home directory and executing it. Installation actions that require admin access are copying files to the Windows directory and modifying the registry tree outside the user-specific root.

MinGW ought to work without these, but actually getting it to run could be tricky.

Windows doesn't have umasks as far as I know, so nothing can stop the user from copying an executable to his home directory and executing it. Installation actions that require admin access are copying files to the Windows directory and modifying the registry tree outside the user-specific root.

MinGW ought to work without these, but actually getting it to run could be tricky.

Actually, windows support ACL (Access Control Lists) which theoretically can be used to restrict anyone from doing just about any file access model ever considered [and a few no one would ever even dream of in a high fever nightmare, probably].