ive done a bunch on my little program so far. ive also had some help from another youtuber who watched my video on it. but right now im looking to have a grashical design rather than the words. id like to have it show up with just a little  as the character and you move him around using wasd like in my program. the you went crazy part can be taken out btw. also i need it to work on ubuntu 13.04 thanks :D. i forgot to mention, i have done alot of research on these things and they all only seem to work on windows. even when i would copy and paste a code someone made right in. a lot of people use conio.h and that doesnt work.
thanks kb2. this topic is kinda old now and ive found my own way around it which is very nooby but it works for me. i have looked at ncurses a little it because i needed the beep noise for a little timer i was making. i however dont know much else about it and i assume i probably should look into it more based on what u said. i still have a lot to learn :)
i have realized the only way to do stuff like i asked is with ncurses. or at least ncurses is the best way to do this. anyone who reads this, look up ncurses. you can move the cursor around using move(y,x) and to move it relative to where the cursor is currently at use something like move(y-1,x). hope this helps