Turbo-C
C++Builder  |  Delphi  |  FireMonkey  |  C/C++  |  Free Pascal  |  Firebird
볼랜드포럼 BorlandForum
 경고! 게시물 작성자의 사전 허락없는 메일주소 추출행위 절대 금지
터보-C 포럼
Q & A
FAQ
팁&트릭
강좌/문서
자료실
Lua 게시판
볼랜드포럼 홈
헤드라인 뉴스
IT 뉴스
공지사항
자유게시판
해피 브레이크
공동 프로젝트
구인/구직
회원 장터
건의사항
운영진 게시판
회원 메뉴
북마크
볼랜드포럼 광고 모집

C/C++ Q/A
[1750] Re:표준 출력 시 커서 이동
조준회 [] 1417 읽음    2002-12-24 17:23
Header File

conio.h

Category

Console I/O Routines

Syntax

#include <conio.h>
void gotoxy(int x, int y);

Description

Positions cursor in text window.

gotoxy moves the cursor to the given position in the current text window. If the coordinates are in any way invalid the call to gotoxy is ignored. An example of this is a call to gotoxy(40,30) when (35,25) is the bottom right position in the window. Neither argument to gotoxy can be zero.

Note:    Do not use this function for Win32s or Win32 GUI applications.

Return Value

None.
Ray 님이 쓰신 글 :
: printf()를 사용한 표준 출력 시에 \n을 찍으면
: 다음 라인으로 넘어가죠.
: 그런 후에 커서를 위로 옮길 수 있는 방법이 있나요?
: 그러니깐 몇 라인 위로 이동해서 이미 찍힌 다음 부터 또 출력할 방법이 있는지요...
:
: 이는 키보드의 이동키에 해당하는 문자 코드를 찍어주면 되는 거 아닐까 하는데요...
: 아스키 코드와 스캔 코드를 이용하면 이동키에 대한 입력은 인식할 수 있는데,
: 출력은 어떻게 하는 지 궁금하군요.
:
: Visual C++ 콘솔에서 코딩을 하는데, 아시는 분의 도움을 부탁드립니다.

+ -

관련 글 리스트
1749 표준 출력 시 커서 이동 Ray 1370 2002/12/24
1750     Re:표준 출력 시 커서 이동 조준회 1417 2002/12/24
1751         Re:Re:표준 출력 시 커서 이동 Ray 1433 2002/12/24
1754             Re:Re:Re:표준 출력 시 커서 이동 조준회 1364 2002/12/26
Google
Copyright © 1999-2015, borlandforum.com. All right reserved.