Jump to content
  • Advertisement

Archived

This topic is now archived and is closed to further replies.

bezier128

oneway........what the? C/C++

This topic is 5726 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

I was declaring a variable....I named it "oneway" and the syntax highlighter(in RHIDE) indicated that this name is reserved/a keyword. What the heck is it for? What does it do? I am using DJGPP if that helps any.

Share this post


Link to post
Share on other sites
Advertisement
quote:
Original post by bezier128
I was declaring a variable....I named it "oneway" and the syntax highlighter(in RHIDE) indicated that this name is reserved/a keyword.
What the heck is it for? What does it do? I am using DJGPP if that helps any.


The syntax highlighter is wrong. There is no such keyword in either ISO C nor ISO C++. Some IDLs (Interface Definition Language) use it, which is why your IDE may be set up to recognise it.

Documents [ GDNet | MSDN | STL | OpenGL | Formats | RTFM | Asking Smart Questions ]
C++ Stuff [ MinGW | Loki | SDL | Boost. | STLport | FLTK | ACCU Recommended Books ]

Share this post


Link to post
Share on other sites

  • Advertisement
×

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

Participate in the game development conversation and more when you create an account on GameDev.net!

Sign me up!