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
<!DOCTYPE html> | |
<html lang="en"> | |
<head> | |
<meta charset="UTF-8"> | |
<meta name="viewport" content="width=device-width, initial-scale=1.0"> | |
<link href="<?php echo content_url(); ?>/fontawesome/css/all.css" rel="stylesheet"> <!--load all styles --> | |
<title>FontAwesomeを表示してみる</title> | |
<style> | |
/* iタグで表示用 */ |
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
<?php | |
function custom_theme_setup() { | |
add_theme_support( 'menus' ); | |
} | |
add_action( 'after_setup_theme', 'custom_theme_setup' ); |
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 "sqlite3.h" | |
#include <iostream> | |
#include <memory> | |
#include <string> | |
struct SQLiteError { | |
int errcode; | |
std::string errmsg; | |
std::string sqlite3_errmsg; |
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 "gamemain.hpp" | |
#include <iostream> | |
GAME::GAME() { | |
init(); | |
} | |
GAME::~GAME() { | |
cleanup(); | |
} |
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
/** | |
* 時間計測サンプル | |
* cl /EHsc timer_chrono.cpp | |
*/ | |
#include <chrono> | |
#include <thread> | |
#include <iostream> | |
using namespace std::chrono; | |
using namespace std::this_thread; |
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> | |
int main(int argc, char** argv) { | |
// 初期化 | |
if (SDL_Init(SDL_INIT_VIDEO) != NULL) { | |
// error | |
SDL_Quit(); | |
return 1; | |
} |
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 <iostream> | |
auto main() -> int { | |
std::cout << "Hello World !" << std::endl; | |
return 0; | |
} |