Long description

Back

Line 01: void A (char asterisk date) OpenCurlyBracket

Line 02: int len;

Line 03: char B OpenSquareBracket 128 CloseSquareBracket;

Line 04: char log Msg OpenSquareBracket 256 CloseSquareBracket;

Line 05:

Line 06: str cpy (log Msg, date); note: slash asterisk first copy the string with the date in the log message asterisk slash

Line 07: len equals str len (date); note: slash asterisk determine how many characters are in the date string asterisk slash

Line 08: gets (B); note: slash asterisk now get the actual message asterisk slash

Line 09: str cpy (log Msg plus len, B); note: slash asterisk and copy it after the date into log Message asterisk slash

Line 10: write Log (log Msg); note: slash asterisk finally, write the log message to disk asterisk slash

Line 11: CloseCurlyBracket.

Back