| TIP: Click on subject to list as thread! | ANSI |
| echo: | |
|---|---|
| to: | |
| from: | |
| date: | |
| subject: | posix |
BL> I assume that means if I set the compiler to ANSI and press the BL> button, the EXE I get won't work on UNIX? PE> Ye gads! The EXE you get won't work on Linux in a million PE> years! They're completely different formats. Only the source PE> code will port. I didn't know that. The machine code has to be the same, so to me it seemed feasible. BL> How? What function will turn the "seconds since 1970" long into BL> a time string "1-01-70"? PE> localtime() followed by strftime(). Assuming a POSIX PE> environment, where time_t and "seconds since 1970" are presumed PE> identical. Why the FUCK didn't you tell me that in the beginning, instead of telling me to use strftime()? JEESEZ! BL> qsort(list, n, 80, sort); PE> I didn't say that. You didn't ask me about the qsort call. That PE> "80" is incorrect. It should be sizeof(char *). Sizeof WHAT char* pointer? And anyway, it doesn't work. I've already tried that. PE> And xysort works successfully too. BFN. Paul. Whatever it is... I can't make head nor fucking tail of it. And don't tell me to just use it blindly. I'm trying to *learn* something. I already know how to say "Polly wants a cracker." Regards, Bob ___ Blue Wave/QWK v2.12 @EOT: ---* Origin: Precision Nonsense, Sydney (3:711/934.12) SEEN-BY: 711/934 712/610 @PATH: 711/934 |
|
| SOURCE: echomail via fidonet.ozzmosis.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™.