Search:

Type: Posts; User: beyonddc

Page 1 of 2 1 2

Search: Search took 0.00 seconds.

  1. Replies
    5
    Views
    11,667

    wxwidgets (http://www.wxwidgets.org/) and qt...

    wxwidgets and qt is pretty popular library for creating cross platform GUI in C++.
  2. Replies
    21
    Views
    6,534

    Those are all good thoughts. I'll look into it a...

    Those are all good thoughts. I'll look into it a bit more.

    We're looking into using SNMP to query the system for all running software information.
  3. Replies
    21
    Views
    6,534

    Unfortunately my application doesn't exec the...

    Unfortunately my application doesn't exec the process that needs to be monitor.
  4. Replies
    21
    Views
    6,534

    I actually would like to do something similar. ...

    I actually would like to do something similar. Perhaps there might be a POSIX API that allows you to do so?
  5. Replies
    14
    Views
    6,139

    ostringstream would work also.

    ostringstream would work also.
  6. You're right, it is defined like this... ...

    You're right, it is defined like this...

    std::map<std::string, Foo*> MyMap;
  7. Is this correct? (Remove and delete all elements from a STL MAP)

    What I want to do is loop through all elements inside the MAP container and then delete it.

    Lastly, just invoke clear() on the map to remove all elements.

    Is my code correct?


    ...
  8. Replies
    20
    Views
    1,355

    Since I been mostly doing distributed...

    Since I been mostly doing distributed programming.
    I know that if you use CORBA , it'll work exactly the way you want, but CORBA is usually used for distributed programming, so if you're using it...
  9. Replies
    27
    Views
    34,127

    Sticky: It's the first time I visited the tips site. I...

    It's the first time I visited the tips site. I felt that it's a little bit messy and hard to navigate, but it's a good start though. A lot of them is very informative.

    It would be very nice if...
  10. Replies
    20
    Views
    1,355

    Yes, you can use shared memory on Windows, I...

    Yes, you can use shared memory on Windows, I never tried it on Windows before though. I only tried it on Solaris using Adaptive Communication Framework.

    You can try search on MSDN Site on how to...
  11. Replies
    16
    Views
    2,143

    I just want to add my 2 cents in here. I think...

    I just want to add my 2 cents in here.

    I think deciding to pick which language you want to use is depend on your requirements.

    If speed is not an issue, and portability is a must, than Java...
  12. Replies
    6
    Views
    2,701

    If you own a reference to the singleton instance,...

    If you own a reference to the singleton instance, basically it means you've the ownership of that piece of memory. You can set the reference to point to null. If some other classes come in later...
  13. Replies
    6
    Views
    2,701

    You should use a pointer instead of a reference,...

    You should use a pointer instead of a reference, becaue it is a singleton class, you don't want to have ownership to the singleton instance.

    By the way, the sample you've is just a quick write-up,...
  14. Thread: braces

    by beyonddc
    Replies
    27
    Views
    2,220

    It's really depend on how you want your program...

    It's really depend on how you want your program to read like.

    In my company, we've coding standards for Java, and C++.

    For Java, we follow your first example, and for C++, we follow your second...
  15. Replies
    8
    Views
    1,050

    Those are functions that declared in your main...

    Those are functions that declared in your main file.

    To get a better understanding on this, you can treat these as subroutines.

    So if you look clearly, you'll see that there're 3 subrountines...
  16. Replies
    6
    Views
    2,541

    Salary.com (http://www.salary.com) has the...

    Salary.com has the answer for you.
  17. Thread: CPU temp

    by beyonddc
    Replies
    5
    Views
    1,827

    There's a great site that talks all about PC...

    There's a great site that talks all about PC Cooling problems.

    The Heatsink Guide - CPU Temp.
  18. Thanks for everyone for replying. I'll look...

    Thanks for everyone for replying.

    I'll look into it tomorrow when I go back to work and maybe factor out some of the IF statement. Put the most common case first, and the less common case after.
  19. Will too much IF STATEMENT decrease performance

    This is related with the project I'm working on at work.

    Performance and reliability is a big issue for my project.
    I need to do a lot of condition check in my program in-order to produce valid...
  20. Almost forgot that I posted this. LOL Got it! ...

    Almost forgot that I posted this. LOL
    Got it! Thanks!

    so I assumed that this method doesn't need to return anything, and the pass-in arguement for this method (void *data) can be anything...
  21. What is this mean? static void *name (void *data)

    I'm reading through some codes, and I see this function is declared as


    static void *name (void *data){}

    I don't understand what this mean. Especially with the * next to the name and the data....
  22. I'm using MS VC++ 6.0 though, how do I set that...

    I'm using MS VC++ 6.0 though, how do I set that up in VC++6?
  23. Thank you guys, let me look into it more deeply. ...

    Thank you guys, let me look into it more deeply. I hope I can find where the problem is occuring exactly.

    so far, I have tracked down the location when it crashed..



    char *todayitem[100];...
  24. I tried google before coming here. I want to...

    I tried google before coming here. I want to know why it is causing it....
  25. First-chance exception in app.exe (KERNEL32.DLL): 0xC0000005: Access Violation.

    Anyone recieve this error before?
    My program can compile and run, but when I try to use the debugger to debug it, it gave me this error.

    First-chance exception in BEYONDDC.exe (KERNEL32.DLL):...
Results 1 to 25 of 31
Page 1 of 2 1 2