what was that????????
Type: Posts; User: =viki=
what was that????????
hey try this .. im also new here but i think the porb is small so i can give u my prog toreverse a strng,,
#include<stdio.h>
char rev[20];
void reverse(char *x)
{
int i=0,j=0;...
thanx a lot guys.. but prblems solved
actually i had to write a prog to check the syntax of MOV and MVI instruction
so i had to read the source file that way but now i figured it out how to do...
thanx for letting me know where i stand.
btw found some good problems to solve at
http://acm.uva.es/problemset/
at this point advicing me soom good books on C will be very much appreciated....
damn man! i know how to use fgets()
its just i cant get it right.. look
while(!feof(fp))
{
fgets(str,50,fp);
done with book no. 1 and 2 ....
3rd 1 havent come across ... btw thanx 4 the reply...
lets C write a procedure square(int x1,int y1,int x2,int y2)
(x1,y1) n (x2,y2) diagonal coods
void square(int x1,int y1,int x2,int y2)
{
line(x1,y1,x2,y1);
line(x1,y1,x1,y2);
...
im done with C(almost a yr)
now i dunno how good im at C.. so ne1 tell me how to test my C skills(started with TURBOc[is it a compiler] still using it ..)
whtas an IDE how it differs from...
reference and theory r fine but i need some examples to start with ....i dont ve prior experience of programming with intrrupts
some good n easy examples of how to write programms using DOS int
i need to read a file format is ....
FILE FORMAT
SYMBOL MNEMONICS OPERANDS
..... ......... ........
[EOF]
i know these functions .... just i need a working loop...
ive written 1 but it goes into infinite loop
written 1 function GetLine(FILE *fp, char *str) .. pass the file pionter and...
can any1 write a loop for me that will read the entire file
line by line.. i.e. on each iteration the line with newline charaacter must be stored in a string till the end of file... help..
can anyone give me links to good resources on dos interrupts..
i mean tutorials or paper on DOS INT in C, interaction with hardware etc....
anyway thanx in advance :p