/* Project 16 Source Code~\r
- * Copyright (C) 2012-2016 sparky4 & pngwen & andrius4669 & joncampbell123 & yakui-lover\r
+ * Copyright (C) 2012-2017 sparky4 & pngwen & andrius4669 & joncampbell123 & yakui-lover\r
*\r
* This file is part of Project 16.\r
*\r
#ifdef __WATCOMC__\r
#define _argv __argv\r
#define _argc __argc\r
+\r
+//from http://www.verycomputer.com/3_65d875cc818b54ec_1.htm\r
+void clrscr(void);\r
+#pragma aux clrscr= \\r
+ " mov ah, 0fh " \\r
+ " int 10h " \\r
+ " xor ah, ah " \\r
+ " int 10h " ;\r
+//from http://stackoverflow.com/questions/18425748/gotoxy-function-using-printf-s-position\r
+inline void gotoxy(int x,int y)\r
+{\r
+ printf("\x1B[%d;%df", y, x);\r
+ fflush(stdout); // @jxh\r
+}\r
#endif\r
\r
#endif/*_TYPE_H_*/\r