포럼 회원으로 등록하신분만 다운로드가 가능합니다. 최대 업로드 가능한 용량은 20MB 입니다.

터미널 화면의 일정 화면 위치에 커서를 위치 시키는 팁 입니다.

하지만, 터미널 환경에 따라 안될 때도 있습니다.

#define gotoxy(x,y)  printf("x1b[%d;%df",x,y);
#define clrscr()     printf("33[;H33[2J")

void gotoxy(int x, int y) {
    printf("x1b[%d;%df", y, x);
}

profile

인생은 연극이고 세상은 무대이다!

이솝 임베디드 포럼 운영 및 비즈니스와 관련된 것 이외에 E-Mail이나 메신저 및 휴대폰 등을 통한 개인적인 질문 및 답변은 받지 않습니다. 문의 사항은 이솝 임베디드 포럼 게시판을 이용해 주시면 감사하겠습니다.

엮인글 :
http://www.aesop.or.kr/index.php?mid=Board_Documents_Linux_Applications&document_srl=35449&act=trackback&key=1bd
List of Articles
번호 제목 글쓴이 날짜 조회 수sort

펌웨어 프로그래밍 팁 - gotoxy()

dos2unix source & site file

grep을 이용한 검색 script ==> gref

framebuffer capture하기 [1]

Linux 101 Hacks file [1]

wxWidget mysql direct access file

The GNU Binary Utilities - How to Using binutils file

micro second to jiffies 변환

C Library ABI for the ARM®Architecture file

POSIX Serial Programming Guide file

CVS 디렉터리 날리는 방법

The GNU Make - How to Using Make file

간단한 리눅스 firewall script

한글 mount/samba option

유용한 ARM 어셈블리 매크로

SDL에서 touchscreen enable 시키는 방법

일본어 mount option

The GNU Linker - How to Using ld file

ARM ADS Errors and Warning 코드 설명 file

펌웨어 프로그래밍 팁 - 2진수 처리기

사용자 로그인