CS246 Lecture Notes - Lecture 5: A.Out, Readwrite, Standard Streams

56 views5 pages

Document Summary

#!/bin/bash! for name in *. cpp; do! mv cc! public test on a correct program! release test on buggy programs! Marmoset will run your test suite! black box testing! white box testing! Within a function: cover different control ow, code coverage! Boundaries: between ranges (edge cases)! multiple simultaneous boundaries (corner cases)! New code does not break old code ! #!/bin/bash! x=0! for word in : do! if [ = ]; then // good idea to put invariables in double quotes! done! echo ! x=1! #include ! using namespace std;! int main(){! count << hello world << endl;! return 0;! header ! std : : cout << ___ << ____ << ! std : : endl // end of line! In c++ the main function must describe a return type of int! Stdio. h of printf are still available in c++ (forbidden)!

Get access

Grade+20% off
$8 USD/m$10 USD/m
Billed $96 USD annually
Grade+
Homework Help
Study Guides
Textbook Solutions
Class Notes
Textbook Notes
Booster Class
40 Verified Answers
Class+
$8 USD/m
Billed $96 USD annually
Class+
Homework Help
Study Guides
Textbook Solutions
Class Notes
Textbook Notes
Booster Class
30 Verified Answers

Related Documents