It's UWAweek 47

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 2 articles in this topic
Showing 2 of 828 articles.
Currently 21 other people reading this forum.


 UWA week 38 (2nd semester, week 8) ↓
SVG not supported

Login to reply

👍?
helpful
5:25pm Thu 19th Sep, Allan W.

So the answer to this seems obvious but anyhow: It would be reasonable to assume we won't be tested on identifier names which are reserved keywords in C, right? E.g. we would never get an identifier called "int" or "return" or "struct"... Putting reserved keywords as variable/function names in the translated C file would likely create errors, and the code would fail to compile.


SVG not supported

Login to reply

👍?
helpful
10:15pm Thu 19th Sep, Joshua N.

"Allan Wu" <23*1*3*8@s*u*e*t*u*a*e*u*a*> wrote:
> So the answer to this seems obvious but anyhow: > > It would be reasonable to assume we won't be tested on identifier names which are reserved keywords in C, right? > > E.g. we would never get an identifier called "int" or "return" or "struct"... Putting reserved keywords as variable/function names in the translated C file would likely create errors, and the code would fail to compile.
This is a reasonable assumption. Make sure to put it in your assumption doc.

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  8:08AM Aug 25 2024
Privacy policy