Jump to content
  • Advertisement

Archived

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

death_jester

<<<---newbie needs help

This topic is 5954 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 cant seem to find whats wrong with this program: #include <iostream> int main() { char sin; std::cin>> sin; if (sin == ''x'') std::cout<<"1a2fa3f1a3f1a23f13a1f3a2df1d321f54f1a3f1d4fc"; else(sin == ''m'') std::cout<<"7e9r7ere9f7e89r7e98r7e8r9er7e87a78v7a87f42f13a"; return 0; } anybody?

Share this post


Link to post
Share on other sites
Advertisement
I think this:

else(sin == ''m'')

needs to be this:

else if(sin == ''m'')

Also, it would help if you stated what was supposed to happen (program is supposed to compile) and what did happen (like compiler output).

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!