473,326 Members | 2,148 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,326 software developers and data experts.

Problem with Header Files in C++

105 100+
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
4 2070
sicarie
4,677 Expert Mod 4TB
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
mickey22
105 100+
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
4,677 Expert Mod 4TB
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
mickey22
105 100+
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

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

Similar topics

2
by: Dariusz | last post by:
I have a problem where when I run the PHP code offline, there are no errors produced and the code runs as expected. However when I uploaded the same script and run it, it says the headers have...
5
by: fripper | last post by:
I posted this problem a couple of days ago but felt I might have better luck re-stating the problem. Apparently I messed up IIS (v. 5) somehow because I am suddenly unable to load web forms! A...
0
by: Lokkju | last post by:
I am pretty much lost here - I am trying to create a managed c++ wrapper for this dll, so that I can use it from c#/vb.net, however, it does not conform to any standard style of coding I have seen....
2
by: shruti | last post by:
hiii all I'm tryin to call a perl script from a C program in following 2 ways- 1.By callin system function. But there's some problem because the system function is not able to executeany...
9
by: chat | last post by:
Hi, every body. I have 3 files like this: -------------------------------------------------------- file name : header.h #ifndef TEST_H #define TEST_H int a=1; double b=0.5;
9
by: Prasad | last post by:
HI, I am a beginner in VC++.. I am trying to write a Win32 console application in visual studio.. I am using following header files.. #include <STRING> using namespace std; #include...
2
by: DC | last post by:
The Code <%@ import namespace="System" %> <%@ import namespace="System.Web" %> <%@ import namespace="System.Web.UI" %> <%@ import namespace="System.Web.UI.HtmlControls" %> <%@ import...
7
by: The Cool Giraffe | last post by:
I have the following: //A.h class A {}; //B.h #include "A.h" class B : A {};
0
by: george585 | last post by:
Hello! I am new to network programming, and understand just basics. Using some sample code, and having read documentation, I managed to create a simple app in C# and VB.NET. The application is...
4
by: maheswaran | last post by:
HI All, I have problem in files downloading over ssl. When am trying with IE Browser i got "Internet Explorer cannot download 40 from blah.gov Internet Explorer was not able to open this...
0
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
by: jfyes | last post by:
As a hardware engineer, after seeing that CEIWEI recently released a new tool for Modbus RTU Over TCP/UDP filtering and monitoring, I actively went to its official website to take a look. It turned...
0
by: ArrayDB | last post by:
The error message I've encountered is; ERROR:root:Error generating model response: exception: access violation writing 0x0000000000005140, which seems to be indicative of an access violation...
1
by: PapaRatzi | last post by:
Hello, I am teaching myself MS Access forms design and Visual Basic. I've created a table to capture a list of Top 30 singles and forms to capture new entries. The final step is a form (unbound)...
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
1
by: Defcon1945 | last post by:
I'm trying to learn Python using Pycharm but import shutil doesn't work
1
by: Shællîpôpï 09 | last post by:
If u are using a keypad phone, how do u turn on JavaScript, to access features like WhatsApp, Facebook, Instagram....
0
by: af34tf | last post by:
Hi Guys, I have a domain whose name is BytesLimited.com, and I want to sell it. Does anyone know about platforms that allow me to list my domain in auction for free. Thank you
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.