简体   繁体   中英

c++ IDE on usb?

is there any c++ compiler i can put on a usb or external harddrive and use it on any other computer? the school computjers in my library dont have an ide... or a compiler installed...

PS the school computers are very tight on securty. i cant even download things from the internet, no websites like facebook, so can i install it on one of the computers? or can i just run it as the actual executable file and run it straight from my usb?

there are several computers with windows 7, and 3 imacs

I'd try Eclipse. And if it doesn't work straight away, try one of those USB-stick program-hosting softwares like U3 (it comes on some Sandisk thumb drives).

Code::Blocks can easily be made portable by setting custom environment variables, described here

At the back-end, C::B can use mingw, which doesn't require any specific install information other than a few environment variables. (namely PATH). These can be set temporarily using SET PATH=%PATH%;./mingw/ , which should be possible without elevated privileges.

You might try some of the tools at portableapps.com . They're a group that modifies open source software to run off of USB sticks. I've used their versions of Notepad++ , Gimp , and Filezilla for years.

In particular, maybe look at they're development tools: http://portableapps.com/apps/development

It looks like they even have some programs to make other apps portable as well, which you might try with Eclipse, as John suggested. (I think Eclipse may also just run off a USB stick without any modification.)

有可移植的代码块。

Dev-C++ might be a good choice if you only use Windows.

If you want an IDE that works in both Windows and Mac, you can choose Emacs , which is a very powerful text editor and is a part of the GNU project. But as it's only a text editor, you will need to download the C++ compiler yourself. MinGW might be a good choice in Windows. Since I have never used a Mac, I cannot give you more suggestion for the Mac environment. But as it's a Unix based system, I guess it has a C++ compiler itself.

What you're looking for is a portable c++ ide. Google gave me the following:

  1. devcpp-portable
  2. Netbeans portable config

But go through google to find more

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM