piyush619 said:
see there are functions defined in header file <stdio.h>
if u dont know read any C book ..................
lol.........you are just too childish....I never accused you of anything.....we were just having a healthy debate...b/w I am a device driver developer with TI with about 4+ years experence and TI generally takes people who do do not know whats is stdio.h

.Stop using deragatory terms like "if u dont know read any C book " ........I am your daddy when it comes to C/C++.I had even written portions of a cross compiler for a new architecture.
and yes I have met YPK in a microsoft embedded seminar where I highlated to him that he must broaden his C/C++ books to focus on architectures like ARM where there is no FAR pointer,No use for int86...etc.
anyway before i reply to your previous mail, i need some further clarification from you...
a)Have you worked on any device drivers before?
b)Do you know what is physical and virtual memory ?.
No pointer running in the desktop is a direct memory access since you are running in logical address space.
c)How can you access some physical memory region when you are running in virtual memory space ?
d)What do you mean by direct memory access ? My undestanding is like this.
You have a physical address in let us say 0x400 where you have a LED and you wish to toggle this LED by an application by writing 0x01 to this address.
Now when running on Windows Xp/XP embedded/Point of Service/Wince/Linux...etc how can you make this happen without OS permissions ?
e)Lot of what you speak is highly architecture specifc ( aka X86) and is in no way a limitation on any language
f)Tell me one difference ( with a code snippet ) where a pointer in C , behaves differently in C++.
Best of my knowledge ( not sure about YPK) there was nothing called as Near and FAR pointers.These were just extensions to the language to support some Arcane Architectures (read x86) and such makes no sense to much of the architectures I work with like ARM,Power Pc,MIPS...etc.