You are here:
my primary areas of interest are generic and template metaprogramming, STL, algorithms, design patterns and c++09. i would not answer questions about gui and web programming.
over 15 years
post graduate engineer
| User | Date | K | C | P | Comments |
|---|---|---|---|---|---|
| Andres | 01/23/12 | 10 | 10 | 10 | Thanks |
| trey | 01/10/12 | 10 | 8 | 9 | thank you so much mr. vijayan. |
| Aashish | 01/04/12 | 10 | 10 | 10 | |
| Prashant Akerkar | 12/17/11 | 10 | 10 | 10 | Dear Vijayan Thank you. Thanks & Regards ..... |
| Prashant Akerkar | 12/16/11 | 10 | 10 | 10 | Dear Vijayan Thank you. Thanks & Regards ..... |
I too don't really understand what the term 'an implicit data structure' means. Perhaps, the question should have been: 'Is some kind of heap the only data structure that can be used to implement a
Input-output of a bit field directly is not a good idea; there are implementation-dependencies (ordering of members, endianness, size etc). The portable way to do this is to convert the bits to a string
1. Switch to a more current compiler suite and IDE - for example, CodeBlocks+MinGw http://prdownload.berlios.de/codeblocks/codeblocks-10.05mingw-setup.exe 2. Use a currently supported gui library -
> What is the right way to do it so that it would work on both 32 and 64-bit? When printing out a float or a double value with the printf family of functions, always use %f When reading in a a float
Without seeing the whole program, I don't know why you get an error after adding precisely 13 records. In any case, you should change: f.read((char *)&i,sizeof(i)); while(!(f.eof())) { // ...

©2012 About.com, a part of The New York Times Company. All rights reserved.