I have the following seemingly innocuous piece of code:

#ifndef UI_H
#define UI_H

#include <string>

namespace ui
{
    //Displays the main menu, showing loaded vocabulary cards
    //
    //Returns upon completion of display
    void displayMainMenu();

    //...More code like the above, just comments followed by functions
}

#endif

which gives me this error message:

filepath/ui.h:6: error: expected unqualified-id before 'namespace'

What am I doing wrong here?

Edit
Report