wxwidgets and qt is pretty popular library for creating cross platform GUI in C++.
Type: Posts; User: beyonddc
wxwidgets and qt is pretty popular library for creating cross platform GUI in C++.
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.
Unfortunately my application doesn't exec the process that needs to be monitor.
I actually would like to do something similar. Perhaps there might be a POSIX API that allows you to do so?
ostringstream would work also.
You're right, it is defined like this...
std::map<std::string, Foo*> MyMap;
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?
...
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...
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...
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...
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...
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...
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,...
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...
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...
Salary.com has the answer for you.
There's a great site that talks all about PC Cooling problems.
The Heatsink Guide - CPU Temp.
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.
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...
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...
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....
I'm using MS VC++ 6.0 though, how do I set that up in VC++6?
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];...
I tried google before coming here. I want to know why it is causing it....
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):...