Become a MacRumors Supporter for $50/year with no ads, ability to filter front page stories, and private forums.

Quboid

macrumors 6502
Original poster
Oct 16, 2006
441
0
everywhere
I am about to do my last progmramming assignment and last project for this semester. I making a calculator and i want to use the ascii codes the build the body for it. I can't seem to google the right code table, anyone have an idea. I am looking for codes that would generate a block on the screen through the printf function.
 

bronxbomber92

macrumors regular
Nov 23, 2006
109
0
I'm not exactly sure what your asking... I think you need to format it your self with printf statements...
 

Quboid

macrumors 6502
Original poster
Oct 16, 2006
441
0
everywhere
Thanks guys!!!!, hey, is it even possible to use the gotoxy operator and gechar, gethe etc in Xcode?, the absence of the conio.h library is killing me. I tried curses.h but it still wont work. Any help?, i really need it this time.
 

fimac

macrumors member
Jan 18, 2006
95
1
Finland
Google is your friend

ncurses?, I am not sure. But does it allow one to use GOTOXY?

In terminal (or, if you prefer, google):
Code:
man ncurses

Functions that move the cursor include the word "move" or are prefixed with the letters "mv". Conio gotoxy(x,y) is ncurses move(y,x).

Good luck :)
 
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.