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

Search:

Type: Posts; User: aewarnick

Page 1 of 18 1 2 3 4

Search: Search took 0.07 seconds.

  1. Thread: Wxwidget

    by aewarnick
    Replies
    1
    Views
    707

    Re: Wxwidget

    I recommend using Code::Blocks with gcc instead of Borland. Code::Blocks has a wx project built in.
    Download the development version, not the release.
  2. Replies
    5
    Views
    1,046

    Re: difference Between MFC and VC++

    I considered it but I was going to wrap it anyway. If I'm wrapping, I might as well wrap lower level.
  3. Replies
    5
    Views
    1,046

    Re: difference Between MFC and VC++

    I myself use Code::Blocks and gcc.
    Currently writing an easy to use, platform independent C++ wrapper around Gtk+.
  4. Replies
    5
    Views
    1,046

    Re: difference Between MFC and VC++

    They are both Microsoft ONLY.

    If you want to program for Linux or Mac in the future - do not use them.
  5. Replies
    8
    Views
    1,391

    Re: DirectX, OpenGL.

    Stick with OpenGL if there is a chance of someday porting your app to other operating systems.
  6. Replies
    8
    Views
    1,391

    Re: DirectX, OpenGL.

    I'm not aware of any that cost money.
  7. Replies
    8
    Views
    1,391

    Re: DirectX, OpenGL.

    DirectX==Microsoft and is NOT open source.
    I don't think OpenGL is open source, it's an open standard to graphics card vendors.

    My choice is OpenGL for 2 reasons.

    1. I like the api.
    2. This...
  8. Replies
    25
    Views
    3,962

    Re: Return a character array from a function

    you're returning a local function variable...
  9. Replies
    5
    Views
    900

    Re: 64 bit problems?

    I'm going to guess and say an environment variable must be set or something. Hopefully someone will come along who has done it.
  10. Replies
    5
    Views
    900

    Re: 64 bit problems?

    That's a good question - one that I'd be curious to know as well.
  11. Replies
    2
    Views
    878

    Re: OpenGL-how to load images

    I just started using Gtk+. It's cross platform and really, really convenient to use for automatic layout of controls. Sort of like designing a web page...

    I'm writing a wrapper around it in c++...
  12. Replies
    13
    Views
    1,341

    Re: obtain FILE* for memory

    "the whole reason i want to obtain a FILE pointer for a region of memory is so i don't have to write to a file/read in the first place"

    That's what I thought. I feel your pain. One thing you can...
  13. Replies
    13
    Views
    1,341

    Re: obtain FILE* for memory

    Actually that may not be exactly what you're looking for...
  14. Replies
    13
    Views
    1,341

    Re: obtain FILE* for memory

    If I used MFC I'd probably consider shooting myself.

    Linux:
    mmap
    http://www.ecst.csuchico.edu/~beej/guide/ipc/mmap.html
  15. Replies
    13
    Views
    1,341

    Re: obtain FILE* for memory

    I had been looking for the same thing. It's easy in Linux.

    I used a work-around for Windows as a temporary, really bad fix - I save to file and then read from it.
  16. Re: Beginner - My double is reformatted to an int.

    That's actually a good idea.

    Not sure but I think the first fits in a float:

    const float PI = 3.14159265358979323846;
    const double PI_Large = 3.1415926535897932384626433832795;
  17. Re: Beginner - My double is reformatted to an int.

    #define is always const.

    "With compiler optimisations and the function inlined I doubt it will make a difference"
    That's true with the exception of this one:
    4 * atan(1);
    I doubt the compiler...
  18. Re: Beginner - My double is reformatted to an int.

    In either case, why waste processing time?

    #define PI 3.14159265358979323846
    #define PI_Large 3.1415926535897932384626433832795
  19. Replies
    2
    Views
    1,427

    Re: fread() after EOF.

    I wouldn't depend on that. If you really need to fill the end with zero's, do it manually.
  20. Replies
    5
    Views
    823

    Re: My socket is not doing... anything

    You aren't calling connect
  21. Replies
    1
    Views
    675

    Re: std::string and error reporting

    This supports 64 and 32 bit...

    inline bool IsDigit(char c)
    {
    return (c >= 48 && c <= 57 ? 1 : 0);
    }

    template < typename T >
    bool ToIntegral(cchar* c, T* pIntegralType)
    {
  22. Replies
    4
    Views
    772

    Re: Computational Time

    //Sec_milli is 1000

    #if useLinux

    timet aTime();
    inline timet aTimeSec()
    {
    return time(0);
    }
  23. Replies
    12
    Views
    1,575

    Re: 2008, Best current C++ IDE?

    I use Code::Blocks for cross-platform development.
  24. Replies
    3
    Views
    13,614

    Re: How to deal with unsigned char* in strcpy?

    Yes, in that case, signed/unsigned does not matter.
  25. Replies
    35
    Views
    4,886

    Re: [RESOLVED] Time function

    I assume you want the results from just one test. Copied from above; it is the end of the char* tests and the beginning of the raw classes test.

    aStrRealloc
    CountTot: 68
    CountEqu: 50
    ...
Results 1 to 25 of 429
Page 1 of 18 1 2 3 4





Click Here to Expand Forum to Full Width

Featured