Search:
Type: Posts; User: dus
Search:
Search took 0.04 seconds.
-
February 22nd, 2007, 09:59 AM
I read the following FAQ:
Visual C++ DLL: How to build a DLL to be used from another programming language
This works perfectly fine for functions to export.
When I try to export a class I...
-
December 19th, 2006, 10:39 AM
Hello,
I have the following weird problem:
outside.h
#ifndef OUTSIDE_H
#define OUTSIDE_H
-
October 3rd, 2006, 08:45 AM
I guess the problem here is that the OP hasn't reached the level of arrays yet. His problem is very basic and probably one of the first problems in a course. Even before hitting the concept of...
-
August 22nd, 2006, 12:44 PM
Exterminator:
No it's to assure the objects are created in a feasible way. For example the object_holder can only "objects" for which object_type is in the map<string, object_type> in the logic...
-
August 22nd, 2006, 09:23 AM
I have a ``business logic'' class which provides the outside world (user interface) the data and modify them in a consistent way (by some methods).
This class contains a number of containers...
-
August 21st, 2006, 01:47 PM
Hello,
I just downloaded Visual C++ express edition. On the download page it is recommended to download the win32 platform SDK.
I usually write console applications. But now and then I would...
-
July 28th, 2006, 03:40 AM
But the most easy thing to do is, not using any (smart) pointers at all:
void f(
std::string const & s.
std::ostream & output)
{
a the_a;
-
July 27th, 2006, 03:33 AM
Thanks guys, for showing me some good examples! Ik would like to see more, anyway!
Maybe I'll use smart pointers in the future. However my programming style seems different from the examples. I...
-
July 26th, 2006, 10:15 AM
Thanks, ahoodin,
You might be right! However may someone can give me a good code example of when they're useful. The examples I came across were usually too short and simple to be convincing....
-
July 26th, 2006, 09:32 AM
Thomas,
I understand what they are trying to do! My point is that I'm not convinced that this is accomplished, mainly because you need a lot of extra knowledge, you still have to be very careful...
-
July 26th, 2006, 09:07 AM
I recently got interested in smart pointers. I read some articles about different types of them (auto_ptr, shared pointers, reference counters). After doing this I hardly can see any reason to use...
-
No, I don't want to fill the vector with elements. I only want to reserve enough memory for the vector, so it doesn't have to be copied many times at the time the elements are inserted.
-
Hey!
I have this two dimensional vector and I want to reserve memory for it. Will this method work or is there a better way?
vector<vector<double>> data;
vector<double> init_vector;...
-
April 12th, 2006, 08:30 AM
Thanks! It compiles now anyway!
The interfaqce is quite big. Because something basically is a data manager. So it stores a lot of data (in memory) and provides methods to add and view this data.
...
-
April 12th, 2006, 07:33 AM
Hello,
I have three different methods to do something involving some private/protected class members. I want to test all the three methods (and apply another algorithm) and seet the difference...
-
February 15th, 2006, 05:27 AM
Thanks all!
Treuss solution removed the warning!
-
February 15th, 2006, 04:56 AM
I have the following class structure for a (discrete event) simulation program:
class simulation;
class event
{
public
event(simulation* sim_pointer) {p_sim = sim_pointer;};
-
February 1st, 2006, 06:26 AM
Thanks Cilu and Wildfrog,
However the problem is not solved:
class base
{
public:
-
February 1st, 2006, 05:46 AM
-
February 1st, 2006, 05:40 AM
Hello,
I'm trying to do the following:
class base
{
public:
-
July 22nd, 2005, 07:37 AM
Thanks,
Adding the directory to LD_LIBRARY_PATH solved the problem!
-
July 22nd, 2005, 06:38 AM
Hello,
I am using some libraries of the COIN-OR project (http://www.coin-or.org) in my c++ program. I want to use shared libraries, so i don't have to recompile my program, if I install an update...
|
Click Here to Expand Forum to Full Width
|