473,473 Members | 1,825 Online
Bytes | Software Development & Data Engineering Community
Create Post

Home Posts Topics Members FAQ

gotoxy and clrscr

3 New Member
hello everyone,
i'm just a beginner in C language. just wanted to ask wich include will i have to use while using gotoxy and clrscr or is there any link/site where i check all the functions in all the different includes.
Jun 4 '08 #1
5 4984
Banfa
9,065 Recognized Expert Moderator Expert
Those are not standard functions so it rather depends on if the platform you are using supports them and if it does where the manufacturers chose to put the declarations. Looking for conio.h would be a start though.
Jun 4 '08 #2
conics
30 New Member
they are standard functions

try stdio.h
Jun 5 '08 #3
oler1s
671 Recognized Expert Contributor
they are standard functions...try stdio.h
Incorrect. Easily confirmed in two ways. First is to try it out yourself with a standards conforming compiler. Your code will fail, as gotoxy and clrscr do not exist in stdio.h and in the standard. Or look up a draft of the standard yourself. You’ll see no mention of gotoxy and clrscr.
Jun 5 '08 #4
Abhishek170
3 New Member
Those are not standard functions so it rather depends on if the platform you are using supports them and if it does where the manufacturers chose to put the declarations. Looking for conio.h would be a start though.
it dont think its in conio.h either, dev c++ displays the same problem even after i include conio.h:
'clrscr' undeclared (first use this function)
Jun 7 '08 #5
oler1s
671 Recognized Expert Contributor
it dont think its in conio.h either, dev c++ displays the same problem even after i include conio.h:
'clrscr' undeclared (first use this function)
People need to read the Wikipedia entry or Google. It’s utterly nonstandard. If gotoxy and clrscr do not exist in your compiler’s conio.h, oh well. It’s up to them to put what they want in conio.h
Jun 7 '08 #6

Sign in to post your reply or Sign up for a free account.

Similar topics

1
by: AHR | last post by:
Hi NG I am learning MFC but only use the command promt at the moment to run my C++ programs. My problem is that i cant use clrscr() even if i include <conio.h>. I get this error: ****
4
by: Teo81 | last post by:
Hi! I'm using visual studio 6.0 and I need to interact with DOS console. I know the conio.h library but, under visual studio, it doesn't provide useful functoins like gotoXY( int, int ) etc.... My...
5
by: Deep | last post by:
Is there any alternative for gotoxy and similar functions in gcc??
6
by: arunk8186 | last post by:
Hi friends, When I compiled a program in which I have used gotoxy function in C , I get an error as "C:\Documents and Settings\e373616\Desktop\H1.cpp(58) : error C2065:...
10
by: playagain | last post by:
Why I can't use the clrscr(); and gotoxy(); in some compilers?
8
by: Michele 'xjp' | last post by:
Hi there, I am using a POSIX-compliant system, Cygwin on Windows. I need the features of conio.h's getch() and clrscr(), but I can't compile programs with #include <conio.h(since conio.h is NOT...
26
by: Albert | last post by:
Hi Are there any definitions of the gotoxy function on the internet. My compiler doesn't define it in any header Albert
5
by: poopsy | last post by:
hi all i wud like to know wat is the equivalent of gotoxy(x,y) in C++?? i found that in many codes on the net wat's the function of gotoxy..can sumbody plz explain i've never done C, ive always...
2
by: naughtysriram | last post by:
what are the equivalent library functions found in conio.h (turbo c++) for other gnu c++ variations.. i need functions like gotoxy(), clrscr(), getch()...etc. thanks in advance
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
1
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
0
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and...
0
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
0
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated ...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.