C/C++ Help
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
 
User Name:
Password:
Remember me
 
Go Back   Dev Articles Community ForumsProgrammingC/C++ Help

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Display Modes
 
Unread Dev Articles Community Forums Sponsor:
  #1  
Old June 17th, 2004, 11:29 AM
russianblu russianblu is offline
Registered User
Dev Articles Newbie (0 - 499 posts)
 
Join Date: Jun 2004
Posts: 3 russianblu User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
Visual C++ and creating .h files

Hi,

I am new to Visual C++.
I've programmed in C and Java a while back, but need to edit code.
Alot is automatically made by the Visual C++ environment, but I
am not sure what I have to make.

Do I have to hand make the .h file corresponding to the .cpp file or can
it be automatically generated from the .cpp files??

Thanks a bunch in advance,

Russianblu.

Reply With Quote
  #2  
Old June 21st, 2004, 05:57 AM
tenevie tenevie is offline
Registered User
Dev Articles Newbie (0 - 499 posts)
 
Join Date: Jun 2004
Posts: 2 tenevie User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
.h files

The .h files aren't made automaticaly but you don't need to use them that hard.
If you don't use them, then you mayby shouldn't create one. At least that's my opinion.

Reply With Quote
  #3  
Old June 21st, 2004, 04:07 PM
nicat23's Avatar
nicat23 nicat23 is offline
Addicted to Chaos..
Dev Articles Novice (500 - 999 posts)
 
Join Date: Jan 2003
Location: Ft. Worth, TX
Posts: 653 nicat23 User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 1 h 48 m 34 sec
Reputation Power: 0
Send a message via AIM to nicat23 Send a message via Yahoo to nicat23
The .h files are header files with functions that have already been included with the compiler so that you don't have to re-create the functions that are in them. For example in stdio.h you have your standard input and output functions (printf, scanf, etc) math.h has your math functions(abs, pow, etc)

usually users don't create their own header files unless there are specific functions that they are developing, but its just like if you're including a dll in your program, that dll has functions built into it already that you can use so you dont have to re-create them, you don't have to make a .h file by hand.

Reply With Quote
  #4  
Old June 23rd, 2004, 10:09 AM
russianblu russianblu is offline
Registered User
Dev Articles Newbie (0 - 499 posts)
 
Join Date: Jun 2004
Posts: 3 russianblu User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
Thanks guys for your help.

Reply With Quote
Reply

Viewing: Dev Articles Community ForumsProgrammingC/C++ Help > Visual C++ and creating .h files


Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump


Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 





© 2003-2008 by Developer Shed. All rights reserved. DS Cluster 4 hosted by Hostway
Stay green...Green IT