--------------- FIDO MESSAGE AREA==> TOPIC: 239 C LANGUAGE Ref: F5G00275 Date: 04/17/98 From: BILL BIRRELL Time: 09:32am \/To: JOHN GARDENIERS (Read 2 times) Subj: Cryptic Programming > NP>> has anybody heard of cryptic programming in C????????? > JP> Is that where one uses one's portable in a cathedral ? > No, that's Coptic programming. ;-) Doesn't that have to be in Egypt? There must be a Ministry of funny hats somewhere. :-) Bill. --- * Origin: Meerkats Anonymous (2:2504/200) --------------- FIDO MESSAGE AREA==> TOPIC: 239 C LANGUAGE Ref: F5G00276 Date: 04/17/98 From: BILL BIRRELL Time: 09:43am \/To: GEORGE WHITE (Read 2 times) Subj: atoi(const char *s) Hey, George White! In a message from George White to Bill Birrell on 14 Apr 98 08:02:04 about atoi(const char *s) you said:- > Most of it is on that as well :-). Saves a lot of time > of you drop > a program, no sorting back into order :-) (I used > Teletype ASRs, they > had readers as well!!!) Ah, oui. Je m'en souviens bien. :-) Ah yes ... I remember it well. :-) (However I am still not as old as Maurice Chevalier.). But to our sheep ... did I post the modified atoi() for those Dos compilers that have something different from the standard? Best wishes, Bill. --- * Origin: Meerkats Anonymous (2:2504/200) --------------- FIDO MESSAGE AREA==> TOPIC: 239 C LANGUAGE Ref: F5G00277 Date: 04/19/98 From: BRUCE WEDDING Time: 12:41pm \/To: ELIJAH RICHARD (Read 2 times) Subj: Nested loop ER> I'm using a book called "C by Examples" and on ER> lesson 14 it ask me to write ER> a program that would print this by using nested loop: ER> A ER> AB ER> ABC ER> ABCD ER> ABCDE ER> This is what I have: ER> void main() { ER> int count, Ascii; ER> for(count = 1; count <= 5; count++) { ER> for(Ascii = 65; Ascii ........ How bout something like this: #include int main() { int i, j; char *str = "ABCDE"; for ( i = 0; i < strlen(str); i++) { for (j = 0; j < i; j++) putchar(str[j]); puts(""); } return 0; } Untested, but I think it's close. Bruce --- Maximus/2 3.01 * Origin: COMM Port OS/2 juge.com 204.89.247.1 (281) 980-9671 (1:106/2000) --------------- FIDO MESSAGE AREA==> TOPIC: 239 C LANGUAGE Ref: F5G00278 Date: 04/19/98 From: BRUCE WEDDING Time: 12:53pm \/To: ELIJAH RICHARD (Read 2 times) Subj: Nested Loop Oops, I just tested it. Change the < strlen(str) to <= Bruce --- Maximus/2 3.01 * Origin: COMM Port OS/2 juge.com 204.89.247.1 (281) 980-9671 (1:106/2000) --------------- FIDO MESSAGE AREA==> TOPIC: 239 C LANGUAGE Ref: F5G00279 Date: 03/31/98 From: JANIS KRACHT Time: 01:24am \/To: ALL (Read 2 times) Subj: New Arrivals at PDN HQ! Today, Tuesday 31-03-98, < TOPIC: 239 C LANGUAGE Ref: F5G00280 Date: 04/03/98 From: JANIS KRACHT Time: 05:41pm \/To: ALL (Read 2 times) Subj: New Arrivals at PDN HQ! Today, Friday 03-04-98, <