+ 7

Is gotoxy function in c & c++ professional?!

Hi friends. In c & c++ language, we can define a function to move the position of cursor. This function is usually names "gotoxy" between programmers. Howmany using from this function is true?! Because our programming's professor said us : "Using of (gotoxy) function is an insult to the programming!!!" ... :) Why he said it?!

6th Sep 2018, 6:57 PM
Ahmad Jafari
Ahmad Jafari - avatar
2 Réponses
+ 7
Your professor is a wise man if he said so! The problem with such obsolete IO utility function comes from the fact that the conio.h extension was not part of the C standard. By the time, ISO folks after lots of deliberation decided to kick its ass and throw it away from the C's ecosystem forever . So, now, we rarely see compilers that supports old days masterpiece! But if you'd like to reminisce the past, there are some conio-like libraries out there that you could look into them. Just Google "download conio.h".
6th Sep 2018, 8:43 PM
Babak
Babak - avatar
+ 1
hello friend's. I think it is the question about coding style and using common tools in coding. imho, judging code of program only by this criteria's fault because have only one proper criteria - program is working good.
7th Sep 2018, 10:28 AM
Иван Мартынов
Иван Мартынов - avatar