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
Other

C++ language

Rating
-
Sold
-
Pages
12
Uploaded on
07-03-2023
Written in
2022/2023

C++ computer language basic information include in this notes

Institution
Course

Content preview

hello everyone and welcome back

in the previous lecture we have seen the

introduction to c plus plus programming

and in this lecture we are going to

learn about how to write a simple

c plus program so there are many things

that are there that we need to know

about

while coding in c plus so here in this

lecture we will study about the very

basics and we will see what are the

main or the basic things that are there

that we need to know in writing a simple

c

plus plus program okay so let's get

started so coming to writing a simple c

plus plus program

the first thing that we need to know is

about functions

now let's see what is a function every c

plus plus program contains one or more

functions one of which must be named

main

now if you're new to programming you may

not know what is the meaning of function

but if you already have some idea about

programming then you may know what a

function is so we are going to study

about detail in function in the coming

lectures but for now

, just understand that function is nothing

but it's a block of code

that is going to perform some operation

okay so every program in c

plus must contain at least one function

and

one of the function must be named main

so this is very important the main

function

is one of the most important functions

and the operating system

runs a c plus program by calling me

so whenever you run a c plus plus

program the first function that is going

to be called

is the main function so from the name

itself just try to understand

what is mean main means it is a main

thing so the main function is going to

be called

first whenever we run a program in c

plus plus okay so keeping that in mind

let us see the structure of a main

function

how it looks like and what are the

things it contains so here we see

a simple version of main that does

nothing but

return a value to the operating system

Connected book

Written for

Institution
Course

Document information

Uploaded on
March 7, 2023
Number of pages
12
Written in
2022/2023
Type
OTHER
Person
Unknown

Subjects

$20.69
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
Ebookerij

Get to know the seller

Seller avatar
Ebookerij Manu vatika school
Follow You need to be logged in order to follow users or courses
Sold
-
Member since
3 year
Number of followers
0
Documents
1
Last sold
-

0.0

0 reviews

5
0
4
0
3
0
2
0
1
0

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

Working on your references?

Create accurate citations in APA, MLA and Harvard with our free citation generator.

Working on your references?

Frequently asked questions