Web development and programming
191828 questions • Page 22 / 3837
#include #include void getInputs(char *, char **, char
#include <sys/wait.h> #include <sys/stat.h> void getInputs(char *, char **, char **); void getInputs(char *str, char **inputs, char **tests) { FILE *fp = fopen(str,…
#include #include using namespace std; vector insert(co
#include <vector> #include <iostream> using namespace std; vector<int> insert(const vector<int> & prev, int pos, int elem){ vector<int> v; for (i…
#include #include #include using namespace std; enu
#include <vector> #include <string> #include <iostream> using namespace std; enum class Weekday { Monday, Tuesday, Wednesday, Thursday, Friday, …
#include #include \"Node.h\" #pragma once using namespace std; template
#include <vector> #include "Node.h" #pragma once using namespace std; template<class ItemType> class SortedDoublyLinkedList { //DO NOT MODIFY THIS CLASS DECLARATIO…
#include ??? // For setprecision() #include ??? // For cout, endl, fixed #includ
#include ??? // For setprecision() #include ??? // For cout, endl, fixed #include ??? // For the Color class declaration #include ??? // For the Point class declaration #include ?…
#include ??? // For sqrt() function #include ??? // For stringstream class #incl
#include ??? // For sqrt() function #include ??? // For stringstream class #include ??? // For Point class declaration //----------------------------------------------------------…
#include \"2170_9_7a.h\" #include #include using namespace
#include "2170_9_7a.h" #include <iostream> #include <stdlib.h> using namespace std; //The constructor reads in all the integers and stores them in the //object of type…
#include \"BagInterface.h\" #include \"DoubleLinkedBag.hpp\" #include
#include "BagInterface.h" #include "DoubleLinkedBag.hpp" #include <iostream> #include <string> #include <cctype> using namespace std; void displayBag(BagInterfac…
#include \"BinTree.h\" // CS212, Spring 2014, EXAM #5 void main() { BinTree
#include "BinTree.h" // CS212, Spring 2014, EXAM #5 void main() { BinTree<int> treeA; // Add elements to the tree treeA.insert(42); treeA.insert(11); …
#include \"Book.h\" #include #include // Q1 : CLASS METHODS
#include "Book.h" #include <string> #include <iostream> // Q1 : CLASS METHODS Part 1 : Constructor, Accessor, and Set Methods for Book (5 points) // Constructor // Cre…
#include \"Contact.h\" #include \"PhoneBook.h\" #include #include
#include "Contact.h" #include "PhoneBook.h" #include <iostream> #include <cstdlib> #include <cassert> int myrand(int upper){ return rand()%upper; } // generat…
#include \"Contact.h\" #include \"PhoneBook.h\" #include #include
#include "Contact.h" #include "PhoneBook.h" #include <iostream> #include <cstdlib> #include <cassert> int myrand(int upper){ return rand()%upper; } // generat…
#include \"Date.h\" Date::Date() { //constructor to assign todays date to date c
#include "Date.h" Date::Date() { //constructor to assign todays date to date char data[9]; //holder for the date _strdate_s(data); //gets the current date mm/dd/yy (THIS …
#include \"GameBoard.h\" #include #include #include
#include "GameBoard.h" #include <cstdlib> #include <ctime> #include <iostream> #include <iomanip> using namespace std; //Set the strategies of all players …
#include \"LinkedList.h\" #include #include using namespac
#include "LinkedList.h" #include <iostream> #include <stdlib.h> using namespace std; //---------------------------------------------------- LinkedList::LinkedList(){ t…
#include \"LinkedList.h\" // Header file #include template
#include "LinkedList.h" // Header file #include <cassert> template<class ItemType> LinkedList<ItemType>::LinkedList() : headPtr(nullptr), itemCount(0) { } // end…
#include \"Node.h\" Node::Node() { } void Node::setValue(int val) { } int Node::
#include "Node.h" Node::Node() { } void Node::setValue(int val) { } int Node::getValue() const { return 0; // Dummy Statement } void Node::setNext(Node* prev) { } Node…
#include \"Resistor.h\" #include #include #include
#include "Resistor.h" #include <iostream> #include <iomanip> #include <Windows.h> #include <math.h> using namespace std; //EIA Standard array element sizes…
#include \"StdAfx.h\" #include \"iostream\" #include \"iomanip\" using namespace
#include "StdAfx.h" #include "iostream" #include "iomanip" using namespace std; using std::cout; using std::endl; using std::cin; using std::setw; #define ErrorTolerance 0.0001 …
#include \"StdAfx.h\" #include \"iostream\" #include \"iomanip\" using namespace
#include "StdAfx.h" #include "iostream" #include "iomanip" using namespace std; using std::cout; using std::endl; using std::cin; using std::setw; #define ErrorTolerance 0.0001 …
#include \"Student.h\" #include #include using namespace std;
#include "Student.h" #include<iostream> #include <string> using namespace std; void ResistorClass::displaynominalResistance( ) { cout << "Display nominal resista…
#include \"bank.h\" int numOfCustomers; // the number of customers of the bank i
#include "bank.h" int numOfCustomers; // the number of customers of the bank int numOfAccounts; // the number of accounts offered by the bank int *available; // the amount availab…
#include \"des56.h\" #include #include #include
#include "des56.h" #include <stdlib.h> #include <stdio.h> #include <string.h> //Use these constants to specify ENCRYPT or DECRYPT in the fencrypt function call. …
#include \"functions.c\" /******************************************************
#include "functions.c" /***************************************************************************** Function Description: halfadder. notice that if u want to set a output value …
#include \"graph.h\" #include #include #include #include \"cirListDeque.h\" void
#include "graph.h" #include #include #include #include "cirListDeque.h" void createGraph1(Graph* g) { Vertex* firstVert; Vertex* secondVert; int i; srand(3); g->numVertices = 3…
#include \"graph.h\" #include #include #include
#include "graph.h" #include <stdlib.h> #include <stdio.h> #include <limits.h> #include "cirListDeque.h" void createGraph1(Graph* g) { Vertex* firstVert; Vertex* …
#include \"helpers.h\" /** * Returns true if value is in array of n values, else
#include "helpers.h" /** * Returns true if value is in array of n values, else false. */ bool binary_search(int value, int values[], int n); bool search(int value, int values[], i…
#include \"inlab6.h\" #include \"structs.h\" #include #include
#include "inlab6.h" #include "structs.h" #include <iostream> #include <fstream> #include <stdlib.h> using namespace std; // This function appends the record 'new…
#include \"inst_none.h\" #include using namespace std; const int matr
#include "inst_none.h" #include <iostream> using namespace std; const int matrixSize = 10; const int blockingFactor = 5; int a[matrixSize][matrixSize]; int b[matrixSize][mat…
#include \"ofApp.h\" int ofApp::getXSamples (float xMin, float xMax, float step,
#include "ofApp.h" int ofApp::getXSamples (float xMin, float xMax, float step, float x[]) { int i; int numSamples; numSamples = (xMax - xMin) / step + 1; for (i = 0; i < num…
#include \"race.h\" /*this funtion will take the max number of racer and crate r
#include "race.h" /*this funtion will take the max number of racer and crate race objct and return it by refrance*/ race * create_race(int max_racers) { //make rac object and assi…
#include \"simpio.h\" #include #include \"genlib.h\" //Constants //___
#include "simpio.h" #include <stdio.h> #include "genlib.h" //Constants //____________ //LowerLimit -- Starting value for the squence //UpperLimit -- Final value of the seque…
#include \"splashkit.h\" using namespace std; #define CHERRY 0 #define GOOSEBERR
#include "splashkit.h" using namespace std; #define CHERRY 0 #define GOOSEBERRY 1 #define BLUEBERRY 2 #define POMEGRANATE 3 #define APRICOT 4 #define RASPBERRY 5 #define BLACKBERR…
#include \"stdafx.h\" #include #include using namespace std
#include "stdafx.h" #include <iostream> #include <conio.h> using namespace std; //class declaration class BankAccounts { private: int acctNum; double acctBal; …
#include \"stdafx.h\" #include #include #include
#include "stdafx.h" #include <iostream> #include <cstdlib> #include <iomanip> using namespace std; int main() { //declare variables const int MAX_RANGE = 1…
#include \"stdafx.h\" #include #include #include #
#include "stdafx.h" #include <iostream> #include <fstream> #include <string> #include <cstring> using namespace std; class PersonalData { public: int ID; s…
#include \"stdafx.h\" #include #include #include us
#include "stdafx.h" #include <iostream> #include <iomanip> #include <ctime> using namespace std; static const int maxRoll = 50; static const int maxGame = 3; cla…
#include \"stdafx.h\" #include #include using namespace std
#include "stdafx.h" #include <iostream> #include <iomanip> using namespace std; #define entries 20 int main() { int i, v, j, k; int a = 0; int list1[entries], list2[en…
#include \"stdafx.h\" #include #include using namespace std
#include "stdafx.h" #include <iostream> #include <iomanip> using namespace std; #define entries 20 int main() { int i, j, v, maxindex, temp; int flag = 0; int list1[en…
#include \"stdafx.h\" #include \"arrays.h\" #include int main() { int
#include "stdafx.h" #include "arrays.h" #include <stdio.h> int main() { int Array[] = { -15, 25, 5, -4, 10, 3, 100, 50, -20 }; // 9 elements of array int size;…
#include \"stdio.h\" #include \"stdlib.h\" #include \"sys/stat.h\" /* A review o
#include "stdio.h" #include "stdlib.h" #include "sys/stat.h" /* A review on binary, octal, and decimal numbers. Converting from binary to base 10 ( decimal ): Binary numbers…
#include d set flag(unsigned int* f void unset flag(unsigned int * flag_holder,
#include d set flag(unsigned int* f void unset flag(unsigned int * flag_holder, int flag_position); int check flag(unsigned int flag holder, int flag_position); void display_32_fl…
#include enum States {Start, Init, LED_Lit1} state; unsigned char button; #defin
#include enum States {Start, Init, LED_Lit1} state; unsigned char button; #define button PINA & 0x01 void tick_LED() { switch(state) { // Transitions case Start: // S…
#include int main() int x = 6, y = 10; printf( \"Enter two numbers (separated by
#include int main() int x = 6, y = 10; printf( "Enter two numbers (separated by spaces) : " int values-read = scanf("%d %d", &x;, &y;); if (values-read != 2){ printf("scan…
#include int main() { clrscr(); int floors = 6, rooms = 20, suites = 120, occupi
#include int main() { clrscr(); int floors = 6, rooms = 20, suites = 120, occupied = 0, totalRooms = 120, totalOccupied = 0, totalUnoccupied = 0, numFloors=16; int occupRate; //st…
#include int multiple(int a, int b) { //a pair of integers whether the second in
#include int multiple(int a, int b) { //a pair of integers whether the second integer is a multiple of the first. if(b%a==0) return 1; else return 0; } int main() { int a; int b; …
#include int pleaseAdd( int a, int b ) { // define a function before it is calle
#include int pleaseAdd( int a, int b ) { // define a function before it is called int c = a + b; // a and b are the function parameters return c; } int main( ) { int x, y; // decl…
#include iostream> include using namespace std; class Book private string title
#include iostream> include using namespace std; class Book private string title public Book title-: Book(string) void setTitle(string) void showBook0: Book: Book(string inTitle…
#include kiostream> #includekiomanip #include Kassert.h #include using namespace
#include kiostream> #includekiomanip #include Kassert.h #include using namespace std; string output file void file Manipulation (string output file); int main int List 20 0, ma…
#include rims. 4. typedef struct task State unsigned long period; unsigned long
#include rims. 4. typedef struct task State unsigned long period; unsigned long elapsed Time. int TickFct. int task 11. task tasks C2 13. cons unsi gned char tasks Num const unsig…
Subject
Web development and programming
Use Browse or pick another subject.