Running C++ programs on a USB flash drive!

Hey guys,

How can I run C++ programs SOLELY off of my USB flash drive if a computer's hard drive would not allow me to download an IDE on it??

To provide a backdrop: I used to run programs on the DevC++ IDE I previously downloaded on my Windows XP work computer before it was swapped out for a Windows 7 version with imposed stringent download restrictions.

Thx as I eagerly await your replies!
How can I run C++ programs SOLELY off of my USB flash drive
Err, compile program, place it on your USB drive and use it. Unless your program uses absolute paths to it resources, everything should work fine.

If you want portable IDE, I believe, Code::Blocks with MinGW will work if you will make sure that all path are relative and not absolute.
Well, I have run programs off of my USB drive before; but the host computer already had an IDE already installed! I guess my OP was referring to what you referenced in your second point about portable IDEs. With respect to this, I have two questions:

1. Since DevC++ is what I've been using for years now, do you know if it has a portable version installable on a USB drive?

2.
... if you will make sure that all path are relative and not absolute

Can you please explain what you mean by this?
1) https://www.google.ru/search?q=DevC%2B%2B+portable
First link: http://sourceforge.net/projects/orwelldevcpp/files/Portable%20Releases/

Make sure you download Dev-Cpp 5.9.0 TDM-GCC x64 4.8.1 Portable.7z and not what "Looking for the latest version" link suggest

2) http://www.computerhope.com/jargon/a/absopath.htm
http://en.wikipedia.org/wiki/Path_%28computing%29
Topic archived. No new replies allowed.