Skip to main content

Getting Started with C++

Upper case can only be used for identifiers. They should be unique in program but same name identifier in upper case and lower case are same.

Reserve words have to be used in context of their predefined meanings and cannot be used as identifier.

Each C++ function should have main functions because it is the first function
Group of 4 bits is null
Normalization is a process in which decimal point is shifted from its place to and shifted to most non significant non zero that mantissa x with base of number system and raised to powers required no. which is known as exponent. This is a general, used in representing real nos. in the computers.

The Sequence of directories name separated by a path separator in order to access a file or direct a path name can also include the drive and direct and subsequent directories needed to read the file.
Switches - Change the Output
X. XLS
Library *
M*i
<<<<<<<< .................... >>>>>>

Sum of First 5 Natural Numbers

10 a = 1
20 b = 2
30 c = 3
40 d= 4
50 e= 5
60 S = a+b+b+c+d+e
70 Print S

<<<<<<<< .......................... >>>>>>>>>>>

Square of Cube of any given number

10 a = 2
20 S = a*a
30 c = a*a*a
40 Print S, c

<<<<<<<< ............ >>>>>>>>>

Program to know which is greater
1) Read a
2) If a = 10
Print 'Yes you are right"
+. -. *,/, %
Write an alorthim
Find No, in postive or negative
odd and even

1. Read a
2. If a > = 0
Print
"It is positive"
else
print "It is negative"

Comments

Also read

Why do we crave bookshops when life falls apart? A deep reading of Welcome to the Hyunam-dong Bookshop

This article reflects on Welcome to the Hyunam-dong Bookshop by Hwang Bo-reum, a gentle novel about burnout, healing, and second chances. Through Yeong-ju and her quiet community, the book reminds you that meaning often returns slowly, through books, people, and ordinary days that begin to feel like home again. Why do so many of us secretly dream of walking away from everything? At some point, usually on a crowded weekday morning or during yet another meeting that could have been an email, you wonder if this is all there is. You did what you were told. You studied, worked hard, built a career, stayed responsible. And yet, instead of contentment, there is exhaustion. Welcome to the Hyunam-dong Bookshop begins exactly at this uncomfortable truth. Hwang Bo-reum’s novel does not shout its intentions. It does not promise transformation through grand revelations. Instead, it sits beside you quietly and asks a gentler question. What if the problem is not that you failed, but that you nev...

What if You Could undo every regret? An uncomfortable conversation with The Midnight Library

Have you ever replayed your life at night, wondering how things might have turned out differently? The Midnight Library by Matt Haig asks you to sit with that question. Through Nora Seed’s quiet despair and imagined alternatives, the novel explores regret, possibility, depression, and the fragile hope that living at all might be enough. Have you ever wondered if one different choice could have changed everything? You probably have. Most people do. Usually at night. Usually when the world goes quiet and your mind decides to reopen old files you never asked it to keep. The job you did not take. The person you loved too late or too briefly. The version of yourself that felt possible once. You tell yourself that if you had chosen differently, life would feel fuller, cleaner, less heavy. The Midnight Library begins exactly there, in that familiar ache. Not with drama, but with exhaustion. Not with chaos, but with a woman who feels she has quietly failed at everything that mattered. Mat...

Debate : Do the ends justify the means...

Note : Give it all a fair thought before you jot down... Flaming and religion-bashing will not be tolerated. Your participation is gladly appreciated. I dunno if you folks remember this incident; a couple of yrs back, the UPSC exam had a question where the emainee had to assert his views on *revolutionary terrorism* initiated by Bhagat Singh. As is typical of the government, hue and cry was not far behind... Anyway, let us look at some facts -   Bhagat Singh was an atheist, considered to be one of the earliest Marxist in India and in line with hi thinking, he renamed the Hindustan Republican Party and called it the Hindustan Socialist Revolutionary Party. Bhagat Finally, awaiting his own execution for the murder of Saunders, Bhagat Singh at the young age of 24 studied Marxism thoroughly and wrote a profound pamphlet “Why I am an Atheist.” which is an ideological statement in itself. The circumstances of his death and execution are worth recounting. Although, Bhagat Singh had a...