Search Results - CodeGuru Forums
CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com

Search:

Type: Posts; User: anonymous12345

Search: Search took 0.01 seconds.

  1. Replies
    3
    Views
    513

    Re: Inline (strange behavior)

    i see, thanks, everything is clear now !!!
  2. Replies
    3
    Views
    513

    Inline (strange behavior)

    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...
  3. Replies
    3
    Views
    6,465

    Re: Convert Reference To Pointer ?

    ok then, i will pass parameters by pointer.

    thanks for your help,
  4. Replies
    3
    Views
    6,465

    Convert Reference To Pointer ?

    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;
    ...
  5. Replies
    5
    Views
    1,136

    Re: Memory Allocation Strategies in c++ :

    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...
  6. Replies
    5
    Views
    1,136

    Memory Allocation Strategies in c++ :

    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...
  7. Replies
    9
    Views
    800

    strange behavior of vector class

    Code :
    ------------------------------------------------------


    class passByValueSucks
    {
    public :
    passByValueSucks(){}
    passByValueSucks(const passByValueSucks& p) { cout << "copy...
  8. Re: Questions from a java developer (Auto-ptr , number representation , portability

    1)



    You can achieve portability without checking it runtime :

    if you are not carefull, or maybe you are microsoft ??
    ------------------------------------------------------
    #ifdef WINDOWS...
  9. Questions from a java developer (Auto-ptr , number representation , portability )

    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...
Results 1 to 9 of 9


Azure Activities Information Page

Windows Mobile Development Center


Click Here to Expand Forum to Full Width

This is a CodeGuru survey question.


Featured


HTML5 Development Center