Online Degrees and CLEP and DSST Exam Prep Discussion
Which Compiler for Study.com's Programming in C???? - Printable Version

+- Online Degrees and CLEP and DSST Exam Prep Discussion (https://degreeforum.net/mybb)
+-- Forum: Main Category (https://degreeforum.net/mybb/Forum-Main-Category)
+--- Forum: Saylor.org, Straighterline, Study.com, Sophia.Org, Coursera Discussion (https://degreeforum.net/mybb/Forum-Saylor-org-Straighterline-Study-com-Sophia-Org-Coursera-Discussion)
+--- Thread: Which Compiler for Study.com's Programming in C???? (/Thread-Which-Compiler-for-Study-com-s-Programming-in-C)

Pages: 1 2


Which Compiler for Study.com's Programming in C???? - AwardTour - 05-10-2019

Based on some previous posts it looks like I should avoid Dev C++ (which is too bad because I like the IDE).

Any idea what compiler the graders at Study.com typically use?

Would the best/safest bet be GCC? If so can anyone also recommend a lightweight IDE? By "lightweight" I mean anything that is faster and less of a memory hog than Visual Studio  Smile


RE: Which Compiler for Study.com's Programming in C???? - MrBossmanJr - 05-10-2019

I used visual studio code for my C++ projects at a local cc, but you can also use an online compiler for free.

https://www.onlinegdb.com/online_c++_compiler


RE: Which Compiler for Study.com's Programming in C???? - AwardTour - 05-10-2019

(05-10-2019, 12:28 PM)MrBossmanJr Wrote: I used visual studio code for my C++ projects at a local cc, but you can also use an online compiler for free.

https://www.onlinegdb.com/online_c++_compiler

That looks cool but it does not appear (after a quick look) to produce a .EXE/Binary that can be downloaded. It seems more like an online C/C++ interpreter that outputs to a console window.  

Back in the day I used this online compiler to get a binary. http://www.delorie.com/djgpp/compile/
It is outdated now and only runs in DOS protected mode.

I would just like a standalone C compiler with a quick/small IDE (windows compatible).


RE: Which Compiler for Study.com's Programming in C???? - MrBossmanJr - 05-10-2019

Oh in C. My bad. I glance over things too quickly lol. At Temple, I used putty and nano. I forget what we used to compile everything though.

Actually, I don't think it matters because C code can run in C++ but not the other way around.

Anyways, I use Atom editor. I hear there is an add-on gpp compiler. I'm not sure about how lightweight it is.

SubC is something my friend recommended.
http://www.t3x.org/subc/
EDIT: I've never used it so I can't really say anything about it.


RE: Which Compiler for Study.com's Programming in C???? - AwardTour - 05-10-2019

(05-10-2019, 01:15 PM)MrBossmanJr Wrote: Oh in C. My bad. I glance over things too quickly lol. At Temple, I used putty and nano. I forget what we used to compile everything though.

Actually, I don't think it matters because C code can run in C++ but not the other way around.

Anyways, I use Atom editor. I hear there is an add-on gpp compiler. I'm not sure about how lightweight it is.

SubC is something my friend recommended.
http://www.t3x.org/subc/

Thanks for the reply, most people will just say use a C++ compiler to compile a C program. I have seen a few threads where people have used Dev C++ and Study.com reported back compilation error messages and warnings. I guess I am at the mercy of what ever compiler the Study.com grader is using. I think I am going to take Merlin's advice in another thread and use GCC. I am open to suggestions on an IDE to go with it.


RE: Which Compiler for Study.com's Programming in C???? - davewill - 05-10-2019

You might like Visual Studio Code. It's Open Source, light weight, and available on Windows, Mac or Linux. You can use it with either the Microsoft or GCC compilers. For a class, I'd probably go with GCC and simple hand made make files and just use VS Code as an editor.


RE: Which Compiler for Study.com's Programming in C???? - AwardTour - 05-10-2019

(05-10-2019, 03:02 PM)davewill Wrote: You might like Visual Studio Code. It's Open Source, light weight, and available on Windows, Mac or Linux. You can use it with either the Microsoft or GCC compilers. For a class, I'd probably go with GCC and simple hand made make files and just use VS Code as an editor.

Thanks for the recommendation, I am going to give that a try as my editor.


RE: Which Compiler for Study.com's Programming in C???? - Merlin - 05-10-2019

(05-10-2019, 11:30 AM)AwardTour Wrote: Based on some previous posts it looks like I should avoid Dev C++ (which is too bad because I like the IDE).

Any idea what compiler the graders at Study.com typically use?

Would the best/safest bet be GCC? If so can anyone also recommend a lightweight IDE? By "lightweight" I mean anything that is faster and less of a memory hog than Visual Studio  Smile

I'm pretty sure that the evaluators use GCC in both instances, so I ended up using GCC/C++ (technically LLVM/clang) for both my SL C++ and SDC C Programming courses and didn't have any problems.

Both are free and easy to set up as well. I use a Mac so the compiler is native, but I'd set up a virtual machine running Linux if I were going to do this on my Windows PC.


RE: Which Compiler for Study.com's Programming in C???? - AwardTour - 05-10-2019

(05-10-2019, 07:09 PM)Merlin Wrote:
(05-10-2019, 11:30 AM)AwardTour Wrote: Based on some previous posts it looks like I should avoid Dev C++ (which is too bad because I like the IDE).

Any idea what compiler the graders at Study.com typically use?

Would the best/safest bet be GCC? If so can anyone also recommend a lightweight IDE? By "lightweight" I mean anything that is faster and less of a memory hog than Visual Studio  Smile

I'm pretty sure that the evaluators use GCC in both instances, so I ended up using GCC/C++ (technically LLVM/clang) for both my SL C++ and SDC C Programming courses and didn't have any problems.

Both are free and easy to set up as well. I use a Mac so the compiler is native, but I'd set up a virtual machine running Linux if I were going to do this on my Windows PC.
The vm running linux on a windows box is a good idea. 
Would downloading Dev C++  and replacing the old Mingw with a more current build be reasonable?


RE: Which Compiler for Study.com's Programming in C???? - bluebooger - 05-10-2019

http://www.codeblocks.org/

http://www.codeblocks.org/downloads