comp.lang.c
http://groups-beta.google.com/group/comp.lang.c

Today's most active topics:

* Systems software versus applications software definitions - 20 new
  
http://groups-beta.google.com/group/comp.lang.c/browse_thread/thread/3fa8770993ebe026

* simple file system - 16 new
 
http://groups-beta.google.com/group/comp.lang.c/browse_thread/thread/efcbc57274d6a188

* Questions about malloc() - 8 new
 
http://groups-beta.google.com/group/comp.lang.c/browse_thread/thread/82b0dc0981bf3664

* CGI programming in C - 8 new
 
http://groups-beta.google.com/group/comp.lang.c/browse_thread/thread/7d6efda9ed9205cd

* Is there a bigger data type in c than the double one? - 7 new
 
http://groups-beta.google.com/group/comp.lang.c/browse_thread/thread/a127b57cc411370


Active Topics
-------------

assert(x) and '#define ASSERT(x) assert(x)' - 6 new
---------------------------------------------------
Here are two programs. --- foo1.c --- ...int main() { assert (15 < FOO); 
return 0; ...------------- --- foo2.c --- ...int main() { ASSERT (17 < FOO); 
return 0; ...------------- // gcc 3.3.3 $ gcc -W -Wall foo1.c -o a1 // No 
errors/warnings $ gcc -W -Wall foo2.c -o a2 // No errors/warnings $ ./a1 - 
Thurs, Nov 25 2004 10:33 am
6 messages, 5 authors
http://groups-beta.google.com/group/comp.lang.c/browse_thread/thread/375a9b16c64d372d


Systems software versus applications software definitions - 20 new
------------------------------------------------------------------
...<snip> ...Unless, of course you are into embedded software, where it's (on 
a regular basis) neccesary in order to implement ISR's (for one instance). 
Also implementing support for many CPU/HW features can hardly do without. <
snip> - Thurs, Nov 25 2004 9:36 am
20 messages, 13 authors
http://groups-beta.google.com/group/comp.lang.c/browse_thread/thread/3fa8770993ebe026


simple file system - 16 new
---------------------------
I am trying to write a simple file system using c. It will consist of frames 
of 512 bytes, and will have a superblock etc. From the outside it will appear 
as a single file in UNIX. I want to create the file and fill it with garbage 
at first before I write the superblock. My first question is: what is the best
way to create a file and fill - Thurs, Nov 25 2004 12:45 am
16 messages, 11 authors
http://groups-beta.google.com/group/comp.lang.c/browse_thread/thread/efcbc57274d6a188


Is there a bigger data type in c than the double one? - 7 new
-------------------------------------------------------------
...I have downloaded the package from the official GNU site and there is NO 
mention of windows in it, nor any Microsoft C workspace or project. As such, 
the package will not even configure under windows since it supposes the 
existence of /bin/sh. Please, cygwin is not native windows, since needs a 
copyrighted - Thurs, Nov 25 2004 9:46 am
7 messages, 6 authors
http://groups-beta.google.com/group/comp.lang.c/browse_thread/thread/a127b57cc411370


discerning ISPs of spammers - 6 new
-----------------------------------
...Not really. RB "You are not the only fool speaking german" M&M "Apparantly 
you also belong to these fools?" ...headers ...Sound advice. - Thurs, Nov 25 
2004 10:21 am
6 messages, 5 authors
http://groups-beta.google.com/group/comp.lang.c/browse_thread/thread/f6d313a5130a58fa


conversion - 2 new
------------------
...ya, long is 32-bits. -Neo - Thurs, Nov 25 2004 2:57 pm
2 messages, 2 authors
http://groups-beta.google.com/group/comp.lang.c/browse_thread/thread/5d65b2296ea93ef6


Array Arguments..... - 2 new
----------------------------
...This is a horrible equivalence IMO. They should have stuck with the first 
declaration instead of introducing new confusing syntax. - Thurs, Nov 25 2004 
4:11 am
2 messages, 2 authors
http://groups-beta.google.com/group/comp.lang.c/browse_thread/thread/6207879197be61fc


abuse of conditional operators (fwd) - 1 new
--------------------------------------------
...Micro$oft wrote E&E edition 1. The Gnu guys wrote edition 2, and added a 
fat appendix on "How to play the good guy while using the commercial bastards'
methods". Richard - Thurs, Nov 25 2004 10:50 am
1 message, 1 author
http://groups-beta.google.com/group/comp.lang.c/browse_thread/thread/f99bd40c0dc203fd


overloading in C - 6 new
------------------------
...Some people (including me) consider C operators as overloaded: 1 + 2 1u + 2
1l + 2 1. + 2 mean entirely different operations, and which ones is resolved 
based on the types of the arguments (ie. operands). - Thurs, Nov 25 2004 11:04
am
6 messages, 4 authors
http://groups-beta.google.com/group/comp.lang.c/browse_thread/thread/4a9e5b8b3ba2433d


COMP3 Packed Decimals - 1 new
-----------------------------
On 24 Nov 2004 19:40:40 GMT, Michael Wojcik ...The str... functions in general
do have the first parameter being 'output' (where they have output), they are 
internally consistent. However, they have names which don't necessarily imply 
any ordering (strcpy, strcat, etc.), except that where the parameters are 
different - Thurs, Nov 25 2004 11:17 am
1 message, 1 author
http://groups-beta.google.com/group/comp.lang.c/browse_thread/thread/7cc0d788ae29187


Odd preprocessor behaviour? - 3 new
-----------------------------------
On 23 Nov 2004 15:25:51 GMT, S.Tobias ...There's another one which comes out 
of your description of making 'illegal' tokens. #define CAT(a,b) a ## b char *
p = CAT("a", "b"); int i = CAT(1 + 8, / 2); makes the invalid preprocessing 
tokens "a""b" and 8/ when expanded. However, if the preprocessor is run 
separately from the compiler the - Thurs, Nov 25 2004 11:46 am
3 messages, 2 authors
http://groups-beta.google.com/group/comp.lang.c/browse_thread/thread/359d46ae1ae9547c


Passing address of a C function to Fortran - syntax?? - 1 new
-------------------------------------------------------------
...Except that C++ has an extern "???" mechanism whereas C does not, typically
code that interfaces to other languages that is compiled with a C++ compiler 
will need to be be different to such code compiled with a C compiler. ...Jack 
is correct, noting that C++ has extern "C" but of course in this context C 
isn't an "other" language. - Thurs, Nov 25 2004 12:03 pm
1 message, 1 author
http://groups-beta.google.com/group/comp.lang.c/browse_thread/thread/eafee12647e91a8a


CGI programming in C - 8 new
----------------------------
hi all, I am learning to write the CGI programming in C.I need more 
information regarding this. Plz let me know any tutorials are avilable online 
or any other good book for this which covers almost all CGI programming 
aspects such as attaching files,reading files,etc... regards, Amit -- 
amitjoshi03 -------------------------------------------------------------------
----- - Thurs, Nov 25 2004 7:20 am
8 messages, 7 authors
http://groups-beta.google.com/group/comp.lang.c/browse_thread/thread/7d6efda9ed9205cd


C Unleashed - 1 new
-------------------
...One of the nice things is discovering how much you CAN do in standard C, 
and do it clearly and efficiently. Lawrence - Thurs, Nov 25 2004 12:58 pm
1 message, 1 author
http://groups-beta.google.com/group/comp.lang.c/browse_thread/thread/dcd7a8da01e7c43d


memcpy as macro legit? - 2 new
------------------------------
...The argument in question to putc() and getc() is a pointer of type FILE *, 
this must not be modified. Indeed it doesn't have to be an lvalue so getc() 
and putc() macros wouldn't work in general if they tried to modify it. Of 
course what the argument points to can be modified (subject to the 
implementation details of FILE). - Thurs, Nov 25 2004 2:22 pm
2 messages, 1 author
http://groups-beta.google.com/group/comp.lang.c/browse_thread/thread/4af54b08a4d427b2


1024 bites interleaving frequency??? - 3 new
--------------------------------------------
...Your code is broken, so there is little point in trying to explain its 
behaviour. Try the following fixed version and play with the setvbuf call (
replace _IOFBF by _IONBF or comment out the setvbuf call) and see if it makes 
any difference. #include <stdio.h> #include <unistd.h> #include <sys/wait.h> -
Thurs, Nov 25 2004 2:38 pm
3 messages, 3 authors
http://groups-beta.google.com/group/comp.lang.c/browse_thread/thread/75958cd34a171a2


So, if you claim to have no free will... - 1 new
------------------------------------------------
*yawn* ...my - Thurs, Nov 25 2004 8:47 am
1 message, 1 author
http://groups-beta.google.com/group/comp.lang.c/browse_thread/thread/5ccc39e8935a6b1d


qsort - 1 new
-------------
...... ...Certainly it can. ...That's one solution to the problem. But 
consider that failing due to lack of resources could in principle happen to 
ANY standard library function, or indeed any user-defined function. If the C 
standard forbade such failure the language would be to all intents and 
purposes unimplementable. - Thurs, Nov 25 2004 4:07 pm
1 message, 1 author
http://groups-beta.google.com/group/comp.lang.c/browse_thread/thread/2329e52e47f51f82


problem to insert data - 3 new
------------------------------
hi i have an insertion problem with my rtu table datatype for date1 field is: 
datetime i try to insert local date to the database (mysql) source code struct
tm *date; struct timeval begin; struct timeval end; gettimeofday(&end, NULL); 
date = localtime(&end.tv_sec); strftime(datestr, 128, "%F %T", date); - Thurs,
Nov 25 2004 8:12 am
3 messages, 3 authors
http://groups-beta.google.com/group/comp.lang.c/browse_thread/thread/e48deb8e56452690


Questions about malloc() - 8 new
--------------------------------
On Thu, 25 Nov 2004 01:57:36 UTC, Joe Wright <[EMAIL PROTECTED]> wrote: ..
.When you needs nappies you should avoid using C. Use Cobol instead. ...When 
you needs a pair of braces beside belt or nappies don't program in C. There 
are programming languages enough aroud you gets double and tripel boundles of 
braces, belts with nappies but C is designed to - Thurs, Nov 25 2004 4:27 pm
8 messages, 7 authors
http://groups-beta.google.com/group/comp.lang.c/browse_thread/thread/82b0dc0981bf3664


how to link Fortran code in MS visio studio - 2 new
---------------------------------------------------
Hello, all, I need to build Fortran code together with C code in MS Visio 
Studio. Could some one tell me how to link to Fortran in MS Visio Studio? Do I
need a separate Fortran compiler from a third party, if so, which one? Any 
help is appreciated greatly. CJ - Thurs, Nov 25 2004 8:29 am
2 messages, 2 authors
http://groups-beta.google.com/group/comp.lang.c/browse_thread/thread/e0b281d82cb87168


snprint rationale? - 2 new
--------------------------
...You're forgetting the real comparison: calling snprintf to do the real work
and checking its return value, as suggested in your post versus calling 
sprintf to do the real work and ignoring its return value, as suggested in my 
post. I don't really care about the extra cycles, but I do care about the - 
Thurs, Nov 25 2004 4:40 pm
2 messages, 1 author
http://groups-beta.google.com/group/comp.lang.c/browse_thread/thread/4de86ffbce0c963a


C... Why not c++? - 7 new
-------------------------
This demonstrate how c++ is faster then C. On my PC C++ run 18 times more fast
then C. Look at: [link] Try yourself the respective C and C++ code sample at 
pages 4 and 5. Create a big file with a list of number to elaborate and sort 
and add a logging for the time (one at the start and one at the end of main in
- Thurs, Nov 25 2004 8:42 am
7 messages, 6 authors
http://groups-beta.google.com/group/comp.lang.c/browse_thread/thread/729e593ab5747942


Looking for a C developer - Symbol PDT 3100 - who knows it ? - 1 new
--------------------------------------------------------------------
Hi! I am looking for anybody familiar with Symbol Terminal PDT 3100 
applications development in C. Please help. Thats like an archeology of a 
technology :) Best regards, Manu - Thurs, Nov 25 2004 8:10 pm
1 message, 1 author
http://groups-beta.google.com/group/comp.lang.c/browse_thread/thread/ef05e40b7b0284d0


undefined reference to `trunc' - 3 new
--------------------------------------
On Wed, 24 Nov 2004 22:25:18 +0100, jacob navia <[EMAIL PROTECTED]> wrote 
in comp.lang.c: ...Yes, of course, but this comes from the *NIX world, where 
the gurus will NEVER give up their advantage over newbies. They want the 
newcomers to come groveling to their betters. - Thurs, Nov 25 2004 2:51 pm
3 messages, 3 authors
http://groups-beta.google.com/group/comp.lang.c/browse_thread/thread/f4c2c778d24295a4


Unix C programming for finding file - 4 new
-------------------------------------------
...You unbelieveably ignorant arsehole. He is writing a C program therefore 
this is exactly the right place to ask his question. Are you a yank ? - Thurs,
Nov 25 2004 9:20 pm
4 messages, 4 authors
http://groups-beta.google.com/group/comp.lang.c/browse_thread/thread/f656fbf7205c815e


Making Assertions - 1 new
-------------------------
"Water Cooler v2" <[EMAIL PROTECTED]> wrote .../* makes an array sum to one. 
It will assertion fail if passed fewer than one item in the array, if passed a
null array, or if the sum is zero. */ void sumtounity(double *x, int N) { int 
i; double tot = 0; assert(N > 0); assert(x != NULL); - Thurs, Nov 25 2004 10:
19 pm
1 message, 1 author
http://groups-beta.google.com/group/comp.lang.c/browse_thread/thread/c453b4516d7a5443


Portable repulsive type extension ? - 2 new
-------------------------------------------
I'm not quite sure what your question is and how I could help you, but I'll 
write a few remarks, maybe they'll clarify some things for you. ...[snippings 
at different places] A global remark: `double' is a keyword in C and you 
cannot use it as a name for function, variable, member, or anything else. - 
Thurs, Nov 25 2004 10:48 pm
2 messages, 2 authors
http://groups-beta.google.com/group/comp.lang.c/browse_thread/thread/b8abcf00892e5667


Typecasting Pointers - 3 new
----------------------------
On Wed, 24 Nov 2004 13:59:50 -0700 ...<snip> That doesn't help much. Since the
second argument is an int and NULL could be ((void *)0) a call of (void)memset(
a, NULL, sizeof(struct foo)); could require a diagnostic. Even a 0 does not 
help much as this would set it to all bits 0 and all bits 0 might not be the 
correct value. - Fri, Nov 26 2004 12:22 am
3 messages, 3 authors
http://groups-beta.google.com/group/comp.lang.c/browse_thread/thread/636e7838a3ded7f4


K&r chapter-1; exc-17 - 4 new
-----------------------------
Q. Write a program to print all input lines that are longer than 80 characters.
 Code taken from [link] ========================code===========================
 #include <stdio.h> #define MINLENGTH 81 int readbuff(char *buffer) { size_t i=
0; - Fri, Nov 26 2004 8:41 am
4 messages, 3 authors
http://groups-beta.google.com/group/comp.lang.c/browse_thread/thread/d137c89c905b9d97


Empty arrays in structs - 2 new
-------------------------------
A question regarding this code, which defines a struct containing a size and a
variable-sized array: typedef struct { uint16_t count; unsigned char bytes[]; .
..... foo_t* foo = (foo_t*)malloc(100 + sizeof(foo_t)); GCC 3.3.2 accepts this,
 and returns '2' as the result of 'sizeof(foo_t)'. I realize that the size of 
any struct is - Fri, Nov 26 2004 5:09 am
2 messages, 2 authors
http://groups-beta.google.com/group/comp.lang.c/browse_thread/thread/9eaac2acbbb6db14



==============================================================================

You received this message because you are subscribed to the Google
Groups "comp.lang.c" group.

To post to this group, send email to [EMAIL PROTECTED] or
visit http://groups-beta.google.com/group/comp.lang.c

To unsubscribe from this group, send email to
[EMAIL PROTECTED]

To change the way you get mail from this group, visit:
http://groups-beta.google.com/group/comp.lang.c/subscribe

To report abuse, send email explaining the problem to [EMAIL PROTECTED]

==============================================================================
Google Groups: http://groups-beta.google.com 

Reply via email to