I recently added a page on Lua WIKI (an excellent source of information) that can help you. This is a tutorial for complete beginners on how to create Lua from sources using only free and “portable” ones (in the sense of “you can put on USB sticks” tools). It is intended for Windows users. Do not forget to check the official page and the main site of Lua !
The fact that you cannot download anything is pretty restrictive (how could you get a free compiler?). In any case, as the great wolf said, TDM-GCC is a great C / C ++ compiler for 32-bit x86-PCs. It is also fixed to be completely “portable”: I usually use it with a portable USB HD. The tutorial that I mentioned shows how to download and install it.
Note that although your system administrator at school may have blocked your ability to change the path variable globally, you can set it for individual processes (“running programs”) using simple batch files (also called Windows shell scripts).
Create a file called "myshell.cmd" with this content:
@set path=%path%;c:\the\path\to\my\app&cmd /K
part of c:\the\path\to\my\app should be the actual path to the directory (folder) where the application executable is located. When you double-click on myshell.cmd , a black box will open (provided that your sysadmin has not blocked this function), where you can call the executable files of the application.
For example, if you "installed" the TDM_GCC compiler in c:\myprogs\GCC inside this directory, you will find a subdirectory named bin . This subdir should be put in the path, so your myshell.cmd file will look like this:
@set path=%path%;c:\myprogs\GCC\bin&cmd /K
Then in the black box that I mentioned, you can call the compiler command:
gcc --help
As for your learning path, if you intend to learn Lua and C or C ++, I suggest you try C instead of C ++. C ++ has more “higher-level” functions, but it is huge, and although Lua can use the built-in C ++ code (of course, this is an advanced topic), it is intended for direct implementation in a C application (it has an API that complies with C conventions ), so for a beginner, probably the path Lua → C → C + Lua will be a little easier. C in itself, although difficult to learn, is a fairly minimalistic language, so the information for digesting about it is not so great.
Do not discourage you, but IMO, both C and C ++ are not the most suitable languages for absolute beginners (they have many pitfalls and almost no "security systems" for beginners). But it depends on your skills, dedication and motivation ,-)
Hope all this helps.