Description:
The object-oriented C++ language.
|
|
|
Segmentation fault but now errors when running Valgrind
|
| |
I have made an application that throws a segmentation fault when I run it. ./MyApp Segmentation fault I have then tried to run it with Valgrind: valgrind --leak-check=yes --track-origins=yes ./MyApp ==8389== ==8389== ERROR SUMMARY: 0 errors from 0 contexts (suppressed: 8 from 1) ==8389== malloc/free: in use at exit: 0 bytes in 0 blocks.... more »
|
|
casting int's to an enum
|
| |
With the following code: enum testenum { in, out, append }; int val = 17; testenum myenum = static_cast<testenum>(val); Using my compiler it looks like myenum is given a value of 17! What strategies do you suggest for dealing with this problem. One possibility is to do this: enum testenum { in, out, append, testmax };... more »
|
|
HOT!!! 2009 Cheap wholesale True Relig Jeans at www.fjrjtrade.com <paypal payment>
|
| |
HOT!!! 2009 Cheap wholesale True Relig Jeans at [link] <paypal payment> Cheap Wholesale Jeans [link] Cheap Wholesale True Relig Jeans [link] Cheap Wholesale True Relig Jeans [link] Cheap Wholesale others Jeans [link] ╃Men Size 30,32,34,36,38,40 Women Size 26,27,28,29,30,31 Cheap... more »
|
|
Darya Gunchenko P2P xXx R Vids :Sex With A Big Black Man bbdd2.avi
|
| |
Darya Gunchenko hot vids release: Download from P2P networks today. Release date: Nov 5, 2009 xXx R Vids :Sex With A Big Black Man bbdd2.avi Toronto russian, russia, torontokva, russian community, russian eatery, russian spas, lola gunchneko, lilly gunchenko, april carter, dasha gun, darya gunchenko, Hugh Ford, russian tv, russian... more »
|
|
How can I sort this set?
|
| |
Hi I have typedef vector<string> TokenVector which is an array of string (words) making up a sentence. For the purposes of my app I need it structured like this, rather than a single composite string. then I have typedef set<TokenVector, compare > TokenVectorSet; which is a set of such sentences. I want to sort the set in to alphabetical order, as if I was dealing... more »
|
|
Automating Serialization?
|
| |
Recently on the Boost Users list someone started a thread with the title "Automating Serialization?". I was thinking about copying the thread over here and then someone in the thread got a little defensive about things so I decided to discuss it here. I'll use a line of dashes to separate the posts from each other. In the middle of the dashes... more »
|
|
Boost unit test?
|
| |
I am writing unit-test using boost. Now for all the tests (5 at the moment) I need to load two rather large images. Is it possible to define a Boost unit test function that gets run once before all the tests where I can put this loading of images so I don't have to do it in each of the tests?
|
|
Looking for a good memory and CPU profiler
|
| |
I am at a stage to test the footprint of my projects, such as the CPU usage and memory usage during its running. My project is written in standard c++. Could anybody please recommend a memory and CPU profiler, easy to learn, better open-source and free? Thank you! Johnson
|
|
|