i have this somewhere
" In __cdecl functions, arguments are pushed right to left and the caller is responsible for cleaning up the stack "
What actually is it.
Can we use _cdecl in out function...
Type: Posts; User: sunil21
i have this somewhere
" In __cdecl functions, arguments are pushed right to left and the caller is responsible for cleaning up the stack "
What actually is it.
Can we use _cdecl in out function...
calling main recursively isnt bad but have an eye on the stack space you
have (it doesnt matter but a big program may cause stack overflow
open the file in textmode
initialialise a counter.
get ch using fgetc
increment counter on each '\n
int lines=0;
char ch;
fp=fopen("file.txt","r");
while((ch=fgetc(fp))!=EOF)
with out using system funtion is it possible to load a executable file in
to memory and execute it from there (eg sr.exe )
using inline asm
i got a driver svgabg55.zip but dont see much documentation ?
Can any one tell me where can i find a tutorial or help on vesa programming.
I would like to get resolution of 800x600 with atleat 256 colors
plz help me
I dont care about XP .
I run all my Programs in 98 or DOS.
is it possible to switch to 640x480 (256 colors) ?
using interrupt how can i determine my curent graphics mode.
(640 x480)
yes i include graphics.h
I am running turbo c++ IDE .I am doing some programs in graphics.
What i am currently doing is :
in ide i copy egavga.bgi to bin folder and give the path as "" in initgraph.
It is working except...
when windows starts it shows a splash screen and loads the device in the background.Is it possible to show a picture in the the top half and restrict the console
windows to the bottom half when...
Thanks everybody ..........
I got a good and big tutorial about it from the gnu link given above
how can i convert char to int
Where can i find a tutorial about makefile
what is a makefile and how can i use it
how can i know how much sectors are there in track of a floppy sic
format ?
what i am currently doing is ,open a file in binary mode then using either biosdisk or absread , write to the file .
biosdisk-i am reading 18 sectors at a time
absread -i am using a...
I am currently working on a program to create floppy disc images
*How can I convert a 1.44 mb image to 2.88 mb image
*what all changes should i make
in windows we have 'start ' which help us to run programms minimised .Is there any c program by which i can run a program
in the background in MSDOS.