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
type BigDan = '조' | '억' | '만' | |
const bigDan = { | |
조: 1000000000000, | |
억: 100000000, | |
만: 10000, | |
} | |
type SmallDan = '천' | '백' | '십' |
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
// 문제의 의도를 모르겠습니다. 사용언어에 따른 자료형 Max에 대한 이슈를 다루려고 한건지, 아니면 영어실력이 부족해서 문제를 제대로 파악하지 못한건지 잘 모르겠습니다. | |
export const miso1 = (a: number, b:number) => { | |
console.log(a+b) | |
return a + b | |
} | |
// jest | |
// test1.jest.ts | |
test('miso1', () => { | |
expect(miso1(2147483647, 2147483647)).toBe(4294967294) |
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
//container | |
import React, {Component} from 'react'; | |
import App from './presenter'; | |
import language from '../../language' | |
import ScatterJS, {Network} from 'scatterjs-core'; | |
import ScatterEOS from 'scatterjs-plugin-eosjs'; | |
import EosService from '../../libs/EosService'; | |
ScatterJS.plugins(new ScatterEOS()); |
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
//main cpp | |
//c++ 에서 사용하는 객체를사용하는데 이 헤더가 필요하다. | |
#include <iostream> | |
#include "CMyString.hpp" | |
using namespace std; | |
class CTestData{ | |
public: | |
This file has been truncated, but you can view the full file.
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
[ | |
{ | |
"country_code": "AF", | |
"country_name": "Afghanistan", | |
"dialling_code": 93, | |
"index": 0, | |
"city": [ | |
"Zorkot", | |
"Wulêswālī Bihsūd", | |
"Kuhsān", |
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
// | |
// CMyString.cpp | |
// cppToBitcore | |
// | |
// Created by 곽대용 on 2018. 8. 11.. | |
// Copyright © 2018년 dany. All rights reserved. | |
// | |
#include "CMyString.hpp" | |
#include "string.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
// | |
// main.cpp | |
// cppToBitcore | |
// | |
// Created by 곽대용 on 2018. 7. 22.. | |
// Copyright © 2018년 dany. All rights reserved. | |
// | |
//c++ 에서 사용하는 객체를사용하는데 이 헤더가 필요하다. | |
#include <iostream> |
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
// | |
// main.cpp | |
// cppToBitcore | |
// | |
// Created by 곽대용 on 2018. 7. 22.. | |
// Copyright © 2018년 dany. All rights reserved. | |
// | |
//c++ 에서 사용하는 객체를사용하는데 이 헤더가 필요하다. | |
#include <iostream> |
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
// | |
// main.cpp | |
// cppToBitcore | |
// | |
// Created by 곽대용 on 2018. 7. 22.. | |
// Copyright © 2018년 dany. All rights reserved. | |
// | |
//c++ 에서 사용하는 객체를사용하는데 이 헤더가 필요하다. | |
#include <iostream> |
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
//main cpp | |
//c++ 에서 사용하는 객체를사용하는데 이 헤더가 필요하다. | |
#include <iostream> | |
#include "CMyString.hpp" | |
using namespace std; | |
int main(int argc, const char* argv[]) { | |
CMyString strData; | |
strData.setString("Hello"); |
NewerOlder