C++ Learning Community Forum
August 01, 2010, 02:26:44 AM *
Welcome, Guest. Please login or register.
Did you miss your activation email?

Login with username, password and session length
News: Hello. Smiley
 
   Home   Help Search Login Register  
Pages: [1]
  Print  
Author Topic: windows.h  (Read 737 times)
prometheus
semi-N00b
**
Posts: 39


View Profile
« on: October 01, 2009, 09:03:36 PM »

is there a c++ version of the c-type windows.h ?
Logged
oulyt
C++ Freak
***
Posts: 340



View Profile
« Reply #1 on: October 02, 2009, 12:42:02 AM »

umm you can just use windows.h
Logged
prometheus
semi-N00b
**
Posts: 39


View Profile
« Reply #2 on: October 02, 2009, 01:52:30 AM »

yeah, i know, i will probably end up doing that. but i read that you should use the updated versions to be more compliant with the latest standard.
Logged
oulyt
C++ Freak
***
Posts: 340



View Profile
« Reply #3 on: October 02, 2009, 02:19:59 AM »

well everywhere i look they always say to use windows.h  you can check different C++ tutorial/C++ help sites they all say windows.h

i think it gets updated. you can prolly take out the h and do just windows. I use windows.h it works fine.
Logged
prometheus
semi-N00b
**
Posts: 39


View Profile
« Reply #4 on: October 02, 2009, 02:31:01 AM »

ok sounds good, Thnaks
Logged
ih8censorship
Megalomaniac!!!
Administrator
C++ guru
*****
Posts: 1236



View Profile
« Reply #5 on: October 02, 2009, 07:50:15 AM »

windows.h isn't in the c++ standard. So it could potentially contain pretty much anything. Also that's why it hasn't been updated to just a c++ only "windows" header file. You can't take out the h either, unless you have done something you shouldn't do  Tongue
Logged

PC==perfect_companion

Knowledge cannot come packaged and predigested; it must be chewed over carefully before swallowed.

What have you tried?
prometheus
semi-N00b
**
Posts: 39


View Profile
« Reply #6 on: October 03, 2009, 09:50:55 AM »

i see, since it isn't part of the standard there is no reason to update it. thanks
Logged
Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.11 | SMF © 2006-2009, Simple Machines LLC Valid XHTML 1.0! Valid CSS!