It's UWAweek 48

help2002

This forum is provided to promote discussion amongst students enrolled in CITS2002 Systems Programming.
Please consider offering answers and suggestions to help other students! And if you fix a problem by following a suggestion here, it would be great if other interested students could see a short "Great, fixed it!"  followup message.

Displaying the 4 articles in this topic
Showing 4 of 919 articles.
Currently 2 other people reading this forum.


 UWA week 34 (2nd semester, week 5) ↓
SVG not supported

Login to reply

👍?
helpful
12:17pm Thu 25th Aug, ANONYMOUS

Hello! Was just wondering if visual studio code is alright to use as I just read somewhere that MacBooks should be using Xcode? Curious if there's a reason why you can't use one over the other (if that is the case). Thanks :)


SVG not supported

Login to reply

👍?
helpful
2:22pm Thu 25th Aug, Christopher M.

ANONYMOUS wrote:
> Hello! Was just wondering if visual studio code is alright to use as I just read somewhere that MacBooks should be using Xcode? Curious if there's a reason why you can't use one over the other (if that is the case).
You're welcome to use whatever editing application/environment you wish. Xcode on Macs is probably the better of the two. Be careful (warned) that, historically, Microsoft chose not to support C standards in their IDEs, saying that there was no need as they supported standard C++. However, theya re different languages, C++ is not a superset of C, and there's certainly no language named C/C++. The two standards have diverged even more since those days - the danger being that with VSCode you may accidentally enter some syntax that is valid in C++ but not C, and the IDE may not warn you about it unless there's a way to specify what language standard you require. I don't know the full story - maybe we have some power-VSCode users who know how to rigorously demand C99 or C11 ??


SVG not supported

Login to reply

👍x1
helpful
2:55pm Thu 25th Aug, Simon E.

I'm using VSCode on Windows 11 with no problem. You need to install the C/C++ extension (which can be done easily from the extensions panel) and then you can specify which version of C to provide error checking and auto-complete for in the settings. I would recommend that you run a terminal within VSCode and compile your code there


SVG not supported

Login to reply

👍?
helpful
2:57pm Thu 25th Aug, Christopher M.

Thanks Simon; very helpful.

The University of Western Australia

Computer Science and Software Engineering

CRICOS Code: 00126G
Written by [email protected]
Powered by history
Feedback always welcome - it makes our software better!
Last modified  1:17AM Sep 14 2022
Privacy policy