Tags:
create new tag
view all tags

Recent Changes in SCMP118/Fall2016 Web retrieved at 10:43 (GMT)

RequirementGrading CommentsPointsScore Easy to use user interface 5 5 Functional decomposition: Program should be factored into functions to reduce complexity...
Solutions 1. (10,10), (11, 10), (10, 11), (12, 11), (11, 12) This program is a C implementation of John Conway`s Game of Life. Welcome to LIFE. Enter row and column...
Lab 7 Game of Life Due: November 2, 11:55pm Link Alternate Graphics Oriented Lab If you wish, you can try this alternate lab involving Allegro Graphics. You...
Final Project Shakespeare Due: May 3, 4:00pm (No late submissions allowed) Link Instructions Turn in the code (a cpp file), and the run outputs as requested...
Extra Credit Lab Tick Tack Toe with computer opponent Due: May 1, 11:55pm Link Instructions This optional lab is an opportunity to get points back on a previous...
Shakespeare in Class file activity Getting ready for the final project viewing and search the text. The goal here is to get everyone to step one on the final project...
Emily Dinkenson Example main.cpp #include #include #include #include #include #include #include `WordCount.h` using namespace std; const string EMILY `EmilyDickinson...
Lab 8 Operator Overloading Due: April 19 11:55pm Link Your goal is to create a class for storing and manipulating fractions. We wish to write code to add, subtract...
In Class Activity Classes, Friends, Operators We will be writing code to use Friends and Operators 1 Finish the name input routine 1 Add a version of equalLast...
Palindrome //DISPLAY 8.8 Palindrome Testing Program //Test for palindrome property. #include //#include //#include using namespace std; void swap(char v1,...
Lab 9 Blackjack Due: November 28, 11:55pm Link Blackjack Game using objects What is Blackjack? Blackjack, also known as twenty one, is the most widely played...
Functions Sample code 2 #include using namespace std; void displayBoard(char board 3 3 ); void getMove(char b 3 3 , char player, int r, int c); char checkWin(char...
Classes The Candidate Class Candidate.h #include using namespace std; class Candidate { private: string name; string party; int polls...
Classes Tic Tac Toe #include using namespace std; void displayBoard(char board 3 3 ); void nextMove(char player, char board 3 ); bool notValid(int r, int c);...
Lab 6 Tallying Due: March 28, 11:55pm Link Instructions Turn in the code (a cpp file or ideone.com link), and the run outputs as requested below....
Lab 5 Pattern Matching Due: March 22, 11:55pm Link Instructions Turn in the code (a cpp file or ideone.com link), and the run outputs as requested below...
Sort #include using namespace std; void bar(int size); void inputData(int data , int max, int values); void outputData(int data , int values); void removeLow(int...
Lab 4 1 Count Coins Due: Feb 22, 11:55pm Link Instructions Turn in the code (a cpp file or ideone.com link), and the run outputs as requested below....
Lab 3 Functions Due: Feb 20, 11:55pm Link Turn in The code (as a cpp file), A file with the collected outputs from the trial inputs below the run...
Codelab Registration Instructions CodeLab is an online learning system for C . Use of it for this course costs $25.00 for the semester. REGISTRATION INSTRUCTIONS...
Lab 2 Roman Numerals Due: Feb 15, 11:55pm Link For each problem Turn in The code (as a cpp file), A file with the collected outputs from the trial...
Lab 1 2 Due Feb 6, 11:59pm Link Requirements: Write a C program which takes a 4 digit number (integer) as input from the user and prints the number in reverse...
Lab 1 1 Due Feb 1, 11:59pm Link An employee is paid at a rate of $16.68 per hour for the first 40 hours worked in a week. Any hours over that are paid at the...
Recursion Merge sort #include #include using namespace std; void display(vector a); void merge(vector a, int s, int e); void merge sort(vector iArray, int s...
Graphics with Allegro An alternate lab 8 Due November 2 Goal Your goal is to make a graphic simulation of 2 or more balls interacting in a box. See an example...
Multidimensional Arrays and string BankAccount.h //DISPLAY 10.6 /Program to demonstrate the class BankAccount. //Demonstrates an alternative implementation of the...
Lab 4 2 The Duel Due: Oct 10, 11:55pm Link Instructions Turn in the code (a cpp file or ideone.com link), and the run outputs as requested below....
Example Allegro Program #include #include #include const float FPS 60; const int SCREEN W 1640; const int SCREEN H 800; const int BOUNCER SIZE 32; int...
SCMP 118 Introduction to Programming in C Sections 1 (1:10 2:30 TH) and 2 (2:40 4:00 TH) Instructor: James Skon Fall 2016 This course presents an introduction...
For for Control Structures Fuel Warning //Illustrates the importance of using braces in if else statements. #include using namespace std; int main( ) { double...
Using Netbeans with C In this activity we will be starting up the NetBeans C programming Environment, and trying it on on a simple program. The goal is to make sure...
Files Simple File Input/Output //DISPLAY 6.1 Simple File Input/Output //Reads three numbers from the file infile.dat, sums the numbers, //and writes the sum to the...
Baseball player program Player.h // Class Definition: Player // Version 1 // This class defines an object to hold information about // baseball player for use in...
Vectors #include #include using namespace std; int main( ) { vector v; cout next; while (next 0) { v.push back(next); cout...
BlackJack Click `Setup` and then `Deal` to start playing. Then click `Hit` or `Stand` until done (Stand will end your play). Score: Dealer Card(s): Player...
Sample Run Enter 1 to Compute area of a triangle Enter 2 to Compute your clothing size Enter 3 to Convert temperature from Fahrenheit to Celsius (nearest integers...
Lab 0 Due 11:59pm January 24. Link 0) Do the programming projects 6 and 7 on page 37. Use the program in Display 1.8 (source code available Here). Do this for yourself...
Classes Equality Function //DISPLAY 11.1 Equality Function //Program to demonstrate the function equal. The class DayOfYear //is the same as in Self Test Exercise...
How to print bold in c Use the following: `\e 1m` to start bolding `\e 0m` to end bolding Example: cout Comments
Creating Random Numbers The problem with creating random numbers is that you need to start with something random. If you call rand() without doing anything special...
Function Void //DISPLAY 5.2 void Functions //Program to convert a Fahrenheit temperature to a Celsius temperature. #include void initialize screen( ); //Separates...
Wind Chill Sample Run Not particularly good, but a sample nonetheless Make yours nicer! Enter A to Compute area of a triangle Enter B to Compute your clothing size...
Day 5 Sample code Using do while to repeat program code int main() { int x, y; char done; do { cout x y; cout done; } while...
C Coding Style Standard Coding style is important as it make easier to read, easier to correct, and easier to change. It is an investment in the future! Features...
Day 2 Sample code Hello world #include using namespace std; int main() { cout 01 08.cpp #include using namespace std; int main( ) { int number of pods,...
Notes for Day 2 Terms Program/Software/Hardware Input Device/Output Device Memory High Level/Low Level Language Compiler Source Code...
Statistics for SCMP118/Fall2016 Web Month: Topic views: Topic saves: File uploads: Most popular topic views: Top contributors for...
Day 1 Sample code Hello world #include using namespace std; int main() { cout
Local customisations of site wide preferences Site level preferences are located in 1 , however this 2 prefs topic has override priority and should be used for...
Tutor Notes 1 Article text. everyone should use Net Beans Comments

«Previous   1  2   Next»

Show 10, 20, 50, 100, 500, 1000 results per page, or show all.

Related topics: RSS feed, rounded corners RSS feed, ATOM feed, WebNotify, site changes, site map

Topic revision: r1 - 2006-11-15 - TWikiContributor
 
This site is powered by the TWiki collaboration platform Powered by PerlCopyright © 2008-2018 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding TWiki? Send feedback