This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
//get time 24 hours | |
void getTime24(int&hour, int&min); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
//get time 24 hours | |
void getTime24(int&hour, int&min); | |
//optional | |
pass by value: | |
conver24to12: | |
input hour24 | |
input min24 | |
pass by reference: |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
//========================================================= | |
//File: game.cpp | |
//Author: Davis Giang | |
//Description: Implementation of game class | |
//Date: 2/17/2016 | |
//========================================================= | |
#include <iostream> | |
#include <iomanip> | |
#include <sstream> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
//========================================================= | |
//File: knightsTour.cpp | |
//Author: Davis Giang | |
//Description: Knights tour solver | |
//Date: 4/6/2016 | |
//========================================================= | |
#include <iostream> | |
#include <iomanip> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
//syntax of two side tag | |
<element> content </element> | |
//paragraph | |
<p> welcome to the prop shop </p> | |
//element containing other element | |
<p> Welcome to <em> Dave's Devil Sticks. </em> </p> | |
//An element that does not enclose content is an empty element |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* | |
New Perspectives on HTML and CSS | |
Tutorial 3 | |
Case Problem 2 | |
Mountain Wheels Text and Color Style | |
Author: Davis Giang | |
Date: 10/16/2016 | |
Filename: mw_layout.css |