I think the Allman style looks messy because it spreads things out too much.
I use Hungarian notation all the time, but only on certain variables. I never use it on the standard variables like...
Type: Posts; User: KurtSurge
I think the Allman style looks messy because it spreads things out too much.
I use Hungarian notation all the time, but only on certain variables. I never use it on the standard variables like...
To my knowledge you don't get viruses from MP3 files. Correct me if I'm wrong.
Inside is exactly the same as outside, except with walls. And sometimes airconditioning.
I do the same thing...
If you don't know the caption or class of the window to put in the FindWindow function, you should use an api spy program to obtain it. Spy++ is a good one that comes with VC++.
You can use cin to accomplish that. For example.
int First;
cout << "Please enter the first number:";
cin >> First;
BitBlt() is a useful function for this.
Very simply, more people would rather buy his crappy cd's then our genius programs. It really is sad isn't it.
I think i have Telephonophobia. I get nervous when I use the phone...
If it were me, I wouldn't talk to him the next time I had a chance. But that is just me.
int Return = MessageBox("Delete all?", "Warning", MB_ICONWARNING | MB_DEFBUTTON2 | MB_OKCANCEL);
if(Return == IDOK) {
//execute code
}
else {
//execute code
}
I posted something here before reading the article on CNN, I realized it didn't make sense anymore and edited this in instead, so ignore this post. Basicly I have no idea how this will affect us, or...
I'll probably visit the UK one day (assuming I can afford this). The US is pretty vast and interesting, but it's always good to see how things are in other countries.
Hey Rick, you live pretty...
You truly are a loser. :mad:
If this was your 201st post i'd give you a cake. Maybe. . .
Umm... whats this mean?:confused: --> O(n)
Something like that happens to me at least once a month with VC++ 6.0. Sometimes it compiles only a few of my files, even though it looks like it compiles them all. Then i think something is wrong...
I use visual assist: wholetomato.com
It's nice to be nice.
It's still giving me problems!
Personally, I don't like MFC much. It isn't something that you really need to know, but rather a tool that attempts simplifies programming. However if you decide to learn it: LINK
I'm not sure...
Am i the only one who notices what Hammer and Salem are saying? :(
Thanks Ken, you answered my question perfectly. Only that made me realize that I had another problem. I was originally getting the icons from Shel32.dll, but after I got the icons to display i...
I wrote a simple program that does what your looking for, i hope it helps
#include <iostream>
using namespace std;
int main() {
Can anyone tell me how i can assign icons in an HIMAGELIST to specific items in a listview control? Thanks in advance.