Search:

Type: Posts; User: mburt

Search: Search took 0.00 seconds.

  1. Replies
    15
    Views
    2,957

    What happened to system("PAUSE") ?? My...

    What happened to
    system("PAUSE")
    ??

    My window closes immediately as well, so I do that.

    Or I use a never-ending for-loop, and then break it if the requirements are met.
  2. Replies
    23
    Views
    4,342

    Got it. The only downside is that you have to...

    Got it. The only downside is that you have to store the binary number in an array.

    See this:



    #include <iostream>
    using namespace std;
    int main() {
    int number[] = {1,1,1,1,0,0,0,0};
  3. Replies
    23
    Views
    1,975

    You don't have to do it like SlyMaelStrom said....

    You don't have to do it like SlyMaelStrom said. You can define it first:

    #include<string>
    using namespace std;

    as I said before

    than just use this as a type of variable:

    string mystring...
  4. Replies
    23
    Views
    1,975

    oops. My fault :)

    oops. My fault :)
  5. Replies
    23
    Views
    1,975

    Got it. The only downside is that you have to...

    Got it. The only downside is that you have to store the binary number in an array.

    See this:



    #include <iostream>
    using namespace std;
    int main() {
    int number[] = {1,1,1,1,0,0,0,0};
  6. Replies
    23
    Views
    1,975

    I seriously doubt that. First you have to...

    I seriously doubt that.

    First you have to define string: #include<string>

    ex:

    string mystring = "poopiepants";
  7. Replies
    153
    Views
    693,338

    Sticky: C++ For Dummies...

    C++ For Dummies - 5th Edition by Stephen Randy Davis

    This is a great book to get started with C++. Teaches all the basic fundementals.
  8. Replies
    23
    Views
    1,975

    I didn't see any.

    I didn't see any.
  9. Replies
    23
    Views
    4,342

    Hmm... I know how to do this in JavaScript. I'll...

    Hmm... I know how to do this in JavaScript. I'll try to translate.
  10. Thread: Display Images?

    by mburt
    Replies
    14
    Views
    5,796

    Good lord... I can't seem to get this to work in...

    Good lord... I can't seem to get this to work in Dev-C++.
    Here is what I have:


    #define _WIN32_WINNT 0x0500
    #include <windows.h>
    #include <iostream>

    class Bitmap
    {
  11. Replies
    23
    Views
    1,975

    C++ arrays are similar to JavaScript arrays,...

    C++ arrays are similar to JavaScript arrays, except you define the array's variables as you use them.
  12. Thread: Display Images?

    by mburt
    Replies
    14
    Views
    5,796

    For some reason Dev-C++ won't compile this.... ...

    For some reason Dev-C++ won't compile this....

    It says:
    'GetConsoleWindow' undeclared (first use this function)
  13. Thread: Display Images?

    by mburt
    Replies
    14
    Views
    5,796

    Well then. Now that everyone has rained on my...

    Well then. Now that everyone has rained on my parade.... :)

    Okay, I'll see what I can do.
  14. Thread: Display Images?

    by mburt
    Replies
    14
    Views
    5,796

    Display Images?

    I'm wondering if there is a way to cout an image. A very basic question, which I don't know exists, and very well may not exist. Thanks for any help :)
  15. Replies
    8
    Views
    6,283

    Thanks, I'll look into "Code::Blocks IDE". Dev...

    Thanks, I'll look into "Code::Blocks IDE". Dev C++ is just giving me too much greif :)
  16. Replies
    8
    Views
    6,283

    It says: [Linked error] undefined reference to...

    It says:

    [Linked error] undefined reference to 'TextOutA@20'
    Id returned 1 exit status
  17. Replies
    8
    Views
    6,283

    Dev C++ Won't Compile

    This is the code I have, and Dev C++ will not compile it. I'm having a nightmare with this!!


    #include <windows.h>
    /* Declare Windows procedure */
    LRESULT CALLBACK WindowProcedure (HWND,...
  18. Replies
    3
    Views
    1,063

    I'm using Dev C++, and it says: [Warning]...

    I'm using Dev C++, and it says:
    [Warning] passing NULL used for non-pointer converting of 'HWIND__'...
  19. Replies
    3
    Views
    1,063

    Help with Windows Program

    Okay, I read a tutorial about creating Windows Program, then copied and pasted this script. For some reason it doesn't work??


    /* Trim fat from windows*/
    #define WIN32_LEAN_AND_MEAN
    #pragma...
Results 1 to 19 of 19