| TIP: Click on subject to list as thread! | ANSI |
| echo: | |
|---|---|
| to: | |
| from: | |
| date: | |
| subject: | #5780-mktime function help |
#: 5782 S3/Languages
02-Aug-90 16:51:57
Sb: #5780-mktime function help
Fm: Bruce MacKenzie 71725,376
To: SCOTT HOWELL 70270,641
It's easy enough Scott.
char str[12];
FILE *out;
strcpy(str,"temp.XXXXX");
mktemp(str);
out=fopen(str,"w");
The above creates a file with a name such as temp.5 or temp.3 depending on what
the process id is.
|
|
| SOURCE: compuserve via textfiles.com | |
Email questions or comments to sysop@ipingthereforeiam.com
All parts of this website painstakingly hand-crafted in the U.S.A.!
IPTIA BBS/MUD/Terminal/Game Server List, © 2025 IPTIA Consulting™.