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

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

Login to reply

6:12pm Tue 6th Sep, ANONYMOUS

"Matthew Carlsen" <23*8*8*[email protected]*u*e*t*u*a*e*u*a*> wrote:
> I think what you are asking is how to get the ascii value of a symbol character. > That would be typecasting: > > char c; > int x; > > x = (int)(c); > > I think you are probably trying to check if a crontab "word" is an asterisk. > I think there are easier ways than what you are trying to do.
Thanks for the reply. I'm looking to check if the 'word' is an asterisk, and if it is, then 'convert' it to an int such as -1 for future use and storage.

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