Search:
Type: Posts; User: anonymous12345
Search:
Search took 0.04 seconds.
-
February 11th, 2010, 05:12 PM
i see, thanks, everything is clear now !!!
-
February 11th, 2010, 03:34 PM
hello to everyone,
1)
if i declare a function in a header file like this :
void Foo() { /* code here*/}
the linker will fail due to multiple definition !!! (Foo already defined in...
-
February 10th, 2010, 01:48 PM
ok then, i will pass parameters by pointer.
thanks for your help,
-
February 10th, 2010, 12:49 PM
hi how can i convert a refence to a poiner ?
here is the method :
void Foo(const std::string& s,...)
{
const std::string* a = s ; //here we will do the conversion.
va_list args;
...
-
but isnt vector like an array.
when i delete a unit that it dies, i dont know if it would be in the end of the array.
If i am unlucky it will be at the start of the array = internally calls full...
-
hi,
i am trying to find a good design pattern to handle memory allocation of my objects in c++.
good = no errors , fastest.
I will post all designs i have thought.
For example we will use the...
-
Code :
------------------------------------------------------
class passByValueSucks
{
public :
passByValueSucks(){}
passByValueSucks(const passByValueSucks& p) { cout << "copy...
-
1)
You can achieve portability without checking it runtime :
if you are not carefull, or maybe you are microsoft ??
------------------------------------------------------
#ifdef WINDOWS...
-
hi , i am java developer and i just finished learning c++.
Now here are my questions :
1) why is auto-ptr useful .
You use pointers if you have as goal to maintain variables when they are out...
|
Click Here to Expand Forum to Full Width
|