Search:

Type: Posts; User: Michty

Search: Search took 0.01 seconds.

  1. Replies
    4
    Views
    1,717

    Ah. Well, after changing the constructor's...

    Ah. Well, after changing the constructor's parameter type to a reference to an int, all the problems with incorrect values for the pointers were corrected. Thank you very much, I doubt I would have...
  2. Replies
    4
    Views
    1,717

    Thank you! How can I test to see if heap storage...

    Thank you! How can I test to see if heap storage has been allocated?
  3. Replies
    4
    Views
    1,717

    Overloaded = operator problems

    #include <iostream>
    using namespace std;

    class Point
    {
    private:
    int* ptr;
    public:
    Point(int val) {ptr = &val;}
    ~Point() {delete ptr;}
  4. Replies
    2
    Views
    837

    Thank you.

    Thank you.
  5. Replies
    2
    Views
    837

    Character variables and addresses

    #include <iostream>
    using namespace std;

    class Multitudinous
    {
    private:
    int int1;
    float float1;
    public:
    float float2;
  6. Thanks very much for the help everyone. I had no...

    Thanks very much for the help everyone. I had no idea that char* behaved this way, but it does describe the seemingly odd output I had been getting.
  7. Help with a problem regarding dynamic memory and arrays

    #include <iostream>
    using namespace std;

    int main()
    {
    int * myInt = new int;
    long *myLong = new long;
    char* myChar = new char[100];
    float* myFloat = new float[100];
  8. Replies
    2
    Views
    1,570

    Thank you...

    Thank you...
  9. Replies
    2
    Views
    1,570

    How to create a working font box?

    Greetings.
    Can anybody tell me how to put a working font box into a program using the Win32 API? I have initialized my struct and passed it to the correct function (?) so that when I compile the...
  10. Replies
    2
    Views
    920

    Sorry about that. I posted one post before with...

    Sorry about that. I posted one post before with the error message to see what was wrong, but I didn't really understand the generous replies and my program still wouldn't compile.
    Anyway, forget...
  11. Replies
    2
    Views
    920

    Okay, can somebody please help?

    I really, really need somebody to help me! I've struggled with my compiler (DevC++ 5) for a long time now, and still it will not compile my program...
    The program utilises a basic menu, which I...
  12. Replies
    1
    Views
    980

    Please help with linker problems....

    I've just begun to learn about programming in win32 API, and all my previous examples worked more or less perfectly (after a while), but my latest program, with dialog boxes, won't compile.

    There...
  13. Replies
    3
    Views
    1,678

    Thanks for the help.

    Why thank you, Mithoric. I'm most grateful.
  14. Replies
    3
    Views
    1,678

    Help to compile with Dev C++ 5

    Could somebody please help me? I programmed a Win32 API program (involving dialog boxes) which should compile perfectly, but when I try to compile my project (windowsmenu.dev) I receive the message:...
Results 1 to 14 of 14