Click here to Skip to main content
15,884,176 members
Please Sign up or sign in to vote.
1.00/5 (3 votes)
See more:
hi
THE ERROR:
In functiion 'int main()':
52:19: error: 'outportb ' was not declared in this scope outportb<port,val>

What I have tried:

I HAVE TRIED DECLARING IT WITH "void outportb_initialization();
but has not corrected the error
Posted
Updated 27-May-16 3:05am
Comments
George Jonsson 27-May-16 8:11am    
Have you included the correct header file in your code?
Richard Deeming 27-May-16 8:11am    
If you want someone to help you fix your code, you need to show your code.

Click "Improve question" and update your question with the relevant parts of your code.
KarstenK 27-May-16 8:30am    
Check for some mistyping around outportb. Maybe you better use "(" instead of "<".
Dave Kreskowiak 27-May-16 8:38am    
This tells us that you copied the code off the internet but you have no idea how it works.

"mangw"? Never heard of it. Don't know what it is.

Windows abstracts all the hardware from your code. You do not have the ability to directly manipulate ports without a kernel driver.

1 solution

 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

  Print Answers RSS
Top Experts
Last 24hrsThis month


CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900