gotoxy

  • sidharth
  • Student
  • Student
  • sidharth
  • Posts: 68
  • Loc: india

Post 3+ Months Ago

hi friends.


i made snake game to implement it in linux, i need gotoxy function .but conio.h not exist so help how to implement it....
  • Anonymous
  • Bot
  • No Avatar
  • Posts: ?
  • Loc: Ozzuland
  • Status: Online

Post 3+ Months Ago

  • AnarchY SI
  • Web Master
  • Web Master
  • User avatar
  • Posts: 2521
  • Loc: /usr/src/MI

Post 3+ Months Ago

check out ncurses
reading material: http://www.linux.com/howtos/NCURSES-Pro ... ndex.shtml
http://www.cs.utk.edu/~shuford/terminal_index.html
http://www.gnu.org/software/ncurses/ncurses.html
http://www.apmaths.uwo.ca/~xli/ncurses.html
Code: [ Select ]
#include <curses.h>
...

main()
{
...
x = 10;
int y = 5;

initscr();
wmove(stdscr, y, x);
waddstr(stdscr, "hello cursor !")
...
}
  1. #include <curses.h>
  2. ...
  3. main()
  4. {
  5. ...
  6. x = 10;
  7. int y = 5;
  8. initscr();
  9. wmove(stdscr, y, x);
  10. waddstr(stdscr, "hello cursor !")
  11. ...
  12. }
  • sidharth
  • Student
  • Student
  • sidharth
  • Posts: 68
  • Loc: india

Post 3+ Months Ago

thanks anarch...............

is there any alternative to functions used in << dos.h >> .........
  • AnarchY SI
  • Web Master
  • Web Master
  • User avatar
  • Posts: 2521
  • Loc: /usr/src/MI

Post 3+ Months Ago

i'm not entirely positive but give this a read: http://72.14.203.104/search?q=cache:cKm ... inux+dos.h
i'll keep looking around google & edit my post w/my findings.


mm...according to a post here, the replacement for functions in dos.h would also be in the ncurses header.
  • sidharth
  • Student
  • Student
  • sidharth
  • Posts: 68
  • Loc: india

Post 3+ Months Ago

thanx.....

i tried to make two node beowulf cluster performed each and every step mantioned in beowulf-HOW TO from http://www.tldp.org .....................

but while executing lamboot i got rsh error........

that it cannot access remote host .......do look into my post named
rsh.......

Post Information

  • Total Posts in this topic: 5 posts
  • Users browsing this forum: No registered users and 63 guests
  • You cannot post new topics in this forum
  • You cannot reply to topics in this forum
  • You cannot edit your posts in this forum
  • You cannot delete your posts in this forum
  • You cannot post attachments in this forum
 
 

© 1998-2014. Ozzu® is a registered trademark of Unmelted, LLC.