Since 5/7/2012 7:49:49 AM, blargg.h4g has written 1 articles and participated in 300 conversations. blargg.h4g signature: blargg.h4g
blargg.h4g's articles:
Items(1) /1
~0 undefined?2321 (10/20/2008 5:51:38 PM) comp.lang.c++ Does ~0 yield undefined behavior? C++03 section 5 paragraph 5 seems to suggest so: > If during the evaluation of an expression, the result is not > mathematically defined or not in the range of representable v... blargg
Logical Value Of A Pointer5631 (1/13/2009 7:46:29 AM) comp.lang.c++ Hi! :) I was coding a trivial problem concerning static variables and pointers intended to scan/read an array, when I took a hint in another code. So, an excerpt of the final version of my code is: int func1(... nosophorus(28)
inline doesn't work - what I am doing wrong?1423 (1/12/2009 12:33:11 AM) comp.lang.c I want to switch to C99 inline functions (I used macros in the past) but somehow it doesn't work. Here is my simple test case: --- test.h --- inline void hello_world(void); -- test.c -- #include #include ... copx(116)
String Manipulation #4632 (1/6/2009 7:41:21 PM) comp.lang.c Hi, I need to break a string into few words in case of exceeding 16 chars at the last occurance of space For example: the string has: "This is just only for testing" with limit of 16 chars, it reach: "This is... aloha826(4)
Needed features in upcoming standards5328 (1/6/2009 5:13:08 PM) comp.lang.c Greetings, I am a long-time C programmer (close to 30 years) with very little C++ experience. I don't keep up with the standards process but there are two features that I've long thought needed. It might ... blake(64)
Compound literals efficiency1126 (1/5/2009 1:51:51 PM) comp.lang.c Hi all Reading ISO/IEC 9899:TC3 "6.5.2.5 Compound literals", �4, I can almost answer my own question. When using a compound literal, does the compiler *absolutely have to* allocate an unnamed object? Looking ... marcus.harnisch(22)
why cannot 'label' free store?223 (1/5/2009 7:11:24 AM) comp.lang.c++ What is it mean by saying that 'one can label the stack, but cannot label free store'? what's the totally difference? ... vib.cpp(12)
Deep const-ness in array of pointers?425 (1/5/2009 5:08:29 AM) comp.lang.c++ I'd like to give an array of pointers to a class instance, and let the instance return references (either const or mutable) to the array elements. However, when I return a const reference to one of the pointer... spacewrench(7)
Questions regarding specialized malloc()/free() replacements730 (1/4/2009 10:28:36 AM) comp.lang.c Hello, all! i'm working on an embedded filesystem library for C (http:// fossil.wanderinghorse.net/repos/whefs/) where one of the priorities is keeping the memory costs and number of calls to malloc() at an ab... sgbeal(41)