Posts

Showing posts from January, 2018

Simple Arithmetic Programs In C

Image
I'll be posting C Programs with basic integral addition and subtraction as possible and for more understanding you can leave a comment below. 1.  C Program to Add two Integers..                    #include  <stdio.h>                    // for scanf and printf function                #include <conio.h>                  // for clrscr() and getch()                main()                {                    clrscr();                             // to clear the output screen                    int a,b,add;                       // initializing 3 variable two for storing input and one for output                    printf("\n Enter First Integer value");  // printing for user to understand the input                    scanf("%d",&a);    // taking first integer value input                    printf("\n Enter Second integer value");                     scanf("%d",&b);   // taking second integer input                

Structure Of A C Program

Image
I've already given a quick intro on C Programming and without any further delay Let's understand the structure of a C Program or the Basic Components which makes up a C Program. Click to check the last Post →                         Structure Of A C Program  A C Program is composed of various components which includes- Preprocessor  Commands( include,define. ) A Global Variable Section ( a variable with Global Scope) One/ More Functions(Piece of Code Performing the required job)                                                Hello World (First C Program  ----Use an IDE such as Turbo C++ and write the following codes.                                         #include      //  or can use #include"stdio.h"                                                    int main()                                                   {                                                      printf("\n HELLO WORLD");                                    

Introduction To C

Image
As I've already indicated in the previous post that C Language is the best for those who wants to give coding a good start.    So, I'm going to give you'll an overview of C Language . Note:- It doesn't matter which Language you choose, matters the Algorithm behind solving a specific Problem.                                                    -----   Intro To C  ---- C is a general-purpose language which has been closely associated with the UNIX operating system for which it was developed  since the system and most of the programs that run it are written in C . Many of the important ideas of C stem from the language BCPL , developed by Martin Richards. The influence of BCPL on C proceeded indirectly through the language B, which was written by Ken Thompson in 1970 at Bell Labs, for the first UNIX system on a DEC PDP-7. BCPL and B are "type less" languages whereas C provides a variety of data types. In 1972 Dennis Ritchie at Bell

Steps To Learn Coding

Image
In the previous post I've already explained why coding is necessary, if you have missed it click here→ Why Coding So, PROGRAMMING is today's passion, a spree of coding gives you never ending opportunity in this IT World. The most important skill anyone can pick to assure a better future and not to lag behind Time. Let me keep it simple on → ......Steps To Learn Coding...... 1. Ask yourself why? → (Reason to give a way to coding language) 2. Choose the best language fit to above mentioned Question. 3. Start from scrap.   →     ( Small steps, Hello World)  4. Get some free PDF’s available online.     ( You can find anything on google) 5. Once trained with starters, Get some Book. (Amazon will help you.Place an order) 6. Get a trainer.     →(I mean Help either online stuffs OR A Teacher) 7. Take A Course  →( B.Tech with CSE. ,[BCA+MCA], [BSc + MSc with Computer Science]) 8.. Take Coding Game Challenges.   →(CodeCombat & CodinGame two sites

Why Codes.

Image
                   ..........Reason To Code & Scope Of Coding......... Ever tired to understand How does a Phone works or A computer, calculators, Televisions (smart ones) or any other such devices you ever witnessed of  and if you never did, Let me ask you HOW ?           Let's go through this diagram and understand the two main components of a Device Components of A device          I'll definitely talk about software (Which is the non tangible portion of any device working).. Softwares         It can be termed as instructions for the hardware, the data components and other functionality built is all dependent on Software. Today's software is all based on real world concept. You might have heard about the OOP's Concept of programming languages.        So, it's where we coders code and bring out all real world problems in this virtual world to solve it efficiently. Coding is not always about creating software or depicting pro