Browse All
Alphabetical listing with fast deep pagination.
1197283 items • Page 34 / 23946
#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 _GROUP_OF_DATA #define _GROUP_OF_DATA #include #include using namespace:
#ifndef _GROUP_OF_DATA #define _GROUP_OF_DATA #include #include using namespace::std; const int MEMBERS_IN_GROUP = 10; // ASSUME THERE ALWAYS 10 MEMBERS OF THE GROUP template clas…
#ifndef _GROUP_OF_DATA #define _GROUP_OF_DATA #include #include
#ifndef _GROUP_OF_DATA #define _GROUP_OF_DATA #include <iostream> #include <fstream> using namespace::std; const int MEMBERS_IN_GROUP = 10; // ASSUME THERE ALWAYS 10 M…
#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…
#import @interface AppDelegate : UIResponder
#import <UIKit/UIKit.h> @interface AppDelegate : UIResponder <UIApplicationDelegate> @property (strong, nonatomic) UIWindow *window; @end ———————— #import "AppDelegate…
#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];…
#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…