gotoxy function in turbo c++

could anyone tell me what are the max values that can be entered in turbo c++ gotoxy function.....
the help says that (35,25) is the bottom right position in the window but i can enter text even upto x-coordinate 50..
what i want to do is enter text at y- coordinates greater than 25....
is this possible ???
plese help.... i have a project to submit within a week and this is a mojor roadblock.... :S

maximum is the size of the screen and its resolution, usually 25 x 80. The 35X25 was common when PCs first came out in the early 1980s. But MS-Windows console screens have much smaller fonts and more rows.

could anyone tell me what are the max values that can be entered in turbo c++ gotoxy function.....
the help says that (35,25) is the bottom right position in the window but i can enter text even upto x-coordinate 50..
what i want to do is enter text at y- coordinates greater than 25....
is this possible ???
plese help.... i have a project to submit within a week and this is a mojor roadblock.... :S

you don't really need those loops at all if you use fgets() to get the entire line at one time instead of one character at a time with getch(). It also processes backspace correctly, which your code does not.

>>Both gender and age are strings : gender[5], age[2]

Make sure the buffers are at least as large as needed to hold all the characters plus the null terminator. If you want age to hold two digits then it needs to be a minimum of 3 bytes. gender needs to be at least 7 because "female" is 6 characters.

First off, please do not hijack threads from years gone by, even if they are related to your question. In the future, you would do better to start a new thread for your subject.

Second, Turbo C++ has no direct support for modern fonts as far as I know, and the bitmap fonts it did support are poorly documented. this thread discusses the difficulties you are facing trying to use <graphics.h> for text.

Keep in mind, you are using a DOS mode compiler that is now 25 years old. It is no longer even usable under Windowd Vista/7/8, without special emulation. If you can, I would strongly recommend using a different compiler and IDE, such as Code::Blocks.

Ah, I had been of the impression that gotoxy() was a console mode function; I didn't think it would work for text in a graphics mode application (which the particular coordinates mentioned implied). If I was wrong in that, I apologize.

gotoxy is indeed a text mode function. You didn't say you wanted graphics mode so I assumed you wanted text mode. My error. I don't know enough about graphics.h to tell you what to do, I haven't used that compiler in over 20 years.

Write a C program that should create a 10 element array of random integers (0 to 9). The program should total all of the numbers in the odd positions of the array and compare them with the total of the numbers in the even positions of the array and indicate ...

I have a 2d matrix with dimension (3, n) called A, I want to calculate the normalization and cross product of two arrays (b,z) (see the code please) for each column (for the first column, then the second one and so on).
the function that I created to find the ...