Click here to Skip to main content
15,849,615 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
See more:
Hi all

I am reviewing a program written in C and came across the command

register struct expr *tmp;

what does "register" do? it is highlighted in blue in VS 2008 suggesting a reserved term.
Posted
Comments
Richard MacCutchan 22-Nov-10 4:53am    
Did you think of trying the help in Visual Studio, the C documentation, MSDN ... ?

1 solution

Try this[^] for starters.
 
Share this answer
 
Comments
Manfred Rudolf Bihy 21-Nov-10 20:56pm    
Oh my god! When will they ever learn? How hard was it to come up with these search terms. LOL. It was even in his question: "reserved" and "register". What can I say. My 5 for that :)
Ryan Minor 22-Nov-10 7:52am    
sorry Manfred, I was busy getting laid. you should try it sometime.

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



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