Forgot your password?
typodupeerror

Comment Re:No - there are plenty of safer alternatives (Score 4, Informative) 486

There's nothing unsafe about printf (since compilers started doing format type checking), as long as you don't use user input as the format string. To print user input, you use printf("%s", user_input).

%n writes to the stack. It's disabled by default in VS2005 onwards. More at http://weblogs.asp.net/george_v_reilly/archive/2007/02/06/printf-n.aspx and http://julianor.tripod.com/bc/formatstring-1.2.pdf

Comment Re:Yes, but is it better than emacs?? (Score 1) 419

I wonder if any of the VIM developers use emacs to develop VIM. :)

I wrote most of the Win32 console-mode port of Vim that appeared in Vim 4.x, back in 1995-96. My dirty little secret is that I did most of the work using Emacs' Viper mode. At the time, I found Vim to be too rudimentary for serious development work. I have long since completely abandoned Emacs (I never got beyond 19.34), and I use Vim for almost everything.

Slashdot Top Deals

"I just want to be a good engineer." -- Steve Wozniak, co-founder of Apple Computer, concluding his keynote speech at the 1988 AppleFest

Working...