comp.lang.c http://groups-beta.google.com/group/comp.lang.c
Today's most active topics: * role of semicolon - 16 new http://groups-beta.google.com/group/comp.lang.c/browse_thread/thread/51e0bfccfbbc693 * Why does ANSI not define a function to determine the size of (m)allocated mem? (like _msize) - 16 new http://groups-beta.google.com/group/comp.lang.c/browse_thread/thread/6e3da9ee177164ac * Is there any GENRIC MACROS in c for INTEGERS,CHARACTERS ? - 7 new http://groups-beta.google.com/group/comp.lang.c/browse_thread/thread/cafd52e524781b8e * Request GMAIL Invitation. - 4 new http://groups-beta.google.com/group/comp.lang.c/browse_thread/thread/419e3af3c4a7ee42 * Why (or not) use single letter variable names? - 4 new http://groups-beta.google.com/group/comp.lang.c/browse_thread/thread/8d23b78983ebc10f Active Topics ------------- Request GMAIL Invitation. - 4 new --------------------------------- In article <[EMAIL PROTECTED]>, ..."\n" ...dave (or you could just use puts) - Sat, Dec 18 2004 8:30 am 4 messages, 3 authors http://groups-beta.google.com/group/comp.lang.c/browse_thread/thread/419e3af3c4a7ee42 role of semicolon - 16 new -------------------------- ...I understand why you say that (of course, I wrote my previous post with the grammar in front of me: I have a good memory, but not /that/ good :). I considered that you can look at this way: a recogniser for a statement would accept a compound-statement, therefore a compound-statement is a (kind of) - Sat, Dec 18 2004 8:31 am 16 messages, 8 authors http://groups-beta.google.com/group/comp.lang.c/browse_thread/thread/51e0bfccfbbc693 Why does ANSI not define a function to determine the size of (m)allocated mem? (like _msize) - 16 new ---------------------- ...Not necessarily. In the scenario you describe, the implementation can track whether or not bytes_allocated() has been called on it or not. And remember since the whole point is to reduce the *number* of reallocs, we are gaining back that peformance in ideal situations anyhow. And even if the implementation situation I describe is not - Sat, Dec 18 2004 1:13 am 16 messages, 7 authors http://groups-beta.google.com/group/comp.lang.c/browse_thread/thread/6e3da9ee177164ac Can someone please spare a GMAIL Invitation for me. - 1 new ----------------------------------------------------------- ...No. Please stop asking here. - Sat, Dec 18 2004 9:46 am 1 message, 1 author http://groups-beta.google.com/group/comp.lang.c/browse_thread/thread/b95ad6482cb07ca6 global Variables - 1 new ------------------------ "Michael" <[EMAIL PROTECTED]> wrote ...You can rapidly get into a mess with global variables. Firstly, all the functions become dependent on the global, and secondly there is a psychological issue - it is much easier to document a function's use of parameters than its use of globals, becuase the caller has to type in the - Sat, Dec 18 2004 10:18 am 1 message, 1 author http://groups-beta.google.com/group/comp.lang.c/browse_thread/thread/dd3e5ad32322a3f2 Is there any GENRIC MACROS in c for INTEGERS,CHARACTERS ? - 7 new ----------------------------------------------------------------- I want to use strrchar(source_string,last_char ) function from string.h header file,to find out the last occurrence of the NON SPACE Alphanumeric Character. Then i will put a NULL CHAR after incrementing that position,received by strrchar() function by 1. This is my idea of Trimming a string from right . - Sat, Dec 18 2004 3:15 am 7 messages, 6 authors http://groups-beta.google.com/group/comp.lang.c/browse_thread/thread/cafd52e524781b8e Redeclaration problem with CC - 1 new ------------------------------------- On Sat, 18 Dec 2004 00:51:46 GMT, in comp.lang.c , Keith Thompson ...Yes, sorry, my news provider had some sort of fit, and told me it was rejecting messages it was actually accepting.... - Sat, Dec 18 2004 2:16 pm 1 message, 1 author http://groups-beta.google.com/group/comp.lang.c/browse_thread/thread/28374e3351e669c1 ptrdiff_t - 2 new ----------------- In article <[EMAIL PROTECTED]>, ...More realistically, a c-compiler from Paranoia inc, would abort a program with a run time error Module monkey.c line 211: { ptrdiff_t const l = p - s; ^ Fatal error 1793, attempt to subtract pointers that do not point in the same - Sat, Dec 18 2004 12:11 pm 2 messages, 2 authors http://groups-beta.google.com/group/comp.lang.c/browse_thread/thread/f7b68f6aa5cf3a36 [OT] Origin of C# was Re: RTF Image - 1 new ------------------------------------------- In article <[EMAIL PROTECTED]>, ...Sorry, but Microsoft never invents, not even cute names. C# started in the C C++ user Journal as a column of someone who was dissatisfied with Java (on some minor points IMHO). Microsoft was neither involved with the name, nor the design of the language, at that point. - Sat, Dec 18 2004 10:47 am 1 message, 1 author http://groups-beta.google.com/group/comp.lang.c/browse_thread/thread/55b1d871d643529 Wierd behaviour of function 'strcspn' - 1 new --------------------------------------------- hi guys .. well.. i solved it .. as i said it was a little typo that made this difference .. The if statement in the third 'for' loop need to be modified as . . if (!count[i]) anyway .. thanks for your attention .. - Sat, Dec 18 2004 7: 29 am 1 message, 1 author http://groups-beta.google.com/group/comp.lang.c/browse_thread/thread/981f48c40413aba2 Is there a library function for placing cursor position in the cosole? - 1 new ------------------------------------------------------------------------------ ...Did you mean whether they claim to provide a hosted environment for GUI apps? Otherwise, I don't see how that would be relevant to whether they provide a freestanding implementation for GUI apps. If that is what you meant, then yes, I agree that if MS claims that it provides a conforming hosted implementation for GUI apps, that - Sat, Dec 18 2004 6:20 pm 1 message, 1 author http://groups-beta.google.com/group/comp.lang.c/browse_thread/thread/8777a782cb1bc23c Why (or not) use single letter variable names? - 4 new ------------------------------------------------------ [xposted and fups set to clc] ... ^^^^ (Pun intended? ;) My first guess was that the '@' sign wasn't yet in popular use on computer systems in those days. But BCPL did use ASCII, and ASCII has always had the '@', right? So that's a good question --- why didn't C use '@' for /anything/? It uses practically every other glyph, except - Sat, Dec 18 2004 2:14 pm 4 messages, 4 authors http://groups-beta.google.com/group/comp.lang.c/browse_thread/thread/8d23b78983ebc10f initializing data at compile time - 2 new ----------------------------------------- Hi, I have a question about how to put redundant information in data structures, initialized at compile time. This is often necessary for performance reasons and can't be done at run time (data structures are read only) Ideally one should be able to put the redundant information there automatically so no mistakes are possible, but in a lot - Sat, Dec 18 2004 8: 48 pm 2 messages, 2 authors http://groups-beta.google.com/group/comp.lang.c/browse_thread/thread/4db0af250f645590 "free space" with declared type - 1 new --------------------------------------- ...I just thought the discussion itself would be very interesting to read. But not to keep others unnecessaryly busy, I'll wait for a better occasion. ... Thanks, but I've already known that section before. +++ I would still like to obtain an answer or some comments to my original question regarding access of my_free.space in the same - Sat, Dec 18 2004 9:56 pm 1 message, 1 author http://groups-beta.google.com/group/comp.lang.c/browse_thread/thread/e818f0462e0c70ce Learning C with Older books ?. - 3 new -------------------------------------- ...Sorry that this description was unclear. The word "constructs" or "events" ( which is gcc's choice, not mine) might have been better. I meant the different code conditions that -W flags, something like the following: -W Print extra warning messages for these events: o A function can return either with or without a - Sat, Dec 18 2004 2:41 pm 3 messages, 1 author http://groups-beta.google.com/group/comp.lang.c/browse_thread/thread/66bc74d8d8d22b33 Who uses clapack? - 3 new ------------------------- ...Well, perhaps it's time for Mathworks to switch off its *freeloading* mode and underwrite the project. It's obscene for someone from Mathworks to expect someone else to do it for you. - Sun, Dec 19 2004 12:08 am 3 messages, 2 authors http://groups-beta.google.com/group/comp.lang.c/browse_thread/thread/333f3dc9edd5156e Free iPod - 2 new ----------------- Sign Up here: [link] to receive a free iPod, use this link and then complete an offer (Some of Them Are 100% Free, Sign Up For a Trial and cancel after a few days) and refer friends to the offer! TechTV review proves its legit [link] - Sat, Dec 18 2004 9:56 pm 2 messages, 1 author http://groups-beta.google.com/group/comp.lang.c/browse_thread/thread/e9db4d351f67cf91 conditional inclusion - 1 new ----------------------------- ...vs' ...which do you prefer and why? -- aegis p.s. google is the one that damaged my formatting I used spaces not tabs too - Sat, Dec 18 2004 10:58 pm 1 message, 1 author http://groups-beta.google.com/group/comp.lang.c/browse_thread/thread/7fa4566d02abd2e2 ============================================================================== 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
