Search:

Type: Posts; User: Dang

Page 1 of 7 1 2 3 4

Search: Search took 0.01 seconds.

  1. Thread: WinNT programming

    by Dang
    Replies
    1
    Views
    1,018

    This is a good article ...

    This is a good article

    http://msdn.microsoft.com/library/default.asp?url=/library/en-us/dnw2k/html/ntfs5.asp
  2. If you're using an MFC dialog use the code below...

    If you're using an MFC dialog use the code below in OnInitDialog for all the windows you want to initialize.


    CWD* pw = GetDlgItem( nID );
    if( pw )
    {
    pw->SetWindowText( "blah blah" );
    }
  3. Replies
    7
    Views
    1,914

    OK I've got it now. I'm sure there's something...

    OK I've got it now. I'm sure there's something out there but I couldn't find it so I wrote the code below. Warning I've only tested a few cases, does not work for negative.


    #include <string.h>...
  4. Replies
    3
    Views
    856

    I'm more than happy to help but learning...

    I'm more than happy to help but learning something quickly is not always the best way to learn it for the long run. Take a look at your manual. Then ask a specific question and I'm more than happy to...
  5. Replies
    2
    Views
    905

    The const on the left is a return value to be a...

    The const on the left is a return value to be a const and right says the member function is const.

    A const return value is needed for temporary object allocation by the compiler. You never see...
  6. Replies
    3
    Views
    856

    With the friend keyword, you can designate either...

    With the friend keyword, you can designate either the specific functions or the classes whose functions can access not only public members but also protected and private members.
  7. Replies
    7
    Views
    1,914

    Once you've used atoi to place an ascii value in...

    Once you've used atoi to place an ascii value in an integer you have (in a signed integer) a twos complement binary value. Typically we display this value as decimal but it can be displayed anyway...
  8. Thread: Mutex

    by Dang
    Replies
    2
    Views
    1,065

    It is a kernal object used for interprocess...

    It is a kernal object used for interprocess synchronization. Its state is set to signaled when it is not owned by any thread, and nonsignaled when it is owned. Only one thread at a time can own a...
  9. Thread: Help

    by Dang
    Replies
    1
    Views
    817

    int main () { printf( "%s", "Press any...

    int main ()
    {

    printf( "%s", "Press any key to continue" );
    getchar( ); //stays here until a character is type

    return 0;

    }
  10. Thread: Mild confusion

    by Dang
    Replies
    3
    Views
    925

    Engineer223, I think you meant to allocate...

    Engineer223,

    I think you meant to allocate more the one char on var.

    He has a legitimate guestion. If you don't like the question don't answer it, but don't tell him to read the tutorial.
  11. Replies
    5
    Views
    1,738

    Looks like its working now. Please note the...

    Looks like its working now. Please note the changes I've made. If your serious about programming send me an email explaining what I've change. You basically had it.


    #include <iostream> ...
  12. Replies
    1
    Views
    1,197

    An import library is used with a .dll. An...

    An import library is used with a .dll.

    An import library is more like a proxy that you use to resolve the link for your function. The import library contains no code. Instead, they provide the...
  13. Replies
    5
    Views
    1,738

    There are a few syntax errors in your program...

    There are a few syntax errors in your program please post the entire program and I will show you where your problems are.
  14. You could use open but I open the file in the...

    You could use open but I open the file in the ofstream constructor.



    #include <iostream>
    #include <fstream.h>
    using std::string;

    int main()
    {
  15. Replies
    1
    Views
    1,022

    Its sounds to me like as long as you are getting...

    Its sounds to me like as long as you are getting input from the console (possible end with esc (escape key) ) you'll create a new node populate it with the data from the console and then insert it...
  16. Thread: class?

    by Dang
    Replies
    2
    Views
    996

    Initialization is done by a constructor for...

    Initialization is done by a constructor for public, protected, and private members to insure the object has the correct initial state.

    Protected, private, and public are access modifiers. They set...
  17. Thread: a simple question

    by Dang
    Replies
    2
    Views
    1,164

    int main() { char ch = '5'; int nNumb = ch...

    int main()
    {
    char ch = '5';
    int nNumb = ch - '0';

    return 0;
    }
  18. Replies
    6
    Views
    1,076

    If you use spy to watch messages you'll see that...

    If you use spy to watch messages you'll see that when you use end task off of the taskmanager he sends a WM_CLOSE message when he shuts down an application.

    After you wait some reasonable amount...
  19. Replies
    5
    Views
    1,029

    Tomkat, what do you think the registry is ? Of...

    Tomkat,

    what do you think the registry is ? Of course services are started out of it. See HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services
  20. Replies
    8
    Views
    1,835

    I made a few changes to the program to get it to...

    I made a few changes to the program to get it to work correctly but it will display you hit a when an a is entered. If anything else except an esc (escape) is entered it will do nothing but get the...
  21. Replies
    2
    Views
    1,113

    It just needed a little tweeking... #include...

    It just needed a little tweeking...


    #include <iostream>
    using namespace std;

    int main()
    {
    int favnum;
    int nxt;
  22. The functions you've created will work but won't...

    The functions you've created will work but won't really do anything. They don't return anything (void) and the argument list is empty (func1( ) ).

    First:
    Let's change void func1( ) to int func1(...
  23. Thread: ActiveX!!!!!!

    by Dang
    Replies
    2
    Views
    929

    ActiveX is based on COM, therefore it must...

    ActiveX is based on COM, therefore it must implement IUknown and almost always IDispatch which makes the object or control available to scripting languages. All you should have to do is a...
  24. Thread: Edit Menus

    by Dang
    Replies
    2
    Views
    879

    Even though this article uses MFC I think it will...

    Even though this article uses MFC I think it will give you a good start. When in doubt search http://msdn.microsoft.com/library.

    ARTICLE on clipboard:...
  25. Replies
    5
    Views
    1,003

    You can write ActiveX controls and implement...

    You can write ActiveX controls and implement IDispatch to make methods availible to scripting languages, HTML, VB (custom as well), or ASP.
Results 1 to 25 of 157
Page 1 of 7 1 2 3 4