Thread: Is this correct?

  1. #1
    Registered User
    Join Date
    Feb 2008
    Posts
    26

    Is this correct?

    An operating system provides access to systems program for editing,compiling, and so on.

    curious and doubted about it..

  2. #2
    Kernel hacker
    Join Date
    Jul 2007
    Location
    Farncombe, Surrey, England
    Posts
    15,677
    It all depends on what you define as an operating system

    My definition is that the operating system contains code to maintain all system resources in a defined way to all users of the system. The operating system implements this in the form of "system calls" and/or "system services".

    Editing a file will use some of those resources in the form of reading a file, letting you change the contents (e.g. typing in new text, using the mouse cursor to mark text then hitting delete, etc), and writing the new version of the file back to the storage medium. But the text-editor that you may use for this purpose is, in my definition of an "Operating system" not part of the operating system itself.

    The compiler is generally not part of the OS either, in that it is just another application (a mighty complex one, but so is a CAD application that can help you design a Boeing 747 - and this is also clearly not part of the OS) - it uses the system calls to read files, write files, etc, but it's not part of the operating system.

    Now, another definition may be that the OS is "what comes on the CD-ROM (or DVD-ROM) when you get the product in the box from the supplier", in which case you certainly will get some sort of text-editor, and in the case of Linuxy, you will also get a gcc compiler on the disk, along with a few other compilers and tools to develop application code.

    --
    Mats
    Compilers can produce warnings - make the compiler programmers happy: Use them!
    Please don't PM me for help - and no, I don't do help over instant messengers.

  3. #3
    Registered User
    Join Date
    Feb 2008
    Posts
    26
    then may i noe exactly what provide an access to system programs for editing, compiling, and so on?

    coz it sounds to me that operating system is the thing..

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Linux for GNU/Linux is not correct?
    By password636 in forum Linux Programming
    Replies: 8
    Last Post: 03-31-2009, 08:30 PM
  2. Is this correct : passing strings?
    By socket in forum C Programming
    Replies: 15
    Last Post: 11-25-2008, 02:03 PM
  3. correct order to insert new node?
    By campermama in forum C++ Programming
    Replies: 1
    Last Post: 06-16-2004, 07:51 PM
  4. Replies: 1
    Last Post: 05-26-2004, 12:58 AM
  5. Loop until enter correct value
    By jchanwh in forum C Programming
    Replies: 2
    Last Post: 11-27-2001, 01:23 AM