Topic: some question about pointer


Author: tklee4@ie.cuhk.hk (Kenneth)
Date: 1995/07/05
Raw View
Hello every computer lovers,

 Recently, when I write a program. I got some problems about the pointer and
memory. I am using Turbo C++.

The problem are as follows:
1)What is the meaning {  (void *)ptr  }  if ptr is declared as a far viod
    pointer.  Similarily, what is the meaning of {  (int *)ptr  }.
2)Is there function in TC++ that can directly read data from file into a
   memory in other segment.
3)What is  pros and cons between using   "read( )" and "fread( )".
I would be very grateful if you send a rely to me!

Best Regard,

Kenneth Lee
email-address:tklee4@ie.cuhk.hk or S946180@mailserv.cuhk.hk

BYE :-)