This file contains 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
//***************************************************************** | |
// HashTable.cpp | |
// HashTable | |
// | |
// Created by Kar Beringer on June 18, 2014. | |
// | |
// This header file contains the Hash Table class definition. | |
// Hash Table array elements consist of Linked List objects. | |
//***************************************************************** |
This file contains 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
<!--******************************************************************--> | |
<!-- approxPi.html --> | |
<!-- @author Karlina Beringer --> | |
<!-- Demonstrates how to approximate pi using the Monte Carlo method. --> | |
<!--******************************************************************--> | |
<!DOCTYPE html> | |
<html> | |
<body> |
This file contains 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
<!-- myPage.html --> | |
<html> | |
<!-- Define style attributes in a style section. --> | |
<style> | |
.boxRounder { | |
-webkit-border-radius: 10px; | |
-moz-border-radius: 10px; | |
border-radius: 10px; | |
background-color: #303030; |
This file contains 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
<!-- myPage.html --> | |
<html> | |
<head> | |
<!-- Include style attributes from a separate CSS file. --> | |
<link rel="stylesheet" type="text/css" href="style.css"> | |
</head> | |
<body> | |
<!-- Inject a style attribute with a class selector. --> |
This file contains 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
/** style.css */ | |
.boxRounder { | |
-webkit-border-radius: 10px; | |
-moz-border-radius: 10px; | |
border-radius: 10px; | |
background-color: #303030; | |
color: #ff9900; | |
padding: 1.0em; | |
} |
This file contains 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
<!-- An example of inline CSS. --> | |
<div style="-webkit-border-radius: 10px; | |
-moz-border-radius: 10px; | |
border-radius: 10px; | |
background-color: #303030; | |
color: #ff9900; | |
padding: 1.0em;"> | |
Hello World! | |
</div> |
This file contains 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
/********************************************************* | |
* Converts to and from any base in the set (2,16). | |
* Assumes that the digitString and inputBase match. | |
* @param {String} digitString is a sequence of digits. | |
* @param {Number} inputBase is in the set (2,16) | |
* @param {Number} outputBase is in the set (2,16) | |
* @return {String} result is a string of digits 2-F | |
********************************************************/ | |
function baseConvert( digitString, inputBase, outputBase ) { | |
This file contains 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
/********************************************************* | |
* Removes space characters from the input string. | |
* Sets any letters in the input string to uppercase. | |
* @param {String} inputString | |
* @return {String} "cleaned up" inputString. | |
*********************************************************/ | |
function sanitizeInput( inputString ) { | |
// If the inputString is empty, return an error. | |
if (!inputString) return "Error"; |
This file contains 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
<!--****************************************************** | |
* BaseConvert.html | |
* Created by Karlina Beringer | |
* Updated October 17, 2014 | |
* Converts between multiple numerical bases, | |
* namely bases two through sixteen. | |
****************************************************** | |
--> | |
<!DOCTYPE HTML> | |
<html> |
NewerOlder