Giter Club home page Giter Club logo

cpp-programs's Introduction

C++ programs

Contents of the repository.

1. Intro to C++:

Hello

A starter program that says hello to the user based on the user's name.

Pizza

A program that returns the total amount for an order of pizza with user-defined values.

Conditionals

Simple example of conditionals in C++, given user-defined integers.

Functions

Finds the maximum value of 4 integers.

Pointer

Modifies values in memory. Update function returns sum and absolute difference of two integers.

Reverse array

Reverses a user-generated array of integers.

Dynamic array

Locates integers in a user-defined number of variable-length arrays.

2. Strings

Strings Intro

Intro to the C++ string class. Swaps first letters of two strings.

StringStream

Input a line of comma-separated integers, for example (23, 81, 488), and return a vector of parsed integers.

Attr_parser

Parses user-defined source code and queries. Returns attributes of various, user-defined tags.

3. STL

Vector-Sort

Sorting a user-defined vector of integers.

Map STL

Maps students and grades, then queries them.

Classes

Structs

Creates a student struct.

Student Class

Creates a class Student.

Classes and Objects.

Creates a Student class that holds test scores. Compares scores for given student.

cpp-programs's People

Contributors

jsacco1 avatar

Watchers

James Cloos 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.