It's UWAweek 48


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 919 articles.
Currently 3 other people reading this forum.

 UWA week 36 (2nd semester, mid-semester break) ↓
SVG not supported

Login to reply

2:30pm Sun 11th Sep, ANONYMOUS

I have a weird issue with my program that it is working perfectly with certain TXT files but once I replace them with new ones it doesn't work (output is incorrect -> only displays 2 processes). Even if they have the exact same information inside only certain TXT files give a correct output. I know my program is working since it is displaying the correct output from comparing with the sample solution page but just worried that during marking it will not output correctly due to this strange occurrence. Any idea why this is happening? Is it my program specifically or the way I am saving the files? Is anyone else having a similar issue or has any guidance?

SVG not supported

Login to reply

3:03pm Sun 11th Sep, ANONYMOUS

Ah fixed the issue, if anyone had a similar issue, it was due to the line break formatting of the TXT file from Unix (LF) and Windows (CR LF)

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