Fun Board


Go Back   Fun Board » Moderated usnet disscussion » Programming

C Everything about programming in C language.


Popular Tags: C
, , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , ,

Post New Thread
Threads in Forum : C Forum Tools Search this Forum
  Rating Thread / Thread Starter Last Post Reverse Sort Order Replies Views

arithmetic on a void * pointer

On Jan 15, 3:29 am, Flash Gordon <s...@spam.causeway.com> wrote: > Gareth Owen wrote: > > gaze...@shell.xmission.com (Kenny McCormack) writes: > > >> In article <87d41e4i39....@gmail.com>, Gareth Owen  <gwo...@gmail.com> wrote: > >>> Flash Gordon <s...@spam.causeway.com> writes: > > >>>>>... (Multi-page thread 1 2 3 ... Last Page)
Mark Adler
15th December 2010 19:01
by spinoza1111 Go to last post
222 1,009

plain int and signed int

On Jan 18, 6:28 pm, Peter Nilsson <ai...@acay.com.au> wrote: > Squeamizh <sque...@hotmail.com> wrote: > > Phil Carmody <thefatphil_demun...@yahoo.co.uk> wrote: > > > Joe Wright <joewwri...@comcast.net> writes: > > > > Phil Carmody wrote: > > > >> Joe Wright <joewwri...@comcast.net> writes: > ... (Multi-page thread 1 2 )
happy
15th December 2010 19:01
by Squeamizh Go to last post
37 431

Style guides for C and/or C++

Vicent Giner-Bosch wrote: > I've been searching at this forum and at the Internet for style guides > for C and/or C++, and I've found this one: > > http://www.psgd.org/paul/docs/cstyle/cstyle.htm > > Also, I've read some threads about C style matters. I think there is > really a lot of...
Vicent Giner-Bosch
15th December 2010 19:01
by pete Go to last post
6 234

The undefinedness of a common expression.

lawrence.jones@siemens.com writes: > In comp.std.c Francis Glassborow <francis.glassborow@btinternet.com> wrote: >> However the question is whether that value will be 1. I stick with my >> view that requiring (or even allowing) a read after writing will be a >> code breaker if i is volatile. I... (Multi-page thread 1 2 3 )
sfuerst
15th December 2010 19:01
by Keith Thompson Go to last post
68 646

stack smashing

On Jan 18, 7:15 pm, Keith Thompson <ks...@mib.org> wrote: > Michael Foukarakis <electricde...@gmail.com> writes: > > On Jan 17, 12:53 am, Richard Heathfield <r...@see.sig.invalid> wrote: > >> > 2)  Why do I not get 96.03 as the wiki promises? > > >> C does not define the behaviour of a program... (Multi-page thread 1 2 )
frank
15th December 2010 19:01
by Michael Foukarakis Go to last post
45 436

Mask multiple bytes at once

On 18 Jan, 03:55, "lancer6...@yahoo.com" <lancer6...@yahoo.com> wrote: > Hi, > > I would like to know if it is possible to mask multiple bytes at once. > For example, if I have a char array of 5 elements, and I have a mask > 0xFF01F7 that I would like to apply on the first 3 elements of the >...
lancer6238@yahoo.com
15th December 2010 19:01
by James Harris Go to last post
5 229

Shorten this popcount and tesbed

In article <4b534a8a$0$17819$426a74cc@news.free.fr>, fgrieu@gmail.com says... > > /* > Two independent puzzles about the present C program, which > compiles and produce OK when run (in a hosted environment). > > 1) Shorten as much as possible the line following the comment, > keeping the...
Francois Grieu
15th December 2010 19:01
by Dann Corbit Go to last post
10 229

A seg fault

On Sun, 17 Jan 2010 18:56:08 -0700, "BGB / cr88192" <cr88192@hotmail.com> wrote: >8MB stack is for Linux, but not for Windows, which uses 4MB... Note that the term "stack" is not even mentioned in the C Standard.
Albert
15th December 2010 19:01
by jaysome Go to last post
10 229

Aborting

Lew Pitcher wrote: > On January 18, 2010 15:27, in comp.lang.c, ram@zedat.fu-berlin.de wrote: > >> Assuming that a program is in such a desperate situation, >> that one wants to abort immediatly (for example, no more >> memory is available), when should one use >> >> exit( 99 ) >> >>...
Stefan Ram
15th December 2010 19:01
by frank Go to last post
3 234

Compiler Support for Ensuring that a Statement is Atomic

"Niklas Holsti" <niklas.holsti@tidorum.invalid> wrote in message news:4b54246f$0$3863$4f793bc4@news.tdc.fi... > Boudewijn Dijkstra wrote: >> Op Sat, 16 Jan 2010 01:52:21 +0100 schreef Datesfat Chicks >> <datesfat.chicks@gmail.com>: >>> This is slightly off-topic, as it involves implementation...
Datesfat Chicks
15th December 2010 19:01
by Datesfat Chicks Go to last post
5 227

Format Specifier for short

On 2010-01-18, kaustubh <kaustubh.cool@gmail.com> wrote: > %hd does the trick. In real world programming, using short might be an > overkill, but I'm still a student. I took it as an opportunity to > learn more. Good attitude, overall. Sooner or later you'll probably need to know this...
kaustubh
15th December 2010 19:01
by Seebs Go to last post
7 233

Re: Newbie question: accessing global variable on multiprocessor

On Sun, 17 Jan 2010 10:53:40 -0700, BGB / cr88192 wrote: >> tl;dr version: some code is so tied to specific hardware that the only way >> you can run it on anything else involves VHDL/Verilog simulation. > > errm, I doubt this... > > most full-system emulators fake things at the level of...
BGB / cr88192
15th December 2010 19:01
by Nobody Go to last post
19 226

A tool that suggests optimized logic for a piece ofcode/module/function

On 15 Jan, 16:43, dj3va...@csclub.uwaterloo.ca.invalid wrote: > In article <5de738e1-b64c-470c-a097-4020a2397...@j5g2000yqm.googlegroups.com>, > Nick Keighley  <nick_keighley_nos...@hotmail.com> wrote: > >On 13 Jan, 16:43, dj3va...@csclub.uwaterloo.ca.invalid wrote: > >> In article... (Multi-page thread 1 2 3 )
karthikbalaguru
15th December 2010 19:01
by Nick Keighley Go to last post
61 655

Checking validity of a file pointer

"Keith Thompson" <kst-u@mib.org> ha scritto nel messaggio news:lnpr5aaqb9.fsf@nuthaus.mib.org... > "io_x" <a@b.c.invalid> writes: >> "Keith Thompson" <kst-u@mib.org> ha scritto nel messaggio >> news:lnk4vjcoxv.fsf@nuthaus.mib.org... >>> "io_x" <a@b.c.invalid> writes: >>>> "Keith Thompson"...
Richard Harter
15th December 2010 19:01
by io_x Go to last post
16 222

Copy string of chars

On 1/17/2010 4:22 PM, Coolm@x wrote: > Hi all, > I want to write my own explode (split) function and I need copy string > char by char. I learn pointers and my knowledge about them isn't so big. > > int func(char delimiter, char *expression, char **values) { > (...) > //why I can't write...
Coolm@x
15th December 2010 19:01
by Eric Sosman Go to last post
2 240

return x = 0; // under C99 for volatile x

On 16 Jan 2010 at 22:35, lawrence.jones@siemens.com wrote: > Because without some kind of concurrency (whether real or virtual), > there's no way to tell whether volatile does anything or not. Looking at the assembly code produced by the compiler usually gives you a pretty good idea. (Multi-page thread 1 2 )
Francois Grieu
15th December 2010 19:01
by Antoninus Twink Go to last post
37 436

Re: Update: Cat glued to highway dies

In article <ia34l59f5t5mfu4q5ql330mtgq6b3vk99i@4ax.com>, Steve Hayes <hayesstw@yahoo.com> wrote: >On Sat, 16 Jan 2010 16:28:50 +0000, Tim Streater <timstreater@waitrose.com> >wrote: > >>Well done for spotting what Spinny does all the time! > >What cat? What highway? "Timothy" and I-90...
Kenny McCormack
15th December 2010 19:01
by Kenny McCormack Go to last post
4 220

A question about netiquette and topicality (on-topic for this group)

Mark L Pappin wrote: > Ben Bacarisse <ben.usenet@bsb.me.uk> writes: > >> Richard Heathfield <rjh@see.sig.invalid> writes: >> >>> Nick Keighley wrote: >>>> On 7 Jan, 20:53, "Rod Pemberton" <do_not_h...@havenone.cmm> wrote: >>> <snip> >>> >>>>> A
Kenny McCormack
15th December 2010 19:01
by Richard Heathfield Go to last post
21 210

Re: Division by zero

>> I would like that instead of exitting with an error, division by zero >> should instead return >> * INTMAX (for Integer diviosn) >> * NAN (for FP division) >> >> Is there a way to achieve it? (compiler option or a macro) >> >> Thanks > >The lcc-win compiler can do this, if you buy a...
Gordon Burditt
15th December 2010 19:01
by Gordon Burditt Go to last post
0 219

Order of Variable Declartion

io_x wrote: > "Interrupt" <neildavy14@yahoo.co.uk> ha scritto nel messaggio > news:9486a474-85b7-4b4e-a177-01cc411b367b@h9g2000yqa.googlegroups.com... > Hi folks, I'm trying to teach myself C, I'm finding it pretty hard > going!! Something's don't make sense- for example I've written a bit >...
Interrupt
15th December 2010 19:01
by osmium Go to last post
14 212

How to use graphics in Turbo C++ Version 3.0

Nayab wrote: > Hi Friends, > I have a program in C which i am compilim in > Turbo C++ Version 3.0 is giving error > by saying initgraph and all other graphics related functions are not > defined. > I have included graphics.h but still facing problem. > Can anybody tell...
Nayab
15th December 2010 19:01
by Richard Heathfield Go to last post
2 205

Re: Void Main?

On 13 Jan 2010 at 3:11, Keith Thompson wrote: > My reading is that void is an identifier (a kind of > preprocessing-token) in translation phases 3 through 6. In phase 7, > it's converted from a preprocessing token to a token; at this point, > it is a keyword and *not* and identifier. > >... (Multi-page thread 1 2 3 )
Eric Sosman
15th December 2010 19:01
by Antoninus Twink Go to last post
86 630

searching and storing large quantities of xml!

In article <hirmao$5e6$1@news.eternal-september.org>, Beej Jorgensen <beej@beej.us> wrote: >I would bet it is quicker, since searching for a substring is an easier >task than parsing XML. Yes, provided you're sure that the XML file will have exactly that string. But from an XML point of...
dads
15th December 2010 19:01
by Richard Tobin Go to last post
3 817

static keyword

Nobody wrote: > On Tue, 12 Jan 2010 21:44:27 -0600, Stephen Sprunk wrote: > >>>> Declaring the function "static" gives the compiler more scope for >>>> optimisation, as it can determine exhaustively the contexts in which the >>>> function may be called. >>> This could allow it to take...
eryer
15th December 2010 19:00
by Flash Gordon Go to last post
11 205

signed and unsigned value

"deepak" <deepakpjose@gmail.com> wrote in message news:4779b124-24ba-41dd-9434-5fb22e2d6469@14g2000yqp.googlegroups.com... > Hi, > > Could some one tell how signed and unsigned value considered in CPU. > Will they check most significant bit based on type of variable and > process > one way...
deepak
15th December 2010 19:00
by Datesfat Chicks Go to last post
3 197

Comparision of C Sharp and C performance

On Jan 15, 10:57 pm, ralt...@xs4all.nl (Richard Bos) wrote: > Keith Thompson <ks...@mib.org> wrote: > > ralt...@xs4all.nl (Richard Bos) writes: > > > Beej Jorgensen <b...@beej.us> wrote: > > >> On 01/06/2010 09:17 AM, Francis Glassborow wrote: > > >> > The problem is with the 'pseudo-random'.... (Multi-page thread 1 2 3 ... Last Page)
spinoza1111
15th December 2010 19:00
by spinoza1111 Go to last post
766 1,008

strsep without modifying original buffer

Ram wrote: > On Jan 15, 8:35 pm, pete <pfil...@mindspring.com> wrote: > >>Ram wrote: >> >>>On Jan 15, 6:53 pm, pete <pfil...@mindspring.com> wrote: >> >>>>Ram wrote: >> >>>>>Hi,
Ram
15th December 2010 19:00
by pete Go to last post
6 192

a gift for the mortensens

On Jan 13, 3:13 pm, Keith Thompson <ks...@mib.org> wrote: > frank <fr...@example.invalid> writes: > > > > > I've seen now several versions  of > > i = (j / (RAND_MAX + 1.0)) * N; > > What is happening to 1222567701 / (RAND_MAX + 1.0) * 26? > > Of what type is (RAND_MAX + 1.0) ? > (Multi-page thread 1 2 )
frank
15th December 2010 19:00
by frank Go to last post
46 392

Re: Const Problem

On Jan 15, 2:23 am, Richard Heathfield <r...@see.sig.invalid> wrote: > > I think I ended up on the C side because of the pull from unix. > > As in "Oh I do like to be beside the C side"? I knew Unix was > attractive, but I didn't realise it was tidal. > > I think he just gravitated towards...
io_x
15th December 2010 19:00
by red floyd Go to last post
3 191

Re: A tool that suggests optimized logic for a piece ofcode/module/function]

David Brown wrote: > Nothing stops the compiler from doing this sort of thing in /theory/. > But /practice/ is a different matter. It is not often that the compiler > can find out what code (of a size large enough to be called an > "algorithm") actually does - and it has to be sure that any...
Walter Banks
15th December 2010 19:00
by Walter Banks Go to last post
0 191

limits.h

On 2010-01-15, Kenneth Brody <kenbrody@spamcop.net> wrote: > So, does The Standard forbid any implementation-specific extensions to be > defined within the standard header files? It does if they're not in the namespace reserved for implementation extensions. -s -- Copyright 2010, all...
frank
15th December 2010 19:00
by Seebs Go to last post
24 191

assert in C

Nick Keighley wrote: > On 14 Jan, 13:37, Richard Heathfield <r...@see.sig.invalid> wrote: <snip> >> At this level, the fstack contents are going to be somewhat cryptic - >> just a function name and some parameter values - but at the application >> level they could be more informative:... (Multi-page thread 1 2 3 ... Last Page)
cuiyouzhi0000@gmail.com
15th December 2010 19:00
by Richard Heathfield Go to last post
199 813

function not returning a value

Nick <3-nospam@temporary-address.org.uk> writes: > Which means, I think, that a function that sometimes returns a value and > sometimes doesn't is perfectly all right as long as the different > behaviours match the appropriate calls. Yes. Well, it's "perfectly all right" in the sense that...
happy
15th December 2010 19:00
by Keith Thompson Go to last post
28 206

union of pointers to structs

"Paul" <-> writes: >> As far as the C language goes, there is nothing wrong >> with it. In terms of program design, it might or >> might not be a good choice, depending on what the >> other constraints and requirements are. It's hard >> to say whether something is a good solution without...
Paul
15th December 2010 19:00
by Tim Rentsch Go to last post
5 198

Re: Discard qualifiers

On 14 Jan, 22:30, Phil Carmody <thefatphil_demun...@yahoo.co.uk> wrote: > Ben Pfaff <b...@cs.stanford.edu> writes: > > Phil Carmody <thefatphil_demun...@yahoo.co.uk> writes: > > >> Ben Pfaff <b...@cs.stanford.edu> writes: > >>> john <j...@nospam.com> writes: > > >>>> I'm trying to sort a...
Ben Pfaff
15th December 2010 19:00
by Nick Keighley Go to last post
5 199

Re: Advanced data structures

jacob navia wrote: > I have started reading > "Advanced data structures" from Peter Brass. <snip> > I find this book excellent. Everything is written in C, it > is clear, and explains very well the (quite difficult) stuff. I'm glad you like it. I haven't read it, but you make it sound... (Multi-page thread 1 2 3 ... Last Page)
Richard Heathfield
15th December 2010 19:00
by Nobody Go to last post
170 853

Re: Auto-generate Response?

In article <hindj8$cle$4@news.xmission.com>, Kenny McCormack <gazelle@shell.xmission.com> wrote: >To get an idea of what a psycho Seebsie is, check out spinoza111's >postings in CLC. They are long, and often very intricate and involved >(yes, a time investment is required), but he has...
Kenny McCormack
15th December 2010 19:00
by Richard Tobin Go to last post
2 198

plz send me the solution of the problem.

Charlton Wilbur wrote: >>>>>> "KT" == Keith Thompson <kst-u@mib.org> writes: > > KT> Charlton Wilbur <cwilbur@chromatico.net> writes: > > >> Posting a possibly correct solution -- I only skimmed it -- that > >> is more rigorous and thorough than the homework plagiarist likely > ...
wahid
15th December 2010 19:00
by Flash Gordon Go to last post
27 187

Detecting an empty line in stdin

In article <c248de5e-7eb7-409a-b5e7-39559092db93@j4g2000yqe.googlegroups.com>, Peter Nilsson <airia@acay.com.au> wrote: >i...@localhost.claranet.nl (Ike Naar) wrote: >> 3000 numbers have 2999 differences. > >Which is why the OP had the next line... > > > #define MAXDIFF 2999 > >Which...
Albert
15th December 2010 19:00
by Ike Naar Go to last post
12 210

Underhand C coding contest

Keith Thompson <kst-u@mib.org> writes: > "Lee Billows" <webmaster@ezProg.com> writes: >> >> "Noob" <root@127.0.0.1> ??????:hii8ab$7na$1@speranza.aioe.org... >>> Keith Thompson wrote: >>> >>>> How exactly is that relevent to the Underhanded C Contest? >>> >>> Did you miss the underhanded...
Phil Carmody
15th December 2010 19:00
by Phil Carmody Go to last post
9 209

Is C good enough - or can the world survive w/o OOP

On 2010-01-01, Francis Glassborow <francis.glassborow@btinternet.com> wrote: > an interpreter. Clue, Forth is a Threaded Interpreted Language. That is false. Forth is also a compiled language. A Forth word can in fact have separately-defined compilation and interpretation semantics. A... (Multi-page thread 1 2 3 ... Last Page)
dukeofperl@ml1.net
15th December 2010 19:00
by Kaz Kylheku Go to last post
119 814

problem to undestand nested pointers

On Jan 14, 8:12 am, happy <hppymit...@yahoo.com> wrote: > Hello all, Below is a code snippet in C > > #include<stdio.h> > int main (void) > { > static char *s  = {“black”, “white”, “yellow”, “violet”}; > char **ptr = {s+3, s+2, s+1, s}, ***p; > p = ptr; > **++p;
happy
15th December 2010 19:00
by Tom St Denis Go to last post
1 187

plz give me solution

Keith Thompson wrote: .... > Certainly, but I'm not aware that helping students cheat is on topic > anywhere. Not even alt.cheat.cheat.cheat? ;-)
wahid
15th December 2010 19:00
by jameskuyper Go to last post
13 103

Re: Why the usage of while(0)

James Dow Allen <jdallen2000@yahoo.com> writes: > On Jan 13, 12:22 am, Tim Rentsch <t...@alumni.caltech.edu> wrote: >> James Dow Allen <jdallen2...@yahoo.com> writes: >> > to avoid 'goto commoncase;' is uninteresting compared >> > to the goto in >> > ...
James Dow Allen
15th December 2010 19:00
by Tim Rentsch Go to last post
17 114

again, code snippet without comment

Kaz Kylheku <kkylheku@gmail.com> writes: > On 2010-01-13, Phil Carmody <thefatphil_demunged@yahoo.co.uk> wrote: >> Say I wrote: >> >> // includes elided >> int code_to_talk_to_chip_specific_copro(int funcid, ...) >> { >> va_list va; >> uint32_t addr; >> int ret;
Phil Carmody
15th December 2010 19:00
by Phil Carmody Go to last post
6 107

File read failure

On Tue, 5 Jan 2010 22:50:11 -0800 (PST), manu <manumg007@gmail.com> wrote: > Hi all, > > Im trying to populate structure from csv files. Each csv file is of > 3MB and there are 24 files in total.A function will populate the > structure from these files. The same function when called twice,...
manu
15th December 2010 19:00
by David Thompson Go to last post
6 97

int** to void**

On Tue, 05 Jan 2010 21:10:16 -0800, Keith Thompson <kst-u@mib.org> wrote: > John <cuiyouzhi0000@gmail.com> writes: > > void **arr; > > > > arr = (void **) malloc (sizeof(void *) * row + size * row * col); > > Casting the result of malloc is unnecessary and can mask errors. (Multi-page thread 1 2 3 )
John
15th December 2010 19:00
by David Thompson Go to last post
72 293

plauged by seg faults

On Wed, 6 Jan 2010 16:11:13 -0800 (PST), cerr <ron.eggler@gmail.com> wrote: > > > > > >         sndlen=strlen(res); > > > > > >         reclen=send(log_sock, res, sndlen, 0); > > > > > >         if (reclen != sndlen) { > > > > > >           if (reclen==-1){ > > > > > >            ... (Multi-page thread 1 2 3 )
cerr
15th December 2010 19:00
by David Thompson Go to last post
64 314

splint: where is the memory leak?

On 2010-01-13, Richard Bos <raltbos@xs4all.nl> wrote: > Dann Corbit <dcorbit@connx.com> wrote: > >> 22g2000yqr.googlegroups.com>, bkatt@cfl.rr.com says... >> > Kaz Kylheku wrote: >> > > >> > > Splint is almost totally useless when applied to unannotated C source. >> > >> > Yes, but "splint...
kevin
15th December 2010 19:00
by Kaz Kylheku Go to last post
14 109

defining a boolean type

raltbos@xs4all.nl (Richard Bos) writes: > Keith Thompson <kst-u@mib.org> wrote: >> raltbos@xs4all.nl (Richard Bos) writes: >> > Francis Glassborow <francis.glassborow@btinternet.com> wrote: >> >> TonyMc wrote: >> >> > Nick <3-nospam@temporary-address.org.uk> writes: >> >> >> 24*60*60 and... (Multi-page thread 1 2 3 ... Last Page)
Scott
15th December 2010 19:00
by Keith Thompson Go to last post
93 430

a CPAN for C

Richard Bos wrote: > Ian Collins <ian-news@hotmail.com> wrote: > >> Tom St Denis wrote: >>> On Jan 7, 12:19 pm, Marco <prenom_no...@yahoo.com> wrote: >>>> Totally agree - if not written in standard C (unfortunately that still >>>> means C90 today) then most folks just won't want it >>>... (Multi-page thread 1 2 3 ... Last Page)
m
15th December 2010 19:00
by Ian Collins Go to last post
113 398

Re: [Q] UB query

Ben Bacarisse <ben.usenet@bsb.me.uk> writes: > Tim Rentsch <txr@alumni.caltech.edu> writes: > >> Ben Bacarisse <ben.usenet@bsb.me.uk> writes: > <snip? >>> Barry is correct from the point of view of portable code, but an >>> indeterminate value is always either a valid (but unknown) value of...
Ben Bacarisse
15th December 2010 18:59
by Tim Rentsch Go to last post
6 108

order of printf

Keith Thompson <kst-u@mib.org> writes: > Here's another point of view. There is never undefined behavior regardless of whether a newline is written or not. Here's paragraph 2 in 7.19.2 again: A text stream is an ordered sequence of characters composed into _lines_, each line...
happy
15th December 2010 18:59
by Tim Rentsch Go to last post
22 93

Reading from different union members

Kaz Kylheku <kkylheku@gmail.com> writes: > On 2009-12-30, Johannes Schaub (litb) <schaub-johannes@web.de> wrote: >> Hello all. What makes these two codes different: >> >> union A { >> int a; >> float b; >> }; >>
Johannes Schaub (litb)
15th December 2010 18:59
by Tim Rentsch Go to last post
7 115

Dik Winter

Ben Bacarisse <ben.usenet@bsb.me.uk> writes: > I have just heard the sad news that Dik Winter died on the 28th of > December, a couple of months before he was due to retire. > http://www.cwi.nl/en/2009/1044/Dik-Winter Very sad to hear of Dik Winter's passing. Thank you Ben for relaying... (Multi-page thread 1 2 )
Ben Bacarisse
15th December 2010 18:59
by Tim Rentsch Go to last post
47 203

union field access and compatible types

"nicolas.sitbon" <nicolas.sitbon@gmail.com> writes: > Hi all, > My question is simple but I can't find the answer in the standard (C99 > TC3). > is this permitted? > > union > { > const void * ro;
nicolas.sitbon
15th December 2010 18:59
by Tim Rentsch Go to last post
7 112

Advancing past the last element of an array

Kaz Kylheku <kkylheku@gmail.com> writes: > On 2009-12-28, Johannes Schaub (litb) <schaub-johannes@web.de> wrote: >>> When you're dealing with multidimensional arrays, the compiler can >>> genearate code which assumes that no bounds are violated. >>> >>> So for instance if you have some...
Johannes Schaub (litb)
15th December 2010 18:59
by Tim Rentsch Go to last post
17 115

Pointer to inside an array

Tim Rentsch wrote: <snip> > The Standard seems to allow the possibility that arrays of fixed > length (and having more than one element) have different > alignment requirements than arrays with one element (or > equivalently, than arrays of unknown length). 6.2.5p13 says: > > Each...
Alok Singhal
15th December 2010 18:59
by Richard Heathfield Go to last post
17 113

Re: link to standard

Richard McBeef wrote: > Richard McBeef wrote: >> Lowell Gilbert wrote: >>> Richard McBeef <cho.seung-hui@vt.edu> writes: >>> >>>> Yes, I have googled this but have found many >>>> different sites. >>>> When you people cite the standard which >>>> website specifically are you referencing?...
Lowell Gilbert
15th December 2010 18:59
by Flash Gordon Go to last post
3 128

sequence points in subexpressions

pete <pfiland@mindspring.com> writes: > Kenneth Brody wrote: >> pete wrote: >> >>> Beej Jorgensen wrote: >>> >>>> o For the value computation of (i,i++,i) to be complete, i++'s side >>>> effects must be complete. >>> (Multi-page thread 1 2 3 ... Last Page)
amit.codename13@gmail.com
15th December 2010 18:59
by Tim Rentsch Go to last post
146 438
Post New Thread

Display Options
Showing threads 1 to 60 of 755
 
Forum Tools Search this Forum
Search this Forum :

Advanced Search

New posts New posts More than 15 replies or 150 views Hot thread with new posts
No new posts No new posts More than 15 replies or 150 views Hot thread with no new posts
Closed Thread Thread is closed  
 
Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off


All times are GMT +1. The time now is 09:04.


Powered by vBulletin® Version 3.8.6
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.3.2