Skip to main content

C++ Program ( Try it)

C++ Program

C++ इनस्टॉल करने के बाद मई आपको एक example से समझाना चहता हु तो आप इसके देखे और सीखे |... 

Before starting the abcd of C++ language, you need to learn how to write, compile and run the first C++ program.

To write the first C++ program, open the C++ console and write the following code:



  1. #include <iostream.h>  
  2. #include<conio.h>  
  3. void main()
  4.  {  
  5.    clrscr();  
  6.    cout << "Welcome to Onkareshwar Saraswati Vidya Niketan 
  7. Inter College";   
  8.    getch();  
  9. }  

#include<iostream.h> includes the standard input output(स्टैण्डर्ड इनपुट आउटपुट ) library functions. 

It provides cin and cout methods for reading from input and writing to output respectively.

Comments

Popular posts from this blog

Memory Hierarchy

Memory Hierarchy A memory unit is an essential component in any digital computer since it is needed for storing programs and data. Typically, a memory unit can be classified into two categories: The memory unit that establishes direct communication with the CPU is called  Main Memory . The main memory is often referred to as RAM (Random Access Memory). The memory units that provide backup storage are called  Auxiliary Memory . For instance, magnetic disks and magnetic tapes are the most commonly used auxiliary memories. Apart from the basic classifications of a memory unit, the memory hierarchy consists all of the storage devices available in a computer system ranging from the slow but high-capacity auxiliary memory to relatively faster main memory. The following image illustrates the components in a typical memory hierarchy. Auxiliary Memory Auxiliary memory is known as the lowest-cost, highest-capacity and slowest-access storage in a computer system. Auxiliar

Objective Question of Computer Networking

  1.    Choose the correct meaning of the Greek word ‘tele’ in       context of telecommunication. A.   Near B.   Far C.   Never D.   Always   2.    Find the correct term used for the standards that have       been legislated by an officially recognized body.    A.   De jure B.   De facto C.   User standards D.   Channel standards   3.    Which agency developed standards for physical       connection interfaces and electronic signaling       specifications?      A.    ISO B.    ITU C.    ANSI D.    EIA   4.     Find full form of ANSI. A.    American Network Signal Institute B.    American National Signal Institute C.    American National Standards Institute D.    American Network Standards Institute   5.    Select the correct option to complete the following       statement.       The __________ defines the characteristics of the       interface between the devices and the transmission       medium. A.    Transport layer