My Profile

Wednesday, January 12, 2011

Platform Dependency

Platform Dependency:


In this approach, an application which is developed to run on an operating system cannot be executed on other operating systems. because, after compilation of the source code by the language compiler it generates machine code. The responsibility of executing the machine code is under the hands of operating system. So, machine code is always prepared according to the operating system on which the compilation is performed


Example:
              C++ [assume windows]
      Source Code----->Compiled-------->Machine Code[.exe]


In the above case, machine code is prepared for windows operating system so, we can execute only on windows but not on any other operating systems.


fig: Platform Dependency




----------------------------------------------------------------------------------


** If you like this post please like our page in facebook
" Dot Net Support" .

0 comments:

Post a Comment

Share

Twitter Delicious Facebook Digg Stumbleupon Favorites More