Search Results

Search: Posts Made By: larryprg
26,868
Posted By larryprg
Glad you caught it
I was just copying example code, deleting stuff that
wasn't necessary -- EXCEPT for the initialization of j,
which could easily be catastophic.

The code was from VC++:

/* SPRINTF.C: This...
26,868
Posted By larryprg
sprintf
sprintf is the do-all command for conversion to strings.
It's just like printf, only the results are stored in
a string.

char buffer[200];
int i = 35, j;

/* Format and print integer: */
...
38,657
Posted By larryprg
the greater than ">" symbol always creates or...
the greater than ">" symbol always creates or overwrites
the file ">file_name". The double greater than ">>" will
append to the file.
2,799
Posted By larryprg
Not much help
The 'last' command doesn't help much since I need
to have a summary of each user's total time online
and number of logins for an entire month.

The previous report looked like this:

...
2,799
Posted By larryprg
Hey Guys I need help quick! Our regular...
Hey Guys I need help quick!

Our regular SYSOP is ill and I've been assigned
the job of creating a usage report.

I've got to figure out who has logged on in the
last month and how long they...
Showing results 1 to 5 of 5

 
All times are GMT -4. The time now is 12:13 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy