Click here to Skip to main content
15,901,284 members

Welcome to the Lounge

   

For discussing anything related to a software developer's life but is not for programming questions. Got a programming question?

The Lounge is rated Safe For Work. If you're about to post something inappropriate for a shared office environment, then don't post it. No ads, no abuse, and no programming questions. Trolling, (political, climate, religious or whatever) will result in your account being removed.

 
GeneralRe: Why does printf_s exist? Pin
Brisingr Aerowing13-Jun-15 20:36
professionalBrisingr Aerowing13-Jun-15 20:36 
GeneralRe: Why does printf_s exist? Pin
Gary R. Wheeler14-Jun-15 1:25
Gary R. Wheeler14-Jun-15 1:25 
GeneralRe: Why does printf_s exist? Pin
Joe Woodbury14-Jun-15 12:43
professionalJoe Woodbury14-Jun-15 12:43 
GeneralRe: Why does printf_s exist? Pin
Gary R. Wheeler15-Jun-15 0:47
Gary R. Wheeler15-Jun-15 0:47 
GeneralRe: Why does printf_s exist? Pin
James Curran15-Jun-15 2:30
James Curran15-Jun-15 2:30 
GeneralRe: Why does printf_s exist? Pin
Joe Woodbury15-Jun-15 12:20
professionalJoe Woodbury15-Jun-15 12:20 
GeneralRe: Why does printf_s exist? Pin
James Curran15-Jun-15 12:46
James Curran15-Jun-15 12:46 
GeneralRe: Why does printf_s exist? Pin
patbob15-Jun-15 5:30
patbob15-Jun-15 5:30 
tomatopipps wrote:
The whole "uncontrolled format string" problem it's supposed to solve could be avoided by basic knowledge of what printf actually does.
Nope. Its needed because, despite knowing what printf actually does, people still get it wrong.

In my experience, a large percentage of C program crashes were precisely because of a mismatch in printf format strings and arguments, often in non-happy-case code paths that clearly were never tested.
We can program with only 1's, but if all you've got are zeros, you've got nothing.

GeneralRe: Why does printf_s exist? Pin
pschaeffer15-Jun-15 5:36
pschaeffer15-Jun-15 5:36 
GeneralRe: Why does printf_s exist? Pin
swampwiz20-Jun-15 13:17
swampwiz20-Jun-15 13:17 
GeneralInteresting Breakfast Pin
_Maxxx_13-Jun-15 2:18
professional_Maxxx_13-Jun-15 2:18 
GeneralRe: Interesting Breakfast Pin
Maximilien13-Jun-15 3:39
Maximilien13-Jun-15 3:39 
GeneralRe: Interesting Breakfast Pin
Eddy Vluggen13-Jun-15 12:05
professionalEddy Vluggen13-Jun-15 12:05 
GeneralRe: Interesting Breakfast Pin
Maximilien14-Jun-15 6:08
Maximilien14-Jun-15 6:08 
GeneralRe: Interesting Breakfast Pin
OriginalGriff13-Jun-15 4:27
mveOriginalGriff13-Jun-15 4:27 
GeneralRe: Interesting Breakfast Pin
Marc Clifton13-Jun-15 7:53
mvaMarc Clifton13-Jun-15 7:53 
GeneralInterstellar Hulk's DNA Pin
Afzaal Ahmad Zeeshan13-Jun-15 1:52
professionalAfzaal Ahmad Zeeshan13-Jun-15 1:52 
General"They" keep an eye on us Pin
Afzaal Ahmad Zeeshan13-Jun-15 1:43
professionalAfzaal Ahmad Zeeshan13-Jun-15 1:43 
JokeRiddle You This Pin
B. Clay Shannon13-Jun-15 1:42
professionalB. Clay Shannon13-Jun-15 1:42 
GeneralRe: Riddle You This Pin
OriginalGriff13-Jun-15 1:46
mveOriginalGriff13-Jun-15 1:46 
GeneralRe: Riddle You This Pin
B. Clay Shannon13-Jun-15 1:49
professionalB. Clay Shannon13-Jun-15 1:49 
GeneralRe: Riddle You This Pin
OriginalGriff13-Jun-15 1:52
mveOriginalGriff13-Jun-15 1:52 
GeneralRe: Riddle You This Pin
_Maxxx_13-Jun-15 1:57
professional_Maxxx_13-Jun-15 1:57 
GeneralRe: Riddle You This Pin
B. Clay Shannon13-Jun-15 1:58
professionalB. Clay Shannon13-Jun-15 1:58 
GeneralRe: Riddle You This Pin
Afzaal Ahmad Zeeshan13-Jun-15 2:00
professionalAfzaal Ahmad Zeeshan13-Jun-15 2:00 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.


Straw Poll

Were you affected by the geomagnetic storms this past weekend?
Communication disruptions, electrified pipes, random unexplained blue-screens in Windows - the list of effects is terrifying.
  Results   504 votes