Jump to content
  • Advertisement
Sign in to follow this  
miradosamurai

very weird bug in code [ FIXED ]

This topic is 1968 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

okay i was coding some last night i compiled and made sure the program was running correctly it was then today i change some code something is wrong its not working then i go back to what i had last night nothing changed AT ALL and the same thing was happening, so then i go back to something i had working a couple days ago....same thing it says error CS1518 for the code 

 

 

 

 
static void Main(string[] args)
{
Console.Title = "Project Criminal";
Console.SetWindowSize(120, 48);
Initialize();
do {
player.Update();
} while(isGameAlive);
}
 
why is it doing this all of a sudden?
 
EDIT:went back to something several days ago and it still compiles correctly no error or anything and its the same code the only difference is whats in the "" in console.title
 
EDIT 2: fixed it apparently when i went back i didnt catch everything and long story short there was 1 too many closing brackets.
Edited by miradosamurai

Share this post


Link to post
Share on other sites
Advertisement
Sign in to follow this  

  • Advertisement
×

Important Information

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

We are the game development community.

Whether you are an indie, hobbyist, AAA developer, or just trying to learn, GameDev.net is the place for you to learn, share, and connect with the games industry. Learn more About Us or sign up!

Sign me up!