
-----------------------------------
baby girl
Wed Nov 13, 2002 4:41 pm

i am new here help me some1
-----------------------------------
write a program that outputs a cats face at the center of the window, erases it when you type the letter E and then plots it again when you type the letter P

-----------------------------------
Tony
Thu Nov 14, 2002 1:20 am


-----------------------------------
--------------------
---|\___/|---------
--|--o-o--|--------
---\xxiixx/--------
------LI------------
-----/``\-----------
---oo___oo--------

DAMN IT, why can't you people just load a jpg picture of a normal cat? Grr... ASCII graphics are OVER! Noone is using them anymore... Anyone heard of something called DirectX ?!?!?!

-----------------------------------
baby girl
Thu Nov 14, 2002 2:47 am


-----------------------------------
i get that part but its the code part i don't know can u help me  with that

-----------------------------------
Tony
Thu Nov 14, 2002 5:03 am


-----------------------------------
oh... well its something like this:


var ans: char(1)
loop
getch ans

if ans = "e" then
cls 'clears screen if e is pressed

elsif ans = "p" then
put "ASCII drawing of cat here" 'draws cat is p is pressed

end if

end loop

hope this helps  :D
