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

Cutting people off isn’t strength—It is a trauma response

Your ability to cut people off and self-isolate is not a skill you should be proud of—It is a trauma response Cutting people off and self-isolating may feel like a protective shield, but it is often rooted in unresolved or unhealed trauma and an inability to depend on others. While these behaviors seem like self-preservation, they end up reinforcing isolation and blocking meaningful connections. Confronting these patterns, seeking therapy, and nurturing supportive relationships can help break this unhealthy cycle. Plus, a simple act like planting a jasmine plant can symbolise the start of your journey towards emotional healing. Why do we cut people off and isolate? If you’re someone who prides themselves on “cutting people off” or keeping a tight circle, you might believe it’s a skill—a way to protect yourself from betrayal, hurt, or unnecessary drama. I get it. I’ve been there, too. But here’s the thing: this ability to isolate yourself is not as empowering as it may seem. In fact, i...

Epitome of equality

First of all This is not to demean any religion.. I am a Hindu by birth, but yes I respect all religions .I offer my daily prayers , fast on holy days , but there was something that was disturbing me . God as per me was a Friend, someone who was by my side always , someone who was a dear friend , but this is not what everyone else thought , for others he was the Judge who gives his verdict always and punishes anyone and everyone . Walk into any temple and you would see , if you have money , you will be treated in a way as if you are the ONLY disciple of the God . I have had too many experiences where I was treated as a second class citizen in the temple . Why? Well I could not afford giving thousands as donation. This is not how it should be , God looks at each one of us with the same divinity .As I mentioned God for me is a friend, so tell me, do we chose friends based on their bank balances? Do we give our verdict on them ? then how can God do it? I know many of us would ...

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...