void main(void)
-
Ok, that's it. You better ship the next release before you go totally bonkers. Do it tomorrow, ok? :rolleyes: -- You still have your old friend Zoidberg. You all have Zoidberg!
-
I figured people would be annoyed enough without me adding the extra line. And for you std freaks: --- orig Wed Sep 17 00:35:00 2003 +++ new Wed Sep 17 00:42:00 2003 @@ 1,1 1,1 @@ -void main(void) +int main(int argc, char** argv, char** env) @@ 3,3 3,4 @@ +return 0; in unified diff format ofcourse (handcrafted from memory so there are probably errors) :)
Stefan Pedersen wrote: And for you std freaks: Ta :-D -- Ian Darling "The moral of the story is that with a contrived example, you can prove anything." - Joel Spolsky
-
It looks like he's programming in C. printf - evidence #1. I guess I'll have to ask him tomorrow when I see him.. :-D -- You still have your old friend Zoidberg. You all have Zoidberg!
Sadly, too many people still use printf, and other remnants of the toxic C standard libraries, even as they return void from main, because their toxic compiler lets them. Christian I have drunk the cool-aid and found it wan and bitter. - Chris Maunder
-
Sadly, too many people still use printf, and other remnants of the toxic C standard libraries, even as they return void from main, because their toxic compiler lets them. Christian I have drunk the cool-aid and found it wan and bitter. - Chris Maunder
CG, where have you been?
Nish
Extending MFC Applications with the .NET Framework [NW] (coming soon...) Summer Love and Some more Cricket [NW] (My first novel) Shog's review of SLASMC [NW] Come with me if you want to live
-
CG, where have you been?
Nish
Extending MFC Applications with the .NET Framework [NW] (coming soon...) Summer Love and Some more Cricket [NW] (My first novel) Shog's review of SLASMC [NW] Come with me if you want to live
Doing a bit of freelance work, planting and tending to my fruit trees, all that sort of stuff. Christian I have drunk the cool-aid and found it wan and bitter. - Chris Maunder
-
;P --Mike-- Ericahist | Homepage | RightClick-Encrypt | 1ClickPicGrabber CP SearchBar v2.0.2 released
-
Sadly, too many people still use printf, and other remnants of the toxic C standard libraries, even as they return void from main, because their toxic compiler lets them. Christian I have drunk the cool-aid and found it wan and bitter. - Chris Maunder
I'll take
printf()
orCString::Format()
any day over the maze of badly-named poorly-documented STL manipulators. X| --Mike-- Ericahist | Homepage | RightClick-Encrypt | 1ClickPicGrabber CP SearchBar v2.0.2 released -
I'll take
printf()
orCString::Format()
any day over the maze of badly-named poorly-documented STL manipulators. X| --Mike-- Ericahist | Homepage | RightClick-Encrypt | 1ClickPicGrabber CP SearchBar v2.0.2 releasedWell, you know what they say about old dogs :0) I agree that some of the manipulator names are not great, but if you hate them so much, you can roll your own. Extensibility is one of the reasons the std library canes the old C stuff, or the horrible MFC stuff. Christian I have drunk the cool-aid and found it wan and bitter. - Chris Maunder
-
CListCtrl
? Rickard Andersson Here is my card, contact me later! UIN: 50302279 Sonork: 37318 Interests: C++, ADO, SQL, Winsock, 0s and 1s -
;P --Mike-- Ericahist | Homepage | RightClick-Encrypt | 1ClickPicGrabber CP SearchBar v2.0.2 released
-
;P --Mike-- Ericahist | Homepage | RightClick-Encrypt | 1ClickPicGrabber CP SearchBar v2.0.2 released
.
-
Well, you know what they say about old dogs :0) I agree that some of the manipulator names are not great, but if you hate them so much, you can roll your own. Extensibility is one of the reasons the std library canes the old C stuff, or the horrible MFC stuff. Christian I have drunk the cool-aid and found it wan and bitter. - Chris Maunder
Christian Graus wrote: but if you hate them so much, you can roll your own ... or I can just use CString::Format() ;P --Mike-- Ericahist | Homepage | RightClick-Encrypt | 1ClickPicGrabber CP SearchBar v2.0.2 released
-
Christian Graus wrote: but if you hate them so much, you can roll your own ... or I can just use CString::Format() ;P --Mike-- Ericahist | Homepage | RightClick-Encrypt | 1ClickPicGrabber CP SearchBar v2.0.2 released
I would tend to use CString::Format if I was using MFC, but I never use MFC nowadays. So I'm glad to have learned the alternatives that are always with me, so long as I'm in C++. Christian I have drunk the cool-aid and found it wan and bitter. - Chris Maunder