Web development and programming
191828 questions • Page 9 / 3837
#ifndef BST_H #define BST_H // Representation of an element in the tree struct N
#ifndef BST_H #define BST_H // Representation of an element in the tree struct Node { int val; // Value of the node Node *left; // Pointer to the left node Node *right; // Pointer…
#ifndef CARD_H #define CARD_H #include using namespace std; class Card
#ifndef CARD_H #define CARD_H #include <string> using namespace std; class Card { public: static const int totalFaces = 13; // total number of faces static const int totalSu…
#ifndef CREDIT_ACCOUNT_H #define CREDIT_ACCOUNT_H class CreditAccount { private:
#ifndef CREDIT_ACCOUNT_H #define CREDIT_ACCOUNT_H class CreditAccount { private: char accountNo[20]; char custName[20]; double creditLimit; double currentBalance; public: CreditAc…
#ifndef HEAP_H_ #define HEAP_H_ namespace cse { template < typename dtype> class
#ifndef HEAP_H_ #define HEAP_H_ namespace cse { template<typename dtype> class heap { public: /** TO DO:: default constructor perform new to reserve memory of size INITIAL_C…
#ifndef HEAP_H_ #define HEAP_H_ namespace cse { template < typename dtype> class
#ifndef HEAP_H_ #define HEAP_H_ namespace cse { template<typename dtype> class heap { public: /** TO DO:: default constructor perform new to reserve memory of size INITIAL_C…
#ifndef HEAP_H_ #define HEAP_H_ namespace cse { template < typename dtype> class
#ifndef HEAP_H_ #define HEAP_H_ namespace cse { template<typename dtype> class heap { public: /** TO DO:: default constructor perform new to reserve memory of size INITIAL_C…
#ifndef HEAP_H_ #define HEAP_H_ namespace cse { template < typename dtype> class
#ifndef HEAP_H_ #define HEAP_H_ namespace cse { template<typename dtype> class heap { public: /** TO DO:: default constructor perform new to reserve memory of size INITIAL_C…
#ifndef H_NodeType #define H_NodeType #include using namespace std; t
#ifndef H_NodeType #define H_NodeType #include <iostream> using namespace std; template <class Type> class nodeType { public: const nodeType<Type>& operator=…
#ifndef H_QueueType #define H_QueueType #include #include #
#ifndef H_QueueType #define H_QueueType #include <iostream> #include <cassert> #include <string> using namespace std; // definition of the template class queueTy…
#ifndef H_arrayListType #define H_arrayListType //******************************
#ifndef H_arrayListType #define H_arrayListType //*********************************************************** // Author: D.S. Malik // // This class specifies the members to imple…
#ifndef H_circularLinkedList #define H_circularLinkedList #include #i
#ifndef H_circularLinkedList #define H_circularLinkedList #include <iostream> #include <cassert> using namespace std; template <class Type> struct nodeType { …
#ifndef H_linkedQueue #define H_linkedQueue #include #include
#ifndef H_linkedQueue #define H_linkedQueue #include <iostream> #include <cassert> using namespace std; //Definition of the node template <class Type> struct nod…
#ifndef LINKED_LIST_H #define LINKED_LIST_H #ifndef TYPE #define TYPE int #endif
#ifndef LINKED_LIST_H #define LINKED_LIST_H #ifndef TYPE #define TYPE int #endif #ifndef LT #define LT(A, B) ((A) < (B)) #endif #ifndef EQ #define EQ(A, B) ((A) == (B)) #endif …
#ifndef LIST_H #define LIST_H #include using namespace std; template
#ifndef LIST_H #define LIST_H #include <algorithm> using namespace std; template <typename Object> class List { private: // The basic doubly linked list node. // Ne…
#ifndef MAIN_SAVITCH_NODE2_H #define MAIN_SAVITCH_NODE2_H #include //
#ifndef MAIN_SAVITCH_NODE2_H #define MAIN_SAVITCH_NODE2_H #include <cstdlib> // Provides NULL and size_t #include <iterator> // Provides iterator and forward_iterato…
#ifndef NETWORK #define NETWORK #include using std::vector; #include
#ifndef NETWORK #define NETWORK #include<vector> using std::vector; #include<utility> using std::pair; #include<string> using std::string; #include<fstream>…
#ifndef NODE_H #define NODE_H /* An Implementation of the Node ADT * -written by
#ifndef NODE_H #define NODE_H /* An Implementation of the Node ADT * -written by Brian P. Eddy */ //create a handle for nodes typedef struct node* Node; /* Create a new Node * @…
#ifndef RATIONAL_H #define RATIONAL_H // class who represents fraction class Rat
#ifndef RATIONAL_H #define RATIONAL_H // class who represents fraction class Rational { public: Rational(); // default constructor Rational(int numerator, int denominator); // alt…
#ifndef RATIONAL_H // if this compiler macro is not defined #define RATIONAL_H /
#ifndef RATIONAL_H // if this compiler macro is not defined #define RATIONAL_H // then define it so this file will not be processed again #include "stdafx.h" // use only for…
#ifndef SET_INTERFACE_H_ #define SET_INTERFACE_H_ #include template class SetInt
#ifndef SET_INTERFACE_H_ #define SET_INTERFACE_H_ #include template class SetInterface { public: virtual int getCurrentSize() const = 0; virtual bool isEmpty() const = 0; virtual …
#ifndef SHELLP_H #define SHELLP_H enum Kind { noCMD,exitCMD,cdCMD,pwdCMD,linkCMD
#ifndef SHELLP_H #define SHELLP_H enum Kind { noCMD,exitCMD,cdCMD,pwdCMD,linkCMD,rmCMD,basicCMD,pipelineCMD }; typedef struct Stage { int _nba; char** _args; // Feel free to add f…
#ifndef SMART_ARRAY_H #define SMART_ARRAY_H /* NOTE: * In some of the function i
#ifndef SMART_ARRAY_H #define SMART_ARRAY_H /* NOTE: * In some of the function implementation bodies, you will see partial implementations, * such as the following (in the capacit…
#ifndef SMART_ARRAY_H #define SMART_ARRAY_H // NOTE: // In some of the function
#ifndef SMART_ARRAY_H #define SMART_ARRAY_H // NOTE: // In some of the function implementation bodies, you will see partial implementations, // such as the following (in the capac…
#ifndef STACK_H #define STACK_H namespace Stack { // node definition struct Stac
#ifndef STACK_H #define STACK_H namespace Stack { // node definition struct StackNode { char data; StackNode *link; }; // define a type for pointers to nodes typedef …
#ifndef STUDENT_H #define STUDENT_H #include using namespace std; class
#ifndef STUDENT_H #define STUDENT_H #include <string> using namespace std; class ResistorClass { private: double nominalResistance; double tolerance; string name; public: //…
#ifndef Student_h #define Student_h #include using namespace std; const
#ifndef Student_h #define Student_h #include <string> using namespace std; const int MAX_NUM_GRADES = 20; class Student { private: /** * Instance variables that represent…
#ifndef VEHICLE_H #define VEHICLE_H /* @file vehicle.cpp @author < Fill Me In >
#ifndef VEHICLE_H #define VEHICLE_H /* @file vehicle.cpp @author < Fill Me In > @date < Fill Me In > @description Implements 5 classes for vehicle information */ #i…
#ifndef WALLET H #define WALLET H #include class Wallet private: int id; int dol
#ifndef WALLET H #define WALLET H #include class Wallet private: int id; int dollars; int cents static int count; static int make id //unique wallet id //dollar value of this wall…
#ifndef _BOOK_H_ #define _BOOK_H_ // These two lines of preprocessor directives,
#ifndef _BOOK_H_ #define _BOOK_H_ // These two lines of preprocessor directives, and the one at the end #endif, // prevent the header file from being included (linked in) multip…
#ifndef _POLYNOMIAL_H #define _POLYNOMIAL_H #include \"linked_list.h\" #include
#ifndef _POLYNOMIAL_H #define _POLYNOMIAL_H #include "linked_list.h" #include "globals.h" typedef list polynomial; /* blech */ typedef struct term { int coefficient; int degree; }…
#ifndef __LIST #define __LIST #include #include #include using namespace std; /*
#ifndef __LIST #define __LIST #include #include #include using namespace std; /** Doubly linked list class **/ template class List { private: /** Node struct **/ struct Node…
#ifndef __LIST #define __LIST #include #include #include using namespace std; /*
#ifndef __LIST #define __LIST #include #include #include using namespace std; /** Doubly linked list class **/ template class List { private: /** Node struct **/ struct Node…
#ifndef __LIST #define __LIST #include #include #include using namespace std; /*
#ifndef __LIST #define __LIST #include #include #include using namespace std; /** Doubly linked list class **/ template class List { private: /** Node struct **/ struct Node…
#ifndef __LIST #define __LIST #include #include #include using namespace std; /*
#ifndef __LIST #define __LIST #include #include #include using namespace std; /** Doubly linked list class **/ template class List { private: /** Node struct **/ struct Node…
#ifndef __LIST #define __LIST #include #include #include using namespace std; /*
#ifndef __LIST #define __LIST #include #include #include using namespace std; /** Doubly linked list class **/ template class List { private: /** Node struct **/ struct Node…
#ifndef __LIST #define __LIST #include #include #include using namespace std; /*
#ifndef __LIST #define __LIST #include #include #include using namespace std; /** Doubly linked list class **/ template class List { private: /** Node struct **/ struct Node…
#ifndef functions_h #define functions_h #include #include #in
#ifndef functions_h #define functions_h #include <string> #include <fstream> #include <ostream> #include <algorithm> #include <vector> #include <s…
#in R programming # 1) Create an object of S3 class “cow” containing : An identi
#in R programming # 1) Create an object of S3 class “cow” containing : An identification Number for the cow The cow breed A dataframe of the cow age (months), milk yield in first …
#include #define MAX_IN_LENGTH 241 #define OUT_LENGTH 60 FILE *in; FILE *out; do
#include #define MAX_IN_LENGTH 241 #define OUT_LENGTH 60 FILE *in; FILE *out; double compare_DNA(char [], char [], char s[], int ); void print_DNA(char [], char [], char [], int )…
#include #define MAX_IN_LENGTH 241 #define OUT_LENGTH 60 FILE *in; FILE *out; do
#include #define MAX_IN_LENGTH 241 #define OUT_LENGTH 60 FILE *in; FILE *out; double compare_DNA(char [], char [], char s[], int ); void print_DNA(char [], char [], char [], int )…
#include #define MAX_IN_LENGTH 241 #define OUT_LENGTH 60 FILE *in; FILE *out; do
#include #define MAX_IN_LENGTH 241 #define OUT_LENGTH 60 FILE *in; FILE *out; double compare_DNA(char [], char [], char s[], int ); void print_DNA(char [], char [], char [], int )…
#include #define MAX_IN_LENGTH 241 #define OUT_LENGTH 60 FILE *in; FILE *out; do
#include #define MAX_IN_LENGTH 241 #define OUT_LENGTH 60 FILE *in; FILE *out; double compare_DNA(char [], char [], char s[], int ); void print_DNA(char [], char [], char [], int )…
#include #define SIZE 50 int main( ) { int scores[SIZE]; int i, n, pass, item, p
#include #define SIZE 50 int main( ) { int scores[SIZE]; int i, n, pass, item, position, temp; /* Get number of values to read */ printf("Please enter number of scores (%d or less…
#include #include #define FALSE 0 #define TRUE 1 /*A Node declaration to store a
#include #include #define FALSE 0 #define TRUE 1 /*A Node declaration to store a value and a link*/ struct Node { int val; struct Node *next; }; struct QueueRecord { stru…
#include #include #define MAX 10 /* how many numbers to produce */ pthread_mutex
#include #include #define MAX 10 /* how many numbers to produce */ pthread_mutex_t the_mutex; pthread_cond_t condc, condp; /* used for signaling */ int buffer = 0; /* buffer used …
#include #include #include #define MAX_STR_LEN 100 // int strcmp (const char* st
#include #include #include #define MAX_STR_LEN 100 // int strcmp (const char* str1, const char* str2); // string.h // Compares the C string str1 to the C string str2. // This func…
#include #include #include #include #define MAX_STR_LEN 80 typedef enum { false
#include #include #include #include #define MAX_STR_LEN 80 typedef enum { false = 0, true } bool; void erase(char *, size_t); bool isPalindrome(const char *, const char *); char i…
#include #include #include #include #define MAX_STR_LEN 80 typedef enum { false
#include #include #include #include #define MAX_STR_LEN 80 typedef enum { false = 0, true } bool; void erase(char *, size_t); bool isPalindrome(const char *, const char *); char i…
#include #include #include #include #include #define pi 3.14 void program1(); vo
#include #include #include #include #include #define pi 3.14 void program1(); void program2(); void program3(); void program4(); int main(void) { int choice, num; printf("Press 1 …
#include #include #include #include #include #include #include #include \"lab_22
#include #include #include #include #include #include #include #include "lab_22_head.h" using namespace std; int main( ) { const int SIZE=100; //list or array size int list[SIZE];…
Subject
Web development and programming
Use Browse or pick another subject.