I am writing a simple glut Application, and my teacher wants me to create a top menu bar, as in any windows app(you know, file\\edit etc, the ruler on the window\'s top).
<
GLUT library provide service like creating window, callback functions, timer, mouse event and key press. But you want to make window menu bar for which GLUT does not provide the built in function. GLUT is useful for game , simulation not for GUI. For that you have to use the GUI library. Here are the best list of GUI library
Among them I suggest you to use QT because QT is also object-oriented suitable with C++. With the help of qt-creator you can make GUI by drag and drop in a minute.