( 1 - 현재가 / 전일종가 ) * -100 = 전일종가대비 변동율
'프로그래밍 > C&C++' 카테고리의 다른 글
switch 문을 대체하는 function pointer (0) | 2019.01.01 |
---|
( 1 - 현재가 / 전일종가 ) * -100 = 전일종가대비 변동율
switch 문을 대체하는 function pointer (0) | 2019.01.01 |
---|
1. sample 코드
#include <stdio.h>
typedef void (*func) ();
void foo1()
{
printf("foo1\n");
}
void foo2()
{
printf("foo2\n");
}
void foo3()
{
printf("foo3\n");
}
void switch_with_fpointer( void (*pt2func)() )
{
pt2func();
}
int main()
{
func fpointers[] = { foo1, foo2, foo3 };
fpointers[1]();
switch_with_fpointer( &foo3 );
}
2. 자료
http://oopweb.com/CPP/Documents/FunctionPointers/Volume/CCPP/FPT/em_fpt.html
전일종가대비 % (변동율) 구하는 수식 (0) | 2019.03.04 |
---|
Some of selected resources were not cleaned.
svn: E200030: There are unfinished transactions detected in 'C:\eclipse-workspace\CCEX'
해결방법
vi 편집기에서 세로 모드 (column mode) 로 문자열 입력 (0) | 2018.07.13 |
---|
동시성 제어하는 방법에 관한 자료
http://www.oracle.com/technetwork/articles/javase/index-140767.html
https://vnthf.github.io/blog/Java-java.util.concurrent.locks/
java 관련 사이트 (0) | 2018.04.08 |
---|
vi 편집기에서 세로 모드 (column mode) 로 문자열 입력
출처: http://starblood.tistory.com/entry/vi-편집기에서-세로-모드-column-mode-로-문자열-입력 [Drink and Be happy]
svn: E200030: There are unfinished transactions 오류시 (0) | 2018.10.06 |
---|
OKJSP : jsp 강좌, tool 및 ejb, 데이터베이스 팀, 소스 제공
JSP Study : JSP 커뮤니티, JAVA, 프로그래밍 강좌, 사용팁등 제공
자바누리 : java 개발자 커뮤니티, 자바 초급, 고급 강좌, Enterprise java Solution 경험 공유 제공
( http://javanuri.devpia.com )
Android Open source Project : 안드로이드 오픈소스 프로젝트, 호환성, 기술정보, 보도자료 제공.
안드로이드사이드 : 안드로이드 개발자 커뮤니티, 게임, 갤럭시, 강좌, 강의, 교육 정보 제공
( http://www.androidside.com )
코리아 안드로이드: 구글 안드로이드 기술 커뮤니티, 세미나, 교육, 책, 저널등 수록
java concurrent programming 방법 (0) | 2018.08.23 |
---|