Os...

This is a discussion on Os... within the C Programming forums, part of the General Programming Boards category; hello buddies, am using windows NT and 98. i am using turbo C and its compiler. my question is, how ...

  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,789

    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, 01: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, 02: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-27-2002, 11:16 PM
  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

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21