Browse All
Alphabetical listing with fast deep pagination.
1197283 items • Page 49 / 23946
#include using namespace std; const int MAXNUMCARS100; class Car private: string
#include using namespace std; const int MAXNUMCARS100; class Car private: string m_make; string m_model; double m_earnedOnCar 1 all the money the car has earned public: hi class D…
#include using namespace std; const int SIZE=5; /*******************************
#include using namespace std; const int SIZE=5; /*********************************************************************/ // Class declaraton for Array_Class…
#include using namespace std; const int TOTALYEARS = 100; int findCurrent (ageFr
#include using namespace std; const int TOTALYEARS = 100; int findCurrent (ageFrequency, ) int findCounter ( , ) int main() { int ageFrequency[TOTALYEARS]; // array with 100 eleme…
#include using namespace std; enum Months {JANUARY, FEBURARY, MARCH, APRIL, MAY}
#include using namespace std; enum Months {JANUARY, FEBURARY, MARCH, APRIL, MAY}; struct Weather { double totalRainfall; double HighTemp; double LowTemp; double AvgTemp; }; const …
#include using namespace std; int findMax_1(int pos1, int pos2); int getPositive
#include using namespace std; int findMax_1(int pos1, int pos2); int getPositive(); int findMax_2(int num1, int num2, int num3, int num4, int num5); int main() { int pos1, pos2, m…
#include using namespace std; int getPositive(); int main() { int pos1, pos2, ma
#include using namespace std; int getPositive(); int main() { int pos1, pos2, maxPos, pos; pos1 = getPositive(); pos2 = getPositive(); // call function to find max of pos1 and pos…
#include using namespace std; int main() { double withdrawal(double balance, dou
#include using namespace std; int main() { double withdrawal(double balance, double amount, int accountType); double deposit(double balance, double amount); void transfer(double &…
#include using namespace std; int main() { int numStudents; float numHours, tota
#include using namespace std; int main() { int numStudents; float numHours, total, average; int student,day = 0; // these are the counters for the loops cout << "This progra…
#include using namespace std; int main() { int value; // value is some positive
#include using namespace std; int main() { int value; // value is some positive number n int total = 0; // total holds the sum of the first n positive numbers int number; // the a…
#include using namespace std; int main() { int x = 123; cout
#include using namespace std; int main() { int x = 123; cout << x % 10 << endl; // line (a) cout << x / 10 << endl; // line (b) if (x > 50) cout <<…
#include using namespace std; int main() {int hours; char pack; double tot; cout
#include using namespace std; int main() {int hours; char pack; double tot; cout<<"Make a Selection "; cout<<"(A)Package A "; cout<<"(B)Package B "; cout<<…
#include using namespace std; int stringLength (const char* s) //returns the num
#include using namespace std; int stringLength (const char* s) //returns the number of printable characters in s int countChars (const chan s, const char ch) //returns the number …
#include using namespace std; int { main()//declare arrays char types[5] = {\'A\
#include using namespace std; int { main()//declare arrays char types[5] = {'A', 'B', 'C', 'D', 'E'}; int fees[5] = {100, 110, 125, 150, 200};//declare variables char memberType =…
#include using namespace std; int { main()//declare arrays char types[5] = {\'A\
#include using namespace std; int { main()//declare arrays char types[5] = {'A', 'B', 'C', 'D', 'E'}; int fees[5] = {100, 110, 125, 150, 200};//declare variables char memberType =…
#include using namespace std; struct noodle { int student; float gpa; noodle *ne
#include using namespace std; struct noodle { int student; float gpa; noodle *next; }; void insert(int item, float gpa1, noodle * &tail) ; void printlist(noodle *head); int ma…
#include using namespace std; typedef double* dblDynPtr; int main() { int n_days
#include using namespace std; typedef double* dblDynPtr; int main() { int n_days; //number of days the user will be observing int n_observe=3; //number of observations bool eighty…
#include using namespace std; vector split_string(string); // Complete the findM
#include using namespace std; vector split_string(string); // Complete the findMedian function below. int findMedian(vector arr) { } int main() { ofstream fout(getenv("OUTPUT_PATH…
#include using namespace std; void main() { int x = 0; int y = 0; char z = \' \'
#include using namespace std; void main() { int x = 0; int y = 0; char z = ' ' ; } void getHoursRate(double h, double r) { cout << "Input how many hours worked"; cin >>…
#include using namespace std; void main() { int x = 0; int y = 0; char z = \' \'
#include using namespace std; void main() { int x = 0; int y = 0; char z = ' ' ; } void getHoursRate(double h, double r) { cout << "Input how many hours worked"; cin >>…
#include using namespace std; void main() { int x = 0; int y = 0; char z = \' \'
#include using namespace std; void main() { int x = 0; int y = 0; char z = ' ' ; } void getHoursRate(double h, double r) { cout << "Input how many hours worked"; cin >>…
#include using namespace std; void main() { int x = 0; int y = 0; char z = \' \'
#include using namespace std; void main() { int x = 0; int y = 0; char z = ' ' ; } void getHoursRate(double h, double r) { cout << "Input how many hours worked"; cin >>…
#include using namespace std; void main() { int x = 0; int y = 0; char z = \' \'
#include using namespace std; void main() { int x = 0; int y = 0; char z = ' ' ; } void getHoursRate(double h, double r) { cout << "Input how many hours worked"; cin >>…
#include using namespace std; void main() { int x = 0; int y = 0; char z = \' \'
#include using namespace std; void main() { int x = 0; int y = 0; char z = ' ' ; } void getHoursRate(double h, double r) { cout << "Input how many hours worked"; cin >>…
#include using namespace std; void main() { int x = 0; int y = 0; char z = \' \'
#include using namespace std; void main() { int x = 0; int y = 0; char z = ' ' ; } void getHoursRate(double h, double r) { cout << "Input how many hours worked"; cin >>…
#include using namespace std;//Write a function to return a string composed of t
#include using namespace std;//Write a function to return a string composed of the most//frequent lowercase letter found in each row of a 10 times 10//array of lowercase alphabeti…
#include using namespace std;//Write a function to return a string composed of t
#include using namespace std;//Write a function to return a string composed of the most//frequent lowercase letter found in each row of a 10 times 10//array of lowercase alphabeti…
#include void set_flag(int* flag_holder, int flag_position); int check_flag(int
#include void set_flag(int* flag_holder, int flag_position); int check_flag(int flag_holder, int flag_position); int main(int argc, char* argv[]) { int flag_holder = 0; int i; set…
#include void smile(void); void smile(void) { ; } int main(int argc, char * argv
#include void smile(void); void smile(void) { ; } int main(int argc, char * argv[]) { printf(" **** * . .* * * * \_/ * * * **** "); return 0; } So the goal of this assign…
#include#include using namespace std; int main() { int programs; double points,m
#include#include using namespace std; int main() { int programs; double points,max,TtlPoints=0,MaxPoints=0,average; //get valid program # do { cout<<"Enter number of porgram…
#include#include#include using namespace std; struct menuItemType { string menui
#include#include#include using namespace std; struct menuItemType { string menuitem[10]; double menuprice[10]; }; void showmenu(); void getdata(menuItemType &m, int &c); v…
#include#include//reading/writing to file using namespace std; //uses input.Dat,
#include#include//reading/writing to file using namespace std; //uses input.Dat, //create() IS ONLY FOR TESTING PURPOSES void create(){ int test[]={76,89,150,135,200,76,12,100,150…
#include using namespace std; void cocktailSort(int arr[], int n)
#include<bits/stdc++.h> using namespace std; void cocktailSort(int arr[], int n) { bool flag = true; int p = 0; int r = n-1; int swaps = 0; int comparison = 0; while (flag) …
#include using namespace std; void Capitalize(char *sentencePrt); void m
#include<cctype> using namespace std; void Capitalize(char *sentencePrt); void main() { const int size=30; char String1[size]; cout<<"Enter String up to (20)characters…
#include #include #include #include void a
#include<conio.h> #include<stdio.h> #include<string.h> #include<stdlib.h> void accept(); void result(); int no1=0,no2=0,sum=0,a[10],b[10],c[5],i=0,r1,r2,x,…
#include This is a hangman game. Can you help me make 8 functions out o
#include<conio.h> This is a hangman game. Can you help me make 8 functions out of this also make us it compiles good. #include<stdio.h> #include<string.h> #inclu…
#include #include using namespace std; int a[4]; class chang
#include<cstdlib> #include <iostream> using namespace std; int a[4]; class changeMaker{ public: double changeMake(int amount){ //Base Case if(amount == 0) …
#include int Word_count(char *); //Main function void main() {//Start m
#include<cstring> int Word_count(char *); //Main function void main() {//Start main const int size=50; char String1[size];//Holds string int words; //Inp…
#include #include int AD_volt=0; int position=0,BJT[4]={0xFE,0xFD
#include<io.h> #include<delay.h> int AD_volt=0; int position=0,BJT[4]={0xFE,0xFD,0xFB,0xF7}; int number=0,segment[10]={0xC0,0xF9,0xA4,0xB0,0x99,0x92,0x82,0xF8,0x80,0x9…
#include #include #include #include #
#include<iostream.h> #include<conio.h> #include<graphics.h> #include<stdlib.h> #include<dos.h> int graphics(int,int); int A,B,ctr=0,guess; int gd,gm;…
#include #include #include class string { private
#include<iostream.h> #include<conio.h> #include<string.h> class string { private: char string[30]; public: string() { strcpy(string,""); } void getstring() { cou…
#include #include class Temperature { private: double magni
#include<iostream.h> #include<conio.h> class Temperature { private: double magnitude; char scale; }; int main() { Temperature t1; cout<<sizeof(t1)<<endl; …
#include #include class a { private: int x; int y; public:
#include<iostream.h> #include<conio.h> class a { private: int x; int y; public: a() { x=0; y=0; } friend voidoperator>>(istream&a…
#include #include #include #include
#include<iostream.h> #include<fstream.h> #include<iomanip.h> #include<stdlib.h> //using namespace std; class planet { private: int id; int x; int y; int z;…
#include #include #include #include #i
#include<iostream.h> #include<fstream.h> #include<string.h> #include<conio.h> #include<stdio.h> #include<string.h> #include <stdlib.h> #i…
#include #include #include #include #i
#include<iostream.h> #include<fstream.h> #include<string.h> #include<conio.h> #include<stdio.h> #include<string.h> #include <stdlib.h> #i…
#include #include struct data { char name[30]; float curr
#include<iostream.h> #include<fstream.h> struct data { char name[30]; float current,last; }; void main() { fstream file; file.open("stocksprices.txt"); struct a[30],b;…
#include int main() {int i,j,k; for(j=1;j
#include<iostream.h> int main() {int i,j,k; for(j=1;j<7;j++) {for(i=1;i<=j;i++) cout<<"*"; cout<<endl; } for (j=7;j>0;j--) {for(i=1;…
#include int stack [15]; int i = -1 ; void star line ( ) { for(int i
#include<iostream.h> int stack [15]; int i = -1 ; void star line ( ) { for(int i=o; i<45;i++) cout<<"*"; cout<<endl; } void push(int k) i++; if(i<15) stack…
#include #include #include using namespace std; void
#include<iostream> #include <cmath> #include <iomanip> using namespace std; void BuyCoffee1(char&, double, double, double); void instructionrerun(); void Buy…
#include #include #include #include #inc
#include<iostream> #include <fstream> #include <iomanip> #include <cstring> #include <string> using namespace std; void sort(string[],double[],int); …