c++ header files
I am trying to make sense of C++ and headers.
I posted yesterday about a problem I had and the solution was that C++ headers did not include .h in them
This worked fine but i am not sure if all header files need to be like this or not. The program I have been trying to write now includes
Code:
#include <cstdio>
#include <ctime>
#include <cstring> /* String function definitions */
#include <cstdlib>
#include <fcntl.h> /* File control definitions */
#include <errno.h> /* Error number definitions */
#include <SDL/SDL.h>
#include <sys/io.h>
#include <iostream>
using namespace std;
Now I can see that all the c++ ones do not have '.h' at the end but is there some list which I can refer to so for example, I could use the c++ equivalent to fcntl.h?
Running 14.04 on my HP Pavilion g6 4 Gig Ram 320 Gig Disc
Bookmarks