repo_name
stringlengths
5
122
path
stringlengths
3
232
text
stringlengths
6
1.05M
AniMysore74/Computer-Class
Class 11/45.cpp
//Sort the elements in an array #include<iostream.h> #include<conio.h> int main() { int a[10],i,j,temp; cout<<"Enter the elements of array:"; for(i=1;i!=0;i++) { cin>>a[i]; } for(i=0;i<5;i++) { for(j=0;j<5;j++) { if(a[i]<a[j]) { temp = a[i]; a[i] = a[j]; a[j] = temp; } } } for(i=0;i<5;i...
AniMysore74/Computer-Class
Class 11/8.cpp
<filename>Class 11/8.cpp #include<iostream.h> #include<conio.h> int main() { int tot,rem,Rs_500,Rs_100,Rs_50,Rs_20,Rs_10,Rs_5,Rs_1; cout<<"Enter total amount: "; cin>>tot; Rs_500=(tot/500); rem=(tot%500); Rs_100=(rem/100); rem=(rem%100); Rs_50=(rem/50); rem=(rem%50); Rs_20=(rem/2...
AniMysore74/Computer-Class
Class 11/13.cpp
<gh_stars>0 #include<iostream.h> #include<conio.h> #include<iomanip.h> int main() { const double a = 789.1234; cout.setf(ios::showpos); cout.setf(ios::fixed); cout<<setprecision(1)<<a<<"\n"; cout<<setprecision(2)<<a<<"\n"; cout<<setprecision(3)<<a<<"\n"; cout<<setprecision(4)<<a<<"\n"; c...
AniMysore74/Computer-Class
Class 11/16.cpp
#include<iostream.h> #include<conio.h> #include<math.h> int main() { int x,hostel=0,college=0; char sType; cout<<"Enter Student type "; cin>>sType; x = (sType == 'A')?college=200:(sType == 'B')?hostel=200:0; cout<<"College account - Rs."<<college; cout<<"\nHostel account - Rs."<<hostel; ...
AniMysore74/Computer-Class
Class 11/9.cpp
#include<iostream.h> #include<conio.h> int main() { char U, L; cout <<"Enter a lower case letter "; cin>>L; L = (L-32); cout << "Its upper case character is - "<<L; cout <<"\nEnter an upper case letter "; cin>>U; U = (U+32); cout << "Its lower case character i...
AniMysore74/Computer-Class
Class 11/11.cpp
<reponame>AniMysore74/Computer-Class #include<iostream.h> #include<conio.h> int main() { int x,y,a,b; cout<<"Enter value for X : "; cin>>x; cout<<"Enter value for Y : "; cin>>y; a=x; x=y; y=a; cout<<"X = "<<x<<" Y = "<<y<<"\n\nEnter value for A : "; cin>>a; cout<<"Enter value...
AniMysore74/Computer-Class
Class 11/10.cpp
#include<iostream.h> #include<conio.h> int main() { char A,B = '\b'; int X,Y = B; cout<<"Enter a letter - "; cin>> A; X = A; cout<<"The ASCII value of "<<A<<" is : "<<X; cout<<"\nThe ASCII value of Backspace is : "<<Y; cout<<B; getch(); return 0; }
AniMysore74/Computer-Class
Class 11/41.cpp
//Output maximum and minimum elements of an array #include<iostream.h> #include<conio.h> int main() { int a[50],b,i,mx=0,mm=0; cout<<"Input array : (press 0 to exit) \n"; for (i=1;;i++) { cin>>a[i]; if(a[i]==0) break; b=a[i]; if(b>mx) mx=b; if(i==1) mm=b; if(b<mm) ...
AniMysore74/Computer-Class
Class 11/17.cpp
<gh_stars>0 #include<iostream.h> #include<conio.h> #include<math.h> int main() { int a,b,c,d,e; cout<<"Enter three numbers: \n"; cin>>a>>b>>c; d = (a>b && a>c)?a:(b>a && b>c)?b:c; e = (a<b && a<c)?a:(b<a && b<c)?b:c; cout<<"The largest number is "<<d; cout<<"\nThe smallest number is "<<...
AniMysore74/Computer-Class
Class 11/7.cpp
#include<iostream.h> #include<conio.h> int main() { int days,weeks,years; cout<<"Enter Days: "; cin>>days; years=(days/365); cout<<"Years: " <<years; days = (days%365); weeks = (days/7); cout << " Weeks: " << weeks; days = (days%7); cout << " Days: " <<days; getch(); ...
ndthanhdev/Prim-Kruskal
main.cpp
<reponame>ndthanhdev/Prim-Kruskal<gh_stars>0 #include <iostream> #include <fstream> using namespace std; #define MAX 100 struct Canh { int u; int v; int w; }; // đọc đồ thị được lưu dưới dạng ma trận: // 3 // 0 1 2 // 1 0 3 // 2 3 0 void docDoThi(int maTran[][MAX], int &bac, const char path[]) { ifst...
Kenneth11741149/Lab-2_KennethNu-ez
Laboratorio2.cpp
<reponame>Kenneth11741149/Lab-2_KennethNu-ez //Laboratorio #2 #include <iostream> using std::cout; using std::endl; using std::cin; #include <string> using std::string; using std::to_string; #include <math.h> #define PI 3.14159265 int numDivisores(int numero){ int contadordedivisores = 0; for(int i = 1; i <= nume...
tt4g/export-cpp-calss-from-dll-example
foo/foo.cpp
<reponame>tt4g/export-cpp-calss-from-dll-example<filename>foo/foo.cpp #include "foo.hpp" #include <iostream> #include <string> #include <utility> namespace foo { class FooImpl : public foo::Foo { public: explicit FooImpl(std::string name) : name_(name) { } virtual ~FooImpl() override ...
tt4g/export-cpp-calss-from-dll-example
main.cpp
<reponame>tt4g/export-cpp-calss-from-dll-example #include "foo/foo.hpp" #include <memory> int main(int argc, char** argv) { std::unique_ptr<foo::Foo, decltype(&foo::ReleaseFoo)> fooPtr{foo::CreateFoo(), &foo::ReleaseFoo}; foo::Foo_doIt(fooPtr.get()); return 0; }
tt4g/export-cpp-calss-from-dll-example
foo/foo.hpp
#pragma once #include "foo_export.hpp" namespace foo { #ifdef __cplusplus extern "C" { #endif class FOO_API Foo { public: virtual ~Foo() { } virtual void doIt() = 0; }; // If you want to use CreateFoo() in C language, change Foo* to void*, // or change the definition of Foo to struct so that Fo...
tt4g/export-cpp-calss-from-dll-example
foo/foo_export.hpp
<gh_stars>0 #pragma once #ifdef FOO_EXPORTS #define FOO_API __declspec(dllexport) #else #define FOO_API __declspec(dllimport) #endif
VMatthijs/Stanc-OCaml
src/stan/examples-good/stat_comp_benchmarks_models/eight_schools_locscale_naive.hpp
// Code generated by Stan version 2.18.0 #include <stan/model/model_header.hpp> namespace eight_schools_locscale_naive_model_namespace { using std::istream; using std::string; using std::stringstream; using std::vector; using stan::io::dump; using stan::math::lgamma; using stan::model::prob_grad; using namespace sta...
VMatthijs/Stanc-OCaml
src/stan/examples-good/stat_comp_benchmarks_models/eight_schools_old.hpp
<reponame>VMatthijs/Stanc-OCaml // Code generated by Stan version 2.18.0 #include <stan/model/model_header.hpp> namespace eight_schools_old_model_namespace { using std::istream; using std::string; using std::stringstream; using std::vector; using stan::io::dump; using stan::math::lgamma; using stan::model::prob_grad...
VMatthijs/Stanc-OCaml
src/stan/examples-good/linear_constraint_parameters.hpp
// Code generated by Stan version 2.18.0 #include <stan/model/model_header.hpp> namespace linear_constraint_parameters_model_namespace { using std::istream; using std::string; using std::stringstream; using std::vector; using stan::io::dump; using stan::math::lgamma; using stan::model::prob_grad; using namespace sta...
eseiler/dream_yara_old
src/d_update_filter.cpp
<reponame>eseiler/dream_yara_old // ========================================================================== // d_update_filter.cpp // ========================================================================== // Copyright (c) 2017-2022, <NAME>, FU Berlin // All rights reserved. // // ...
eseiler/dream_yara_old
src/d_indexer.cpp
<filename>src/d_indexer.cpp<gh_stars>0 // ========================================================================== // d_indexer.cpp // ========================================================================== // Copyright (c) 2017-2022, <NAME>, FU Berlin // All rights reserved. // // ...
eseiler/dream_yara_old
src/d_build_filter.cpp
// ========================================================================== // d_build_filter.cpp // ========================================================================== // Copyright (c) 2017-2022, <NAME>, FU Berlin // All rights reserved. // // Redistribution and use in source a...
eseiler/dream_yara_old
src/timer.hpp
// // timer.h // // Created by <NAME> on 31/08/15. // // #include <chrono> #include <ctime> #ifndef SEQAN_TIMER_H #define SEQAN_TIMER_H template<typename TimeT = std::chrono::seconds, typename ClockT=std::chrono::high_resolution_clock, typename DurationT=double> class Timer { private: std::chrono::time_point<Cl...
eseiler/dream_yara_old
src/misc.hpp
<filename>src/misc.hpp using namespace seqan; typedef std::unordered_map <uint32_t, std::pair<uint32_t, std::string> > TNodes; uint32_t const LINAGE_LENGTH = 8; #include <string> #include <iostream> #include <sstream> #include <fstream> #include <map> #include <utility> #include <cereal/types/common.hpp> #include <c...
alejandro13041/aleatory_ip
scanner_barato.cpp
/* TCP Syn port scanner code in C with Linux Sockets :) */ #include<stdio.h> //printf #include<string.h> //memset #include<stdlib.h> //for exit(0); #include<sys/socket.h> #include<errno.h> //For errno - the error number #include<pthread.h> #include<netdb.h> //hostend #include<arpa/inet.h> #include<netinet...
alejandro13041/aleatory_ip
mirai.cpp
#include "bibliotecas.h" using namespace std; void test_case(void){ cout<<"[scanner] Create _13041"<<endl; system("color 6"); long IP; cin>>IP; string IPS[IP]; string IPC[IP]; long PTS[IP]; aleatory_ip(IP,IPS,IPC); aleatory_port(IP,PTS); for (int i = 0; i < IP; ++i){ ...
lbussy/Parse-SDK-Arduino
src/internal/esp32/ParseResponse.cpp
/* * Copyright (c) 2015, Parse, LLC. All rights reserved. * * You are hereby granted a non-exclusive, worldwide, royalty-free license to use, * copy, modify, and distribute this software in source code or binary form for use * in connection with the web services and APIs provided by Parse. * * As with any s...
mwusdv/CarND-Extended-Kalman-Filter-Project
src/kalman_filter.cpp
<reponame>mwusdv/CarND-Extended-Kalman-Filter-Project #include <iostream> #include "kalman_filter.h" using Eigen::MatrixXd; using Eigen::VectorXd; using namespace std; /* * Please note that the Eigen library does not initialize * VectorXd or MatrixXd objects with zeros upon creation. */ KalmanFilter::Kalman...
mwusdv/CarND-Extended-Kalman-Filter-Project
src/FusionEKF.cpp
<reponame>mwusdv/CarND-Extended-Kalman-Filter-Project<filename>src/FusionEKF.cpp #include "FusionEKF.h" #include <iostream> #include "Eigen/Dense" #include "tools.h" using Eigen::MatrixXd; using Eigen::VectorXd; using std::cout; using std::endl; using std::vector; /** * Constructor. */ FusionEKF::FusionEKF() { is...
LarsPh/Learning-OpenGL
Learning-OpenGL/Learning-OpenGL/Main.cpp
#include <glad/glad.h> #include <GLFW/glfw3.h> #include "stb_image.h" #include "shader.h" #include <iostream> const std::string srcPath = "D:\\PracticeCode\\Learning-OpenGL\\Learning-OpenGL\\Learning-OpenGL\\shaders\\"; void framebuffer_size_callback(GLFWwindow* window, int width, int height); void processInput(GLFW...
Ziezi/Programming-Principles-and-Practice-Using-C-by-Bjarne-Stroustrup-
Visual Studio 2010/Projects/bjarneStroustrupC++PartI/object_oriented_examples/testingPrograms/compilationErrors.cpp
/* TITLE Compile-time Errors compilationErrors.cpp COMMENT Objective: Test compiler response to intendedly left syntax and type errors. Input: - Output: Compiler Error-response. Author: <NAME> Date: 1.10.2015 */ #include "../../std_lib_facilities.h" int main...
Ziezi/Programming-Principles-and-Practice-Using-C-by-Bjarne-Stroustrup-
Visual Studio 2010/Projects/bjarneStroustrupC++PartIII/bjarneStroustrupC++PartIII/Chapter19Exercise6.cpp
<reponame>Ziezi/Programming-Principles-and-Practice-Using-C-by-Bjarne-Stroustrup-<gh_stars>1-10 /* TITLE Templatized Class Number Chapter19Exercise6.cpp "<NAME>up "C++ Programming: Principles and Practice."" COMMENT Objcective: Define a class Number<T> having a single member of numeric type. Define ...
Ziezi/Programming-Principles-and-Practice-Using-C-by-Bjarne-Stroustrup-
Visual Studio 2010/Projects/bjarneStroustrupC++PartI/object_oriented_examples/classesFundamentals/rectangleClass.cpp
<filename>Visual Studio 2010/Projects/bjarneStroustrupC++PartI/object_oriented_examples/classesFundamentals/rectangleClass.cpp /* TITLE Area of rectangle rectangleClass.cpp COMMENT Objective: Set parameters of an rectangle and find its area. (Introduction to classes) Input: - O...
Ziezi/Programming-Principles-and-Practice-Using-C-by-Bjarne-Stroustrup-
Visual Studio 2010/Projects/bjarneStroustrupC++PartI/object_oriented_examples/Chapter11Locale.cpp
/* TITLE System locale check Chapter11Locale.cpp "Software - Principles and Practice using C++" by <NAME>" COMMENT Objective: Check system locale Input: - Ouput: Displays system locale (English_United Kingdom.1252) Author: <NAME> Data: 10.05.2015 */ #include"stdafx.h" /* Function:...
Ziezi/Programming-Principles-and-Practice-Using-C-by-Bjarne-Stroustrup-
Visual Studio 2010/Projects/bjarneStroustrupC++PartI/object_oriented_examples/basicAlgebraicOperations.cpp
/* TITLE Basic Algebraic Operator basicAlgebraicOperations.cpp COMMENT Objective: Introduce basic operators. Input: Requests input integer. Output: Prints the requested integer, after operator action. Author: <NAME> Date: 1.10.2015 */ #include "../../std_lib_facilities.h" ...
Ziezi/Programming-Principles-and-Practice-Using-C-by-Bjarne-Stroustrup-
Visual Studio 2010/Projects/bjarneStroustrupC++PartI/object_oriented_examples/classesFundamentals/cylinderVolume.cpp
/* TITLE Find cylinder volume cylinderVolume.cpp COMMENT Objective: Uses classes to find volume of a cylinder. (Introduction to member initialization methods) Input: - Output: It prints the volume of a cylinder Author: <NAME> Date: 1.10.2015 */ #include "stdaf...
Ziezi/Programming-Principles-and-Practice-Using-C-by-Bjarne-Stroustrup-
Visual Studio 2010/Projects/bjarneStroustrupC++PartIII/bjarneStroustrupC++PartIII/Chapter20Exercise18.cpp
/* TITLE Range-checked iterator Chapter20Exercise18.cpp "<NAME>up "C++ Programming: Principles and Practice."" COMMENT Objective: Define a range-checked iterator for Vector. Input: - Output: - Author: <NAME> Date: 22. 02. 2017 */ #include <iostream> #include "Chapter20Exercise18.h" int ma...
Ziezi/Programming-Principles-and-Practice-Using-C-by-Bjarne-Stroustrup-
Visual Studio 2010/Projects/bjarneStroustrupC++PartII/bjarneStroustrupCFLTK/Chapter15Exercise5.cpp
<filename>Visual Studio 2010/Projects/bjarneStroustrupC++PartII/bjarneStroustrupCFLTK/Chapter15Exercise5.cpp /* TITLE Liebniz Series Chapter15Exercise5.cpp "<NAME> "Programming Principles and Practices Using C++"" COMMENT Objective: Animate the Liebniz series: 1 - 1/3 + 1/5 - 1/7 + 1/9 -> pi /4 ...
Ziezi/Programming-Principles-and-Practice-Using-C-by-Bjarne-Stroustrup-
Visual Studio 2010/Projects/bjarneStroustrupC++PartI/object_oriented_examples/classesFundamentals/insertionSort.cpp
<reponame>Ziezi/Programming-Principles-and-Practice-Using-C-by-Bjarne-Stroustrup- // TITLE Insertion sort algorithm insertionSort.cpp // COMMENT // Objective: Sort a set of values by checking each element and // swapping two neighboring elements if the one with // greater index is smaller than the pre...
Ziezi/Programming-Principles-and-Practice-Using-C-by-Bjarne-Stroustrup-
Visual Studio 2010/Projects/bjarneStroustrupC++PartII/bjarneStroustrupCFLTK/Chapter13Exercise14.cpp
/* TITLE Right triangle class Chapter13Exercise14.cpp "<NAME> "Programming Principles and Practices Using C++"" COMMENT Objective: Define a right triangle class and draw an octagonal shape out of eight right triangles of different colors. Input: - Output: Author: 20.09...
Ziezi/Programming-Principles-and-Practice-Using-C-by-Bjarne-Stroustrup-
Visual Studio 2010/Projects/bjarneStroustrupC++PartIV/bjarneStroustrupC++PartIV/Chapter23Exercise1Def.cpp
/* TITLE Email file Chapter23Exercise1Def.cpp COMMENT Objective: Input: - Output: - Author: <NAME> Date: 23.04.2017 */ Mail_file::Mail_file(const std::string& file_name) { std::ifstream ifs(file_name.c_str()); if (!ifs) { throw std::runtime_error("Can't open input file: " + file_nam...
Ziezi/Programming-Principles-and-Practice-Using-C-by-Bjarne-Stroustrup-
Visual Studio 2010/Projects/bjarneStroustrupC++PartII/bjarneStroustrupCFLTK/Chapter15Exercise4.cpp
<gh_stars>1-10 /* TITLE Graph functions Chapter15Exercise4.cpp "<NAME> "Programming Principles and Practices Using C++"" COMMENT Objective: Plot sin(x), cos(x), their sum and the sum of their squares on a single graph. Provide labels. Input: - Output: - Author: 18.10.2015 ...
Ziezi/Programming-Principles-and-Practice-Using-C-by-Bjarne-Stroustrup-
Visual Studio 2010/Projects/bjarneStroustrupC++PartII/bjarneStroustrupCFLTK/Chapter16Exercise9.cpp
/* TITLE Calculator GUI Chapter16Exercise9.cpp "<NAME> "Programming Principles and Practices Using C++"" COMMENT Objective: Modify the calculator from Chapter 7 to get its input from input box and to return its results to output box. 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/Chapter10Exercise2.cpp
<reponame>Ziezi/Programming-Principles-and-Practice-Using-C-by-Bjarne-Stroustrup- /* TITLE Create a file with 50 hour, temperature pairs Chapter10Exercise2.cpp Bjarne Stroustrup "Programming: Principles and Practice Using C++" COMMENT Objective: Write a function that creates a file of data in th...
Ziezi/Programming-Principles-and-Practice-Using-C-by-Bjarne-Stroustrup-
Visual Studio 2010/Projects/bjarneStroustrupC++PartI/object_oriented_examples/Chapter8Exercise3.cpp
/* TITLE Fibonacci vector Chapter8Exercise3.cpp Bjarne Stroustrup "Programming: Principles and Practice Using C++" COMMENT Objective: Read a number n; Create and print vector containing the first n Fibonacci numbers. Input: - Output: Contents of the vector. Author: ...
Ziezi/Programming-Principles-and-Practice-Using-C-by-Bjarne-Stroustrup-
Visual Studio 2010/Projects/bjarneStroustrupC++PartI/object_oriented_examples/Chapter11Exercise12.cpp
/* TITLE Reserve order of words in file Chapter11Exercise12.cpp Bjarne Stroustrup "Programming: Principles and Practice Using C++" COMMENT Objective: Create a function that reverses the order of words (whitespace-separated strings) in a file. Input: Text file. Output: Input text file. ...
Ziezi/Programming-Principles-and-Practice-Using-C-by-Bjarne-Stroustrup-
Visual Studio 2010/Projects/bjarneStroustrupC++PartI/object_oriented_examples/Chapter7Exercise5.cpp
/* TITLE Type CR to Evaluate Expression Chapter7Exercise5.cpp "Software - Principles and Practice using C++" by <NAME>" COMMENT Objective: Print the result of an expression by typing CR i.e. when newline character, '\n', is seen. Input: - Output: - Author: <NAME> Date: 25.02.2...
Ziezi/Programming-Principles-and-Practice-Using-C-by-Bjarne-Stroustrup-
Visual Studio 2010/Projects/bjarneStroustrupC++PartIII/bjarneStroustrupC++PartIII/Chapter20TryThis3.cpp
<reponame>Ziezi/Programming-Principles-and-Practice-Using-C-by-Bjarne-Stroustrup- /* TITLE Copy via iterators Chapter20TryThis3.cpp "<NAME> "C++ Programming: Principles and Practice."" COMMENT Objective: Write a function void copy (int* f1, int* e2, int* f2) that copies the elements of an array of i...
Ziezi/Programming-Principles-and-Practice-Using-C-by-Bjarne-Stroustrup-
Visual Studio 2010/Projects/bjarneStroustrupC++PartI/object_oriented_examples/Chapter7TryThis.cpp
/* TITLE Test the calculator input Chapter7TryThis.cpp Bjarne Stroustrup "Programming: Principles and Practice Using C++" COMMENT Objective: Test the input and stability of the program. Input: - Output: - Author: <NAME> Date: 17.02.2015 */ #include <iostream> #include <string> //...
Ziezi/Programming-Principles-and-Practice-Using-C-by-Bjarne-Stroustrup-
Visual Studio 2010/Projects/bjarneStroustrupC++PartI/object_oriented_examples/testingPrograms/link_errors.cpp
<gh_stars>1-10 /* TITLE Link-time Errors comp_errors.cpp COMMENT Objective: Test compiler response to link errors. Input: - Output: Compile error response. Author: <NAME> Date: 01.01.2015 */ #include "../../std_lib_facilities.h" // calculates the area of rectangle; int area(...
Ziezi/Programming-Principles-and-Practice-Using-C-by-Bjarne-Stroustrup-
Visual Studio 2010/Projects/bjarneStroustrupC++PartIV/bjarneStroustrupC++PartIV/Chapter26Exercise6.cpp
<filename>Visual Studio 2010/Projects/bjarneStroustrupC++PartIV/bjarneStroustrupC++PartIV/Chapter26Exercise6.cpp<gh_stars>1-10 /* TITLE Test Calculator & I/O redirection Chapter26Exercise6.cpp COMMENT Objective: Modify the calculator from Chapter 7 minimally to let it take input from a file and p...
Ziezi/Programming-Principles-and-Practice-Using-C-by-Bjarne-Stroustrup-
Visual Studio 2010/Projects/bjarneStroustrupC++PartI/object_oriented_examples/Chapter3Exercise1.cpp
<reponame>Ziezi/Programming-Principles-and-Practice-Using-C-by-Bjarne-Stroustrup- /* TITLE Repeat Try This Exercises Chapter3Exercise1.cpp Bjarne Stroustrup "Programming: Principles and Practice Using C++" COMMENT Objective: Included for completeness. Input: - Output: - Author: <NAME> ...
Ziezi/Programming-Principles-and-Practice-Using-C-by-Bjarne-Stroustrup-
Visual Studio 2010/Projects/bjarneStroustrupC++PartI/object_oriented_examples/Chapter3TryThis6.cpp
<reponame>Ziezi/Programming-Principles-and-Practice-Using-C-by-Bjarne-Stroustrup-<gh_stars>1-10 /* TITLE Type safety Chapter3TryThis6.cpp Bjarne Stroustrup "Programming: Principles and Practice Using C++" COMMENT Objective: Operations on types; Type conversions. Truncation (Slicing). I...
Ziezi/Programming-Principles-and-Practice-Using-C-by-Bjarne-Stroustrup-
Visual Studio 2010/Projects/Chapter21Exercise11/Chapter21Exercise11/Chapter21Exercise11.cpp
<filename>Visual Studio 2010/Projects/Chapter21Exercise11/Chapter21Exercise11/Chapter21Exercise11.cpp<gh_stars>1-10 /* TITLE GUI Order & files Chapter21Exercise11.cpp "Bjarne Stroustrup "C++ Programming: Principles and Practice."" COMMENT Objective: Provide a GUI interface for entering Orders into files. ...
Ziezi/Programming-Principles-and-Practice-Using-C-by-Bjarne-Stroustrup-
Visual Studio 2010/Projects/bjarneStroustrupC++PartII/bjarneStroustrupCFLTK/Chapter14Exercise11.cpp
/* TITLE Group container Chapter14Exercise11.cpp "<NAME> "Programming Principles and Practices Using C++"" COMMENT Objective: Define Binary_Tree class derived from Shape. Give Number of levels as parameter: 0 - no nodes; 1 - one done; 2 - top node with two subno...
Ziezi/Programming-Principles-and-Practice-Using-C-by-Bjarne-Stroustrup-
Visual Studio 2010/Projects/bjarneStroustrupC++PartI/object_oriented_examples/Chapter6Exercise9.cpp
<reponame>Ziezi/Programming-Principles-and-Practice-Using-C-by-Bjarne-Stroustrup- /* TITLE Compose an integer from chars Chapter6Exercise9.cpp Bjarne Stroustrup "Programming: Principles and Practice Using C++" COMMENT Objective: Read string characters and convert them into integers. Input: 123 O...
Ziezi/Programming-Principles-and-Practice-Using-C-by-Bjarne-Stroustrup-
Visual Studio 2010/Projects/bjarneStroustrupC++PartI/object_oriented_examples/Chapter4Exercise9.cpp
/* TITLE Grains of rice after 64 squares Chapter4Exercise9.cpp Bjarne Stroustrup "Programming: Principles and Practice Using C++" COMMENT Objective: Calculate 64 doublings. Input: Requests number of doublings. Output: Prints # rice grains after n number of doublings. Author: <NAME> Da...
Ziezi/Programming-Principles-and-Practice-Using-C-by-Bjarne-Stroustrup-
Visual Studio 2010/Projects/bjarneStroustrupC++PartI/object_oriented_examples/Chapter11TryThis.cpp
<gh_stars>1-10 /* TITLE Output manipulators Chapter11TryThis.cpp Bjarne Stroustrup "Programming: Principles and Practice Using C++" COMMENT Objective: Output date of birth and age in: decimal, hexadecimal and octal. Input: - Ouput: - Author: <NAME> Data: 19.05.2015 */ #include...
Ziezi/Programming-Principles-and-Practice-Using-C-by-Bjarne-Stroustrup-
Visual Studio 2010/Projects/Chapter21Exercise11/Chapter21Exercise11/Chapter21Exercise12.cpp
/* TITLE Query GUI Chapter21Exercise12.cpp "Bjarne Stroustrup "C++ Programming: Principles and Practice."" COMMENT Objective: Provide a GUI interface for querying a file of Orders; e.g., "Find all orders from Joe," "Find the tolal value of orders in file Hardware," and "List all orders i...
Ziezi/Programming-Principles-and-Practice-Using-C-by-Bjarne-Stroustrup-
Visual Studio 2010/Projects/bjarneStroustrupC++PartI/object_oriented_examples/Chapter4Exercise18.cpp
<filename>Visual Studio 2010/Projects/bjarneStroustrupC++PartI/object_oriented_examples/Chapter4Exercise18.cpp /* TITLE Quadratic Equation Chapter4Exercise18.cpp Bjarne Stroustrup "Programming: Principles and Practice Using C++" COMMENT Objective: Solve a quadratic equation. (ax^2 + bx + ...
Ziezi/Programming-Principles-and-Practice-Using-C-by-Bjarne-Stroustrup-
Visual Studio 2010/Projects/bjarneStroustrupC++PartI/object_oriented_examples/Chapter4Exercise10.cpp
<filename>Visual Studio 2010/Projects/bjarneStroustrupC++PartI/object_oriented_examples/Chapter4Exercise10.cpp /* TITLE "Rock, Paper, Scissors" Chapter4Exercise10.cpp Bjarne Stroustrup "Programming: Principles and Practice Using C++" COMMENT Objective: Write a "Rock, Paper, Scissors" game. Input: R...
Ziezi/Programming-Principles-and-Practice-Using-C-by-Bjarne-Stroustrup-
Visual Studio 2010/Projects/Chapter22 Exercise 6/5. C++/0ProgramInCPP.cpp
/* Implementation of Newton - Raphson iteration */ double SolveNewton (double (* pFunc) (double), double (* pFuncPrime) (double), double x, double precision = 1.0e-5) { double step; do { step = (*pFunc)(x) / (*pFuncPrime)(x); x -= step; } while (fabs (step) > precision); return x; }
Ziezi/Programming-Principles-and-Practice-Using-C-by-Bjarne-Stroustrup-
Visual Studio 2010/Projects/bjarneStroustrupC++PartI/object_oriented_examples/testingPrograms/fileReadWrite.cpp
/* TITLE Read and write from file fileReadWrite.cpp COMMENT Objective: Define streams for file read and write. Input: Reads from file testCalculator.cpp Output: To file testCalculator and to stdout. Author: <NAME> Date: 20.02.2015 */ #include "stdafx.h" int main() try{ char inp[100];...
Ziezi/Programming-Principles-and-Practice-Using-C-by-Bjarne-Stroustrup-
Visual Studio 2010/Projects/bjarneStroustrupC++PartIII/bjarneStroustrupC++PartIII/Chapter19Exercise16.cpp
/* TITLE Vector size of int Chapter19Exercise16.cpp "<NAME> "C++ Programming: Principles and Practice."" COMMENT Objective: Define a vector so sizeof(vector<int>) == sizeof(int*), that is, the vector itself consists only of a pointer to a representation consisting of the elements, the n...
Ziezi/Programming-Principles-and-Practice-Using-C-by-Bjarne-Stroustrup-
Visual Studio 2010/Projects/bjarneStroustrupC++PartII/bjarneStroustrupCFLTK/Chapter13Exercise10.cpp
/* TITLE Regular Polygon Chapter13Exercise10.cpp "<NAME> "Programming Principles and Practices Using C++"" COMMENT Objective: Create a class RegularPolygon that instantiates an objects using three paremeters: center, radius and number of sides. Output: Author: 20.09.201...
Ziezi/Programming-Principles-and-Practice-Using-C-by-Bjarne-Stroustrup-
Visual Studio 2010/Projects/bjarneStroustrupC++PartIV/bjarneStroustrupC++PartIV/Chapter24Exercise1.cpp
/* TITLE Function & apply Chapter24xercise1.cpp COMMENT Objective: The function arguments f for a.apply(f) and apply(f,a) are different. Write a double() function for each and use each to double the elements of an array {1, 2, 3, 4, 5 }. Define a single double() function that can...
Ziezi/Programming-Principles-and-Practice-Using-C-by-Bjarne-Stroustrup-
Visual Studio 2010/Projects/bjarneStroustrupC++PartIII/bjarneStroustrupC++PartIII/Chapter17Exercise2.cpp
<filename>Visual Studio 2010/Projects/bjarneStroustrupC++PartIII/bjarneStroustrupC++PartIII/Chapter17Exercise2.cpp /* TITLE Built-in type sizes Chapter17Exercise2.cpp "<NAME> "C++ Programming: Principles and Practice."" COMMENT Objcective: How many bytes are there in int, double, bool? char - unit is ...
Ziezi/Programming-Principles-and-Practice-Using-C-by-Bjarne-Stroustrup-
Visual Studio 2010/Projects/bjarneStroustrupC++PartIII/bjarneStroustrupC++PartIII/Chapter20Exercise7.cpp
<reponame>Ziezi/Programming-Principles-and-Practice-Using-C-by-Bjarne-Stroustrup- /* TITLE Max in vector<string> Chapter20Exercise7.cpp "Bjarne Stroustrup "C++ Programming: Principles and Practice."" COMMENT Objective: Find the lexicographically last string in an unsorted vector<string> Inpu...
Ziezi/Programming-Principles-and-Practice-Using-C-by-Bjarne-Stroustrup-
Visual Studio 2010/Projects/bjarneStroustrupC++PartI/object_oriented_examples/Chapter8Exercise1.cpp
<reponame>Ziezi/Programming-Principles-and-Practice-Using-C-by-Bjarne-Stroustrup-<filename>Visual Studio 2010/Projects/bjarneStroustrupC++PartI/object_oriented_examples/Chapter8Exercise1.cpp /* TITLE Stream parameter Chapter8Exercise1.cpp Bjarne Stroustrup "Programming: Principles and Practice Using C++" CO...
Ziezi/Programming-Principles-and-Practice-Using-C-by-Bjarne-Stroustrup-
Visual Studio 2010/Projects/bjarneStroustrupC++PartI/object_oriented_examples/Chapter4TryThis3.cpp
<gh_stars>1-10 /* TITLE Iterations & casting Chapter4TryThis3.cpp Bjarne Stroustrup "Programming: Principles and Practice Using C++" COMMENT Objective: Character iteration table; expicit type casting; ASCII character values. Input: - Output: It prints a table wit...
Ziezi/Programming-Principles-and-Practice-Using-C-by-Bjarne-Stroustrup-
Visual Studio 2010/Projects/bjarneStroustrupC++PartI/object_oriented_examples/Chapter9Exercise16.cpp
<filename>Visual Studio 2010/Projects/bjarneStroustrupC++PartI/object_oriented_examples/Chapter9Exercise16.cpp /* TITLE Compare Rational and Money Chapter9Exercise16.cpp Bjarne Stroustrup "Programming: Principles and Practice Using C++" COMMENT Objective: Demonstrate a calculation where class Rational g...
Ziezi/Programming-Principles-and-Practice-Using-C-by-Bjarne-Stroustrup-
Visual Studio 2010/Projects/bjarneStroustrupC++PartI/object_oriented_examples/Chapter5Drill.cpp
<reponame>Ziezi/Programming-Principles-and-Practice-Using-C-by-Bjarne-Stroustrup- /* TITLE Debug using exception handler Chapter5Drill.cpp Bjarne Stroustrup "Programming: Principles and Practice Using C++" COMMENT Objective: Remove all errors in the following lines. Input: - Output: Prin...
Ziezi/Programming-Principles-and-Practice-Using-C-by-Bjarne-Stroustrup-
Visual Studio 2010/Projects/bjarneStroustrupC++PartIII/bjarneStroustrupC++PartIII/Chapter19Exercise4.cpp
/* TITLE Templatized Linked List Chapter19Exercise4.cpp "Bjarne Stroustrup "C++ Programming: Principles and Practice."" COMMENT Objcective: Modify class Link from Chapter 17.9.3 to be a template with the type of a value as the template argument. Redo Exercise 13 Chapter 17 with Link...
Ziezi/Programming-Principles-and-Practice-Using-C-by-Bjarne-Stroustrup-
Visual Studio 2010/Projects/bjarneStroustrupC++PartIV/bjarneStroustrupC++PartIV/Chapter24Drill6.cpp
/* TITLE Tensor Multiplication Chapter24Drill6.cpp COMMENT Objective: Compute a multiplication table for [O,n)*[O,m) and represent it as a 2D Matrix. Take n and m from std::cin and print out the table nicely (assume that m is small enough that the results fit on a line). I...
Ziezi/Programming-Principles-and-Practice-Using-C-by-Bjarne-Stroustrup-
Visual Studio 2010/Projects/bjarneStroustrupC++PartIII/bjarneStroustrupC++PartIII/Chapter21Exercise10.cpp
<gh_stars>1-10 /* TITLE Order Total Value Chapter21Exercise10.cpp "<NAME>up "C++ Programming: Principles and Practice."" COMMENT Objective: Compute the total value of the orders in the two files from the previous exercise. The value of an individual Purchase is (of course) its unit_pri...
Ziezi/Programming-Principles-and-Practice-Using-C-by-Bjarne-Stroustrup-
Visual Studio 2010/Projects/bjarneStroustrupC++PartI/object_oriented_examples/Chapter9Exercise7.cpp
<filename>Visual Studio 2010/Projects/bjarneStroustrupC++PartI/object_oriented_examples/Chapter9Exercise7.cpp /* TITLE Class Book Chapter9Exercise7.cpp Bjarne Stroustrup "Programming: Principles and Practice Using C++" COMMENT Objective: Data members: Function members: Overloa...
Ziezi/Programming-Principles-and-Practice-Using-C-by-Bjarne-Stroustrup-
Visual Studio 2010/Projects/bjarneStroustrupC++PartI/object_oriented_examples/Chapter2Exercise4.cpp
/* TITLE Cooking recepie manual Chapter2Exercise4.cpp Bjarne Stroustrup "Programming: Principles and Practice Using C++" COMMENT Objective: Pseudocode; Initial algorithmic approach to task; Cooking Recepie intstructions. Input: - Output: - Author: <NAME> ...
Ziezi/Programming-Principles-and-Practice-Using-C-by-Bjarne-Stroustrup-
Visual Studio 2010/Projects/bjarneStroustrupC++PartIII/bjarneStroustrupC++PartIII/Chapter20Exercise11.cpp
<filename>Visual Studio 2010/Projects/bjarneStroustrupC++PartIII/bjarneStroustrupC++PartIII/Chapter20Exercise11.cpp /* TITLE List<int> to vector<double> Chapter20Exercise11.cpp "<NAME>ustrup "C++ Programming: Principles and Practice."" COMMENT Objective: Give a list `std::list<int>` as a (by - referen...
Ziezi/Programming-Principles-and-Practice-Using-C-by-Bjarne-Stroustrup-
Visual Studio 2010/Projects/bjarneStroustrupC++PartIII/bjarneStroustrupC++PartIII/Chapter19Exercise11.cpp
<gh_stars>1-10 /* 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 ...
Ziezi/Programming-Principles-and-Practice-Using-C-by-Bjarne-Stroustrup-
Visual Studio 2010/Projects/bjarneStroustrupC++PartI/object_oriented_examples/Chapter2Drill.cpp
<filename>Visual Studio 2010/Projects/bjarneStroustrupC++PartI/object_oriented_examples/Chapter2Drill.cpp /* TITLE Build, compile and run Chapter2Drill.cpp <NAME> "Programming: Principles and Practice Using C++" COMMENT Objective: Initial acquaintance with the IDE and C++. Input: - Output: ...
Ziezi/Programming-Principles-and-Practice-Using-C-by-Bjarne-Stroustrup-
Visual Studio 2010/Projects/bjarneStroustrupC++PartI/object_oriented_examples/Chapter8Exercise4.cpp
<reponame>Ziezi/Programming-Principles-and-Practice-Using-C-by-Bjarne-Stroustrup- /* TITLE Max Fibonacci number Chapter8Exercise4.cpp Bjarne Stroustrup "Programming: Principles and Practice Using C++" COMMENT Objective: Find the maximum Fibonacci number held in int. Input: - Output: Contents...
Ziezi/Programming-Principles-and-Practice-Using-C-by-Bjarne-Stroustrup-
Visual Studio 2010/Projects/bjarneStroustrupC++PartI/object_oriented_examples/Chapter7Exercise9.cpp
<filename>Visual Studio 2010/Projects/bjarneStroustrupC++PartI/object_oriented_examples/Chapter7Exercise9.cpp /* TITLE Class Table Chapter7exercise9.cpp "Software - Principles and Practice using C++" by <NAME>" COMMENT Objective: Write a class Table that holds vector tha stores the use...
Ziezi/Programming-Principles-and-Practice-Using-C-by-Bjarne-Stroustrup-
Visual Studio 2010/Projects/bjarneStroustrupC++PartI/object_oriented_examples/Chapter6TryThis3.cpp
/* TITLE Expand calculator Chapter6TryThis3.cpp Bjarne Stroustrup "Programming: Principles and Practice Using C++" COMMENT Objective: Add class Token_stream and modify main and all the functions as indicated in 6.7 - 6.9. Add end of expression (evaluate) symbol ';'. Fil...
Ziezi/Programming-Principles-and-Practice-Using-C-by-Bjarne-Stroustrup-
Visual Studio 2010/Projects/bjarneStroustrupC++PartI/object_oriented_examples/Chapter7Drill.cpp
<gh_stars>1-10 /* TITLE Debug and run Chapter7Drill.cpp <NAME> "Programming: Principles and Practice Using C++" calculator08buggy.cpp COMMENT Objective: 1.Download : http://www.stroustrup.com/Programming/calculator08buggy.cpp Remove the 3 inserted bugs that the c...
Ziezi/Programming-Principles-and-Practice-Using-C-by-Bjarne-Stroustrup-
Visual Studio 2010/Projects/bjarneStroustrupC++PartII/bjarneStroustrupCFLTK/Chapter16Exercise10.cpp
/* TITLE Function GUI Chapter16Exercise10.cpp "<NAME> "Programming Principles and Practices Using C++"" COMMENT Objective: Provide a program where one can choose among a set of functions (e.g. sin(x), log(x)), provide parameters for those functions, and then graph them. In...
Ziezi/Programming-Principles-and-Practice-Using-C-by-Bjarne-Stroustrup-
Visual Studio 2010/Projects/bjarneStroustrupC++PartI/object_oriented_examples/Chapter6Exercise6.cpp
<reponame>Ziezi/Programming-Principles-and-Practice-Using-C-by-Bjarne-Stroustrup- /* TITLE English Language Grammar Chapter6Exercise6.cpp <NAME>ustrup "Programming: Principles and Practice Using C++" COMMENT Objective: Implement simple grammar that discerns noun, verb, conjunction a...
Ziezi/Programming-Principles-and-Practice-Using-C-by-Bjarne-Stroustrup-
Visual Studio 2010/Projects/bjarneStroustrupC++PartIII/bjarneStroustrupC++PartIII/Chapter19Exercise3.cpp
<reponame>Ziezi/Programming-Principles-and-Practice-Using-C-by-Bjarne-Stroustrup-<gh_stars>1-10 /* TITLE Class Pair Chapter19Exercise3.cpp "<NAME>up "C++ Programming: Principles and Practice."" COMMENT Objcective: A class Pair that holds a pair of any type. Use it to implement a simple sy...
Ziezi/Programming-Principles-and-Practice-Using-C-by-Bjarne-Stroustrup-
Visual Studio 2010/Projects/bjarneStroustrupC++PartIV/bjarneStroustrupC++PartIV/Chapter24Drill5.cpp
/* TITLE IO Matrix Chapter24Drill5.cpp COMMENT Objective: Read ten floating-point values from input and put them into a Matrix<double>. Matrix has no push_back() so be careful to handle an attempt to enter a wrong number of doubles. Print out the Matrix. ...
Ziezi/Programming-Principles-and-Practice-Using-C-by-Bjarne-Stroustrup-
Visual Studio 2010/Projects/bjarneStroustrupC++PartI/object_oriented_examples/classesFundamentals/selectionSort.cpp
// TITLE Selection sort algorhitm selectionSort.cpp // COMMENT // Objective: Sort a set of values by checking for the Minimum value // each time and putting it in front of the set. // Input: A vector by reference. // Output: A sorted vector. // Complexity: Quadratic: N^2 #include "stdafx.h" using ...
Ziezi/Programming-Principles-and-Practice-Using-C-by-Bjarne-Stroustrup-
Visual Studio 2010/Projects/bjarneStroustrupC++PartIV/bjarneStroustrupC++PartIV/Chapter25Exercise15.cpp
<gh_stars>1-10 /* TITLE new[] vs pool vs stack Chapter25Exercise15.cpp COMMENT Objective: Measure the time it takes to de / allocate 10000 objects of random sizes in [10000:0) - byte range. Do this twice: a). Deallocate in reverse order. b). Deallocate in random order. ...
Ziezi/Programming-Principles-and-Practice-Using-C-by-Bjarne-Stroustrup-
Visual Studio 2010/Projects/bjarneStroustrupC++PartIII/bjarneStroustrupC++PartIII/Chapter17Exercise14.cpp
/* TITLE Singly Linked list Chapter17Exercise14.cpp "<NAME>ustrup "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 */ #in...
Ziezi/Programming-Principles-and-Practice-Using-C-by-Bjarne-Stroustrup-
Visual Studio 2010/Projects/bjarneStroustrupC++PartIII/bjarneStroustrupC++PartIII/Chapter20TryThis7.cpp
<reponame>Ziezi/Programming-Principles-and-Practice-Using-C-by-Bjarne-Stroustrup- /* TITLE Containers comparison Chapter20TryThis7.cpp "<NAME> "C++ Programming: Principles and Practice."" COMMENT Objective: For each array of char, vector<char>, list<char>, and string, define one with the value "...
Ziezi/Programming-Principles-and-Practice-Using-C-by-Bjarne-Stroustrup-
Visual Studio 2010/Projects/bjarneStroustrupC++PartI/object_oriented_examples/Chapter9Exercise9.cpp
/* TITLE Implement software for a Library Chapter9Exercise9.cpp Bjarne Stroustrup "Programming: Principles and Practice Using C++"" COMMENT Objective: Implement a class Library. Data Members: Function Members: vector<Book> books find_book() add_new_book() remo...
Ziezi/Programming-Principles-and-Practice-Using-C-by-Bjarne-Stroustrup-
Visual Studio 2010/Projects/bjarneStroustrupC++PartI/object_oriented_examples/Chapter4TryThis6.cpp
<filename>Visual Studio 2010/Projects/bjarneStroustrupC++PartI/object_oriented_examples/Chapter4TryThis6.cpp<gh_stars>1-10 /* TITLE I/O check Chapter4TryThis6.cpp Bjarne Stroustrup "Programming: Principles and Practice Using C++" COMMENT Objective: Read in words using cin, comp...
Ziezi/Programming-Principles-and-Practice-Using-C-by-Bjarne-Stroustrup-
Visual Studio 2010/Projects/bjarneStroustrupC++PartI/object_oriented_examples/Chapter8Exercise7.cpp
<filename>Visual Studio 2010/Projects/bjarneStroustrupC++PartI/object_oriented_examples/Chapter8Exercise7.cpp<gh_stars>1-10 /* TITLE Name-age ordered pairs Chapter8exercise7.cpp Bjarne Stroustrup "Programming: Principles and Practice Using C++ COMMENT Objective: Save pair of name and age into two different v...
Ziezi/Programming-Principles-and-Practice-Using-C-by-Bjarne-Stroustrup-
Visual Studio 2010/Projects/bjarneStroustrupC++PartIII/bjarneStroustrupC++PartIII/Chapter20Exercise13.cpp
/* TITLE Linked List Chapter20Exercise13.cpp "<NAME> "C++ Programming: Principles and Practice."" COMMENT Objective: Modify the solution to the previous exercise to use 0 to represent the (non- existent) one-past-the-end Link (list<Elem>::end()); that way the size of empty list is equal...
Ziezi/Programming-Principles-and-Practice-Using-C-by-Bjarne-Stroustrup-
Visual Studio 2010/Projects/bjarneStroustrupC++PartIII/bjarneStroustrupC++PartIII/Chapter18Exercise7.cpp
<reponame>Ziezi/Programming-Principles-and-Practice-Using-C-by-Bjarne-Stroustrup- /* TITLE C-style string concatenation Chapter18Exercise7.cpp "<NAME>up "C++ Programming: Principles and Practice."" COMMENT Objcective: Rewrite cat_dot() for c-style strings as input parameters; let it return a c-string on ...
Ziezi/Programming-Principles-and-Practice-Using-C-by-Bjarne-Stroustrup-
Visual Studio 2010/Projects/bjarneStroustrupC++PartIV/bjarneStroustrupC++PartIV/Chapter23Exercise15.cpp
/* TITLE Pattern not a regular expression Chapter23Exercise15.cpp COMMENT Objective: Describe a pattern that cannot be expressed as a regular expression. Input: - Output: - Author: <NAME> Date: 30.04.2017 */ /* Pattern: a sequence of characters. Regular expression: a pattern describ...
Ziezi/Programming-Principles-and-Practice-Using-C-by-Bjarne-Stroustrup-
Visual Studio 2010/Projects/bjarneStroustrupC++PartII/bjarneStroustrupCFLTK/Chapter16Exercise5Def.cpp
<reponame>Ziezi/Programming-Principles-and-Practice-Using-C-by-Bjarne-Stroustrup- /* TITLE Drawing GUI Chapter16Exercise5Def.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 time you cl...
Ziezi/Programming-Principles-and-Practice-Using-C-by-Bjarne-Stroustrup-
Visual Studio 2010/Projects/bjarneStroustrupC++PartIII/bjarneStroustrupC++PartIII/Chapter17Exercise9.cpp
<reponame>Ziezi/Programming-Principles-and-Practice-Using-C-by-Bjarne-Stroustrup- /* TITLE Heap and stack addresses Chapter17Exercise9.cpp "<NAME> "C++ Programming: Principles and Practice."" COMMENT Objcective: Write a program that determines address order in memory allocation in the heap, the stack (...