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

Search:

Type: Posts; User: Cambalinho

Page 1 of 50 1 2 3 4

Search: Search took 0.03 seconds.

  1. Re: can i change the class function without declaration?

    hey... hello ;)
    i mean:

    #include <iostream>using namespace std;

    class test
    {
    public:
    virtual void hey() const;
    };
  2. can i change the class function without declaration?

    see these sample:

    #include <iostream>

    using namespace std;


    class test
    {
    public:
  3. Windows 98 on Virtual Box: why the CPU is 100% used?

    my laptop:
    - OS: Windows 10;
    - RAM: 4GB's;
    - CPU: Intel Core 2 Duo T9500 2.60GHz;
    - Graphics: NVidea Geforce G 103M 512MB's dedicated.
    (i use a SSD with 250GB's)

    Windows 98 on Virtual Box:
    -...
  4. Re: C++: about game loop: do we need take some time between frames?

    thank you so much
  5. Replies
    15
    Views
    3,851

    Re: can i convert HBITMAP to istream?

    to be honest:
    - i don't use that code some time;
    - isn't easy use IStreams.
    you can get the HICON?
    if so the problem must be on IStreams creations.... belive me these is hard to understand it,...
  6. Replies
    15
    Views
    3,851

    Re: can i convert HBITMAP to istream?

    vinay i don't know everything lol
    but maybe these code help you ;)

    //Using GdiPlus I got something that works pretty well and doesn't involve pulling any teeth!Gdiplus::Bitmap* pBitmap = NULL;...
  7. Replies
    20
    Views
    1,915

    Re: how search\find a folder name?

    yes maybe you have right and the program don't have it. that's why i did that function
  8. Replies
    20
    Views
    1,915

    Re: how search\find a folder name?

    from IDE, but i get the folder name manually.
    "According to the Mingw documentation, the PATH environmental variable (as is what is returned from set) should include the install location of mingw."...
  9. Replies
    20
    Views
    1,915

    Re: how search\find a folder name?

    35459
  10. Replies
    20
    Views
    1,915

    Re: how search\find a folder name?

    i need just the entire folder name.. is what the function help me to find:
    C:\Program Files\mingw-w64\x86_64-7.2.0-win32-seh-rt_v5-rev1\mingw64\bin
  11. Replies
    20
    Views
    1,915

    Re: how search\find a folder name?

    yes
    35457
  12. Replies
    20
    Views
    1,915

    Re: how search\find a folder name?

    on search tool:
    i used "x86_64-w64-mingw32-g++.exe", but hace '++'...
    so try, too, "x86_64-w64-mingw32-gcc-7.2.0.exe"..
    i even tryied "mingw".. but nothing is found
    so what you can tell me more?
  13. Replies
    20
    Views
    1,915

    Re: how search\find a folder name?

    i get your point and you have right... but i don't know how can i get the folder name.. maybe it's on registry, but i don't know how can i get it :(
    the Windows API have functions for read registry,...
  14. Replies
    20
    Views
    1,915

    Re: how search\find a folder name?

    Arjay it's the GNU free compiler.. i\we can download it and install it. the rest about registry or something i don't know it :(
    "Using this approach to determine if an app has been installed is bad...
  15. Replies
    20
    Views
    1,915

    Re: how search\find a folder name?

    1 program can be installed anywhere on C drive. so my function using a vector string with 2 folders names, i can search for the entire folder path... doing these search and depending what you have...
  16. Replies
    20
    Views
    1,915

    how search\find a folder name?

    i have these function that i can find a folder name:


    string FindDirectory(std::string FindDirectoryName[2], std::string StartDirectory="C:")
    {
    WIN32_FIND_DATA file={0};
    string...
  17. Re: C++: about game loop: do we need take some time between frames?

    thank you so much for all
  18. Re: C++: about game loop: do we need take some time between frames?

    and for avoid been much more faster between computers(if CPU\Graphics\RAM\others be more faster), right?
  19. Replies
    6
    Views
    929

    Re: How use an Abstract class?

    if i do:

    virtual int get() override;
    i must define it, by C++ rules
  20. Replies
    6
    Views
    929

    Re: How use an Abstract class?

    my base and my derived class using pure virtual functions for i don't define the functions, unless i need them.
    and maybe these is the big problem :(
  21. Replies
    6
    Views
    929

    How use an Abstract class?

    see these simple class with a base class:

    class base{


    public:
    virtual void MouseClick(){;};
    virtual void Move(){;};
    base()
    {
  22. Re: why i must use an object when i have a virtual function on a class?

    thank you so much to all for correct me. thank you
  23. [RESOLVED] why i must use an object when i have a virtual function on a class?

    i have 2 class's:

    class test{


    public:
    virtual void MouseClick(){;};
    virtual void Move(){;};
    test()
    {
  24. Re: Variadic Macros: can i control the macros arguments index?

    done.
    we must expand the macro:

    #define EXPAND_0(...) __VA_ARGS__#define EXPAND_1(...) EXPAND_0(EXPAND_0(__VA_ARGS__))
    #define EXPAND_2(...) EXPAND_1(EXPAND_1(__VA_ARGS__))
    #define EXPAND(...)...
  25. Re: Variadic Macros: can i control the macros arguments index?

    i'm sorry, the va_arg, va_start and va_end can be used on macros?
Results 1 to 25 of 1248
Page 1 of 50 1 2 3 4


Windows Mobile Development Center


Click Here to Expand Forum to Full Width




On-Demand Webinars (sponsored)