Programming Concepts



                (1)        Meaning of # in programming 

In programming, the ( 
# ) symbol is called a hash or pound sign. It is used in various programming languages for different purposes. In Python, for example, it is used to indicate a comment. A comment is a line of code that is not executed by the computer but is used to explain the code to the programmer or anyone who reads the code. In HTML, the # symbol is used to indicate an anchor tag or a hyperlink.


                (2)                   #include

In C++, the #include directive is used to include a file in the source code. The file can be a header file or a source file. When the preprocessor encounters an #include directive, it replaces the directive with the contents of the specified file.


                (3)                  Iostream 

In C++, iostream is a header file that provides input and output functionality using streams. A stream is a sequence of bytes.

  

 

  Object  Description
  cin  Standard       input stream   (object)
  coutStandard output stream (object)
  cerrStandard output stream for errors (object)
  clogStandard output stream for logging (object)




                            (4)  Compilers


A compiler is a program that takes in source code written in one language (called the source language) and returns source code written in another language (called the target language).

                                  

 






Popular posts from this blog

C++ Tools

Variable Naming Rules C++

C++ elements