Error C1075- Please help

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • yasoof0wnz
    New Member
    • Jul 2008
    • 1

    Error C1075- Please help

    I tried a lot of things to fix this statement but every time i try fixing it, i get more errors, so i undo.
    Heres the error:
    fatal error C1075: end of file found before the left brace '{' at 'c:\users\yousi f\desktop\maple story\maplestor yserver\mapleis land.cpp(174)' was matched

    Heres the statement:
    void NPCsScripts::np c_9101001(NPC* npc){
    int state = npc->getState();
    if(state == 0){
    npc->addText("You have finished all your trainings. Good job. You can now pwn ");
    npc->addText("You seem to be ready to start with the journey right away! Good , I will let you on to the next place were you will fight narbz.");
    npc->sendNext();
    }
  • Nepomuk
    Recognized Expert Specialist
    • Aug 2007
    • 3111

    #2
    Originally posted by yasoof0wnz
    I tried a lot of things to fix this statement but every time i try fixing it, i get more errors, so i undo.
    Heres the error:
    fatal error C1075: end of file found before the left brace '{' at 'c:\users\yousi f\desktop\maple story\maplestor yserver\mapleis land.cpp(174)' was matched

    Heres the statement:
    [code=c]void NPCsScripts::np c_9101001(NPC* npc){
    int state = npc->getState();
    if(state == 0){
    npc->addText("You have finished all your trainings. Good job. You can now pwn ");
    npc->addText("You seem to be ready to start with the journey right away! Good , I will let you on to the next place were you will fight narbz.");
    npc->sendNext();
    }[/code]
    Correct me if I'm wrong, but there's a right brace '}' missing at the end of that, isn't there? That's exactly what the compiler is complaining about.

    Greetings,
    Nepomuk

    Comment

    Working...