PhotoElectricChefs
  • Shifted
  • Home
  • FHM
  • Tutorials
    • Home Made PCB (DIY)
    • ARM Tutorials>
      • Introduction
      • The Arduino style of programming
      • C++ Programming
      • Implementation
      • Your First Program
      • Compiling & Uploading
      • STM STUDIO
      • Acknowledgements
    • AVR Tutorials>
      • Introduction
      • Getting Started
    • Arduino Tutorials>
      • Getting Started -Installation
      • Hello world Program - LED Blink
      • Button Interface - Digital Input
      • Fading LED - Analog output
      • Communication -Serial
      • Digital Voltmeter - Analog Input
  • Electronics -An Idea
    • Batteries
    • Voltage and Current dividers
  • Blog
  • Contact Us
  • Untitled
For those who are not comfortable with C++ programming, here’s a small intro to club your existing C knowledge to C++.

There are two main things that enable better usage in programming with respect to C++.


    1. Variables can be initialized anywhere in the code : Unline C, in C++, inside a function, variables can be initialized after any statement and comes into effect only after being initialized. This makes programming a little easier.

    2. Use of the class operator : C++ gives access to the class operator. This is somewhat similar to C structures but gives a better understanding while programming.

Though C++ is not required for programming here, it is nice to know that sometimes life can be easier :D.


Previous
Next
Powered by Create your own unique website with customizable templates.