Search:

Type: Posts; User: TheColonial

Page 1 of 5 1 2 3 4

Search: Search took 0.01 seconds.

  1. Replies
    6
    Views
    1,017

    How about easing up on the signature?? :)

    How about easing up on the signature?? :)
  2. Replies
    4
    Views
    977

    .rc files.

    .rc files.
  3. Replies
    2
    Views
    1,236

    Why are you posting the same question multiple...

    Why are you posting the same question multiple times?
  4. Replies
    8
    Views
    1,634

    You don't need to do most of that. Testing it...

    You don't need to do most of that. Testing it would be as simple as:
    String s = "Hello world";
    cout << s;
    s = "Hello world 2!";
    cout << s;

    There is no need for the dynamic memory...
  5. BinaryTree myTree; myTree.insert("I'm not...

    BinaryTree myTree;
    myTree.insert("I'm not feeling frisky");
    myTree.insert("I'm not doing someone else's homework");
    myTree.display();

    If you need this kind of information, there are hundreds of...
  6. Replies
    4
    Views
    977

    It's not C++ ;) This is a windows resources...

    It's not C++ ;)

    This is a windows resources question, and hence should be posted in the Windows forum. However, I shall answer anyway ;)


    MYMENU MENU DISCARDABLE
    BEGIN
    POPUP "File"
    ...
  7. Replies
    2
    Views
    1,019

    I've added some comments to your code. Look for...

    I've added some comments to your code. Look for comments that start with "TC" (for "The Colonial" ;))
    #include<stdio.h>
    #include<conio.h>
    #include<stdlib.h>

    void display();
    int getinput();...
  8. Replies
    7
    Views
    2,030

    The first line of code purely allocates memory...

    The first line of code purely allocates memory for the array variable itself, it doesn't allocate memory for every item in the array, you have to do that separately, so the next line of code will...
  9. Replies
    4
    Views
    1,094

    Don't do this for Dialog boxes.

    Don't do this for Dialog boxes.
  10. Replies
    3
    Views
    3,906

    The simplest? Record someone saying every word in...

    The simplest? Record someone saying every word in the English language, and then play the appropriate sound snippet for each word encountered.

    Yes, it's far from ideal, not smart, and a massive...
  11. CornedBee: as I said, not the best example, but...

    CornedBee: as I said, not the best example, but it does make the point valid. Yes, there are workarounds for that issue (i'm aware of boost and it's contents), but let's say you're building a DirectX...
  12. Create a class that inherits from the appropriate...

    Create a class that inherits from the appropriate System.Web.UI.WebControls.* class (eg. TextBox, Button, Control), stick that in a different DLL... viola.
  13. Replies
    8
    Views
    1,334

    Yes it is. The problem you have with "waiting"...

    Yes it is. The problem you have with "waiting" is that the wait blocks, ie. no other code will run until the wait is done. So you're going to have to do something more than simply wait.

    A couple...
  14. Replies
    8
    Views
    3,928

    Yes.

    Yes.
  15. Why is that? Does it have to be over 40 megs to...

    Why is that? Does it have to be over 40 megs to be good, or is this because you feel you can use your dialup to download stuff that is smaller than that.

    As far as I can say, a C# compiler, a text...
  16. Replies
    4
    Views
    1,094

    You aren't "processing" the messages that you're...

    You aren't "processing" the messages that you're handling in any way. You need to return FALSE instead of TRUE.

    BOOL CALLBACK MainDlgProc(HWND hwnd, UINT Message, WPARAM wParam, LPARAM lParam)
    {...
  17. Replies
    2
    Views
    1,342

    You said "I'm building", but you really mean "I...

    You said "I'm building", but you really mean "I am about to build" or "I want to build" dont you?? You want a reference? I'd say have a look at the feature sets of all the well known IM clients out...
  18. Replies
    4
    Views
    1,249

    Apart from the points made above, you should also...

    Apart from the points made above, you should also double check your programs logic. If someone enters a prime number bigger than 2 (eg. 3) it will return false. In fact, this function (without the...
  19. I'm not a fan of the first to be honest, but this...

    I'm not a fan of the first to be honest, but this is more to do with cleaning up than anything. If you have a function that allocates some memory temporarily, then you need to make sure that you...
  20. Replies
    3
    Views
    919

    Try this...

    Try this
    It's amazing what Google returns when you use it :)
  21. Replies
    7
    Views
    1,179

    xxxrugby: thanks for the laugh :D I needed it!

    xxxrugby: thanks for the laugh :D I needed it!
  22. Replies
    7
    Views
    1,179

    Do your own homework.

    Do your own homework.
  23. Yes. Which system? My system? :) Yes,...

    Yes.


    Which system? My system? :)


    Yes, you need file I/O.

    Perhaps now would be a good time for you to check out the link in Salem's signature about asking smart questions, you may find...
  24. Thread: Tokens?

    by TheColonial
    Replies
    12
    Views
    1,399

    If you're using Windows, why not use the INI file...

    If you're using Windows, why not use the INI file functionality built into the Windows API? eg. look at the GetProfileProfileString function to get you started.

    If you want this to work across...
  25. Replies
    10
    Views
    1,288

    algi: doesn't that just load a system icon??...

    algi: doesn't that just load a system icon?? that's got nothing to do with setting it?

    hiya: just use SetIcon() to set the icon when the cursor is over text. It's that simple!
Results 1 to 25 of 122
Page 1 of 5 1 2 3 4