I am a student at college and this is my first programming class ever. All I want to know is, is there a standalone program I can put on my flash drive to test practice code on at home and at school.
Something like the website Codechef but an actual program (basically so I can have options like save/load so I can study at home or show my teacher an example at school).
I have no interest in actually running the program, just to simulate it. I downloaded Bloodshed on my computer at home, but I keep getting compiling errors even though it compiles ok (now).
At first I had errors but found a page that showed me to go into the tools-compiler options-programs and change the program filenames for gcc, g++ and make, changing them to mingw32-c++.exe, c++, and mingw32-make.exe respectively.
Bloodshed was setup to work on Linux and not Windows 10 - I hope I did the right thing, but I no longer CTD anymore though the program still doesn't go through.
It just dawned on me, would Notepad (or Notepad++) be used for this? Can we run (or test a program) from Notepad?
My instructor seems to be moving very slowly, covering structured programming and diagrams before even starting on chapter 1 in the book. We haven't started talking code at all.
Though I should mention, I live in Houston, and we were delayed at starting because of Harvey.
Notepad++ is good as a code editor. But it doesn't easily compile and run the program (needs a separate compiler). It isn't a substitute for an IDE like code::blocks, though it might be used for browsing / editing code separately.
Thanks Chervil, I installed it, but haven't tried to use it yet, my only other question is:
In the Program Files on my computer, I see two .exe files:
1. is the CbLauncher.exe
2. is the codeblocks.exe
Is #1 above a standalone? Or is the easiest way to transfer program files (take from home to school or vice versa) through Notepad or the output file that this program creates when saving?
I am curious how the college will allow us to "program" in class, whether we will use something that allows us to actually program, or just something we can use to test code.
I'm note sure which .exe is which. As far as I can tell, CbLauncher.exe is used for the initial set-up and configuration. codeblocks.exe is the normal program to run. (but I may be wrong). In any case, there are a lot of other files which are also needed, not just the single exe.
Anyway, if you want something portable to transport on a flash drive, you could download the .zip version which shouldn't need any installation.
I assume your college will have their own compiler available?
If that's the case, all you need to transport on the flash drive are the .cpp and .h files which contain your source code. (you might also copy the final .exe but that is less important if you will be compiling the code both at home and at school, you only really need the source-code).