comp.lang.c http://groups-beta.google.com/group/comp.lang.c
Today's most active topics: * Structs and Alignment - 21 new http://groups-beta.google.com/group/comp.lang.c/browse_thread/thread/c8219fcf7113f720 * vesa mode 105h or 117h - 21 new http://groups-beta.google.com/group/comp.lang.c/browse_thread/thread/625d33203f556eab * Recommended style - 10 new http://groups-beta.google.com/group/comp.lang.c/browse_thread/thread/d8499543f20ad6a5 * Newbie question - 5 new http://groups-beta.google.com/group/comp.lang.c/browse_thread/thread/2957ce1c4b4113ed * do{..}while(0) macro substitutions - 3 new http://groups-beta.google.com/group/comp.lang.c/browse_thread/thread/c4667196cd7de262 Active Topics ------------- do{..}while(0) macro substitutions - 3 new ------------------------------------------ ...That a common implementation is not quite compliant isn't justification for not using language features where it is compliant. I'm sure one can find examples where GCC isn't C90 compliant either; should we go back to K&R C until GCC is fixed? ...The situation is different in this case, though, since most of the changes - Sat, Jan 1 2005 2:19 am 3 messages, 3 authors http://groups-beta.google.com/group/comp.lang.c/browse_thread/thread/c4667196cd7de262 Structs and Alignment - 21 new ------------------------------ If I have struct foo { char bar; long baz; ...on many platforms, padding and alignment is taking place to get baz to start at an even address or an address that 4 divides. So baz is not necessarily one byte (the size of char) into struct foo. How can I know exactly how many bytes into struct foo baz is? - Sat, Jan 1 2005 11:15 am 21 messages, 10 authors http://groups-beta.google.com/group/comp.lang.c/browse_thread/thread/c8219fcf7113f720 malloc error checking - 3 new ----------------------------- Artie Gold wrote on 01/01/05 : ...Do you have any evidence of this ? Do you meant that the only option is exit(EXIT_FAILURE); - Sat, Jan 1 2005 11:53 am 3 messages, 3 authors http://groups-beta.google.com/group/comp.lang.c/browse_thread/thread/d5a2302a7a8c9437 comp.lang.c FAQ list Table of Contents - 1 new ---------------------------------------------- Archive-name: C-faq/toc Comp-lang-c-archive-name: C-FAQ-list.toc URL: [link] [ Last modified July 3, 2004 by scs.] This article is a table of contents for the comp.lang.c frequently-asked questions (FAQ) list, listing the questions which the abridged and full versions of the FAQ list answer. (Both lists answer all questions; the - Sat, Jan 1 2005 11:00 am 1 message, 1 author http://groups-beta.google.com/group/comp.lang.c/browse_thread/thread/696792c01b5216fc comp.lang.c Answers (Abridged) to Frequently Asked Questions (FAQ) - 1 new -------------------------------------------------------------------------- Archive-name: C-faq/abridged Comp-lang-c-archive-name: C-FAQ-list.abridged URL: [link] [Last modified July 3, 2004 by scs.] This article is Copyright 1990- 2004 by Steve Summit. Content from the book _C Programming FAQs: Frequently Asked Questions_ is made available - Sat, Jan 1 2005 11:00 am 1 message, 1 author http://groups-beta.google.com/group/comp.lang.c/browse_thread/thread/145cca22cc719469 cmsg cancel <[EMAIL PROTECTED]> - 1 new ---------------------------------------------------------------- Please cancel <[EMAIL PROTECTED]>. This article was cancelled by the sysadmin at news.doit.wisc.edu because the article violated UW-madison news posting policies. - Sat, Jan 1 2005 2:27 am 1 message, 1 author http://groups-beta.google.com/group/comp.lang.c/browse_thread/thread/b2cd71f2953f84bf cmsg cancel <[EMAIL PROTECTED]> - 1 new ---------------------------------------------------------------- Please cancel <[EMAIL PROTECTED]>. This article was cancelled by the sysadmin at news.doit.wisc.edu because the article violated UW-madison news posting policies. - Sat, Jan 1 2005 2:52 am 1 message, 1 author http://groups-beta.google.com/group/comp.lang.c/browse_thread/thread/6e0328eec1fffa91 Recommended style - 10 new -------------------------- On Sat, 01 Jan 2005 00:43:15 GMT, Mabden ...I've recently started writing[1] my code with exactly 78 characters on each line, and all variables held in global arrays (one for each type), for the same reason. It makes it very unlikely that anyone will be able to read my code (it's full of gotos as well), as well as being hard to - Sat, Jan 1 2005 1:13 pm 10 messages, 7 authors http://groups-beta.google.com/group/comp.lang.c/browse_thread/thread/d8499543f20ad6a5 variadic arithmetic, boolean operators - 2 new ---------------------------------------------- ...My suggestion is to change your design so that you are passing containers ( lists, vectors, arrays, etc.) to each function. Each function would return the result. This design would eliminate the need for variable argument lists. int sum(int * array_of_integers, unsigned int num_integers) - Sat, Jan 1 2005 5:00 pm 2 messages, 2 authors http://groups-beta.google.com/group/comp.lang.c/browse_thread/thread/df2b2c3ae2918784 Put your pc to work-paid autosurf - 1 new ----------------------------------------- Hi my friend, Happy New Year! I would like to share with you this opportunity of making extra income stream which i've found on the Net. The site is called Studio Traffic, it pays you just for surfing the net for less than an hour per day. The best part is that you do it with its autosurf program (Surf4spots) - Sat, Jan 1 2005 9:01 am 1 message, 1 author http://groups-beta.google.com/group/comp.lang.c/browse_thread/thread/f23af9de0e749f31 help with va_list etc - 2 new ----------------------------- Alex wrote: ...Well, I dont see why you'd bother, since generally these functions have a format that comes through with it, but if yours doesn't, then it appears you might be up a stump. From a UNIX manpage: The va_arg macro expands to an expression that has the type and value of the next argument in the call. The parameter ap is - Sat, Jan 1 2005 1:19 pm 2 messages, 2 authors http://groups-beta.google.com/group/comp.lang.c/browse_thread/thread/96adaf30f4b2b73 Coding standards - 1 new ------------------------ In article <[EMAIL PROTECTED]>, ...First, by definition it is a multi-valued function and not a boolean function. Second, if it was a boolean function, then the person who called it "strcmp" and not "strnotequal" should be shot. - Sat, Jan 1 2005 6:19 pm 1 message, 1 author http://groups-beta.google.com/group/comp.lang.c/browse_thread/thread/45fff8e456da3b6e Whats the difference between the yahoo group and this google - 1 new -------------------------------------------------------------------- In article <[EMAIL PROTECTED]>, [EMAIL PROTECTED] says... ...Once upon a time, discussing specific compilers was acceptable, but alas today it is not. - Sat, Jan 1 2005 7:29 pm 1 message, 1 author http://groups-beta.google.com/group/comp.lang.c/browse_thread/thread/83aca04b5a04eb97 vesa mode 105h or 117h - 21 new ------------------------------- I am trying to access the video memory in vesa modes 105h or 117h. These modes are 1024x768. When I try to fill the screen, I only fill in the top 75%. My question is how do I access the complete video memory? It seems this is an issue with the 65k block, how do I access the other blocks? memset( (char *) 0 xA0000, 0x0E, 0x10000); - Sat, Jan 1 2005 12:30 pm 21 messages, 7 authors http://groups-beta.google.com/group/comp.lang.c/browse_thread/thread/625d33203f556eab What I have until now - 1 new ----------------------------- thanks a lot for all your help..I'm really appreciated... with all the help I've been getting in forums I've been able to continue my program and it's almost done, but I'm having a big problem that I believe is it's solved, the remaining stuff is easy... my full program until now is here: [link] - Sat, Jan 1 2005 6:39 pm 1 message, 1 author http://groups-beta.google.com/group/comp.lang.c/browse_thread/thread/a07c053a6829c214 Newbie question - 5 new ----------------------- Hi All I am trying to compile the following program: ...typedef struct employee { int id; char name[10]; float salary; ...void processEmp(e); // supply function prototype with structure alias name main() { e empl = {0,'\0', 0}; //Initialize members processEmp (empl); //pass structure by value printf("\ nID: %d\n", empl.id); - Sat, Jan 1 2005 9:56 pm 5 messages, 4 authors http://groups-beta.google.com/group/comp.lang.c/browse_thread/thread/2957ce1c4b4113ed I want to write a Bit Torrent client in C - 1 new ------------------------------------------------- I've been taking classes in College that use C and Java, so I have some experience with both. I want to make a Bit Torrent client in C with a gui (for fun). However, I've never done any programming projects on my own, just assignments and stuff and I don't really know where to start. What should I do to get started? What topics do I need to learn - Sun, Jan 2 2005 7:12 am 1 message, 1 author http://groups-beta.google.com/group/comp.lang.c/browse_thread/thread/4969476a5983552c Using Assembly Procedures with C - 1 new ---------------------------------------- ...Although, off-topic, a better option would be to write your assembly code for a particular assembler and assemble it to make object files. NASM is a good option. Link your object files with your C code to form the final executable. Regards, Jonathan - Sun, Jan 2 2005 12:46 pm 1 message, 1 author http://groups-beta.google.com/group/comp.lang.c/browse_thread/thread/45a78ca8c8af94a6 ============================================================================== 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
