Academic Integrity: tutoring, explanations, and feedback — we don’t complete graded work or submit on a student’s behalf.

Web development and programming

191828 questions • Page 10 / 3837

#include #include #include #include #include #include #include #include using na
#include #include #include #include #include #include #include #include using namespace std; //Create a struct or class to represent a customer. //Include these data members: arri…
#include #include #include #include #include #include Dynamic Array 1 - D A teac
#include #include #include #include #include #include Dynamic Array 1 - D A teacher needs a program to grade her students. She wants to make the program flexible so she can use it…
#include #include #include #include #include /* Simple example of using gnu read
#include #include #include #include #include /* Simple example of using gnu readline to get lines of input from a user. Needs to be linked with -lreadline -lcurses add_history tel…
#include #include #include #include #include using namespace std; enum Species {
#include #include #include #include #include using namespace std; enum Species { LoblollyPine, WhitePine, RedPine, WhiteOak, RedOak, OtherOak}; // funtion prototypes int getTreeNo…
#include #include #include #include #include using namespace std; int main( ) {
#include #include #include #include #include using namespace std; int main( ) { map letters; // a map with char key and int data map ::iterator iter; // iterator for the map strin…
#include #include #include #include /* Declaring data structure */ struct inform
#include #include #include #include /* Declaring data structure */ struct information { int number; char name [25]; float balance; }; /* Function prototypes */ void safer_gets (ch…
#include #include #include #include \"airPdata.h\" #define MAX_RECORDS 1000 #def
#include #include #include #include "airPdata.h" #define MAX_RECORDS 1000 #define BUFFER_SIZE 500 int LoadFile(FILE fptr,airPdata airport[] ); void PrintData(airPdata *airport); i…
#include #include #include #include using namespace std; #include struct vehicle
#include #include #include #include using namespace std; #include struct vehicle { int year; string make; string model; }; class BinSearch{ string fileName; vector veh; public: Bi…
#include #include #include #include using namespace std; char f_transform( char
#include #include #include #include using namespace std; char f_transform( char c ) { string consonants[ 6 ] = { "BFPV", "CGJKQSXZ", "DT", "L", "MN", "R" }; for (int i = 0; i <…
#include #include #include #include using namespace std; class GPIOClass { publi
#include #include #include #include using namespace std; class GPIOClass { public: GPIOClass(); GPIOClass(string x); int export_gpio(); int setdir_gpio(string dir); int setval_gpi…
#include #include #include #include using namespace std; enum SquareLocation { T
#include #include #include #include using namespace std; enum SquareLocation { TOP_LEFT = 0, TOP_CENTER = 1, TOP_RIGHT = 2, MIDDLE_LEFT = 3, MIDDLE_CENTER = 4, MIDDLE_RIGHT = 5, B…
#include #include #include #include using namespace std; int countA(char * str);
#include #include #include #include using namespace std; int countA(char * str); int main() { char city1[20] = "San Francisco"; char city2[20] = "Sonoma"; char city3[15] = "Lake T…
#include #include #include #include using namespace std; int countA(char * str);
#include #include #include #include using namespace std; int countA(char * str); int main() { char city1[20] = "San Francisco"; char city2[20] = "Sonoma"; char city3[15] = "Lake T…
#include #include #include #include using namespace std; struct Entry { string n
#include #include #include #include using namespace std; struct Entry {        string name, quantity, notes; }; Entry entryList[100]; int rec_num = 0; int num_entries; string toUp…
#include #include #include #include using namespace std; void RandomNumbers(int*
#include #include #include #include using namespace std; void RandomNumbers(int*); void ReadFile(int*); void PrintValue(const int* [], int); int main() { int number; RandomNumbers…
#include #include #include // (a) Declare four global integer variables, as foll
#include #include #include // (a) Declare four global integer variables, as follows: //      x - the horizontal location of the left edge of the rectangle //      y - the vertical…
#include #include #include // function prototypes //function prototype that asks
#include #include #include // function prototypes //function prototype that asks the user to enter a word void //function prototype that uses strcpy to copy the original word from…
#include #include #include //for the exit() function using namespace std; //func
#include #include #include //for the exit() function using namespace std; //function prototypes void ReadInScores (int scores[], int & howMany); float FindAverage(int scores[]…
#include #include #include \"DataStore.hpp\" /** * Construct an empty DataStore.
#include #include #include "DataStore.hpp" /** * Construct an empty DataStore. */ DataStore::DataStore() { // TODO: Handle any default initialization you need here.    } /** * Con…
#include #include #include \"DataStore.hpp\" /** * Construct an empty DataStore.
#include #include #include "DataStore.hpp" /** * Construct an empty DataStore. */ DataStore::DataStore() { // TODO: Handle any default initialization you need here.    } /** * Con…
#include #include #include \"DeckOfCards.h\" // DeckOfCards class definition usi
#include #include #include "DeckOfCards.h" // DeckOfCards class definition using namespace std; int main() { DeckOfCards myDeckOfCards; myDeckOfCards.shuffle(); // place Cards in …
#include #include #include \"list.h\" /* these are the two procedures you are go
#include #include #include "list.h" /* these are the two procedures you are going to write */ s_ptr insert_ordered(int v, s_ptr head) { } int in_ordered_list(int v, s_ptr head) { …
#include #include #include \"studentRoll.h\" #include StudentRoll::StudentRoll()
#include #include #include "studentRoll.h" #include StudentRoll::StudentRoll() { std::cout<< "in costructor "; head = tail = NULL; } void StudentRoll::insertAtTail(const Stu…
#include #include #include float all = 0; void calculateCharges(float cus[]); in
#include #include #include float all = 0; void calculateCharges(float cus[]); int main(){ float cus[3]; printf ("Please input the first customer's hours "); scanf("%f", &cus[0…
#include #include #include include int main () // Step 1: Create a socket int so
#include #include #include include int main () // Step 1: Create a socket int sockfd socket (AF_INET, SOCK_STREAM, 0) // Step 2: Set the destination information struct sockaddr_in…
#include #include #include int main(int argc, char *argv[]) { int loop = 0; //Va
#include #include #include int main(int argc, char *argv[]) { int loop = 0; //Variable used for counting in the loop. int keystrokes = 0; //Counts number of keystrokes. int letter…
#include #include #include int main(int argc, char** argv) { // Initialize the M
#include #include #include int main(int argc, char** argv) { // Initialize the MPI environment MPI_Init(NULL); // Find out rank int rank; MPI_Comm_rank (MPI_COMM WORLD, &rank;…
#include #include #include typedef struct customerStruct { int numItems; int pro
#include #include #include typedef struct customerStruct { int numItems; int processTime;//(item process time * num items) int waitTime; struct customerStruct *next; }client; type…
#include #include #include using namespace std; class Triangle{ public: double a
#include #include #include using namespace std; class Triangle{ public: double a; double b; double c;    void GetSides(){        do{           cout << "Enter the three side:…
#include #include #include using namespace std; class call_record { public: stri
#include #include #include using namespace std; class call_record { public: string cell_number; int relays; int call_lenght; double net_cost; double tax_rate; double call_tax; dou…
#include #include #include using namespace std; int main() { //Declaring constan
#include #include #include using namespace std; int main() { //Declaring constant int const size =2; //Creating string type array string names[size]; //Creating int type array int…
#include #include #include using namespace std; int main() { //Declaring constan
#include #include #include using namespace std; int main() { //Declaring constant int const size =2; //Creating string type array string names[size]; //Creating int type array int…
#include #include #include using namespace std; int main(int argc, char** argv)
#include #include #include using namespace std; int main(int argc, char** argv) { if(argc < 7) { cout <<"ERROR !!!!"<<' '; cout<< "Please pass 3 command line …
#include #include #include using namespace std; string DecimalToBinary(unsigned
#include #include #include using namespace std; string DecimalToBinary(unsigned int dec){ char binary[33] = {0}; int ix = 32; // subscript of current character do{ binary[--ix] = …
#include #include #include using namespace std; struct studentRecord{ // Structu
#include #include #include using namespace std; struct studentRecord{ // Structure containing variables for all the double quiz1; // tests/quizes, including the letter grade doubl…
#include #include #include using namespace std; struct studentRecord{ // Structu
#include #include #include using namespace std; struct studentRecord{ // Structure containing variables for all the double quiz1; // tests/quizes, including the letter grade doubl…
#include #include #pragma warning(disable : 4996) // Read before you start: // D
#include #include #pragma warning(disable : 4996) // Read before you start: // Do not modify any part of this program that you are given. Doing so may cause you to fail automated …
#include #include #pragma warning(disable : 4996) // Read before you start: // D
#include #include #pragma warning(disable : 4996) // Read before you start: // Do not modify any part of this program that you are given. Doing so may cause you to fail automated …
#include #include /* Structure to store students data */ struct Product { char *
#include #include /* Structure to store students data */ struct Product { char *name; double unit_price; double sale_vol; double total_sale; }; struct Product *readSalesData(int *…
#include #include // For error exit() // CPU Declarations -- a CPU is a structur
#include #include // For error exit() // CPU Declarations -- a CPU is a structure with fields for the // different parts of the CPU. //***STUB *** is to fill in code typedef short…
#include #include \"FuelGauge.h\" #include \"Odometer.h\" using namespace std; i
#include #include "FuelGauge.h" #include "Odometer.h" using namespace std; int main() {    FuelGauge fuel(15);    Odometer odm(0, &fuel);    for(int i = 0; i < 15; i++) { f…
#include #include int G = 1; int + p; void fune(int - atgl, int arg2) {statie in
#include #include int G = 1; int + p; void fune(int - atgl, int arg2) {statie int S = 10; omt A[10] = {arg^2}; print ("8; %4d, B: %4d, C; %4d ", S, *argl, A[0]); S = arg^2} int ma…
#include #include int G = 1; int* P; void func(int * agrl int arg2) {static int
#include #include int G = 1; int* P; void func(int * agrl int arg2) {static int S = 10; int A[10] = {arg2}; printf("S: %4d, B: %4d, C: %4d ", S, *argl, A[0]); S = arg2;} int main …
#include #include int main() { int i, j; char str[10][50], temp[50]; printf(\"En
#include #include int main() {     int i, j;     char str[10][50], temp[50];     printf("Enter 10 words: ");     for(i=0; i<10; ++i)         scanf("%s[^ ]",str[i]);     for(i=0…
#include #include int main(void) { double x1, x2, x3, y1, y2, y3, m12, xc, yc, r
#include #include int main(void) { double x1, x2, x3, y1, y2, y3, m12, xc, yc, r; double circle_x_coord(double x1,double y1,double x2,double y2,double x3,double y3); printf("Enter…
#include #include struct data { char name[30]; float current,last; }; void main(
#include #include struct data { char name[30]; float current,last; }; void main() { fstream file; file.open("stocksprices.txt"); struct a[30],b; for (int i=0;file!=eof;i++) { b=fi…
#include #include struct record { char author[20]; char title[30]; float price;
#include #include struct record { char author[20]; char title[30]; float price; struct { char month[10]; int year; } date; char publisher[10]; int quantity; }; int look_up(struct …
#include #include using namespace std; /** The vector class * based on implement
#include #include using namespace std; /** The vector class * based on implementation from chapter 6 of textbook */ template class Vector {    private:          int _capacity;   /…
#include #include using namespace std; // a structure to represent a point in 2D
#include #include using namespace std; // a structure to represent a point in 2D , the x and y co-ordinates class Point {    double x;    double y;    public:        Point() //def…
#include #include using namespace std; // class declaration class Date { private
#include #include using namespace std; // class declaration class Date { private: int month; int day; int year; public: Date(int = 7, int = 4, int = 2001); // constructor Date____…