CS246 Lecture Notes - Lecture 15: Data File, Null Pointer, Stack-Based Memory Allocation

117 views43 pages

Document Summary

#include int main() { // main can return int or void, default return is 0 printf( hello world\n ); return 0; #include // stdio. h is still available but not preferred using namespace std; // lets you say cout/endl instead of std::cout and std::endl int main() { // main must return int, default return is 0. <> get from (input)

Get access

Grade+
$40 USD/m
Billed monthly
Grade+
Homework Help
Study Guides
Textbook Solutions
Class Notes
Textbook Notes
Booster Class
10 Verified Answers
Class+
$30 USD/m
Billed monthly
Class+
Homework Help
Study Guides
Textbook Solutions
Class Notes
Textbook Notes
Booster Class
7 Verified Answers

Related Documents

Related Questions