Click here to Skip to main content
15,902,636 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
AnswerRe: Fastest way to get a file size? Pin
kakan24-Oct-05 19:26
professionalkakan24-Oct-05 19:26 
AnswerRe: Fastest way to get a file size? Pin
Anonymous24-Oct-05 19:49
Anonymous24-Oct-05 19:49 
QuestionRe: Fastest way to get a file size? Pin
David Crow25-Oct-05 3:49
David Crow25-Oct-05 3:49 
AnswerRe: Fastest way to get a file size? Pin
ThatsAlok25-Oct-05 19:17
ThatsAlok25-Oct-05 19:17 
QuestionNeed expert advice on many different matters Pin
Mariano Lopez-Gappa24-Oct-05 17:01
Mariano Lopez-Gappa24-Oct-05 17:01 
AnswerRe: Need expert advice on many different matters Pin
The NULL Developer24-Oct-05 17:43
professionalThe NULL Developer24-Oct-05 17:43 
AnswerRe: Need expert advice on many different matters Pin
Christian Graus24-Oct-05 18:23
protectorChristian Graus24-Oct-05 18:23 
AnswerRe: Need expert advice on many different matters Pin
khan++24-Oct-05 18:37
khan++24-Oct-05 18:37 
I think Borland Turbo C++ 3 should get the job done, but you will stay in 16-bit, which means a maximum of 640KB of RAM, out of which you will probably get 500KB. That is the main bottleneck.

1- You can use the SVGA modes. For 640x480x8, the mode is 0x101. There are lots of resources on the net for any graphics modes. Most PCs 486 dx2 will allow that mode (0x101). It actually depends on the Graphics Card RAM. You should have at least 1MB. However, any modern OS will not allow you to use these display modes. You may not use the graphics.h which comes with Turbo C.

2- Binary is faster.

3- About the GUI, you won't get anything. You will not even get basic I/O routines like cout, printf etc, or any GUI stuff like textout, outtextxy either. You will need to do them yourself. ASM may be used, but needed only for mouse-support, and to change the pallete (8-bit modes need to use palletes for bmps). If you are thinking about grids and listboxes, then it is a lot of work. I created such a library some years ago, it had editboxes, vector fonts, radio buttons, checkboxes, command buttons, keyboard, mouse support. It was hard work. And you will need to display the mouse cursor yourself also.

4- I have never used Linux, so I can't comment, but Borland Turbo C++ 3 or 3.1 should do. It has conio.h for getch, kbhit etc.

5- The 16-bit program will run well on a 486. But it may or may not run on Win2000, XP.

6- See (3) above. You might find such a library on the net.

7- For BMPs and Wavs, it is very cool for DOS programs to display pics and use the sound card. The bmp algorithm is easy to find on the net, but there is the limit of ram you can use. About wav files, find documentation for the sound card you are using, like Sound Blaster; Their docs are easy to find.

Hope that helps a little.


this is this.
QuestionRe: Need expert advice on many different matters Pin
Mariano Lopez-Gappa25-Oct-05 6:26
Mariano Lopez-Gappa25-Oct-05 6:26 
Questionthread update data? Pin
cell5124-Oct-05 16:30
cell5124-Oct-05 16:30 
AnswerRe: thread update data? Pin
John M. Drescher24-Oct-05 16:55
John M. Drescher24-Oct-05 16:55 
AnswerRe: thread update data? Pin
Anonymous24-Oct-05 19:52
Anonymous24-Oct-05 19:52 
QuestionUsing c++ to write c++ Pin
Jordan C. Atlas24-Oct-05 15:09
Jordan C. Atlas24-Oct-05 15:09 
AnswerRe: Using c++ to write c++ Pin
User 58385224-Oct-05 15:51
User 58385224-Oct-05 15:51 
AnswerRe: Using c++ to write c++ Pin
Bob Stanneveld24-Oct-05 23:25
Bob Stanneveld24-Oct-05 23:25 
GeneralRe: Using c++ to write c++ Pin
Jordan C. Atlas25-Oct-05 5:06
Jordan C. Atlas25-Oct-05 5:06 
GeneralRe: Using c++ to write c++ Pin
Bob Stanneveld25-Oct-05 6:39
Bob Stanneveld25-Oct-05 6:39 
QuestionHelp needed for speech capture project! Pin
student_eng24-Oct-05 14:57
student_eng24-Oct-05 14:57 
AnswerRe: Help needed for speech capture project! Pin
Christian Graus24-Oct-05 15:28
protectorChristian Graus24-Oct-05 15:28 
GeneralRe: Help needed for speech capture project! Pin
student_eng24-Oct-05 15:31
student_eng24-Oct-05 15:31 
GeneralRe: Help needed for speech capture project! Pin
Christian Graus24-Oct-05 15:37
protectorChristian Graus24-Oct-05 15:37 
AnswerRe: Help needed for speech capture project! Pin
normanS24-Oct-05 20:24
normanS24-Oct-05 20:24 
QuestionChunk data trasmfer between two thread. Pin
LeeeNN24-Oct-05 13:39
LeeeNN24-Oct-05 13:39 
AnswerRe: Chunk data trasmfer between two thread. Pin
PJ Arends24-Oct-05 15:17
professionalPJ Arends24-Oct-05 15:17 
GeneralRe: Chunk data trasmfer between two thread. Pin
LeeeNN24-Oct-05 15:51
LeeeNN24-Oct-05 15:51 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.