Written by students who passed Immediately available after payment Read online or as PDF Wrong document? Swap it for free 4.6 TrustPilot
logo-home
Summary

Summary Want to learn programming

Rating
-
Sold
-
Pages
20
Uploaded on
21-08-2022
Written in
2021/2022

Easily explained algorithms and problem solving techniques and basic c++ terms.

Institution
Course

Content preview

CS118 –
Programming
Fundamentals
Lecture # 04

Spring 2022


Ms. Aysha
Ashraf

, Basics of a Typical C++
9 Program
Environment … object
 Standard output stream
 std::cout
 “Connected” to screen
 <<
 Stream insertion operator
 Value to right (right operand) inserted into output stream
 Namespace
 std:: specifies that entity belongs to “namespace”
using binary scope resolution operator(::)
 std:: removed through use of using statements
 Escape characters: \
 Indicates “special” character output

CS 118 - FALL
2020

, Hello
1
0
World++
/ / Hell o Worl d comment
p rogram
#include <iostream> Allows access to an I/O
library

i n t main ( ) { Starts definition of special
function main()

s t d : : c o u t << " H e l l o World\ n" ;
output (print) a
string
r e t urn 0 ;
} Program returns a status
code (0 means OK)

CS 118 - FALL
2020

Written for

Institution
Course

Document information

Uploaded on
August 21, 2022
Number of pages
20
Written in
2021/2022
Type
SUMMARY

Subjects

$9.39
Get access to the full document:

Wrong document? Swap it for free Within 14 days of purchase and before downloading, you can choose a different document. You can simply spend the amount again.
Written by students who passed
Immediately available after payment
Read online or as PDF

Get to know the seller
Seller avatar
malika1

Get to know the seller

Seller avatar
malika1 Riphah international university
Follow You need to be logged in order to follow users or courses
Sold
-
Member since
3 year
Number of followers
0
Documents
11
Last sold
-

0.0

0 reviews

5
0
4
0
3
0
2
0
1
0

Trending documents

Recently viewed by you

Why students choose Stuvia

Created by fellow students, verified by reviews

Quality you can trust: written by students who passed their tests and reviewed by others who've used these notes.

Didn't get what you expected? Choose another document

No worries! You can instantly pick a different document that better fits what you're looking for.

Pay as you like, start learning right away

No subscription, no commitments. Pay the way you're used to via credit card and download your PDF document instantly.

Student with book image

“Bought, downloaded, and aced it. It really can be that simple.”

Alisha Student

Frequently asked questions