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...
OIOIC is a completely new object-oriented mechanism for the C programming language. Using OIOIC, you can describe the flower, birds, grass,...
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...
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....
Aj wrote: use x or X and one of the printf() family (which depends on what you want to do).
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...
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]) {...
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...
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...
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...
[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...
in the ISO/IEC 9899:TC2 it is written A null statement (consisting of just a semicolon) performs no operations what about performance? if...
Hi All, I need to enforce requirement that the programmer overloads a particular virtual function in all derived classes. i.e. class base...
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)...
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...
What argument there can be, against implicit zero initialisation of all POD types in all situations, being adopted in the C++ standard, when...
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...
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...
Hello all, I'm trying to figure out how to use make the operator
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...
Separate names with a comma.