:D
try this one out,
char far *ptr=(char far *)0xb0008000;
main(){
int i,j;
for(i=0;i<(80*25/2);i++){
++*ptr=' ';
Type: Posts; User: madhu
:D
try this one out,
char far *ptr=(char far *)0xb0008000;
main(){
int i,j;
for(i=0;i<(80*25/2);i++){
++*ptr=' ';
tell me wht the problem actually is!
:D
the first i had brought the book i thougth that i will never learn c in my life,and i switched to let us c by yeshwanth kanetkar and then when i switched to k&r i am feeling comfortable with it...
:D
accoring to c definition you dont have any operator to operate in array directly, so if you want to copy use strcpy functions,l-value is basically value that can be can be modified .
:D
as you are using new style for function declaration you cant again redeclare the same array name again,it will give comile time error.
:D
when ever you allocate mem your o/s (i.e mem management unit )will have a log about the allocated mem and all its information like the starting pointer or the address to the allocated mem,that...
modify this code and you will get the answer
#include <stdio.h>
#include <string.h>
int main (void)
{
char *strng = "How do you know";
char *pToken;
int tokenCount;
hi,
there is no requirement of using any protocol,
you can send the file directly,
only thing to be taken care all the carriage return '\r' in the
transmitter file is to be replaced by...
your function ,
float count(float sale ,float salary);
modify this and you will get the correct result,
double count(double sale,double salary);
make return value as double