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
Programming Assignment | |
Quiz | |
Presentation | |
Mid Test* | |
Final Test* | |
*Maybe there or not | |
Additional class | |
Wednesday and Thursday |
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
#include <windows.h> | |
#include <vector> | |
#include <iostream> | |
#include <winternl.h> | |
#pragma comment(lib, "Ntdll.lib") | |
typedef struct | |
_SYSTEM_PROCESSOR_PERFORMANCE_INFORMATION_R { | |
LARGE_INTEGER IdleTime; |
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
// From https://docs.microsoft.com/en-us/windows/win32/winsock/complete-server-code | |
#undef UNICODE | |
#define WIN32_LEAN_AND_MEAN | |
#include <windows.h> | |
#include <winsock2.h> | |
#include <ws2tcpip.h> | |
#include <stdlib.h> | |
#include <stdio.h> |
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
/* | |
** WS2TCPIP.H - WinSock2 Extension for TCP/IP protocols | |
** | |
** This file contains TCP/IP specific information for use | |
** by WinSock2 compatible applications. | |
** | |
** Copyright (c) Microsoft Corporation. All rights reserved. | |
** | |
** To provide the backward compatibility, all the TCP/IP | |
** specific definitions that were included in the WINSOCK.H |
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
#include <LiquidCrystal_I2C.h> | |
#include <dht.h> | |
//#define SERIALPRINT 1 | |
#define DHT_ANALOG_PIN A0 | |
#define SOIL_MOISTURE_ANALOG_PIN A1 | |
#define RAINDROP_ANALOG_PIN A2 |
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
// TODO | |
// Subtraction! | |
// Explanation | |
// | |
// unsigned long long int ranging from 18446744073709551615 (9 digit maximum) | |
// ... | |
// So, we choose to deal with base 1*10^9 | |
// Uncomment this to turn off testing |
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
Answer author note: | |
0b prefix means binary | |
0o prefix means octal | |
0x prefix means hexadecimal | |
Group Assignment (3 per group) | |
1. Hexadecimal conversions: | |
a. Convert to hexadecimal: 2345.67, Round to two digits past the hexadecimal point. | |
b Convert your answer to binary. and then to octal |
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
[workspace] | |
name = "MyGame" | |
[workspace.assetmanager] | |
installmode = "local" | |
required = [ | |
"shaderboi.coolshaders", | |
"shaderboi.coolshadersv2" | |
] |
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
#include <SDL.h> | |
#include <cstdio> | |
#include <iostream> | |
#include <string> | |
#include <cstring> | |
#include <fstream> | |
#include <ctime> | |
#include <stdexcept> | |
#include <vector> |
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
/******************************************************************** | |
* * | |
* THIS FILE IS PART OF THE OggVorbis SOFTWARE CODEC SOURCE CODE. * | |
* USE, DISTRIBUTION AND REPRODUCTION OF THIS LIBRARY SOURCE IS * | |
* GOVERNED BY A BSD-STYLE SOURCE LICENSE INCLUDED WITH THIS SOURCE * | |
* IN 'COPYING'. PLEASE READ THESE TERMS BEFORE DISTRIBUTING. * | |
* * | |
* THE OggVorbis SOURCE CODE IS (C) COPYRIGHT 1994-2009 * | |
* by the Xiph.Org Foundation http://www.xiph.org/ * | |
* * |