Since 4/14/2012 1:38:50 AM, willem has written 1 articles and participated in 1477 conversations. willem signature: willem
willem's articles:
Items(1) /1
Question on while(!feof(fp))544 (1/30/2008 6:27:09 PM) comp.lang.c As we all know, the following code is not quite correct: while (!feof(fp)) { fgets(...); /* do_something */ } And should be replaced by: while (fgets(...)) { /* do_something */ } But can the faulty code... Willem
Embed a domain-specific command line interface?2343 (10/23/2009 8:19:18 PM) comp.programming I'm planning on developing an application which I intend to be heavily scripted (and scriptable). I also intend to implement a small command line interface, in the excellent tradition of autocad, in order to m... rui.maciel(1761)
Bitwise question #2874 (11/4/2009 11:38:33 AM) comp.lang.c Hi, I'm wondering if I want to check if a bit is not set, the following statements are valid: /* check if bit is not set */ if ( !(MASK & BIT_TO_CHECK) ) { /* do something */ } and /* check if bit is not s... fake6867(34)
How to choose a Data-Structure for a Priority Queue ?2749 (11/6/2009 7:42:44 AM) comp.programming I have been asked to make a Priority Queue (PQ) and after making lots of threads on comp.lang.c and writing lots of code I am still confused. The PQ has these requirements: 1) Process approximately 10 mi... sunrise2(598)
Order of declaration of variables changes the output?360 (11/6/2009 1:26:44 PM) comp.lang.c I've encountered something odd... A friend of mine just started C and had this problem. Here's very simple (bugged) program which still works correctly. #include int main() { char b,radius,area,a; ... yuval.kh(1)
Common misconceptions about C (C95)40683 (11/18/2009 3:35:56 AM) comp.lang.c I have created a text available under GNU FDL 3 (Free Documenation License)
or later, regarding "Common misconceptions about C" (C95).
http://www.cpp-software.net/documents/free_documents/c_misconception... Ioannis
efficient approach to check a set bit45112 (12/4/2009 7:12:44 AM) comp.lang.c Friends,
I need a help to clear about following query. Seeking the help from
the group to solve and clear my doubts.
1. What might be an efficient and fastest way to check set bits of an
integer ? Supp... sanjib
While(1) or for(;;) for infinite loops?15959 (12/4/2009 6:06:57 PM) comp.lang.c I assume this has come up before but I am getting nowhere with searches. To make an infinite loop, while(1) tends to generate lint/compiler warnings, for(;;) does not. Other than personal preference, are the... scott7146(164)
Advanced data structures158263 (12/12/2009 12:55:43 AM) comp.lang.c I have started reading
"Advanced data structures" from Peter Brass.
He says:
This is not a book on object-oriented programming, but on the
algorithmic side of data structures. In May 2009 I finally... jacob
Looking for external program invocations3336 (2/5/2010 11:08:02 PM) comp.lang.c I have some open source software packages that were written in C by a third party, they make use of external programs. For the purposes of security auditing, and for making appropriate fixes, I need to locate a... markhobley550(897)