Einzelnen Beitrag anzeigen

Nuclear-Ping
(Gast)

n/a Beiträge
 
#12

Re: Mit Cursor zu bestimmter Stelle Springen C

  Alt 27. Nov 2007, 13:47
Zitat von ferby:
Hallo,

ja ich programmiere in der Konsole.

gotoxy ist pascal.... ich kenne keinen Befehl für C der das selbe macht,
ünber Google finde ich auch nur Schrott
gotoxy ist sowohl C als auch Pascal. Auch wenn meine C-Zeiten schon "Jahrzehnte" zurückliegen, kann ich mich doch sehr daran erinnern, öfters mit gotoxy gearbeitet zu haben.
Code:
gotoxy

See also Example Portability

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.

Borland C++ 5.0 Programmer's Guide
--> http://www.cs.binghamton.edu/~steflik/cs240/conio.html
  Mit Zitat antworten Zitat