Introduction to "C" Programming, - Ocean of Programming

Saturday 22 April 2017

Introduction to "C" Programming,

              C is a powerful general-purpose programming language. It is fast, portable and available on all platforms.
            C is a programming language developed at AT & T's Bell Laboratories of the USA  in 1972. It is designed and written by a man Dennis Ritchie in between 1969 and 1973. It becomes popular it's reliable, simple and easy to use. C language suitable for system programmings like an operating system or compiler development.
             Nobody can learn C#, C++ or Java directly. C language has some basic elements like classes, polymorphism, exception handling, etc. One should learn all the language elements.  The popular operating systems like Windows, Linux, Unix are also written n C.
               The C programming language is the middle-level language. Some say C is high-level language and some says C is a low-level language. The actual fact is that the C is low-level language in comparison with the Java, .net etc and it is high-level language in comparison with the assembly language. It is in between high level and low level.

Let's Start With C Programming

          For writing C code the compiler is necessary. The various compilers are available on the internet. Some compilers are available online also. Some compilers are like Code Block, Eclipse, Dev-Cpp also available. I strongly recommend you to use Code Block for windows.
             On the other hand in Linux the Vim editor is best for C programming, I am also using Vim editor for C programming.If Vim editor is not working properly on Linux then it may need some packages to be download. To download the package open the terminal and write the command sudo apt-get install vim then press enter first it will ask for the password and then it checks for needed packages and asks for download and installs then press Y. It will automatically download and install all the packages. Code Block is also available for Linux. The output is

Let's Take Simple Program of C

#include <stdio.h>
int main(void)
{
    printf("Ocean of Programming\n");
    return 0;
}
The output is

        Please feel free to comment if you find anything incorrect or you want to share more information about the topic discussed above.


              

4 comments:

  1. I came to this blog and it helped me to add few new points to my knowledge. Actually, I am trying to learn new thing wherever I find. Impressive written blog and valuable information shared here.รับแปลภาษา

    ReplyDelete
    Replies
    1. Thank you for your valuable response. If you like then share with your friends.

      Delete
  2. This comment has been removed by a blog administrator.

    ReplyDelete
  3. This comment has been removed by a blog administrator.

    ReplyDelete