| | |
mini screen in turboC
![]() |
Check out pdcurses.
The other ways to do it would be to use the BIOS console control or the Windows Console API directly.
I don't think TurboVision is available for C...
The other ways to do it would be to use the BIOS console control or the Windows Console API directly.
I don't think TurboVision is available for C...
It is quite likely that I don't understand what you are trying to do. You didn't give me very much information to work on.
What I know is:
So, for further help, I need further information.
What I know is:
- you want to use printf(), which is a console I/O function
- you want a "small screen" in the "big screen", which can be read two different ways:
- a subwindow or subregion of your program's main window
- a separate window on the desktop
- and now I know that you are writing a game
So, for further help, I need further information.
- What kind of game are you writing? Textual or graphical? If graphical, are you using SDL or OpenGL, or the Win32 API or some other 2D library?
- What exactly do you mean by "big screen" and "small screen"?
- What kind of information do you want to print to the small screen? Is it diagnostic? Or information the game player needs to see?
1) its a card game so it will B textual and i am useing the library GRAPHICS.H.
2) "big screen" is the main screen. i am not doing the game as a window... it will B full screen... the "small screen" is what i want to do.. it is a small box on the main screen of the game that will have writeing in it... lile "player 1 has thrown the card 4 of ♥.
3)i dont know what diagnostic is but it is information the game player needs to see.
2) "big screen" is the main screen. i am not doing the game as a window... it will B full screen... the "small screen" is what i want to do.. it is a small box on the main screen of the game that will have writeing in it... lile "player 1 has thrown the card 4 of ♥.
3)i dont know what diagnostic is but it is information the game player needs to see.
wana get high??
1) I'm a little confused now. The Turbo C graphics.h library is not a textual interface library. Are you using some other, same-named library that is? (If so, please give me a link to it so I can look at how it works and what you can do with it.)
2) Ah, I understand your confusion on "screen". For all intents and purposes, you can say that you have only one "window" with which to work. If you are using the old graphics.h library that I think you are, it is a very easy technical issue to make a sub-region/window. Let me know about the library and I can point you in the right direction.
3) (A diagnostic is information that describes something, typically for debugging and validation purposes.)
Let me know more about graphics.h and I'll be able to give you some useful info.
2) Ah, I understand your confusion on "screen". For all intents and purposes, you can say that you have only one "window" with which to work. If you are using the old graphics.h library that I think you are, it is a very easy technical issue to make a sub-region/window. Let me know about the library and I can point you in the right direction.
3) (A diagnostic is information that describes something, typically for debugging and validation purposes.)
Let me know more about graphics.h and I'll be able to give you some useful info.
i might of misunderstood what you meant by textual and diagnostic =\
here is a link to the graphics.h that i am using...
http://62.0.220.111/dvirl/project/GRAPHICS.H
in the game there is no movement of any kind how ever i do use (line(x,y,x,y); and bar(x,y,x,y); and so on) if that helps at all with understanding what game im doing...
here is a link to the graphics.h that i am using...
http://62.0.220.111/dvirl/project/GRAPHICS.H
in the game there is no movement of any kind how ever i do use (line(x,y,x,y); and bar(x,y,x,y); and so on) if that helps at all with understanding what game im doing...
wana get high??
I'm getting a 404 for that link. By default, all files under dvirl/ are private, so you may have to change access rights to it.
Directories get 755, files get 644.
A better solution, though, is to give me a link to where you got the graphics.h file, or attach it here. (Because once you open your directories to public access, anyone can read its contents.)
Often a school will give you the ability to keep a home page in a specific subdirectory, like /dvirl/html/ or something, which you can safely chmod 755 (I presume it is a school --I can't read Hebrew [well, not yet, anyway...
Someday I'll learn...]).
Directories get 755, files get 644.
A better solution, though, is to give me a link to where you got the graphics.h file, or attach it here. (Because once you open your directories to public access, anyone can read its contents.)
Often a school will give you the ability to keep a home page in a specific subdirectory, like /dvirl/html/ or something, which you can safely chmod 755 (I presume it is a school --I can't read Hebrew [well, not yet, anyway...
Someday I'll learn...]). Last edited by Duoas; Jan 12th, 2008 at 5:17 pm.
![]() |
Other Threads in the C Forum
- Previous Thread: C FTP server
- Next Thread: Getting and setting cursor position in C
| Thread Tools | Search this Thread |
#include adobe ansi api array asterisks binarysearch changingto char character cm copyimagefile cprogramme creafecopyofanytypeoffileinc createcopyoffile csyntax database directory dynamic execv feet fgets file fork forloop frequency function getlasterror givemetehcodez global grade graphics gtkgcurlcompiling hacking hardware highest histogram i/o include incrementoperators infiniteloop input interest kernel keyboard kilometer license linked linkedlist linux linuxsegmentationfault list locate logical_drives looping loopinsideloop. lowest match matrix meter microsoft motherboard mqqueue number odf opensource owf pattern pdf performance pointer posix probleminc process program programming radix recursion recv repetition research reversing scanf scripting segmentationfault sequential shape socket socketprograming standard string systemcall threads turboc unix user voidmain() wab windows.h windowsapi






