'잡동사니'에 해당되는 글 13419건

  1. 2015.12.21 irocks kr-6220 winLock
  2. 2015.12.21 #import ?
  3. 2015.12.21 아이폰 어플 파일 관련
  4. 2015.12.20 fez 1회차 끝
  5. 2015.12.19 블로그 어워드 2015
  6. 2015.12.18 uart tx interrupt
  7. 2015.12.18 인디갈라 획득 실패 ㅠㅠ
  8. 2015.12.18 make 의존성 파일?
  9. 2015.12.18 make 암시적 룰
  10. 2015.12.17 gcc -M -MM
개소리 왈왈/컴퓨터2015. 12. 21. 17:52

먼가 해서 찾아 봤더니

윈도우 키 잠금..


양쪽 윈도우키를 3초간 누르고 있으면 WinLock LED가 on/off하고


ctrl-esc와 shift-f10은 되지만

윈도우 키랑 메뉴키 라고 해야 하나 이 두개는 안 먹힌다.


[링크 : http://mile.tistory.com/6]






scroll lock 불 안들어 와서 보다가 이제야 발견한 기능...

'개소리 왈왈 > 컴퓨터' 카테고리의 다른 글

2016년 시작  (0) 2016.01.01
마음에 들진 않지만...  (0) 2015.12.28
tc1100 윈7 설치  (0) 2015.11.08
tc1100 분해 및 win10 시도  (0) 2015.11.07
tc1100 분해방법  (0) 2015.11.05
Posted by 구차니
Programming/C Win32 MFC2015. 12. 21. 14:54

엥? 이런 넘도 있었나? -ㅁ-?



$ g++ float.c -lm

float.c:1:2: warning: #import is a deprecated GCC extension [-Wdeprecated]

float.c:3:11: error: ‘::main’ must return ‘int’

float.c: In function ‘int main()’:


$ gcc float.c -lm

float.c:1:2: warning: #import is a deprecated GCC extension [-Wdeprecated]

float.c: In function ‘main’:



If you are familiar with C++ and macros, then


#import "Class.h" 

is similar to


{

#pragma once


#include "class.h"

}

[링크 : http://stackoverflow.com/.../what-is-the-difference-between-import-and-include-in-objective-c] 

'Programming > C Win32 MFC' 카테고리의 다른 글

윈도우에서 dll 동적 라이브러리 사용하기  (0) 2016.04.04
가변 매크로 __VA_ARGS__  (0) 2016.03.18
"\n" 의 cpu 점유율?  (0) 2015.10.12
rand()와 RAND_MAX  (0) 2015.10.05
Cppcheck  (0) 2015.09.30
Posted by 구차니

지인에게 협박(?) 해서 file로 앱파일 내용봐달라고 했떠니


Mach-O universal binary with 2 architectures

(for architecture armv7): Mach-O executable arm

(for architecture arm64): Mach-O 64-bit executable


[링크 : https://en.wikipedia.org/wiki/Mach-O]



기본 확장자는 ipa(배포용)

패키지 안 바이너리는 app

app는 Mach-O 포맷?


'개소리 왈왈 > 모바일 생활' 카테고리의 다른 글

아이패드가 미쳤어요!!  (0) 2016.03.11
아침부터 아가씨(?) 전화에 흔들리는 마음  (0) 2016.02.19
다음달은 5천원을 목표로!!  (0) 2015.11.13
smardi GAM.r  (0) 2015.10.24
요금제 변경  (0) 2015.10.15
Posted by 구차니
게임/FEZ2015. 12. 20. 18:32

키...

이넘의.. UP/DOWN이랑 SHIFT LEFT/RIGHT에 헷갈려서.. -_-


LT = A button

RT = D button

A = Space

Left Analog stick directions (Up, Down, Left, Right) = Arrow Keys


Key:

-LT---Shift Left

-RT---Shift Right

-A---Jump

-Up, Down, Left, Right---The Up, Down, Left, and Right directional keys, respectively


[링크 : http://steamcommunity.com/sharedfiles/filedetails/?id=144370815]


공략 보니.. 시간을 바꾸어서 해서

뜬금없이 2012년으로 막 가고 그랬는데.. 결론은 아무때나 상관이 없는걸려나...

[링크 : http://www.ign.com/wikis/fez/Clock_Room]





망할 숨겨진 곳 -_-



흐억 시야가 좁아졌어!!!!




드디어 1차 엔딩인가!




이 스테이지에서는 점프력이 ㄷㄷㄷ

















연출이 쩌네..


이제 새 게임 시작+!


안경을 쓰면



1인칭 시점이 추가되는데

기본은 오른쪽 ALT지만 한글키로 되어 있으니 한글 윈도우에서는 무리고

다른 키로 설정!


오오 첫 마을이 이렇게 바뀌다니!!!

그나저나 여기에도 히든 코드가 보이는건가?


103.5%! 일단은 여기까지...?


'게임 > FEZ' 카테고리의 다른 글

FEZ 87.5%  (0) 2015.12.15
fez 80.1%...  (0) 2015.12.13
오늘의 FEZ 70.3%  (0) 2015.12.06
FEZ - 약.. 40%? -> 52.7%  (0) 2015.11.29
FEZ  (0) 2015.11.08
Posted by 구차니
개소리 왈왈/블로그2015. 12. 19. 22:26

신청을 해 말아?


근데 귀찮잖아? 안될거야







그나저나 천명도 안오는데 해서 머하나~

'개소리 왈왈 > 블로그' 카테고리의 다른 글

웹호스팅 결제 -_-  (0) 2016.02.22
대한민국 결제 환경 이대로 좋은가!!  (0) 2016.02.21
블로그 접어야 하나 ㅋㅋ  (0) 2015.11.14
다음 쪽지 종료 공지  (0) 2015.10.28
카카오 티스토리...  (0) 2015.10.07
Posted by 구차니
embeded/Cortex-M3 Ti2015. 12. 18. 16:54

lm3s1607 데이터 시트

TxFIFO가 있는데 이녀석에서 Transmitter로 한 바이트가 보내지면 TX 인터럽트가 떨어진다.

그런 이유로 가장 마지막 바이트가 UART를 통해 보내지는 시점에 (다음 바이트를 받기 위해) TX 인터럽트가 발생한다.

그래서 485 등을 사용시에는 TX 인터럽트 떨어졌다고 바로 TX Enable을 꺼버리면 안된다.



'embeded > Cortex-M3 Ti' 카테고리의 다른 글

cortex-m3 hibernate module...  (0) 2016.04.14
cortex-m3 인터럽트 관련 조사  (0) 2016.02.18
coflash 구조 및 에러 메시지..  (0) 2015.12.11
ADCHardwareOversampleConfigure()  (0) 2015.11.17
lm3s811 / lm31968 adc 사양비교  (0) 2015.11.17
Posted by 구차니

근데 닌자 ㅋㅋㅋ

국제 공통이었냐?




'게임 > 오리진&스팀&유플레이' 카테고리의 다른 글

오리진의 선물 - NFS 모스트 원티드  (0) 2016.02.03
스팀 195개.. 오리진 45개?  (0) 2016.01.12
indiegala giveaday  (0) 2015.12.13
인디갈라 give a day  (0) 2015.12.10
오리진의 선물  (0) 2015.12.03
Posted by 구차니

gcc -M을 통해서 해당 소스가 끌어와야 하는 헤더들의 목록을 얻어낼수 있다.

이걸 이용하여 역으로

make 파일에서 사용해야 하는 헤더들의 목록을 생성해 낼 수 있고

이걸 make dep나 make depend를 통해서 수행하게 된다.


생각해보니.. ifdef로 된거.. option 파일이 아닌

-D 인자를 통해서 gcc -M -Dflag 해주면... 외부에서 소스변경없이 구현이 가능해져서 더 편하려나?


[링크 : http://developinghappiness.com/?p=174]

    [링크 : http://developinghappiness.com/?page_id=222]


[링크 : http://linux.die.net/man/1/gccmakedep]

'프로그램 사용 > make, configure' 카테고리의 다른 글

make 기본셸  (0) 2016.06.08
makefile := = 차이점  (0) 2016.06.04
make 암시적 룰  (0) 2015.12.18
make jobserver unavailable  (0) 2015.12.16
make 아카이브  (0) 2015.12.14
Posted by 구차니

타겟을 만들지 않아도 컴파일 되는 이유... 라고 해야하나?

*.c는 $(CC)를

*.cc나 *.C는 $(CXX)를 이용해서 컴파일 하는데


$(CPPFLAGS) 와 $(CFLAGS)를 인자로 받으니..

여기에 헤더와 링커 경로를 넣어주면 자동으로 알아서 작동하는 마법!


Compiling C programs

n.o is made automatically from n.c with a recipe of the form ‘$(CC) $(CPPFLAGS) $(CFLAGS) -c’.


Compiling C++ programs

n.o is made automatically from n.cc, n.cpp, or n.C with a recipe of the form ‘$(CXX) $(CPPFLAGS) $(CXXFLAGS) -c’. We encourage you to use the suffix ‘.cc’ for C++ source files instead of ‘.C’.


[링크 : http://www.gnu.org/software/make/manual/make.html#Catalogue-of-Rules] 

[링크 : http://korea.gnu.org/manual/4check/make-3.77/ko/make_10.html#SEC91]


패턴 규칙 예제(Pattern Rule Examples)


다음은 make에 의해서 실제로 미리 정의된 패턴 규칙들의 몇가지 예제들이다. 먼저 `.c' 파일들을 `.o' 로 컴파일하는 규칙은:


%.o : %.c

        $(CC) -c $(CFLAGS) $(CPPFLAGS) $< -o $@


[링크 : http://korea.gnu.org/manual/4check/make-3.77/ko/make_10.html#SEC96] 


'프로그램 사용 > make, configure' 카테고리의 다른 글

makefile := = 차이점  (0) 2016.06.04
make 의존성 파일?  (0) 2015.12.18
make jobserver unavailable  (0) 2015.12.16
make 아카이브  (0) 2015.12.14
make 매크로  (0) 2015.12.14
Posted by 구차니
프로그램 사용/gcc2015. 12. 17. 17:13

-E는 프리프로세서를 거친 결과를 뽑아준다면..

-M은 확장된 헤더의 목록만 빼준다.


-E

Stop after the preprocessing stage; do not run the compiler proper. The output is in the form of preprocessed source code, which is sent to the standard output.


-M

Instead of outputting the result of preprocessing, output a rule suitable for make describing the dependencies of the main source file. The preprocessor outputs one make rule containing the object file name for that source file, a colon, and the names of all the included files, including those coming from -include or -imacros command line options.


Unless specified explicitly (with -MT or -MQ), the object file name consists of the name of the source file with any suffix replaced with object file suffix and with any leading directory parts removed. If there are many included files then the rule is split into several lines using \-newline. The rule has no commands.

This option does not suppress the preprocessor's debug output, such as -dM. To avoid mixing such debug output with the dependency rules you should explicitly specify the dependency output file with -MF, or use an environment variable like DEPENDENCIES_OUTPUT . Debug output will still be sent to the regular output stream as normal.


Passing -M to the driver implies -E, and suppresses warnings with an implicit -w.


-MM

Like -M but do not mention header files that are found in system header directories, nor header files that are included, directly or indirectly, from such a header.


This implies that the choice of angle brackets or double quotes in an #include directive does not in itself determine whether that header will appear in -MM dependency output. This is a slight change in semantics from GCC versions 3.0 and earlier.


[링크 : http://linux.die.net/man/1/gcc]

'프로그램 사용 > gcc' 카테고리의 다른 글

gcc -fPIC  (0) 2016.06.22
gcc dependency .d 파일?  (0) 2016.03.28
gcc 초기화 관련  (0) 2015.10.21
precompiled header on GCC (라즈베리로 테스트)  (2) 2015.07.30
gcc에서 precompiled header 사용하기  (0) 2015.07.29
Posted by 구차니