repo_name
stringlengths
5
122
path
stringlengths
3
232
text
stringlengths
6
1.05M
Ziezi/Programming-Principles-and-Practice-Using-C-by-Bjarne-Stroustrup-
Visual Studio 2010/Projects/bjarneStroustrupC++PartI/object_oriented_examples/classesFundamentals/rectangleClassbeta.cpp
/* TITLE Area of rectangle rectangleClassbeta.cpp COMMENT Object: Set parameters and find the area of an rectangle. (Introdcution to classes) Input: - Output: It prints the area of an rectangle. Author: <NAME> Date: 10.10.2014 */ #include "StdAfx.h" ...
Ziezi/Programming-Principles-and-Practice-Using-C-by-Bjarne-Stroustrup-
Visual Studio 2010/Projects/bjarneStroustrupC++PartI/object_oriented_examples/testingPrograms/vect_temp.cpp
<reponame>Ziezi/Programming-Principles-and-Practice-Using-C-by-Bjarne-Stroustrup- /* TITLE Reading data into vector object vect_temp.cpp COMMENT Objective: Introduce vector objects and their member functions for number manipulations. Input: Requests a number. Output: Pri...
Ziezi/Programming-Principles-and-Practice-Using-C-by-Bjarne-Stroustrup-
Visual Studio 2010/Projects/bjarneStroustrupC++PartI/object_oriented_examples/testingPrograms/sqr_via_sum.cpp
/* TITLE Square function num_sq_rt.cpp Bjarne Stroustrup's "C++ Programming: Principles and Practice." COMMENT Objective: Introduction to functions: declaration, definition, call. Input: Requests a number. Output: It prints the squared of the input number....
Ziezi/Programming-Principles-and-Practice-Using-C-by-Bjarne-Stroustrup-
Visual Studio 2010/Projects/bjarneStroustrupC++PartI/object_oriented_examples/Chapter10Exercise6.cpp
<reponame>Ziezi/Programming-Principles-and-Practice-Using-C-by-Bjarne-Stroustrup-<gh_stars>1-10 /* TITLE Class Roman_int Chapter10Exercise6.cpp <NAME>ustrup "Programming: Principles and Practice Using C++" COMMENT Objective: Implement a class that represents a number as Roman. class Roman_int He...
Ziezi/Programming-Principles-and-Practice-Using-C-by-Bjarne-Stroustrup-
Visual Studio 2010/Projects/bjarneStroustrupC++PartII/bjarneStroustrupCFLTK/Chapter12Exercise2.cpp
<gh_stars>1-10 /* TITLE Rectangle and Text Chapter12Exercise2.cpp Bjarne Stroustrup "Programming: Principles and Practice Using C++" COMMENT Objective: Draw a rectangle using and place text within it. Input: - Output: Graph on screen. Author: <NAME> Date: 17. 08. 2015 */ #includ...
Ziezi/Programming-Principles-and-Practice-Using-C-by-Bjarne-Stroustrup-
Visual Studio 2010/Projects/bjarneStroustrupC++PartII/bjarneStroustrupCFLTK/Chapter12Exercise3.cpp
<reponame>Ziezi/Programming-Principles-and-Practice-Using-C-by-Bjarne-Stroustrup- /* TITLE Text Chapter12Exercise3.cpp Bjarne Stroustrup "Programming: Principles and Practice Using C++" COMMENT Objective: Draw text and manipulate its properties. Input: - Output: C.B.K (in different color...
Ziezi/Programming-Principles-and-Practice-Using-C-by-Bjarne-Stroustrup-
Visual Studio 2010/Projects/bjarneStroustrupC++PartII/bjarneStroustrupCFLTK/Chapter13Exercise18.cpp
<reponame>Ziezi/Programming-Principles-and-Practice-Using-C-by-Bjarne-Stroustrup- /* TITLE Regular Polygon Chapter13Exercise18.cpp "<NAME> "Programming Principles and Practices Using C++"" COMMENT Objective: Create a class RegularPolygon that instantiates an objects using as paremeters: ...
Ziezi/Programming-Principles-and-Practice-Using-C-by-Bjarne-Stroustrup-
Visual Studio 2010/Projects/bjarneStroustrupC++PartIV/bjarneStroustrupC++PartIV/Chapter24Drill3.cpp
<gh_stars>1-10 /* TITLE Print Elements of Matrix Chapter24Drill3.cpp COMMENT Objective: Print out the elements of the matrixes from the previous exercise. Input: - Output: - Author: <NAME> Date: 03.05.2017 */ #include <iostream> #include <iomanip> #include <limits> #include "Matrix...
Ziezi/Programming-Principles-and-Practice-Using-C-by-Bjarne-Stroustrup-
Visual Studio 2010/Projects/bjarneStroustrupC++PartII/bjarneStroustrupCFLTK/Chapter13Exercise11.cpp
<filename>Visual Studio 2010/Projects/bjarneStroustrupC++PartII/bjarneStroustrupCFLTK/Chapter13Exercise11.cpp /* TITLE Ellipse drawing Chapter13Exercise11.cpp "<NAME> "Programming Principles and Practices Using C++"" COMMENT Objective: Draw an ellipse 300 x 200 400 x-axis and 300 y-axis t...
Ziezi/Programming-Principles-and-Practice-Using-C-by-Bjarne-Stroustrup-
Visual Studio 2010/Projects/bjarneStroustrupC++PartII/bjarneStroustrupCFLTK/Chapter15Exercise10.cpp
<reponame>Ziezi/Programming-Principles-and-Practice-Using-C-by-Bjarne-Stroustrup-<gh_stars>1-10 /* TITLE Graphing data Chapter15Exercise10.cpp "<NAME>up "Programming Principles and Practices Using C++"" COMMENT Objective: What kind of data is unsuitable for line or bar graph, examples? Find a wa...
Ziezi/Programming-Principles-and-Practice-Using-C-by-Bjarne-Stroustrup-
Visual Studio 2010/Projects/bjarneStroustrupC++PartIV/bjarneStroustrupC++PartIV/Chapter23Exercise1.cpp
<gh_stars>1-10 /* TITLE Email file Chapter23Exercise1.cpp COMMENT Objective: Get the Mail_file example to run with file of your creation. Be sure to test with error-causing messages, such as: ones with two addresses, multiple messages with same addresses or same subject, and emp...
Ziezi/Programming-Principles-and-Practice-Using-C-by-Bjarne-Stroustrup-
Visual Studio 2010/Projects/bjarneStroustrupC++PartI/object_oriented_examples/Chapter5TryThis8.cpp
<reponame>Ziezi/Programming-Principles-and-Practice-Using-C-by-Bjarne-Stroustrup- /* TITLE Result Estimation Chapter5TryThis8.cpp Bjarne Stroustrup "Programming: Principles and Practice Using C++" COMMENT Objective: Calculate an approximate value for the result. Input: - Output: -...
Ziezi/Programming-Principles-and-Practice-Using-C-by-Bjarne-Stroustrup-
Visual Studio 2010/Projects/bjarneStroustrupC++PartII/bjarneStroustrupCFLTK/Chapter12Exercise6.cpp
/* TITLE Non-matching dimensions Chapter12Exercise6.cpp <NAME>up "Programming: Principles and Practice Using C++" COMMENT Objective: 1. Demonstrate an object not matching the size of the window. 2. Demonstrate a window not matching the size of the screen. Input: - Output: Graph on screen. ...
Ziezi/Programming-Principles-and-Practice-Using-C-by-Bjarne-Stroustrup-
Visual Studio 2010/Projects/bjarneStroustrupC++PartI/object_oriented_examples/Chapter4Exercise5.cpp
<gh_stars>1-10 /* TITLE Simple calculator Chapter4Exercise5.cpp Bjarne Stroustrup "Programming: Principles and Practice Using C++" COMMENT Objective: Implement basic-algebraic-funtion-calculator. (+,-,*,/,%) Input: Requests two usigned integers and operation. (using vect...
Ziezi/Programming-Principles-and-Practice-Using-C-by-Bjarne-Stroustrup-
Visual Studio 2010/Projects/bjarneStroustrupC++PartII/bjarneStroustrupCFLTK/Chapter15Drill1.cpp
/* TITLE Drill 1 Chapter15Drill1.cpp "<NAME> "Programming Principles and Practices Using C++"" COMMENT Objective: 1. Create an empty 600 x 600 Window object, labeled "Function Graphs". 2. Check FLTK installation details. 3. Include Graph.cpp and Window.cpp in the project. ...
Ziezi/Programming-Principles-and-Practice-Using-C-by-Bjarne-Stroustrup-
Visual Studio 2010/Projects/bjarneStroustrupC++PartI/object_oriented_examples/Chapter11Exercise14.cpp
/* TITLE Read, format and print numbers Chapter11Exercise14.cpp Bjarne Stroustrup "Programming: Principles and Practice Using C++" COMMENT Objective: Create a function that reads a file with whitespace-separated numbers and prints them in format: precision: 8, in four fields of 20 char...
Ziezi/Programming-Principles-and-Practice-Using-C-by-Bjarne-Stroustrup-
Visual Studio 2010/Projects/bjarneStroustrupC++PartII/bjarneStroustrupCFLTK/Chapter13Exercise9.cpp
<filename>Visual Studio 2010/Projects/bjarneStroustrupC++PartII/bjarneStroustrupCFLTK/Chapter13Exercise9.cpp /* TITLE Hexagons Chapter13Exercise9.cpp "<NAME> "Programming Principles and Practices Using C++"" COMMENT Objective: Tile a peace of the window with Hexagons, use at least 8. Output: ...
Ziezi/Programming-Principles-and-Practice-Using-C-by-Bjarne-Stroustrup-
Visual Studio 2010/Projects/bjarneStroustrupC++PartIII/bjarneStroustrupC++PartIII/Chapter19Exercise11v2.cpp
/* TITLE counted_ptr<T> Chapter19Exercise11.cpp "<NAME> "C++ Programming: Principles and Practice."" COMMENT Objcective: Design and implement a counted_ptr<T> that is a type that holds a pointer to an object of type T and a pointer to a "use count" (an int) shared by all counted pointer...
Ziezi/Programming-Principles-and-Practice-Using-C-by-Bjarne-Stroustrup-
Visual Studio 2010/Projects/bjarneStroustrupC++PartII/bjarneStroustrupCFLTK/Chapter14Exercise6.cpp
/* TITLE Stripped_Circle Chapter14Exercise6.cpp "<NAME> "Programming Principles and Practices Using C++"" COMMENT Objective: Define a class where the circle is "filled" by drawing varying-pixel-wide-spaced horizontal lines across the inside area. (Consider line width and spaci...
Ziezi/Programming-Principles-and-Practice-Using-C-by-Bjarne-Stroustrup-
Visual Studio 2010/Projects/bjarneStroustrupC++PartIII/bjarneStroustrupC++PartIII/Chapter19Exercise13.cpp
<reponame>Ziezi/Programming-Principles-and-Practice-Using-C-by-Bjarne-Stroustrup-<gh_stars>1-10 /* TITLE Tracer Chapter19Exercise13.cpp "<NAME>ustrup "C++ Programming: Principles and Practice."" COMMENT Objective: Write a Tracer class where its constructor and destructor prints a string. ...
Ziezi/Programming-Principles-and-Practice-Using-C-by-Bjarne-Stroustrup-
Visual Studio 2010/Projects/bjarneStroustrupC++PartIV/bjarneStroustrupC++PartIV/Chapter22Exercise15.cpp
/* TITLE Programming Language Chronology Chapter22Exercise15.cpp COMMENT Objective: Write a program that given a file with (name, year) pairs, such as (Algol, 1960) and (C, 1974), graphs the names on a timeline. Note: include .cpp files together with the source file of the included .h files belo...
Ziezi/Programming-Principles-and-Practice-Using-C-by-Bjarne-Stroustrup-
Visual Studio 2010/Projects/bjarneStroustrupC++PartII/bjarneStroustrupCFLTK/Chapter13Exercise12.cpp
<gh_stars>1-10 /* TITLE Cirlce drawing Chapter13Exercise12.cpp "<NAME> "Programming Principles and Practices Using C++"" COMMENT Objective: Draw a circle move a Mark around on the circle on every "Next" button click. Input: - Output: !!!window description not printed after ...
Ziezi/Programming-Principles-and-Practice-Using-C-by-Bjarne-Stroustrup-
Visual Studio 2010/Projects/bjarneStroustrupC++PartI/object_oriented_examples/Chapter11TryThis2.cpp
/* TITLE Input manipulators Chapter11TryThis2.cpp Bjarne Stroustrup "Programming: Principles and Practice Using C++" COMMENT Objective: Input & Output data in: decimal, hexadecimal and octal format. Input: 1234 4d2 2322 2322 // 1234 1234 1234 1234 Ouput: 1234 1234 1234 1234 ...
Ziezi/Programming-Principles-and-Practice-Using-C-by-Bjarne-Stroustrup-
Visual Studio 2010/Projects/bjarneStroustrupC++PartIV/bjarneStroustrupC++PartIV/Chapter26Exercise9.cpp
/* TITLE Text Output to Graph_lib Chapter26Exercise9.cpp COMMENT Objective: Add a text-based output format for the graphics interface library. For example, when a call Circle(Point(0,1),15) is executed, a string like: Circle(Point(0,1),15) should be produced on an output stream. Input:...
Ziezi/Programming-Principles-and-Practice-Using-C-by-Bjarne-Stroustrup-
Visual Studio 2010/Projects/bjarneStroustrupC++PartI/object_oriented_examples/Chapter9Exercise13.cpp
/* TITLE Class Rational Chapter9Exercise13.cpp Bjarne Stroustrup "Programming: Principles and Practice Using C++" COMMENT Objective: Implement a class Rational representing a rational number. Data members: Member functions: Overloaded operators: Helper Function: numerator...
Ziezi/Programming-Principles-and-Practice-Using-C-by-Bjarne-Stroustrup-
Visual Studio 2010/Projects/bjarneStroustrupC++PartI/object_oriented_examples/Chapter9Exercise3.cpp
/* TITLE Class name-age pairs Chapter9Exercise3.cpp Bjarne Stroustrup "Programming: Principles and Practice Using C++" COMMENT Objective: Implement a class Name_pairs: Data members: Member functions: Overloaded operator: string name, double age; read_names(); operator<< ...
Ziezi/Programming-Principles-and-Practice-Using-C-by-Bjarne-Stroustrup-
Visual Studio 2010/Projects/bjarneStroustrupC++PartII/bjarneStroustrupCFLTK/Chapter13Exercise1.cpp
/* TITLE Define class Arc Chapter13Exercise1.cpp "<NAME> "Programming Principles and Practices Using C++"" COMMENT Objective: Define a class Arc which draws a part of an ellipse. Use fltk library member: fl_arc(). Input: - Output: Author: 10.09.2015 Date: <NAME> */ #inc...
Ziezi/Programming-Principles-and-Practice-Using-C-by-Bjarne-Stroustrup-
Visual Studio 2010/Projects/bjarneStroustrupC++PartII/bjarneStroustrupCFLTK/Chapter15Exercise6.cpp
/* TITLE Bar Graph Chapter15Exercise6.cpp "<NAME> "Programming Principles and Practices Using C++"" COMMENT Objective: Design and implement a bar graph with basic data `std::vector<double>`. Each value is represented by a "bar"'s height. Input: - Output: - Author: 18.10.2015 ...
Ziezi/Programming-Principles-and-Practice-Using-C-by-Bjarne-Stroustrup-
Visual Studio 2010/Projects/bjarneStroustrupC++PartI/object_oriented_examples/Chapter6Exercise5.cpp
<reponame>Ziezi/Programming-Principles-and-Practice-Using-C-by-Bjarne-Stroustrup- /* TITLE English Language Grammar Chapter6Exercise5.cpp Bjarne Stroustrup "Programming: Principles and Practice Using C++" COMMENT Objective: Rework grammar from chapter 6.4.1 to include article "the". Input: - ...
Ziezi/Programming-Principles-and-Practice-Using-C-by-Bjarne-Stroustrup-
Visual Studio 2010/Projects/bjarneStroustrupC++PartIV/bjarneStroustrupC++PartIV/Chapter25Exercise8.cpp
/* TITLE Numerical values of keys Chapter25Exercise8.cpp COMMENT Objective: Write out the numerical values of each character on your keyboard. Output: - Author: <NAME> Date: 13.05.2017 */ #include <iostream> int main() { try { while (true) { int key = getchar(); if (i...
Ziezi/Programming-Principles-and-Practice-Using-C-by-Bjarne-Stroustrup-
Visual Studio 2010/Projects/bjarneStroustrupC++PartI/object_oriented_examples/Chapter9Exercise10.cpp
<reponame>Ziezi/Programming-Principles-and-Practice-Using-C-by-Bjarne-Stroustrup- /* TITLE Function leap year Chapter9Exercise10.cpp Bjarne Stroustrup "Programming: Principles and Practice Using C++" COMMENT Objective: Create a function that discerns leap from odrinary year. Input: - ...
Ziezi/Programming-Principles-and-Practice-Using-C-by-Bjarne-Stroustrup-
Visual Studio 2010/Projects/bjarneStroustrupC++PartIII/bjarneStroustrupC++PartIII/Chapter21Drill3.cpp
<reponame>Ziezi/Programming-Principles-and-Practice-Using-C-by-Bjarne-Stroustrup-<filename>Visual Studio 2010/Projects/bjarneStroustrupC++PartIII/bjarneStroustrupC++PartIII/Chapter21Drill3.cpp /* TITLE Vector use Chapter21Drill3.cpp "<NAME>up "C++ Programming: Principles and Practice."" COMMENT Objective:...
Ziezi/Programming-Principles-and-Practice-Using-C-by-Bjarne-Stroustrup-
Visual Studio 2010/Projects/bjarneStroustrupC++PartIII/bjarneStroustrupC++PartIII/Chapter18Exercise9.cpp
/* TITLE Memory layout Chapter18Exercise9.cpp "<NAME> "C++ Programming: Principles and Practice."" COMMENT Objcective: Write a program showing the orders of: - static, - stack and - heap memory. Expectations: Static and Heap memory addresses are allocated in increaing order...
Ziezi/Programming-Principles-and-Practice-Using-C-by-Bjarne-Stroustrup-
Visual Studio 2010/Projects/bjarneStroustrupC++PartI/object_oriented_examples/Chapter3Exercise2.cpp
/* TITLE Mile to Kilometer Chapter3Exercise2.cpp Bjarne Stroustrup "Programming: Principles and Practice Using C++" COMMENT Objective: Convert input data from miles to kilomemts. Input: Requests distance in miles. Output: Prints in kilometers. Author: <NAME> Date: 1.2.2015 */...
Ziezi/Programming-Principles-and-Practice-Using-C-by-Bjarne-Stroustrup-
Visual Studio 2010/Projects/bjarneStroustrupC++PartIII/bjarneStroustrupC++PartIII/Chapter19Exercise7.cpp
/* TITLE Inner product of Class Number Chapter19Exercise7.cpp "Bjarne Stroustrup "C++ Programming: Principles and Practice."" COMMENT Objcective: Find the inner product of two vectors of types Number<T>. Combine Ex: 2 and Ex 6. Input: - Output: - Author: <NAME> Date: 24.1.2016...
Ziezi/Programming-Principles-and-Practice-Using-C-by-Bjarne-Stroustrup-
Visual Studio 2010/Projects/bjarneStroustrupC++PartII/bjarneStroustrupCFLTK/Chapter14Exercise12.cpp
<filename>Visual Studio 2010/Projects/bjarneStroustrupC++PartII/bjarneStroustrupCFLTK/Chapter14Exercise12.cpp /* TITLE Group container Chapter14Exercise12.cpp "<NAME> "Programming Principles and Practices Using C++"" COMMENT Objective: Define Binary_Tree class derived from Shape. Mo...
Ziezi/Programming-Principles-and-Practice-Using-C-by-Bjarne-Stroustrup-
Visual Studio 2010/Projects/bjarneStroustrupC++PartII/bjarneStroustrupCFLTK/Chapter14Exercise10.cpp
<reponame>Ziezi/Programming-Principles-and-Practice-Using-C-by-Bjarne-Stroustrup-<gh_stars>1-10 /* TITLE Pseudo window Chapter14Exercise10.cpp "<NAME> "Programming Principles and Practices Using C++"" COMMENT Objective: Define a Pseudo_window with: rounded corners, label, control i...
Ziezi/Programming-Principles-and-Practice-Using-C-by-Bjarne-Stroustrup-
Visual Studio 2010/Projects/bjarneStroustrupC++PartIII/bjarneStroustrupC++PartIII/Chapter21Drill1.cpp
<reponame>Ziezi/Programming-Principles-and-Practice-Using-C-by-Bjarne-Stroustrup-<filename>Visual Studio 2010/Projects/bjarneStroustrupC++PartIII/bjarneStroustrupC++PartIII/Chapter21Drill1.cpp /* TITLE Vector & List use Chapter21Drill1.cpp "Bjarne Stroustrup "C++ Programming: Principles and Practice."" COMMENT...
Ziezi/Programming-Principles-and-Practice-Using-C-by-Bjarne-Stroustrup-
Visual Studio 2010/Projects/bjarneStroustrupC++PartII/bjarneStroustrupCFLTK/Chapter12Exercise9.cpp
<gh_stars>1-10 /* TITLE Manipulate and image Chapter12Exercise9.cpp <NAME> "Programming: Principles and Practice Using C++" COMMENT Objective: Insert an image and label it with a title on the window and a caption in the window. Input: - Output: Graph on screen. Author: <N...
Ziezi/Programming-Principles-and-Practice-Using-C-by-Bjarne-Stroustrup-
Visual Studio 2010/Projects/bjarneStroustrupC++PartIV/bjarneStroustrupC++PartIV/Chapter26Exercise8.cpp
/* TITLE Text Input to Graph_lib Chapter26Exercise8.cpp COMMENT Objective: Add a text-based interface to the graphics interface library from Chapters 12 - 15. For example, the string: Cirle(Point(O, 1), 15) should generate a call Circle(Poinl(O, 1), 15). Use this text interface to ...
Ziezi/Programming-Principles-and-Practice-Using-C-by-Bjarne-Stroustrup-
Visual Studio 2010/Projects/bjarneStroustrupC++PartI/object_oriented_examples/testingPrograms/currencyConvert.cpp
/* TITLE Currency Conversion currencyConvert.cpp COMMENT Objective: To convert different currencies. Implemented using: if() else if, statements Input: Prompts the user to select specific currency conversion and the amount of money. Output: It prints the respective...
Ziezi/Programming-Principles-and-Practice-Using-C-by-Bjarne-Stroustrup-
Visual Studio 2010/Projects/bjarneStroustrupC++PartIV/bjarneStroustrupC++PartIV/Chapter24Exercise10.cpp
/* TITLE Plot rand() distribution Chapter24Exercise10.cpp COMMENT Objective: How random is your rand()? Write a program that takes two integers n and d as inputs and calls randint(n) d times, recording the result. Output the number of draws for each of [0: n) and "eyeball" ...
Ziezi/Programming-Principles-and-Practice-Using-C-by-Bjarne-Stroustrup-
Visual Studio 2010/Projects/bjarneStroustrupC++PartII/bjarneStroustrupCFLTK/Chapter12Exercise8.cpp
/* TITLE Draw the Olympic Circles Chapter12Exercise8.cpp Bjarne Stroustrup "Programming: Principles and Practice Using C++" COMMENT Objective: Draw the Olympi Circles. // Should be semi - circles to overlap properly Input: - Output: Graph on screen. Author: <NAME> Date: 17. 08. 201...
Ziezi/Programming-Principles-and-Practice-Using-C-by-Bjarne-Stroustrup-
Visual Studio 2010/Projects/bjarneStroustrupC++PartI/object_oriented_examples/accuracyEstimation.cpp
/* TITLE Machine specific accuracy accuracyEstimation.cpp COMMENT Objective: Estimating machine specific calculation accuracy Input: - Output: - Author: <NAME> Date: 1.10.2015 */ #include "stdafx.h" #include <stdio> int main(){ roundingCheck1(); roundingCheck2(); selfSubsti...
Ziezi/Programming-Principles-and-Practice-Using-C-by-Bjarne-Stroustrup-
Visual Studio 2010/Projects/bjarneStroustrupC++PartI/object_oriented_examples/classesFundamentals/quickSort.cpp
<filename>Visual Studio 2010/Projects/bjarneStroustrupC++PartI/object_oriented_examples/classesFundamentals/quickSort.cpp /* TITLE Quick-sort algorithm quickSort.cpp COMMENT Objective: Input: Unsorted vector by reference. Output: Sorted vector. Complexity: Linearithmic: NlogN. ...
Ziezi/Programming-Principles-and-Practice-Using-C-by-Bjarne-Stroustrup-
Visual Studio 2010/Projects/bjarneStroustrupC++PartIV/bjarneStroustrupC++PartIV/Chapter23Exercise2.cpp
/* TITLE Email file Chapter23Exercise2.cpp COMMENT Objective: Add a multimap and have it hold subjects. Let the program take an input string from the keyboard and print out every message with that string as its subject. Input: Output: Author: <NAME> Date: 25.04.20...
Ziezi/Programming-Principles-and-Practice-Using-C-by-Bjarne-Stroustrup-
Visual Studio 2010/Projects/bjarneStroustrupC++PartIV/bjarneStroustrupC++PartIV/Chapter25Exercise14.cpp
/* TITLE Vector with pool allocator Chapter25Exercise14.cpp COMMENT Objective: Implement a simple vector that can hold at most N elements allocated from a pool. Test it for N == 1000 and integer clements. Possibly not right!!! How use pool instead of malloc() when I need to pool.ge...
Ziezi/Programming-Principles-and-Practice-Using-C-by-Bjarne-Stroustrup-
Visual Studio 2010/Projects/bjarneStroustrupC++PartIII/bjarneStroustrupC++PartIII/Chapter20Exercise17.cpp
<reponame>Ziezi/Programming-Principles-and-Practice-Using-C-by-Bjarne-Stroustrup-<filename>Visual Studio 2010/Projects/bjarneStroustrupC++PartIII/bjarneStroustrupC++PartIII/Chapter20Exercise17.cpp /* TITLE ownership_vector Chapter20Exercise17.cpp "<NAME> "C++ Programming: Principles and Practice."" COMMENT ...
Ziezi/Programming-Principles-and-Practice-Using-C-by-Bjarne-Stroustrup-
Visual Studio 2010/Projects/bjarneStroustrupC++PartI/object_oriented_examples/Chapter11Exercise13.cpp
/* TITLE Classify and count characters Chapter11Exercise13.cpp Bjarne Stroustrup "Programming: Principles and Practice Using C++" COMMENT Objective: Create a function that classifies and counts each type of characters in a text file. Input: - Output: - Date: 25.08.2015...
Ziezi/Programming-Principles-and-Practice-Using-C-by-Bjarne-Stroustrup-
Visual Studio 2010/Projects/bjarneStroustrupC++PartI/object_oriented_examples/Chapter5TryThis3.cpp
<reponame>Ziezi/Programming-Principles-and-Practice-Using-C-by-Bjarne-Stroustrup-<filename>Visual Studio 2010/Projects/bjarneStroustrupC++PartI/object_oriented_examples/Chapter5TryThis3.cpp<gh_stars>1-10 /* TITLE Linking, Run-time & Logical errors Chapter5TryThis3.cpp Bjarne Stroustrup "Programming: ...
Ziezi/Programming-Principles-and-Practice-Using-C-by-Bjarne-Stroustrup-
Visual Studio 2010/Projects/bjarneStroustrupC++PartI/object_oriented_examples/classesFundamentals/mergeSort.cpp
<filename>Visual Studio 2010/Projects/bjarneStroustrupC++PartI/object_oriented_examples/classesFundamentals/mergeSort.cpp // TITLE Mergesort Algorithm mergeSort.cpp // COMMENT // Objective: Sort a vector by recursivelly dividing it to basic elements, followed by merging them in order. // Input: Unsorted vector. /...
Ziezi/Programming-Principles-and-Practice-Using-C-by-Bjarne-Stroustrup-
Visual Studio 2010/Projects/bjarneStroustrupC++PartIII/bjarneStroustrupC++PartIII/Chapter17Drill2.cpp
<reponame>Ziezi/Programming-Principles-and-Practice-Using-C-by-Bjarne-Stroustrup- /* TITLE Pointers and arrays Chapter17Drill2.cpp "<NAME>up "C++ Programming: Principles and Practice."" COMMENT Objcective: Second part of Chapter 17 Drill. Input: - Output: - Author: <NAME> Date: 02.1...
Ziezi/Programming-Principles-and-Practice-Using-C-by-Bjarne-Stroustrup-
Visual Studio 2010/Projects/bjarneStroustrupC++PartIV/bjarneStroustrupC++PartIV/Chapter25Drill2.cpp
<filename>Visual Studio 2010/Projects/bjarneStroustrupC++PartIV/bjarneStroustrupC++PartIV/Chapter25Drill2.cpp /* TITLE Unsigned short Bit manipulations Chapter25Drill2.cpp COMMENT Objective: 3. Using hex literals, define short unsigned ints: a. With every bit set. b. The lowest (lsb) set. ...
Ziezi/Programming-Principles-and-Practice-Using-C-by-Bjarne-Stroustrup-
Visual Studio 2010/Projects/bjarneStroustrupC++PartI/object_oriented_examples/Chapter8Exercise12.cpp
<filename>Visual Studio 2010/Projects/bjarneStroustrupC++PartI/object_oriented_examples/Chapter8Exercise12.cpp /* TITLE Find statisics Chapter8Exercise12.cpp Bjarne Stroustrup "Programming: Principles and Practice Using C++ COMMENT Objective: Write a function that returns the min, max,...
Ziezi/Programming-Principles-and-Practice-Using-C-by-Bjarne-Stroustrup-
Visual Studio 2010/Projects/bjarneStroustrupC++PartII/bjarneStroustrupCFLTK/Chapter16Exercise5.cpp
<reponame>Ziezi/Programming-Principles-and-Practice-Using-C-by-Bjarne-Stroustrup-<gh_stars>1-10 /* TITLE Drawing GUI Chapter16Exercise5.cpp "<NAME> "Programming Principles and Practices Using C++"" COMMENT Objective: Make a program that draws a shape of you choice and moves it to a new point each ...
Ziezi/Programming-Principles-and-Practice-Using-C-by-Bjarne-Stroustrup-
Visual Studio 2010/Projects/bjarneStroustrupC++PartIII/bjarneStroustrupC++PartIII/Chapter17Exercise10.cpp
<filename>Visual Studio 2010/Projects/bjarneStroustrupC++PartIII/bjarneStroustrupC++PartIII/Chapter17Exercise10.cpp /* TITLE Dynamic memory reallocation Chapter17Exercise10.cpp "<NAME>up "C++ Programming: Principles and Practice."" COMMENT Objcective: Redo Exercise 7 and use malloc() and realloc() t...
Ziezi/Programming-Principles-and-Practice-Using-C-by-Bjarne-Stroustrup-
Visual Studio 2010/Projects/bjarneStroustrupC++PartIII/bjarneStroustrupC++PartIII/Chapter18Exercise2.cpp
/* TITLE Find String Chapter18Exercise2.cpp "<NAME> "C++ Programming: Principles and Practice."" COMMENT Objcective: Write a function that finds the first occurence of a C-style string x in s; without any standard library functions and with the use of the dereference operator:* instead ...
Ziezi/Programming-Principles-and-Practice-Using-C-by-Bjarne-Stroustrup-
Visual Studio 2010/Projects/bjarneStroustrupC++PartIV/bjarneStroustrupC++PartIV/Chapter25Exercise9.cpp
/* TITLE Number of bits, signed or not Chapter25Exercise9.cpp COMMENT Objective: Without using any standard headers (such as <limits> or documentation, compute the number of bits in an int and determine whether char is signed or unsigned on your implementation. Output: - Author:...
Ziezi/Programming-Principles-and-Practice-Using-C-by-Bjarne-Stroustrup-
Visual Studio 2010/Projects/bjarneStroustrupC++PartI/object_oriented_examples/testingPrograms/type_safety.cpp
<reponame>Ziezi/Programming-Principles-and-Practice-Using-C-by-Bjarne-Stroustrup-<filename>Visual Studio 2010/Projects/bjarneStroustrupC++PartI/object_oriented_examples/testingPrograms/type_safety.cpp /* TITLE Type safety type_safety.cpp COMMENT Objective: To present type-safety errors that shou...
Ziezi/Programming-Principles-and-Practice-Using-C-by-Bjarne-Stroustrup-
Visual Studio 2010/Projects/bjarneStroustrupC++PartII/bjarneStroustrupCFLTK/Chapter12Exercise13.cpp
/* TITLE Colored Starlike patterns Chapter12Exercise13.cpp Bjarne Stroustrup "Programming: Principles and Practice Using C++" COMMENT Objective: Draw starline patterns by connecting points on a superellipse. Add color. Input: - Output: Graph on screen. Author: <NAME> ...
Ziezi/Programming-Principles-and-Practice-Using-C-by-Bjarne-Stroustrup-
Visual Studio 2010/Projects/bjarneStroustrupC++PartI/object_oriented_examples/Chapter5Exercise14.cpp
<gh_stars>1-10 /* TITLE Input formatting Chapter5Exercise14.cpp Bjarne Stroustrup "Programming: Principles and Practice Using C++" COMMENT Objective: Read pairs of <Day of week> <int value>, and store the valid values. Input: Name of day of the week, followed by single space and intege...
Ziezi/Programming-Principles-and-Practice-Using-C-by-Bjarne-Stroustrup-
Visual Studio 2010/Projects/bjarneStroustrupC++PartI/object_oriented_examples/Chapter11Exercise11.cpp
<gh_stars>1-10 /* TITLE Reserve order of chars in file Chapter11Exercise11.cpp Bjarne Stroustrup "Programming: Principles and Practice Using C++" COMMENT Objective: Create a function that reverses the order of characters in a file. Hint: use file open modes Input: - Output: - Date: ...
Ziezi/Programming-Principles-and-Practice-Using-C-by-Bjarne-Stroustrup-
Visual Studio 2010/Projects/bjarneStroustrupC++PartI/object_oriented_examples/Chapter11Exercise2.cpp
/* TITLE Remove vowels from file Chapter11Exercise2.cpp Bjarne Stroustrup "Programming: Principles and Practice Using C++" COMMENT Objective: Read a file, remove all vowels from its contents and write them to the std output. Input: - Output: - Author: <NAME> Date: 30.06....
Ziezi/Programming-Principles-and-Practice-Using-C-by-Bjarne-Stroustrup-
Visual Studio 2010/Projects/bjarneStroustrupC++PartI/object_oriented_examples/Chapter5Exercise10.cpp
/* TITLE Adjacent differences Chapter5Exercise10.cpp <NAME> "Programming: Principles and Practice Using C++" COMMENT Objective: Input a set of numbers into a vector and find the differences of the adjacent numbers. Error handling performed implicitly by the member ...
Ziezi/Programming-Principles-and-Practice-Using-C-by-Bjarne-Stroustrup-
Visual Studio 2010/Projects/bjarneStroustrupC++PartIII/bjarneStroustrupC++PartIII/Chapter17Exercise14Def.cpp
/* TITLE Singly Linked list Chapter17Exercise14Def.cpp "<NAME>roustrup "C++ Programming: Principles and Practice."" COMMENT Objcective: Reimplement the example from Chapter 17.10.1 and modify it to a sinlgly-linked list. Input: - Output: - Author: <NAME> Date: 21.12.2015 */ ...
Ziezi/Programming-Principles-and-Practice-Using-C-by-Bjarne-Stroustrup-
Visual Studio 2010/Projects/bjarneStroustrupC++PartI/object_oriented_examples/Chapter11Exercise15.cpp
/* TITLE Read and count numbers Chapter11Exercise15.cpp Bjarne Stroustrup "Programming: Principles and Practice Using C++" COMMENT Objective: Create a function that reads a file with whitespace-separated numbers and sorts them in ascending order into two columns, where the first is the n...
Ziezi/Programming-Principles-and-Practice-Using-C-by-Bjarne-Stroustrup-
Visual Studio 2010/Projects/bjarneStroustrupC++PartIII/bjarneStroustrupC++PartIII/Chapter21TryThis2.cpp
<gh_stars>1-10 /* TITLE Implicit parameters Chapter21TryThis2.cpp "<NAME>up "C++ Programming: Principles and Practice."" COMMENT Objective: Why using implicit paremeters could lead to obscure errors. List three examples where they should be avoided. - non constant global variables c...
Ziezi/Programming-Principles-and-Practice-Using-C-by-Bjarne-Stroustrup-
Visual Studio 2010/Projects/bjarneStroustrupC++PartI/object_oriented_examples/Chapter2Exercise2.cpp
<gh_stars>1-10 /* TITLE Directing the computer Chapter2Exercise2.cpp Bjarne Stroustrup "Programming: Principles and Practice Using C++" COMMENT Objective: Pseudo code; Initial algorithmic approach to task. Give directions to the computer to reach the bathroom w...
Ziezi/Programming-Principles-and-Practice-Using-C-by-Bjarne-Stroustrup-
Visual Studio 2010/Projects/bjarneStroustrupC++PartI/object_oriented_examples/Chapter5TryThis.cpp
<filename>Visual Studio 2010/Projects/bjarneStroustrupC++PartI/object_oriented_examples/Chapter5TryThis.cpp /* TITLE Syntax errors Chapter5TryThis.cpp Bjarne Stroustrup "Programming: Principles and Practice Using C++" COMMENT Objective: Observe the response from the syntax errors. Inp...
Ziezi/Programming-Principles-and-Practice-Using-C-by-Bjarne-Stroustrup-
Visual Studio 2010/Projects/bjarneStroustrupC++PartI/object_oriented_examples/Chapter4Exercise19.cpp
/* TITLE Names & Score Chapter4Exercise19.cpp Bjarne Stroustrup "Programming: Principles and Practice Using C++" COMMENT Objective: Store unique names and scores. Input: Name followed by its score. (Input termination: "No more") Output: Print all entered names and sco...
Ziezi/Programming-Principles-and-Practice-Using-C-by-Bjarne-Stroustrup-
Visual Studio 2010/Projects/bjarneStroustrupC++PartIV/bjarneStroustrupC++PartIV/Chapter24Exercise12.cpp
<filename>Visual Studio 2010/Projects/bjarneStroustrupC++PartIV/bjarneStroustrupC++PartIV/Chapter24Exercise12.cpp<gh_stars>1-10 /* TITLE Matrix addition & dot product Tensor & Vector Chapter24Exercise12.cpp COMMENT Objective: Implement: Matrix<double> operator* (Matrix<double, 2>&, Matrix<double>&...
Ziezi/Programming-Principles-and-Practice-Using-C-by-Bjarne-Stroustrup-
Visual Studio 2010/Projects/bjarneStroustrupC++PartII/bjarneStroustrupCFLTK/Chapter12FLTK.cpp
<gh_stars>1-10 /* TITLE First example in FLTK Chapter12FLTK.cpp "Bjarne Stroustrup - Programming - Principles and Practice." COMMENT Objective: Install FLTK. Make a simple graph. Input: - Output: Window with graph in it. Author: <NAME> Date: 26. 08. 2015 */ #include "fltk.h" i...
Ziezi/Programming-Principles-and-Practice-Using-C-by-Bjarne-Stroustrup-
Visual Studio 2010/Projects/bjarneStroustrupC++PartI/object_oriented_examples/Chapter3Drill.cpp
<reponame>Ziezi/Programming-Principles-and-Practice-Using-C-by-Bjarne-Stroustrup- /* TITLE String Manipulation Chapter3Drill.cpp Bjarne Stroustrup "Programming: Principles and Practice Using C++" COMMENT Objective: I/O interaction and basic string manipulation. Input: Reqeusts information...
Ziezi/Programming-Principles-and-Practice-Using-C-by-Bjarne-Stroustrup-
Visual Studio 2010/Projects/bjarneStroustrupC++PartIII/bjarneStroustrupC++PartIII/Chapter21Exercise3.cpp
<reponame>Ziezi/Programming-Principles-and-Practice-Using-C-by-Bjarne-Stroustrup-<filename>Visual Studio 2010/Projects/bjarneStroustrupC++PartIII/bjarneStroustrupC++PartIII/Chapter21Exercise3.cpp<gh_stars>1-10 /* TITLE Implement count() Chapter21Exercise3.cpp "Bjarne Stroustrup "C++ Programming: Principles an...
Ziezi/Programming-Principles-and-Practice-Using-C-by-Bjarne-Stroustrup-
Visual Studio 2010/Projects/bjarneStroustrupC++PartII/bjarneStroustrupCFLTK/Chapter13Exercise7.cpp
/* TITLE RGB chart Chapter13Exercise7.cpp "<NAME> "Programming Principles and Practices Using C++"" COMMENT Objective: Create a RGB color chart. Output: Author: 19.09.2015 Date: <NAME> */ #include "GUI.h" #include "Simple_window.h" #include <iostream> #include <iomanip> #include "Chapter1...
Ziezi/Programming-Principles-and-Practice-Using-C-by-Bjarne-Stroustrup-
Visual Studio 2010/Projects/bjarneStroustrupC++PartII/bjarneStroustrupCFLTK/Chapter14Exercise4.cpp
/* TITLE Immobile Circle Chapter14Exercise4.cpp "<NAME>up "Programming Principles and Practices Using C++"" COMMENT Objective: Define a circle that can not be moved. Input: - Output: - Author: 27.09.2015 Date: <NAME> */ #include "Graph.h" #include "Simple_window.h" #include <iostre...
Ziezi/Programming-Principles-and-Practice-Using-C-by-Bjarne-Stroustrup-
Visual Studio 2010/Projects/bjarneStroustrupC++PartI/object_oriented_examples/Chapter7Exercise11.cpp
<filename>Visual Studio 2010/Projects/bjarneStroustrupC++PartI/object_oriented_examples/Chapter7Exercise11.cpp /* TITLE Operate only on int Chapter7Exercise11.cpp "Software - Principles and Practice using C++" by <NAME>" COMMENT Objective: Modify the calculator to work only on integer ...
Ziezi/Programming-Principles-and-Practice-Using-C-by-Bjarne-Stroustrup-
Visual Studio 2010/Projects/bjarneStroustrupC++PartIII/bjarneStroustrupC++PartIII/Chapter18Drill2.cpp
<filename>Visual Studio 2010/Projects/bjarneStroustrupC++PartIII/bjarneStroustrupC++PartIII/Chapter18Drill2.cpp /* TITLE Vectors Chapter18TryDriil2.cpp "Bjarne Stroustrup "C++ Programming: Principles and Practice."" COMMENT Objcective: Drill 2 Input: - Output: - Author: <NAME>...
Ziezi/Programming-Principles-and-Practice-Using-C-by-Bjarne-Stroustrup-
Visual Studio 2010/Projects/bjarneStroustrupC++PartI/object_oriented_examples/Chapter9Exercise17.cpp
/* TITLE Compare Rational and double Chapter9Exercise17.h "Software - Principles and Practice using C++" by <NAME>" COMMENT Objective: Demonstrate a calculation where class Rational gives better result than double. Input: - Output: - Author: <NAME> Date: 1.04.2015...
Ziezi/Programming-Principles-and-Practice-Using-C-by-Bjarne-Stroustrup-
Visual Studio 2010/Projects/bjarneStroustrupC++PartIII/bjarneStroustrupC++PartIII/Chapter19Exercise12.cpp
/* TITLE File Handler Chapter19Exercise12.cpp "<NAME>up "C++ Programming: Principles and Practice."" COMMENT Objcective: Design and implement a file handler that takes a string argument (file name), opens the file in the constructor and closes it in the destructor. Input: - Out...
Ziezi/Programming-Principles-and-Practice-Using-C-by-Bjarne-Stroustrup-
Visual Studio 2010/Projects/bjarneStroustrupC++PartI/object_oriented_examples/Chapter9ClassDate.cpp
<filename>Visual Studio 2010/Projects/bjarneStroustrupC++PartI/object_oriented_examples/Chapter9ClassDate.cpp /* TITLE Date in Julian Calendar Chapter9ClassDate.cpp <NAME>ustrup "Programming: Principles and Practice Using C++" COMMENT Objective: Implement functions that convert a Date to Julian...
Ziezi/Programming-Principles-and-Practice-Using-C-by-Bjarne-Stroustrup-
Visual Studio 2010/Projects/bjarneStroustrupC++PartI/object_oriented_examples/Chapter7Exercise1Def.cpp
/* TITLE Expand calculator Chapter7Exercise1Def.cpp Bjarne Stroustrup "Programming: Principles and Practice Using C++" COMMENT Objective: Allow user defined variables with names involving underscores. Input: - Output: -. Author: <NAME> Date: 23.02.2015 */ /* Function: get() Us...
Ziezi/Programming-Principles-and-Practice-Using-C-by-Bjarne-Stroustrup-
Visual Studio 2010/Projects/bjarneStroustrupC++PartIV/bjarneStroustrupC++PartIV/Chapter23Exercise13.cpp
/* TITLE Regex dot special character Chapter23Exercise13.cpp COMMENT Objective: Does dot (.) match '\n'? Write a program to find out. Input: - Output: - Author: <NAME> Date: 30.04.2017 */ #include <iostream> #include <fstream> #include <sstream> #include <string> #include <regex> int main...
Ziezi/Programming-Principles-and-Practice-Using-C-by-Bjarne-Stroustrup-
Visual Studio 2010/Projects/bjarneStroustrupC++PartI/object_oriented_examples/Chapter11Drill.cpp
<gh_stars>1-10 /* TITLE I/O manipulators and streams Chapter11Drill.cpp Bjarne Stroustrup "Programming: Principles and Practice Using C++" COMMENT Objective: 1. Declare an integer and assign your age to it. 2. Output age in decimal, hexadecimal and octal. 3. Label the base being printed. ...
Ziezi/Programming-Principles-and-Practice-Using-C-by-Bjarne-Stroustrup-
Visual Studio 2010/Projects/bjarneStroustrupC++PartIV/bjarneStroustrupC++PartIV/Chapter26Exercise4.cpp
<reponame>Ziezi/Programming-Principles-and-Practice-Using-C-by-Bjarne-Stroustrup-<filename>Visual Studio 2010/Projects/bjarneStroustrupC++PartIV/bjarneStroustrupC++PartIV/Chapter26Exercise4.cpp /* TITLE Test data format Chapter26Exercise4.cpp COMMENT Objective: Devise a format for test data so that you c...
Ziezi/Programming-Principles-and-Practice-Using-C-by-Bjarne-Stroustrup-
Visual Studio 2010/Projects/bjarneStroustrupC++PartIII/bjarneStroustrupC++PartIII/Chapter19Exercise5.cpp
<filename>Visual Studio 2010/Projects/bjarneStroustrupC++PartIII/bjarneStroustrupC++PartIII/Chapter19Exercise5.cpp /* TITLE Class Int Chapter19Exercise5.cpp "<NAME>up "C++ Programming: Principles and Practice."" COMMENT Objcective: Define a class Int having a single member of type int. Define constructo...
Ziezi/Programming-Principles-and-Practice-Using-C-by-Bjarne-Stroustrup-
Visual Studio 2010/Projects/bjarneStroustrupC++PartI/object_oriented_examples/Chapter3Exercise10.cpp
/* TITLE Binary operations Chapter3Exercise_10.cpp Bjarne Stroustrup "Programming: Principles and Practice Using C++" COMMENT Objective: Implements simple binary operation. (containing two operands) Input: Requests two operands and a operation to be performed. Output: Prints result from selecte...
Ziezi/Programming-Principles-and-Practice-Using-C-by-Bjarne-Stroustrup-
Visual Studio 2010/Projects/bjarneStroustrupC++PartIV/bjarneStroustrupC++PartIV/Chapter25Exercise5.cpp
/* TITLE Infinite loop Chapter25Exercise5.cpp COMMENT Objective: Write an infinite loop. Execule it. Input: - Output: - Author: <NAME> Date: 13.05.2017 */ #include <iostream> //----------------------------------------------------------------------------------------------------------- ...
Ziezi/Programming-Principles-and-Practice-Using-C-by-Bjarne-Stroustrup-
Visual Studio 2010/Projects/bjarneStroustrupC++PartI/object_oriented_examples/Chapter10Exercise8.cpp
/* TITLE Concatenate two files Chapter10Exercise8.cpp Bjarne Stroustrup "Programming: Principles and Practice Using C++" COMMENT Objective: Create a file that contains the concatenated data of two other files. Input: - Output: - Author: <NAME> Date: 03.05.2015 */ #include <i...
Ziezi/Programming-Principles-and-Practice-Using-C-by-Bjarne-Stroustrup-
Visual Studio 2010/Projects/bjarneStroustrupC++PartIV/bjarneStroustrupC++PartIV/Chapter23Exercise8.cpp
<filename>Visual Studio 2010/Projects/bjarneStroustrupC++PartIV/bjarneStroustrupC++PartIV/Chapter23Exercise8.cpp /* TITLE Find pattern in file Chapter23Exercise8.cpp COMMENT Objective: Write a program that finds a pattern in a file and displays the line containing the pattern and its number. Input:...
Ziezi/Programming-Principles-and-Practice-Using-C-by-Bjarne-Stroustrup-
Visual Studio 2010/Projects/bjarneStroustrupC++PartII/bjarneStroustrupCFLTK/Chapter16Exercise3.cpp
/* TITLE Moving image Chapter16Exercise3.cpp "<NAME> "Programming Principles and Practices Using C++"" COMMENT Objective: Define class with a button that moves to a random position when pressed, together with an image placed on it. Input: - Output: - Author: 18.10.2015 Date: <...
Ziezi/Programming-Principles-and-Practice-Using-C-by-Bjarne-Stroustrup-
Visual Studio 2010/Projects/bjarneStroustrupC++PartI/object_oriented_examples/Chapter11Exercise1.cpp
/* TITLE Convert to lower case Chapter11Exercise1.cpp Bjarne Stroustrup "Programming: Principles and Practice Using C++" COMMENT Objective: Read a file, convert its contents to lower case and write them to a newly created file. Input: - Output: - Author: <NAME> Date: 30.06....
Ziezi/Programming-Principles-and-Practice-Using-C-by-Bjarne-Stroustrup-
Visual Studio 2010/Projects/bjarneStroustrupC++PartI/object_oriented_examples/Chapter3TryThis5.cpp
/* TITLE Syntax Errors Chapter3TryThis5.cpp Bjarne Stroustrup "Programming: Principles and Practice Using C++" COMMENT Objective: Present name errors that should be avoided. (Undeclared identifiers) Input: - Output: It causes compilation errors due to syntax/ty...
Ziezi/Programming-Principles-and-Practice-Using-C-by-Bjarne-Stroustrup-
Visual Studio 2010/Projects/bjarneStroustrupC++PartI/object_oriented_examples/Chapter8Exercise10.cpp
<filename>Visual Studio 2010/Projects/bjarneStroustrupC++PartI/object_oriented_examples/Chapter8Exercise10.cpp /* TITLE Weigthed sum Chapter8Exercise10.cpp Bjarne Stroustrup "Programming: Principles and Practice Using C++ COMMENT Objective: Write a function that sums the product of two vectors....
Ziezi/Programming-Principles-and-Practice-Using-C-by-Bjarne-Stroustrup-
Visual Studio 2010/Projects/bjarneStroustrupC++PartI/object_oriented_examples/Chapter3TryThis4.cpp
<reponame>Ziezi/Programming-Principles-and-Practice-Using-C-by-Bjarne-Stroustrup- /* TITLE Program flow Chapter3TryThis4.cpp Bjarne Stroustrup "Programming: Principles and Practice Using C++" COMMENT Objective: The program deletes repeated words entered consequtively. observe up...
Ziezi/Programming-Principles-and-Practice-Using-C-by-Bjarne-Stroustrup-
Visual Studio 2010/Projects/bjarneStroustrupC++PartIII/bjarneStroustrupC++PartIII/Chapter18Exercise11v2.cpp
/* TITLE Skip List Chapter18Exercise11v2.cpp "<NAME> "C++ Programming: Principles and Practice."" COMMENT Objcective: Research and implement the data structure: Skip List. References to the papers by W. Pugh: http://epaperpress.com/sortsearch/download/skiplist.pdf ...
Ziezi/Programming-Principles-and-Practice-Using-C-by-Bjarne-Stroustrup-
Visual Studio 2010/Projects/bjarneStroustrupC++PartII/bjarneStroustrupCFLTK/Chapter13Drill.cpp
/* TITLE Get a grip with Graph_lib members Chapter13Drill.cpp "<NAME> "Programming Principles and Practices Using C++"" COMMENT Objective: Utilize the facilities provided by Graph_lib to create graphical objects. 1. Create an Simple_window with size 800 x 1000 2. Draw a 8 x 8 grid ...
Ziezi/Programming-Principles-and-Practice-Using-C-by-Bjarne-Stroustrup-
Visual Studio 2010/Projects/bjarneStroustrupC++PartIV/bjarneStroustrupC++PartIV/Chapter24Drill4.cpp
/* TITLE Math functions error checking Chapter24Drill4.cpp COMMENT Objective: Write a program that takes ints from d n and outputs the sqrt() of each int, or "no square root" if sqrt(x) is illegal for some x (i.e., check your sqrt() return values). Input: - Output: - Author: ...
Ziezi/Programming-Principles-and-Practice-Using-C-by-Bjarne-Stroustrup-
Visual Studio 2010/Projects/bjarneStroustrupC++PartIII/bjarneStroustrupC++PartIII/Chapter19TryThis2.cpp
/* TITLE Exceptions & Resource Management Chapter19TryThis2.cpp "<NAME>up "C++ Programming: Principles and Practice."" COMMENT Objcective: Add try-blocks to ensure that all resources are properly released in all cases where an exception might be thrown. Input: - Output: - Aut...
Ziezi/Programming-Principles-and-Practice-Using-C-by-Bjarne-Stroustrup-
Visual Studio 2010/Projects/bjarneStroustrupC++PartI/object_oriented_examples/testingPrograms/vec_text.cpp
<reponame>Ziezi/Programming-Principles-and-Practice-Using-C-by-Bjarne-Stroustrup- /* TITLE Reading data into vector object vect_text.cpp COMMENT Objective: Introduce vector objects and their member functions for string manipulation. Compares the last-input-word, discard if same...