By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
445,655 Members | 964 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 445,655 IT Pros & Developers. It's quick & easy.

Problem with Header Files in C++

100+
P: 105
Hi ,

I am new member to this group.I am given already developed C++ code with all header files. I was asked to utilize some of this code and perform new operation. When I try to include some header files which I have been developed by somebody else it is showing erors in those header files.I tried to include all the directories related th this header files. The errors are like

syntax error: missing ; before identifier 'uint 64' .When I check the code there is ; present.

Another error :
missing type specifier - int assumed Note: C++ does not support default int.

I am not able to figure them out.

Platform: Windows and using VC++ 2005 version. I am just a beginner in C++.

Could anyone help me in this or any suggestions how I can solve it.Thank you.
Feb 20 '07 #1
Share this Question
Share on Google+
4 Replies


sicarie
Expert Mod 2.5K+
P: 4,677
Hi ,

I am new member to this group.I am given already developed C++ code with all header files. I was asked to utilize some of this code and perform new operation. When I try to include some header files which I have been developed by somebody else it is showing erors in those header files.I tried to include all the directories related th this header files. The errors are like

syntax error: missing ; before identifier 'uint 64' .When I check the code there is ; present.

Another error :
missing type specifier - int assumed Note: C++ does not support default int.

I am not able to figure them out.

Platform: Windows and using VC++ 2005 version. I am just a beginner in C++.

Could anyone help me in this or any suggestions how I can solve it.Thank you.
Can you send the exact error message you are getting. It should have a line number in it, can you give us that line, the line before, and the line after?
Feb 20 '07 #2

100+
P: 105
Can you send the exact error message you are getting. It should have a line number in it, can you give us that line, the line before, and the line after?
Hi,

Thank you for getting back to me.I was able to correct the error today...
Feb 21 '07 #3

sicarie
Expert Mod 2.5K+
P: 4,677
Hi,

Thank you for getting back to me.I was able to correct the error today...
Great! Do you mind posting how you did, in case someone else with the same error is wondering?
Feb 21 '07 #4

100+
P: 105
Hi,

I have not included <windows.h> and also the path to include all the files related to windows.h to my project.Apart from that I have added _M_ARM as one of my preprocessor definitions which eliminated some of my errors.

Thanks.
Feb 22 '07 #5

Post your reply

Sign in to post your reply or Sign up for a free account.