"In Defense Of Printf"
-
No mate. It isn't 'old' C++ or any kind of C++. Printf is C.
Personally I prefer its use to the C++ streams, I find it much easier than all the "<<" crap. This and the fact that I rarely appreciate operator overloading (unless where it makes sense and often it is slightly limited) make me prefer plain old stable known and reliable printf's.
Geek code v 3.12 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--- r++>+++ y+++* Weapons extension: ma- k++ F+2 X
-
No mate. It isn't 'old' C++ or any kind of C++. Printf is C.
Printf
? Never heard of it,printf
however... -
No mate. It isn't 'old' C++ or any kind of C++. Printf is C.
it doesn't matter if it's c or c++, it's not safe :/ that's what matters.
if(this.signature != "") { MessageBox.Show("This is my signature: " + Environment.NewLine + signature); } else { MessageBox.Show("404-Signature not found"); }
-
it doesn't matter if it's c or c++, it's not safe :/ that's what matters.
if(this.signature != "") { MessageBox.Show("This is my signature: " + Environment.NewLine + signature); } else { MessageBox.Show("404-Signature not found"); }
Safety is overrated: Health and Softy is getting everywhere! :laugh:
Bad command or file name. Bad, bad command! Sit! Stay! Staaaay...
-
Safety is overrated: Health and Softy is getting everywhere! :laugh:
Bad command or file name. Bad, bad command! Sit! Stay! Staaaay...
I see why most c programs can easily be hacked :P
if(this.signature != "") { MessageBox.Show("This is my signature: " + Environment.NewLine + signature); } else { MessageBox.Show("404-Signature not found"); }
-
No mate. It isn't 'old' C++ or any kind of C++. Printf is C.
-
I see why most c programs can easily be hacked :P
if(this.signature != "") { MessageBox.Show("This is my signature: " + Environment.NewLine + signature); } else { MessageBox.Show("404-Signature not found"); }
HobbyProggy wrote:
I see why most c programs can easily be hacked
I would say, that is not a very valid argument. Any program can be easily hacked if the programer doesn't take the needed counter messures
M.D.V. ;) If something has a solution... Why do we have to worry about?. If it has no solution... For what reason do we have to worry about? Help me to understand what I'm saying, and I'll explain it better to you Rating helpful answers is nice, but saying thanks can be even nicer.
-
HobbyProggy wrote:
I see why most c programs can easily be hacked
I would say, that is not a very valid argument. Any program can be easily hacked if the programer doesn't take the needed counter messures
M.D.V. ;) If something has a solution... Why do we have to worry about?. If it has no solution... For what reason do we have to worry about? Help me to understand what I'm saying, and I'll explain it better to you Rating helpful answers is nice, but saying thanks can be even nicer.
That is correct, but i think it's an addition to my comment not a rework :)
if(this.signature != "") { MessageBox.Show("This is my signature: " + Environment.NewLine + signature); } else { MessageBox.Show("404-Signature not found"); }
-
No mate. It isn't 'old' C++ or any kind of C++. Printf is C.
Yo mama so fat she uses printf
-
Yo mama so fat she uses printf
I don't always printf but when I do I print "f"
-
HobbyProggy wrote:
I see why most c programs can easily be hacked
I would say, that is not a very valid argument. Any program can be easily hacked if the programer doesn't take the needed counter messures
M.D.V. ;) If something has a solution... Why do we have to worry about?. If it has no solution... For what reason do we have to worry about? Help me to understand what I'm saying, and I'll explain it better to you Rating helpful answers is nice, but saying thanks can be even nicer.
I'm not so sure - ever tried hacking Ada? You have to break Ada to make it hackable (With unchecked_conversion)!
Life is like a s**t sandwich; the more bread you have, the less s**t you eat.
-
I'm not so sure - ever tried hacking Ada? You have to break Ada to make it hackable (With unchecked_conversion)!
Life is like a s**t sandwich; the more bread you have, the less s**t you eat.
I remember Ada. She used to make a nice cheese and tomato sandwich.
-
I remember Ada. She used to make a nice cheese and tomato sandwich.
... and a luvverly cuppa
Life is like a s**t sandwich; the more bread you have, the less s**t you eat.
-
No mate. It isn't 'old' C++ or any kind of C++. Printf is C.
Which is a subset of C++.
-
I'm not so sure - ever tried hacking Ada? You have to break Ada to make it hackable (With unchecked_conversion)!
Life is like a s**t sandwich; the more bread you have, the less s**t you eat.
Ada Hacked!? I had enough trouble getting to compile :wtf:
-
Ada Hacked!? I had enough trouble getting to compile :wtf:
All that rigour comes at an expense! ;)
Life is like a s**t sandwich; the more bread you have, the less s**t you eat.
-
Which is a subset of C++.
Well, sure. But if some geezer is going to go on a MS site and waffle about printf he needs to be accurate. Incidentally, gcc natively does c. Typically I've had to add g++ for c++, so they are distinct.