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
/* | |
* ===================================================================================== | |
* | |
* Filename: c.cpp | |
* | |
* Description: Our attempt at the 'Give me an E' problem | |
* | |
* Version: 1.0 | |
* Created: 10/14/2013 06:14:39 PM | |
* Revision: none |
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
<ul> | |
<li id="item-1">Item 1</li> | |
<li id="item-2">Item 2</li> | |
<li id="item-3">Item 3</li> | |
</ul> | |
<script type="text/javascript"> | |
$('ul').on('click', 'li', function(e) { | |
alert( "You clicked " + $(this).text() ); | |
}); |
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
#include "battleship.h" | |
int main() | |
{ | |
ship battleships[FLEET_SIZE]; | |
location target; | |
deploy(battleships); | |
printFleet(battleships); |
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
#include <iostream> | |
#include <ctime> | |
#include <cstdlib> | |
using namespace std; | |
void initalize(int array[], int size, int val); | |
int check(int array[], int size, int val); | |
void draw(int array[], int size); | |
void entry(int& guess); |
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
#include <iostream> | |
using namespace std; | |
/* | |
* Basically, this code right here will swap the | |
* values of two variables. I was able to do it | |
* in one line, which my professor said should be | |
* impossible. | |
*/ |
NewerOlder