in the ISO/IEC 9899:TC2 it is written A null statement (consisting of just a semicolon) performs no operations what about performance? if...
[cross-posting to get views from both sides of the pond] Hi all. I have some trouble reading floating-point numbers written with the Fortran...
Hi, I am having issues with time_t time (time_t *result) function returning one second less than the actual system time. Oddly enough this...
In all the code I've seen as of today, the * has always been associated to the variable instead of the type: char *pc; I would have expected...
Hello all, Suppose I have a byte array like this one: unsigned char arr[26]; and I would like to get 9 bits (as unsigned int) starting from...
On gcc 4.2.4 with `-O3' I am getting a warning for the following code. void foo(const float rgba[][4]) { void bar(float rgba[][4]) {...
I'm interested to know what platforms exist that don't have a free C90 compiler yet. Such that a person would be in a position where they...
Aj wrote: use x or X and one of the printf() family (which depends on what you want to do).
Is four the exact number? C is maybe also powerful, flexible, small ... I want to know the answers to the following questions for a long time....
I have a doutb about allocating memory and storing a string inside it. It may sound a very stupid question, but I need to clear it... My doubt...
OIOIC is a completely new object-oriented mechanism for the C programming language. Using OIOIC, you can describe the flower, birds, grass,...
From a simple program in the online C-book (example 2.2), I get the strangest results. The long double type, generates huge numbers, but no...
I once read from some text book that an empty class like: class A {}; won't get 0 when the sizeof operator is applied to it. Usually the...
Hi, I wanted to write some generic timeout code in C++ which once object is created can throw a exception after the time expires. I am able to...
Hello all, I'm trying to figure out how to use make the operator
This time I decided to tackle the problem of reading input into a vector, counting the number of words entered, and counting the number of...
Hi all, I was just looking for a example code in C++ which converts 2 mac address (both are in decimal form). Can anybody help me in this...
What argument there can be, against implicit zero initialisation of all POD types in all situations, being adopted in the C++ standard, when...
I need to override an operator = But in this func = I need to allocate some memory also call some functions which has a return result. How...
Hi, I stumbled upon a interesting problem: given a container -- how to implement it's swap(C& o) member function and swap(C& c1, C& c2)...
Separate names with a comma.