Hello,
I am getting very tired of debugging code with STL routines. I am using Microsoft Visual Studio 6.0 C++ with the SGI-STL (Silicon Graphics) and I am annoyed that I have to write routines to...
http://www.experts-exchange.com/Programming/Languages/CPP/Q_10138498.html
Specific: How do I declare an STL list of classes?
General: I'm trying to learn how (and when) to use STL container classes. I'm looking for a good source of examples on the web.
Here's a simple...
http://www.experts-exchange.com/Programming/Languages/CPP/Q_10144790.html
I am running on a DEC alpha on Unix 4. I am using gnu c++ 2.7.2, and when I compile some code that works on WIN32 and SVR4, it complains about an STL string being to long (4021 bytes). Under WIN32...
http://www.experts-exchange.com/Programming/Languages/CPP/Q_10169753.html
When I try to compile a stl program I wrote in windows, g++ can't find the <limits> file. Why gives? Does g++ not support stl?
http://www.experts-exchange.com/Programming/System/Unix_-_Posix/Q_10273343.html
To keep my C++ source as portable as possible, I would prefer to keep "Disable language extensions" checked.
When doing this, I can't use std::vector.
To reproduce the problem, try this:
1. ...
http://www.experts-exchange.com/Programming/Languages/CPP/Q_10289540.html
Zones:
C++Date Answered: 02/14/2000 Grade: C Views: 0
I am wanting to write a sorting function for an arbitrary type and use this sorting function as the criterion for insertion into an STL set.
For instance,
class dummy{
private:
int...
http://www.experts-exchange.com/Programming/Languages/CPP/Q_10349845.html
I have constructed a library with Visual C++ that requires the MFC library to function. Now I am being asked whether it also links in the STL library. So,
1) does a library ordinarily include ...
http://www.experts-exchange.com/Programming/Languages/CPP/Q_10420664.html
Hi,
How can I use STL container classes to store objects of other classes and effectively look after their destruction. It will be great if I can get an example.
Regards
Shayad.
http://www.experts-exchange.com/Programming/Languages/CPP/Q_11001881.html
Is it possible to store pointers to objects in the STL collection classes and have the collection automatically destroy the objects as the collection elements are destroyed? e.g.:
class A
{
...
http://www.experts-exchange.com/Programming/Languages/CPP/Q_11463718.html
Hi,
I'm new to STL and don't know which container type I need to use for the following operations :
- I need an array of an user defined type f.e. array of SoundStruct with
typedef struct
{
...
http://www.experts-exchange.com/Programming/Languages/CPP/Q_20106925.html