Hey /wsr/
I have a homework assignment that is to modify some C program that is only runs on Linux. Is there any compiler that shows my errors when compiling?
I have tried emacs and I have intentionally put in errors and it is still compiling.
>>204932
llvm has much more intuitive error messages than gcc.
Neither of them will spot code that is syntactically correct but logically wrong; that's your job.
>>204932
>Is there any compiler that shows my errors when compiling?
Yes, all of them.
>I have tried emacs
Which is not a compiler. Have you tried compiling with Microsoft Word too?
>>204958
Nope. I am a complete noob when it comes to linux not everything computer related. I also tried gcc and was having similar results. I was reading that emacs has the ability to compile and phrase the error codes.
>> 204938
Thanks, I'll try that out.
Did you really unironically attempt to compile something with emacs?
The compiler is GCC. Look it up.
You shouldn't be working with C if the only thing you know about is Visual Studio.
>>204979
Like I said I have a homework assignment that is a C program that runs in linux. I do not have much experience with c or linux. But I need to for this assignment.
>>205005
Using a compiler in a terminal is pretty much the same in both OSes. There are also IDEs for Linux that are similar to the Windows suites. Either way you get error messages. Alternatively, you could write code that has no errors right off the bat, which shouldn't be hard for something on the magnitude of a shitty homework; just do it.
>>204962
emacs is the text editor
get code::blocks it is a lot more easy to use