Thread: Os...

  1. #1
    Registered User
    Join Date
    Oct 2001
    Posts
    22

    Thumbs up Os...

    hello buddies,

    am using windows NT and 98. i am using turbo C and its compiler.
    my question is, how can i detect my PC's Operating System- i.e, is it windows 98 or NT or others...

    pls help me so that i can write the program in 'turbo C'.

    if anybody know the process, pls answer me...

    thanx...
    take care...
    bye...
    Jackie

  2. #2
    &TH of undefined behavior Fordy's Avatar
    Join Date
    Aug 2001
    Posts
    5,793

    Re: Os...

    Originally posted by Jackie
    hello buddies,

    am using windows NT and 98. i am using turbo C and its compiler.
    my question is, how can i detect my PC's Operating System- i.e, is it windows 98 or NT or others...

    pls help me so that i can write the program in 'turbo C'.

    if anybody know the process, pls answer me...

    thanx...
    take care...
    bye...
    Cant do it in Turbo C as it is as that compiler is old as god.

    Go to Borland and download the free command line tools....that's a newer version of the borland C++ compiler and that will then be able to do as you ask by calling a few system functions.........

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Detecting if OS is Windows???
    By Ktulu in forum Windows Programming
    Replies: 2
    Last Post: 11-19-2006, 02:49 AM
  2. a simple OS
    By DavidP in forum A Brief History of Cprogramming.com
    Replies: 8
    Last Post: 06-06-2004, 10:47 PM
  3. Linux OS to Windows OS code
    By sw9830 in forum C Programming
    Replies: 2
    Last Post: 02-28-2003, 03:11 PM
  4. How do they compile code for an OS ?
    By Nutshell in forum A Brief History of Cprogramming.com
    Replies: 49
    Last Post: 03-28-2002, 12:16 AM
  5. What do YOU want in a OS?
    By commanderrulz in forum A Brief History of Cprogramming.com
    Replies: 21
    Last Post: 09-30-2001, 06:25 AM