VSC 2022 OpenGL #include

nguyettuhan 41 Reputation points
2022-11-16T05:55:46.063+00:00

260689-screenshot-1.png

C++
C++
A high-level, general-purpose programming language, created as an extension of the C programming language, that has object-oriented, generic, and functional features in addition to facilities for low-level memory manipulation.
3,537 questions
0 comments No comments
{count} votes

Accepted answer
  1. Castorix31 81,741 Reputation points
    2022-11-16T07:28:50.19+00:00

    glut.h must be in additional directories

    For example, I have installed FreeGlut then I added in :
    [C/C+] [General] [Additional Include Directories]
    E:\Tools\Programming\freeglut-3.2.1\include\GL
    then I can do

    #include <glut.h>  
    

0 additional answers

Sort by: Most helpful