18 March, 2012

Introduction Of The Blog

Dear Friends,
                       My Name Is Vipul S. Jadhav & I'm A Computer Engineering's Student. Wel-Come & Thank You For Visiting This 'Blog'.
                       A Programmer Should Always Think Him/Her-Self As A 'Student', Cause Programming Is A Very Vast Field. It's Not Just Difficult But Also Impossible To Determine The Domain Of It. And That's Why, One Has To Be[Always] In Learning Mode.And This Very Logic Inspired Me To Bring My Thought Into Reality.
                       The Basic Reason Behind Starting This Blog Is To Provide The Top Most Frequently Asked Programs of 'C' & 'C++' Programming Languages.This Blog Is A Practical Coverage Of The Complete Features Of 'C' & 'C++' Languages. This Blog Provides A Range Of Programs To The Learners To Understand & Practice The Language. It Also Fulfills The Academic Need Of A Practical Book In C & C++.
                      Based On Practical Approach This Blog Features Algorithms For Important & Essential Programs, & Hence Makes It An Ideal Companion For Programmers & Students. It Consists Of Wide Variety Of Programs, Which Ranges From Simple Programs, Functions, Objects, Operator Overloading, Polymorphism, Files, Graphics, Strings Operations, Searching & Sorting Techniques, Matrix Operations, Stacks, Queues, Single & Doubly Linked List, Trees, Mini-Projects & Character/Strings/Numerical Designs, Etc.
                      All These Following Programs Would Be Beneficial To All Those Who [Learners] Are Trying To Learn, Understand & Explore These 'Two' Languages [Such As : Beginners, Students : College/UG/PG]. This Blog Will Also Be Helpful To Tutors, Teachers, Lecturers Who Teaches [Or Wants To Teach] The Programming To The Students At Different Hierarchy Levels.
                     All The Following Programs Are Well Verified, Compiled & Tested. So I Hope You Would Like My Initiation As Well As My Blog.
                     Reader's Suggestion Are Most Welcome In Improving This Blog Further.

Please Visit The Following Articles Of This Blog Before Proceeding Further.
These Links Will Be Beneficial For You & Will Guide You For Better Understanding Of The 'C' & 'C++' Language.
                    
So Let's Start With The Introduction :
  • What Is 'C++'?
          The 'C++' Programming Language Is A Superset Of  The C Programming Language. It Introduces Some  New Language Features, Which Are New To C.
          C++ Was Developed By 'Bjarne Stroutrup' At The AT&T's Lab. Initial Version Was Called As 'C With Classes'. The Name C++ Was Suggested By 'Rick Mascitti' & Was 1st Used In December 1983.
          The Current Definition Of C++ Is The ISO C++ Standard [3rd Edition].
          To Become A Good C++ Programmer It Is Important To learn The Structural Style Of Programming & Functional Way Of Thinking.

          So Let's Start Our Programming Task With The Simple Turbo C++ 3.0 Compiler Installation On To The Machine.
  # Note : This Task Is Particularly Mentioned For Beginners.



Following Is A Video Which Will Guide You Through The Compiler Installation Process.




Hope You Succeed In Installation Process. From Next Post Onwards I'll Start Posting The Programs In 'C' & 'C++'. Till Then Have A Great Time.

Now Let Us Learn More About Turbo C++ Compiler :

  • What Is Compiler ?
          'Compiler' Is A Program That Translates The High-level Language Program Into The Detailed Set Of Machine Language Instructions The Computer Requires.
          It Is Also Known As 'Integrated Development Environment' i.e. IDE.
          The Turbo C++ IDE Is Used For Editing, Compiling, Debugging, & Optimizing Features. It Is A Software Or Program Which Is Used By A Programmer To Develop & Modify His/Her Program.

Following Is The Window Of  Turbo C++ IDE :


It Contains The Following Menus & Sub-menus :

File : New, Open, Save, Save As, Change dir, DOS Shell, Quit.

Edit : Undo, Redo, Cut, Copy, Paste, Clear, Show Clipboard.

Search : Find, Go To Line Number, Previous Error, Next Error.

Run : Run.

Compile : Compile, Link, Information, Remove Messages.

Options : Directories, Environment.

Window : Size / Move, Zoom, Tile, Cascade, Next, Close, Close All Messages, Output, User Screen. 

Following Are The Steps To Write, Develop & Execute A Program In 'C' & 'C++'  :

1. Creating The Program i.e. Typing It In Compiler.
2. Save The Program. [ Sample.c\Sample.cpp ]
3. Compile The Program. [ Sample.obj ]
4. Link The Program. [ Sample.exe ]
5. Execute The Program.

Just Remember : The Following Points In Order To Become A Good Programmer :

  • Every Program Require & Has A 'main()' Function.
  • Use Of More Than One 'main()' Is Illegal.
  • Use Uniform Notation Throughout Your Code i.e. Hungarian Notation.
  • Every Program [ Executable ] Statement Should End With A Semi-Colon.
  • All Variables Must Be Declared With Their Data Types Before They Are Used.
  • Make Sure You Include Standard Header Files @ Start Of Program.
  • When Braces Are Used To Group The Statements, Make Sure That The Opening Brace Has A Corresponding Closing Brace.
  • A Comment Can Be Inserted Almost Anywhere A Space Can Appear. Use Of Appr. Comments In Proper Places Increases Readability & Understandability Of The Program & Helps User In Debugging & Testing. 




No comments:

Post a Comment

Subscribe To:

Most Commonly Asked Programs In 'C' & 'C++' Language.