--------------- FIDO MESSAGE AREA==> TOPIC: 239 C LANGUAGE Ref: F2D00009 Date: 02/08/98 From: AUKE REITSMA Time: 05:18pm \/To: MICHAEL STAPLETON (Read 1 times) Subj: Freq.c [1 of 5] Hi Michael, On 04 Feb 98, 22:32, you wrote to John Gardeniers JG>> It really wouldn't be much of a job to extract the comments JG>> to a temporary file and spell check them there. MS> Comment extraction is not as easy as one might first think. You MS> basically need a complete code parser to deal with all cases. No, I don't think so. There are (or were) reasonable comment extractors in Snippets. And I've written an FSM version as well ... The main problem is applying the spelling corrections after extracting the comments and spell checking ;-) JG>> OTOH, would anyone really bother? ;-) I did it for an entire Snippets release ;-) MS> No, spelling mistakes are rarely the main problem with faulty MS> comments. Ambiguous and out-of-date comments are the dangerous MS> ones. Correct! Greetings from _____ /_|__| Auke Reitsma, Delft, The Netherlands. / | \ -------------------------------------- --- GEcho 1.00 * Origin: Home by the C (Auke.Reitsma@net.hcc.nl) (2:281/400.20) --------------- FIDO MESSAGE AREA==> TOPIC: 239 C LANGUAGE Ref: F2D00010 Date: 02/08/98 From: AUKE REITSMA Time: 05:29pm \/To: PETER HAYWOOD (Read 1 times) Subj: Portability Hi Peter et. al., On 06 Feb 98, 03:19, you wrote to Fernando Ariel Gont PH> GW-BASIC is only one form of BASIC. There are many many BASICs, Looks like the start of a language war. BASIC is off topic anyway. So continuation of this thread is severely frowned upon ... Greetings from the Moderator _____ /_|__| Auke Reitsma, Delft, The Netherlands. / | \ -------------------------------------- --- GEcho 1.00 * Origin: Home by the C (Auke.Reitsma@net.hcc.nl) (2:281/400.20) --------------- FIDO MESSAGE AREA==> TOPIC: 239 C LANGUAGE Ref: F2D00011 Date: 02/08/98 From: TOM TORFS Time: 11:26am \/To: AHMAD AL-DOUSARY (Read 1 times) Subj: Memory exchange Ahmad Al-Dousary wrote in a message to All: AA> I was wondering if it was possible to exchange two areas of memory AA> without the use of an auxiliary storage in C.. For integral types only: a ^= b ^= a ^= b; AA> BTW this is the C echo isn't it?... (At my BBS it is called OS2 & AA> DOS echo) Yes this is the C_Echo. Better inform your sysop to change the name. greetings, Tom tomtorfs@village.uunet.be --- timEd/2 1.10+ * Origin: 80X86 BBS 32-15-24.62.32 V.34/V.FC (24h/24h) (2:292/516) --------------- FIDO MESSAGE AREA==> TOPIC: 239 C LANGUAGE Ref: F2D00012 Date: 02/08/98 From: PAT GLENN Time: 12:39am \/To: FERNANDO ARIEL GONT (Read 1 times) Subj: True Type Fonts Fernando, FA>Hullo Pat Glenn, hope you are having a nice day!! FA> FA>19-Jan-98 21:54:00, Pat Glenn wrote to Fernando Ariel Gont FA> Subject: True Type Fonts FA>PG> Microsoft has all kinds of information, including a couple SDK's FA>PG> and TTF Spec Sheets available on their web-site. There's even a FA>PG> tutorial on how to make a TTF. (microsoft.com) Could be helpful FA>PG> for your cause. FA>Well, could you please give me the full URL to the document? FA> FA>The fact is that I only have a free e-mail service (no online www access), FA>and I have to access www pages via wwwmailservers, so the it'd be more han FA>useful if I had the full URL... That could be a slight problem... The information is freely available, but you are required to be a member of the MicroSoft Developers Network in order to access the material. Otherwise the access is restricted. Membership in MSDN is free. You are required to answer a questionaire. Do you have anybody that could access the material for you? If not, perhaps I could contact the MSDN and see if I would be allowed to pass on the SDK's to you. If approved, (frankly, I don't see it as much of a problem unless you live in a communist country or some crazy thing like that) I could e-mail it directly to you. Let me know your address. Pat Glenn ___ * UniQWK v4.2 * The Windows Mail Reader --- Maximus 3.01 * Origin: C+Net BBS. Programming & Networking. (1:342/601) --------------- FIDO MESSAGE AREA==> TOPIC: 239 C LANGUAGE Ref: F2D00013 Date: 02/07/98 From: TIKA CARR Time: 12:22am \/To: MICHAEL STAPLETON (Read 1 times) Subj: Csplit MS> There may also be an ISA card Amiga, IIRC, which could be very MS> useful in an embedded environment... Especially if on your MS> development machine you have Amiga Forever, a software Amiga MS> emulator that runs on top of Unix, WinNT or Win95. Do you know where to get one of these, and a C Compiler that would work with it? I have a friend who has an Amiga and would like to make some programs for him or convert some PC stuff for use on his machine. Problem is, I don't know of any 68K compilers that will work in the PC 80x86 environment. :/ Tika The 3:00 am Club: http://www.geocities.com/SiliconValley/Haven/1420/ Tika Carr: tika@knightmoves.com [C/C++ Code, Libraries, Info...] ... We hope your hair grows back. Next bug, please. - C|Net ___ Blue Wave/DOS v2.30 --- QScan/PCB v1.17b / 01-0406 * Origin: Knight Moves - Rochester,NY 716-865-2106 (1:2613/313) --------------- FIDO MESSAGE AREA==> TOPIC: 239 C LANGUAGE Ref: F2D00014 Date: 02/07/98 From: TIKA CARR Time: 12:22am \/To: VICTOR KEMP (Read 1 times) Subj: interrupt function -=> Quoting Victor Kemp to All <=- VK> Hi, can someone please tell me what exactly happens when you declare a VK> function as 'interrupt'. If it's compiler specific then I'm using VK> Turbo C++ v3.0. (I figure that it will behave the same way in c as c++ VK> though). interrupt, _interrupt and __interrupt (I think that one too, not sure) are ll for interrupt handlers in Borland C++ 3.1 for DOS. The way I found out (and I think you can too) is to put the cursor on the word interrupt in your program and right click the mouse (or hit F1). In Microsoft Quick C 2.5, there's an _interrupt and I'm sure there's a couple in Power C 2.2.0 as well. I think it would be more DOS compiler specific (ie. not cross-platform). I have not checked this in Linux GNU C++ or anything (because I haven't played with that one yet so I don't know what's in it). VK> It appears that it is disabling all(at least some unrelated) hardware VK> interrupts while in the function, is this true? I don't seem to be VK> getting any even if I give it an STI instruction. Apparently, the function ends with an IRET and all CPU registers are saved. BC++ 3.1 advises that you uncheck (turn off) the stack warning checkbox (wherever it is, I forgot) and make sure the Register Variables is "none". VK> I would really like to be able to wait for an interrupt to occur from VK> within the interrupt function, but waiting for it just makes it sit VK> there forever. Ah, so you want to poll for an interrupt. Well, I am not sure you can do that in ANSI C. That would be something you'd want to write a C++ class for so hat it would be triggered if the event occurs, but runs the rest of the program f the event isn't triggered. To learn more about that, (and since I was very much outvoted to merge the two echoes), I think you'll need to ask this in he C++ echo. Tika The 3:00 am Club: http://www.geocities.com/SiliconValley/Haven/1420/ Tika Carr: tika@knightmoves.com [C/C++ Code, Libraries, Info...] ... We're off to see the Wizard, he's sure to have the answer. ___ Blue Wave/DOS v2.30 --- QScan/PCB v1.17b / 01-0406 * Origin: Knight Moves - Rochester,NY 716-865-2106 (1:2613/313) --------------- FIDO MESSAGE AREA==> TOPIC: 239 C LANGUAGE Ref: F2D00015 Date: 02/06/98 From: ``MATT RAYKOWSKI`` Time: 09:01am \/To: BOB STOUT (Read 1 times) Subj: 32bit integers to 16bit integers > If you konw the data to be 16 bits wide, read it as a short, not as an nt. >You'll find that while the size of an int varies among systems, on most a >short is 16 bits and a long is 32 bits. This will certainly work when moving >from TC to djgpp as you're planning to do. Yeah, I'm moving from TC to djgpp. The thing is that everything's umped via structure to the file and I was hoping there was an easy way. I'd assume that this means I'll have to read the structures in one field at a time (and it's a HUGE structure), correct? As long as I'm at it, are there any good books, FAQs, or anything on programming in djgpp or pmode? I've done all my programming (primarily graphics) in rmode, and have been urged, especially by my artists to go to 640x480, and I can't see how I could do this without moving to pmode. Any suggestions, for someone totally ignorant to pmode? Chew. --- WWIVGate 2.00c * Origin: * Eagle's Dare * Laurel, MD * (301) 498-1984 (1:109/500) --------------- FIDO MESSAGE AREA==> TOPIC: 239 C LANGUAGE Ref: F2D00016 Date: 02/03/98 From: MICHAEL STAPLETON Time: 8:399am \/To: BOB GEARHART (Read 1 times) Subj: Re: Findfirst/next -=> Quoting Bob Gearhart to Dave Kelly <=- Hi Bob, BG> The defines below are for the attribute word. BG> #define FA_NORMAL 0x00 /* Normal file, no attributes */ BG> #define FA_RDONLY 0x01 /* Read only attribute */ BG> #define FA_HIDDEN 0x02 /* Hidden file */ BG> #define FA_SYSTEM 0x04 /* System file */ BG> #define FA_LABEL 0x08 /* Volume label */ BG> #define FA_DIREC 0x10 /* Directory */ BG> #define FA_ARCH 0x20 /* Archive */ Thankyou very much! I asked Bob Stout for this when I was writing the Amiga port of dirport, but he didn't understand my question. :( Michael Stapleton of Graphic Bits. * AmyBW v2.10 * ... This tagline is encrypted --- AdeptXBBS v1.11z (FREEWare/2) * Origin: Mach One BBS (3:713/615)