Discussion in "Software" started by    Elektro    Nov 1, 2010.
Thu Nov 04 2010, 06:30 pm
#11
@majoka : were u able to see the graphics screen?
Thu Nov 04 2010, 07:27 pm
#12
good luck Elektro.
Thu Nov 04 2010, 08:38 pm
#13
@ Elektro
i run it in visual c but there was error because some function r different in visual c as compare to turbo
so i can't execute it
Fri Nov 05 2010, 02:24 am
#14


is it just me?

i see the welcome screen.. i press key.. screen goes off and nothing comes afterward w

Ajay Bhargav


Are you running it from a DOS box ?

If you do the proper failure is

Program to calculate the hex value to light up an 7 SEG display
- Veeresh
Press any key to continue
BGI Error: Graphics not initialized (use 'initgraph')

C:\>
Fri Nov 05 2010, 01:19 pm
#15
this is what the screen is supposed to look like...

im still working on the program... let u know...


Fri Nov 05 2010, 01:54 pm
#16
its great dear
keep it up
Sat Nov 06 2010, 01:05 am
#17
it looks great
I am running win7 32 bit. do you think it could be an issue?
Sat Nov 06 2010, 02:21 pm
#18
@ajay : well the program was written using Turbo-C for DOS which is a 16-bit compiler... compiling it on a 32-bit platform should not cause any problems i guess... coz i have done it sometimes too and it worked fine.

not sure if win7 supports DOS( im sure vista doesnt ).

i have modified the earlier source code to enable autodetection of the adapter(in a different way) and im attaching the code now... let me know if it works out..as i do not have Visual C++ compiler installed in my system.
Attachment
Sun Nov 07 2010, 03:10 am
#19
I can't compile your program in Visual C because Microsoft don't supply
Graphics.h any more.

Getting a graphics program written Turbo-C for DOS
to run in Windows is likely to be difficult.

What operating system are you running ?


[ Edited Sun Nov 07 2010, 03:10 am ]
Sun Nov 07 2010, 04:25 am
#20
@ExperimenterUK : thats bad... i compiled it on a turbo C compiler...

for the second part i dont agree as i am running the program in XP environment and it works... it will work in a 32-bit environment too but the OS should support 16-bit apps. thats all...like if you are running vista it wont work coz vista doesnt support 16-bit apps.

download link for the turboC compiler : http://rapidshare.com/files/429295667/TURBOC.zip

unzip contents to C:\ drive

goto WIN+RUN ---> cmd ---> goto c:\turboc --> type tc.exe a turbo c ide window will open.

load the .c file here(F3) and then run it using the CTRL + F9 command.

and it seems to me that i will have to learn visual C or visual basic soon...

Get Social

Information

Powered by e107 Forum System

Downloads

Comments

Bobbyerilar
Thu Mar 28 2024, 08:08 am
pb58
Thu Mar 28 2024, 05:54 am
Clarazkafup
Thu Mar 28 2024, 02:24 am
Walterkic
Thu Mar 28 2024, 01:19 am
Davidusawn
Wed Mar 27 2024, 08:30 pm
Richardsop
Tue Mar 26 2024, 10:33 pm
Stevencog
Tue Mar 26 2024, 04:26 pm
Bernardwarge
Tue Mar 26 2024, 11:15 am