National Institute of Standards and Technology
Package illustrating a test case

Test case 1489

Description

Extracting characters using the field width member. Ensure that the operator>> will not extract more thant 12 characters.
From "Secure Coding in C and C++" by Robert C. Seacord.
Page 29, Figure 2-5

Have any comments on this test case? Please, send us an email.