Giter VIP home page Giter VIP logo

cpp's Introduction

CPP Programs

1. Constructor & Destructor

  • basic-flow.cpp : Basic Constructor & Destructor Calling
  • copy_constructor.cpp : Copy Constructor

2. Exception Handling

  • 1.cpp : throw a division by zero error

3. File Handling

  • 1.cpp : Single line read and write in a file.
  • 2.cpp : Multi line read and write in a file.

4. Input Ouput : Basic input output in C++

  • input_output.cpp : Input & Ouput using C & C++ using namespace std at top
  • input_output.cpp : Input & Ouput using C & C++ without using namespace std at top

5. Operator Overloading

  • Unary Minus Operator
  • Unary Plus Operator
  • Binary Minus (Subtraction)
  • Binary Plus (Addition)
  • Increment Operator (prefix & postfix)
  • Decrement Operator (prefix & postfix)
  • Shift Operator (left shift (<<) & right shift (>>) )
  • Subscript Operator ([])
  • cin Overload
  • cout Overload

6. Other-Porgrams

  • remove-trailing-zeroes : To remove trailing zeroes from string

7. STL : Standard Template Library

  • algortihm/sort.cpp : To sort an array in ascening & descending order using STL, sort function.
  • algortihm/reverse.cpp : To reverse an array using STL, reverse function.
  • container/vector.cpp : To implement int array using vector.

cpp's People

Contributors

ashish2-8 avatar prakhargvp avatar

Stargazers

 avatar

Watchers

 avatar  avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.