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
joydsouza90 0 Light Poster
Recommended Answers
Jump to Postmaximum 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.
Jump to Postyou 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]
…
Jump to Post1024*768 is the size of the screen in graphic pizels
25x80 is the text mode screen size (25 lines and 80 characters per line). That was the default size of the old MS-DOS version 6.X and earlier screens.
Jump to Postnormally size in C is 25x80
There is no such thing as a "normal size in C". C language doesn't know a thing about screen sizes.
All 15 Replies
Ancient Dragon 5,243 Achieved Level 70 Team Colleague Featured Poster
WaltP 2,905 Posting Sage w/ dash of thyme Team Colleague
joydsouza90 0 Light Poster
Ancient Dragon 5,243 Achieved Level 70 Team Colleague Featured Poster
joydsouza90 0 Light Poster
Ancient Dragon 5,243 Achieved Level 70 Team Colleague Featured Poster
furqankhyraj -11 Newbie Poster
Ancient Dragon 5,243 Achieved Level 70 Team Colleague Featured Poster
sorena1987 0 Newbie Poster
Ancient Dragon 5,243 Achieved Level 70 Team Colleague Featured Poster
sahil_2 0 Newbie Poster
Schol-R-LEA 1,446 Commie Mutant Traitor Featured Poster
Ancient Dragon 5,243 Achieved Level 70 Team Colleague Featured Poster
Schol-R-LEA 1,446 Commie Mutant Traitor Featured Poster
Ancient Dragon 5,243 Achieved Level 70 Team Colleague Featured Poster
Be a part of the DaniWeb community
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.