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

Search:

Type: Posts; User: zdf

Page 1 of 10 1 2 3 4

Search: Search took 0.01 seconds.

  1. Replies
    0
    Views
    476

    SLOW Visual 2005 SP1

    Hello,

    I have a BIG problem with a SMALL Visual C++ 8 solution stored on an USB flash. The original solution was made with Visual C++ 7 and worked fine. For some reason when I switched to version...
  2. Replies
    5
    Views
    894

    View Post

    Hello CPUWizard,

    You obviously are an experienced programmer. I have a big problem and maybe you can help me. We have to start a new project (windows/desktop/graphics). So far I have only used...
  3. Replies
    5
    Views
    894

    View Post

    David, thank you for your reply. Unfortunately I do not “speak” C#. I only “speak” C++. I must learn C++/CLI and I need a good book; I do not want to waste any time or money.
  4. Replies
    0
    Views
    613

    View Post

    Hello,


    Are there any “classic” books on C++/CLI?

    I am programming in C++ for several years.


    Thank you.
  5. Replies
    5
    Views
    894

    View Post

    Hello,


    Are there any “classic” books on C++/CLI?

    I am programming in C++ for several years.


    Thank you.
  6. Thread: STD guts!

    by zdf
    Replies
    2
    Views
    583

    Re: STD guts!

    Try this: http://www.josuttis.com/
  7. Replies
    5
    Views
    1,650

    Re: Is vector speed depence with its size?

    I am not a STL expert but I guess each time you use “vector:: push_back” there is a chance to allocate memory for the new element. This may slow down your application. Try to use “vector:: reserve”....
  8. Replies
    4
    Views
    543

    Re: Totally newbie on C++ need some help

    Hello,

    Show us what you have done so far. Don’t expect someone to write it for you.
  9. Replies
    2,338
    Views
    495,316

    Sticky: Re: CG members photo album

    MILLAU, France.
  10. Replies
    6
    Views
    714

    Re: C++ Heap Memory Question regarding Delete

    Could you please give us an example?
  11. Replies
    6
    Views
    714

    Re: C++ Heap Memory Question regarding Delete

    You should call “delete” for every “new” call.


    int v = new int;
    //...
    delete v;

    If you allocate an array then you must call “delete[]”. “[]” guarantees the object’s destructor is called for...
  12. Thread: header nodes

    by zdf
    Replies
    7
    Views
    990

    Re: header nodes

    Ok. Here it is a possible solution to your problem:


    #include <iostream>
    #include <list>
    #include <algorithm>

    class CMatrixCell
    {
  13. Thread: header nodes

    by zdf
    Replies
    7
    Views
    990

    Re: header nodes

    Ok, I guess you must write everything from scratch. Did you learn about templates? Do you understand the code below?


    template < typename A_T > class CNode
    {

    public:
    CNode() : m_pLeft( 0...
  14. Thread: header nodes

    by zdf
    Replies
    7
    Views
    990

    Re: header nodes

    Are you allowed to write your own map?
  15. Thread: header nodes

    by zdf
    Replies
    7
    Views
    990

    Re: header nodes

    Hello,

    Why don’t you use std::map?
  16. Thread: Borland C++

    by zdf
    Replies
    2
    Views
    630

    Re: Borland C++

    Hello,

    I assume:


    string inchar;
    memblock;

    should be:
  17. Re: Modifying malloc( ) implementation, without changing malloc( ) source code

    So... he needs a memory manager to manage the memory pool?... And this new manager must work better than the original one? :eek:
  18. Re: Modifying malloc( ) implementation, without changing malloc( ) source code

    Then, why not use #define?


    #include <stdlib.h>

    void* MyAlloc(size_t)
    {
    void* p;
    // ...
    return p;
  19. Re: Modifying malloc( ) implementation, without changing malloc( ) source code

    Hello,

    Why don’t you override the global new operator?
  20. Replies
    1
    Views
    667

    Re: Having a little trouble

    Hello,

    Smells like homework. Start by defining a structure to hold the record you described.
  21. Thread: Char to LPCSTR

    by zdf
    Replies
    9
    Views
    967

    Re: Char to LPCSTR

    I am sorry but I do not understand. Why is it “perfectly fine”?
  22. Replies
    6
    Views
    2,153

    Re: Need help in SLR parsing

    What is the purpose of (unused) "struct t lr[10];" and what are you trying to do here: “switch(action[r],lr[c].s)”?

    Why don’t you use full names instead of abbreviation? What is the “t” structure?...
  23. Thread: Char to LPCSTR

    by zdf
    Replies
    9
    Views
    967

    Re: Char to LPCSTR

    Hello,

    There are still errors in your code. For instance: LPCTSTR is a pointer to a vector of constant TCHAR. TCHAR is different from char, that is “*Valor=(LPCSTR )res;” is not all right.
    ...
  24. Replies
    10
    Views
    641

    Re: basic class templates, confusion!

    Hello,

    Try this:


    return Complex<T>(Real + c.Real, Imaginary + c.Imaginary);

    instead of:
  25. Thread: Char to LPCSTR

    by zdf
    Replies
    9
    Views
    967

    Re: Char to LPCSTR

    Hello,

    I don't know about VB. It looks like you know the same thing about C++. :)

    There are too many mistakes in the code you posted. For instance:


    char *res;...
Results 1 to 25 of 226
Page 1 of 10 1 2 3 4


Windows Mobile Development Center


Click Here to Expand Forum to Full Width

This is a CodeGuru survey question.


Featured


HTML5 Development Center