cplusplus
.com
TUTORIALS
REFERENCE
ARTICLES
FORUM
C++
Tutorials
Reference
Articles
Forum
Forum
Beginners
Windows Programming
UNIX/Linux Programming
General C++ Programming
Lounge
Jobs
Forum
Beginners
Header File for Xcode
Header File for Xcode
Mar 25, 2011 at 7:04pm UTC
bcarlso2
(2)
I tried creating a header file using the following:
#ifndef STRINGTOINT_H
#define STRINGTOINT_H
#include <string>
function (stuff)
{
function I wrote...
}
#endif
Then later when I tried to include it using:
#include <StringtoInt.h>
and it said "No such file or directory."
Any help? Thanks in advance!
Mar 25, 2011 at 7:05pm UTC
filipe
(1165)
#include "StringtoInt.h"
Mar 25, 2011 at 7:37pm UTC
hanst99
(2869)
Did you actually save the header as "StringtInt.h", and is the header actually in the same directory as your source file or your compilers search path?
Topic archived. No new replies allowed.