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 22 other people reading this forum.


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

Login to reply

👍?
helpful
1:34pm Thu 8th Sep, ANONYMOUS

Hi, I was wondering if anyone can give me a bit of guidance. So we have opened the file and put the values in an array of structures but I am a bit confused on how to actually implement it. For example, any guidance on how we actually count how many times a command has occured taking into account the min, hour, day of the month and such. As hints.


SVG not supported

Login to reply

👍?
helpful
2:19pm Thu 8th Sep, ANONYMOUS

I wondering if we are supposed to implement a time.h structure somehow?


SVG not supported

Login to reply

👍?
helpful
3:06pm Thu 8th Sep, Christopher M.

ANONYMOUS wrote:
> I wondering if we are supposed to implement a time.h structure somehow?
Using the correct terminology will likely assist you understand what is going on when referring to online manuals or a textbook. Correctly time.h is not a structure - it is a casual way of referring to the standard-C time.h *header file*, which your program might employ using a preprocessor #include directive. The primary reason for including the time.h header file, is to declare the structure named struct tm. You don't implement the structure, you use it to define the datatype of one or more of your own variables. You may like to read the online manual from man ctime.


SVG not supported

Login to reply

👍?
helpful
3:34pm Fri 9th Sep, ANONYMOUS

Hi, so lets say we implement the time.h library, I am stuck on how to implement the * characters, I am thinking a loop to go through all the dates somehow?

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