PLEASE NOTE: this server, secure.csse.uwa.edu.au, will be unavailable on WEDNESDAY 7th December, from 1pm until 4pm.
Web-based programs, such as csmarks, cssubmit, and the help fora, will all be unavailable.
  It's UWAweek 49

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 selected article
Showing 1 of 919 articles.
Currently 5 other people reading this forum.


 UWA week 37 (2nd semester, week 7) ↓
SVG not supported

Login to reply

👍?
helpful
10:18am Wed 14th Sep, ANONYMOUS

Hi, I'm trying to use strcmp but I've run into an issue where whilst the two command strings look the same, they are of different lengths (+1 difference). This means I can't use my strcmp() step as they are not exactly the same. From what I can see I believe the difference to be that one of the values has a null byte at the end of a command and the other does not. How can I go about fixing this? Do I try to append a null byte to the string and how could I do this? Thanks

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