By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
454,124 Members | 953 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 454,124 IT Pros & Developers. It's quick & easy.

Alternative for gotoxy in gcc..

P: n/a
Is there any alternative for gotoxy and similar functions in gcc??

Dec 26 '06 #1
Share this Question
Share on Google+
5 Replies


P: n/a
Deep wrote:
Is there any alternative for gotoxy and similar functions in gcc??
gcc is a compiler. It does not come with its own standard library.
Firstly, you need to know which libraries you are using. Secondly, when
you have found out, you should ask on a newsgroup or mailing list
appropriate for those libraries, because this newsgroup deals with
standard C, and standard C has no alternative for gotoxy.

Dec 26 '06 #2

P: n/a

Deep wrote:
Is there any alternative for gotoxy and similar functions in gcc??
It will be system specific. Maybe something like:
http://www.cprogramming.com/snippets...ount=30&page=0
Or:
http://www.daniweb.com/techtalkforums/thread11071.html

Dec 26 '06 #3

P: n/a
Deep wrote:
Is there any alternative for gotoxy and similar functions in gcc??

You'll have to ask on a different newsgroup, compiler-specific things
are off-topic here. Try gnu.gcc.help for specific gcc ways or
comp.unix.programmer for the more portable curses.


Brian
Dec 26 '06 #4

P: n/a
Deep wrote:
>
Is there any alternative for gotoxy and similar functions in gcc??
There is no such function as "gotoxy" in ISO standard C. There is
a keyword "goto" available, and you are allowed to name a label
"xy". So you can legally use:

....
xy: /* some code here */;
....
goto xy;

--
Chuck F (cbfalconer at maineline dot net)
Available for consulting/temporary embedded and systems.
<http://cbfalconer.home.att.net>
Dec 26 '06 #5

P: n/a

"Deep" <de*********@gmail.comwrote in message
news:11*********************@79g2000cws.googlegrou ps.com...
Is there any alternative for gotoxy and similar functions in gcc??
In a nicer newsgroup, people would have heaped curses upon you for asking
such a question.
Here I'll just tell you its off-topic.
--
www.personal.leeds.ac.uk/~bgy1mm
freeware games to download.
Dec 26 '06 #6

This discussion thread is closed

Replies have been disabled for this discussion.