| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Display Modes |
|
#1
|
|||
|
|||
|
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. |
|
#2
|
|||
|
|||
|
.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. |
|
#3
|
||||
|
||||
|
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. |
|
#4
|
|||
|
|||
|
Thanks guys for your help.
|
![]() |
| Viewing: Dev Articles Community Forums > Programming > C/C++ Help > Visual C++ and creating .h files |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|