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
// バッファと, 本来のデータの型は同じにする。 | |
//EnemyData data[256]; // バッファ | |
//EnemyData enemy[256]; // 例 | |
void FileStreamEnemy(const TCHAR *file_name) | |
{ | |
char buf[100]; | |
int c; | |
int col = 1; |
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
void InitResult(void) | |
{ | |
FILE *fp = NULL; | |
fopen_s(&fp, "Resources/HighScore.txt", "r"); | |
fscanf_s(fp, "%d", &high_score); | |
fclose(fp); | |
} | |
void UpdateResult(void) |
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
#pragma once | |
// <namespace name : ECS (Entity Component System)> | |
// <update date : 2020 / 05 / 20> | |
// <author : Nyarll> | |
// <GitHub : https://github.com/Nyarll > | |
#ifndef ECM_DEFINES | |
#define ECM_DEFINES |
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 <vector> | |
int main() | |
{ | |
std::vector<int> ivector; | |
//ivector.reserve(1000); | |
ivector.push_back(0); | |
ivector.push_back(1); |
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
import java.text.SimpleDateFormat; | |
import java.util.Date; | |
import java.util.logging.Formatter; | |
import java.util.logging.LogRecord; | |
/** | |
* | |
* Formatter for simple logs. | |
* | |
* @author unlucky0314 |