compose frame is underlined?
compose frame is underlined?
hey guys just need a little bit of help
void game::ComposeFrame ()
{
its underlined red in game. cpp and i dont know how to fix it the scopes are lined up and highlighted when i click them
just dont know how to fix the compose frame underline
cheers in advance.
void game::ComposeFrame ()
{
its underlined red in game. cpp and i dont know how to fix it the scopes are lined up and highlighted when i click them
just dont know how to fix the compose frame underline
cheers in advance.
Re: compose frame is underlined?
It will tell you the error (unless Intellisense is just slow and hasn't updated yet) when you build the solution. From the example you gave us I'd think you need to add a } to the end of
Like this
and capitalize , because programming is case-sensitive. (Like I did in the second example I gave.)
Code: Select all
void game::ComposeFrame ()
{
Code: Select all
void Game::ComposeFrame()
{
}
Code: Select all
game::ComposeFrame()
Re: compose frame is underlined?
nah its not that i havnt touched compose frame at all it just underlined after i deleted some pixel codes
Re: compose frame is underlined?
Are you using Visual Studio 2017?
-
- Posts: 4373
- Joined: February 28th, 2013, 3:23 am
- Location: Oklahoma, United States
Re: compose frame is underlined?
You should clean and ZIP your project or upload to GitHub and let us see for ourselves where the issue is. It's kind of hard to trouble shoot by just making shots in the dark. For instance, you say you haven't touched ComposeFrame, yet the code you supplied doesn't match what you say. Besides that, it's always easier and quicker if we aren't guessing.
If you put your mouse cursor over the underlined ComposeFrame, what does intellisense tell you the problem is?
If you put your mouse cursor over the underlined ComposeFrame, what does intellisense tell you the problem is?
If you think paging some data from disk into RAM is slow, try paging it into a simian cerebrum over a pair of optical nerves. - gameprogrammingpatterns.com
Re: compose frame is underlined?
i found the problem one of the statements i wrote in Void Game::UpdateModel() messed up some of the scopes sorry lol
-
- Posts: 4373
- Joined: February 28th, 2013, 3:23 am
- Location: Oklahoma, United States
Re: compose frame is underlined?
It happens, and is usually hard to spot.
If you think paging some data from disk into RAM is slow, try paging it into a simian cerebrum over a pair of optical nerves. - gameprogrammingpatterns.com