7 seg display
Thu Nov 04 2010, 08:38 pm
@ 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
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
is it just me?
i see the welcome screen.. i press key.. screen goes off and nothing comes afterward wAjay 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
Sat Nov 06 2010, 01:05 am
it looks great
I am running win7 32 bit. do you think it could be an issue?
I am running win7 32 bit. do you think it could be an issue?
Sat Nov 06 2010, 02:21 pm
@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.
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.
Sun Nov 07 2010, 03:10 am
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 ?
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
@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...
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...
Powered by e107 Forum System