![]() |
|
|||||||
|
|
Thread Tools | Search this Thread | Rate Thread |
|
#1
|
|||
|
|||
A function-definition is not allowed here before '{' tokenWhen I finished the second Lazy Foo SDL tutorial, I had at least 16 errors, I managed to narrow it down to 3 or 4, but I can't fix these guys
I''l give you everything I can give. My Source Code: CPP / C++ / C Code:
Tutorial I followed: lazyfoo.net/SDL_tutorials/lesson02/index.php XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX X Errors I recieved Quote:
|
|||
|
#2
|
||||
|
||||
Re: Surface Blitting ErrorsThe closing bracket of your load_image function is positioned after main. Move it where it belongs.
__________________
Please read these Guidelines before posting on the forum "A person who never made a mistake never tried anything new." Einstein |
|
#3
|
|||
|
|||
Re: Surface Blitting ErrorsQuote:
Thanks. It told me I was missing a closing bracket so I just put it at the end. |
|
#4
|
||||
|
||||
Re: Surface Blitting ErrorsAhh, now you see the difference between just doing something and thinking about what you are doing...
__________________
During the election they said Obama could only be elected when pigs fly. Well, we currently have an epidemic of Swine Flu. Coincidence? |
Recent GIDBlog
Once again, no time for hobbies by crystalattice
| Thread Tools | Search this Thread |
| Rate This Thread | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| run script command on ns2.26 | newbie06 | Computer Software Forum - Linux | 65 | 19-Aug-2009 08:50 |
| Plz anyone help to fix the linking errors: | dathatreya | MS Visual C++ / MFC Forum | 0 | 03-Apr-2008 01:19 |
| Need urgent help. Nonsensical compile errors on test code (for game) | seasons | C++ Forum | 1 | 29-Nov-2007 13:41 |
| Compile Errors due to Default Parameters | jdbrine | C++ Forum | 1 | 17-Jun-2006 15:45 |
Network Sites: GIDNetwork · GIDWebHosts · GIDSearch · Learning Journal by J de Silva, The