표현 | 예 |
---|---|
수 | 10 |
식 | 1 + 2 |
문자열 | "string" |
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
struct header1 { | |
uint16_t a1; | |
int16_t a2; | |
int16_t a3; | |
int16_t a4; | |
int16_t a5; | |
int16_t a6; | |
int16_t a7; |
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
syntax on | |
"language en_US.UTF-8 | |
set fileencodings=utf-8,euc-kr | |
set encoding=utf-8 | |
set langmenu=en_US | |
let $LANG = 'en_US' | |
source $VIMRUNTIME/delmenu.vim | |
source $VIMRUNTIME/menu.vim |
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
std::shared_ptr<boost::asio::deadline_timer> m_motorTimer; | |
FromToWithDuration2<float> fromLeft(현재값, 목표값, 1000); | |
auto self = shared_from_this(); | |
m_motorTimer = createSchedule(m_ioService, 100, [this, self, 목표값, 증감값(=맥스출력/10)]()->bool{ | |
bool res = fromLeft.stepValue(증감값); | |
if(res == false) | |
return res; | |
m_leftMotorValue = fromLeft.getValue(); | |
모터돌리기( |
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 <mutex> | |
#include <stb_image.h> | |
#include <nanogui/nanogui.h> | |
class VideoView: public nanogui::GLCanvas { | |
public: | |
nanogui::GLShader shader; | |
GLuint textureId; | |
unsigned char* pixelBuffer; |
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 "FileControl.h" | |
CFileControl::CFileControl() | |
{ | |
// Construct | |
this->top = filecheck(); //top에다가 대입 | |
} | |
CFileControl::~CFileControl() | |
{ |
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 <streambuf> | |
#include <iostream> | |
#include <sstream> | |
#include <fstream> | |
#include "json.hpp" | |
template <char const* m_fileName> | |
struct SaveData | |
{ |
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 "string-util.h" | |
#include <zlib.h> | |
#include <memory.h> | |
using namespace std; | |
string insertSeparator(const string& s, char separator, int width) | |
{ | |
string ss = s; |
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 "ks19937.h" | |
std::mt19937 ks19937::rng; |
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 "FileControl.h" | |
CFileControl::CFileControl() | |
{ | |
// Construct | |
this->top = filecheck(); //top에다가 대입 | |
} | |
CFileControl::~CFileControl() | |
{ |