|
Debbie Does The White House?
No, seriously, it sounds like a real sh*tty movie...
Anything that is unrelated to elephants is irrelephant Anonymous
- The problem with quotes on the internet is that you can never tell if they're genuine Winston Churchill, 1944
- I'd just like a chance to prove that money can't make me happy. Me, all the time
|
|
|
|
|
Wait, isn't that a Bill Cosby movie?
GCS d--- s-/++ a- C++++ U+++ P- L- E-- W++ N++ o+ K- w+++ O? M-- V? PS+ PE- Y+ PGP t++ 5? X R++ tv-- b+ DI+++ D++ G e++>+++ h--- ++>+++ y+++* Weapons extension: ma- k++ F+2 X
If you think 'goto' is evil, try writing an Assembly program without JMP. -- TNCaver
"When you have eliminated the JavaScript, whatever remains must be an empty page." -- Mike Hankey
|
|
|
|
|
She's the man ?
Rules for the FOSW ![ ^]
if(this.signature != "")
{
MessageBox.Show("This is my signature: " + Environment.NewLine + signature);
}
else
{
MessageBox.Show("404-Signature not found");
}
|
|
|
|
|
LOL - good call!
Anything that is unrelated to elephants is irrelephant Anonymous
- The problem with quotes on the internet is that you can never tell if they're genuine Winston Churchill, 1944
- I'd just like a chance to prove that money can't make me happy. Me, all the time
|
|
|
|
|
Laila Amaria Ali, the boxer!
/pm
Always remember that you are absolutely unique. Just like everyone else.
|
|
|
|
|
|
The postman allways rings twice
In Word you can only store 2 bytes. That is why I use Writer.
|
|
|
|
|
Carry On Matron
Some men are born mediocre, some men achieve mediocrity, and some men have mediocrity thrust upon them.
|
|
|
|
|
In that case, I would have thought "Carry On Nurse"[^]
Anything that is unrelated to elephants is irrelephant Anonymous
- The problem with quotes on the internet is that you can never tell if they're genuine Winston Churchill, 1944
- I'd just like a chance to prove that money can't make me happy. Me, all the time
|
|
|
|
|
Okay, it has to be said.
Paris does anyone.
Mongo: Mongo only pawn... in game of life.
|
|
|
|
|
You may notice a certain gen'mum of the Welsh persuasion is missing presumed fed.
I reckon, like the rest of Wales, @OriginalGriff is still drunk!
veni bibi saltavi
|
|
|
|
|
Nope - I hardly drink these days - and I've been in and out here since 05:00!
I'm trying to get a whole bunch of other stuff done this week, is all.
Bad command or file name. Bad, bad command! Sit! Stay! Staaaay...
|
|
|
|
|
Light weight!
I phoned the Ma this morning to discuss last night, but she's "taken the day off";despite retiring nearly 20 years ago!
veni bibi saltavi
|
|
|
|
|
Of course I'm a lightweight!
Mind you, I gained a bit when I gave up smoking, and I'm still carrying that...
Bad command or file name. Bad, bad command! Sit! Stay! Staaaay...
|
|
|
|
|
OriginalGriff wrote: I hardly drink these days Way better than softly drinking in my opinion.
The United States invariably does the right thing, after having exhausted every other alternative. -Winston Churchill
America is the only country that went from barbarism to decadence without civilization in between. -Oscar Wilde
Wow, even the French showed a little more spine than that before they got their sh*t pushed in.[^] -Colin Mullikin
|
|
|
|
|
It was at its peak around 0315am UK time so meant getting up early, but was totally worth it. A relly spectacular sight
"There are two ways of constructing a software design: One way is to make it so simple that there are obviously no deficiencies, and the other way is to make it so complicated that there are no obvious deficiencies. The first method is far more difficult." - C.A.R. Hoare
Home | LinkedIn | Google+ | Twitter
|
|
|
|
|
We had too much cloud cover where I live, so I didn't get to see it.
Jeremy Falcon
|
|
|
|
|
Yes, I saw it and it was very impressive. Having been thwarted by cloud for our last two major solar eclipses (by only a matter of minutes for the latest), I was determined to see this lunar one.
Interestingly, my camera was really struggling to see it once it had turned red.
|
|
|
|
|
So you'd say it really put other eclipses in the shade then?
|
|
|
|
|
|
They're awesome. Misused, but awesome.
|
|
|
|
|
I'm not sure if they're considered "poor style", but C/C++ macros are very powerful. I've worked on projects where they were used to essentially provide a DSL. That was many years ago, but I have fond memories of the C preprocessor and C++ templates (the 'real' thing). Still miss both in Java/C#.
|
|
|
|
|
In fact Macros are really powerful tool. It is one of the best way by which one can talk to the underlying compiler and by which the compiler can talk to you. Yes compiler can talk to you by the means of Predefined Macros.
If we look at the "Preprocessor Definitions" of Visual Studio editor of a C++ project, there are a lots of things configured which can be done otherwise using #define macros.
Following are some of the application areas of macros.
1. Platform based API declarations. Platform can be different Operating Systems, it can be 32 bit or 64 bit.
2. Generation of conditional code.
3. Switching between UNICODE and Multi-byte.
4. Prevention of multiple times inclusion of header files. Achieved using #ifndef,#define,#endif.
5. API generation when used in conjunction with template meta programming.
|
|
|
|
|
I always thought macros were the function-like things, the rest being preprocessor definitions. Apparently everything substituted by the preprocessor is called a macro. https://gcc.gnu.org/onlinedocs/cpp/Macros.html[^]
I personally dislike function-like macros, except for the really simple ones like min and max. They are a real horror to debug.
|
|
|
|
|
Poor style? Macros are extremely powerful and used in the right way are faster and can be more useful than templates, classes and functions.
Using defines for constants - that's poor style and should be avoided if possible. Const and enums are scoped and reduce namespace pollution - other than misuse of similarly named constants (MAX_CHARS is a perfect name for a lot of max chars things, in different classes may have diffwerent meaning and values. If it is a scoped const you avoid potential deadly pitfalls).
GCS d--- s-/++ a- C++++ U+++ P- L- E-- W++ N++ o+ K- w+++ O? M-- V? PS+ PE- Y+ PGP t++ 5? X R++ tv-- b+ DI+++ D++ G e++>+++ h--- ++>+++ y+++* Weapons extension: ma- k++ F+2 X
If you think 'goto' is evil, try writing an Assembly program without JMP. -- TNCaver
"When you have eliminated the JavaScript, whatever remains must be an empty page." -- Mike Hankey
|
|
|
|