git clone https://github.com/MoghazyCoder/SE-Project.git
cd SE-Project/
Open the README.md File using any text editor, sublime, atom , or VSC
| # |
| require('isomorphic-fetch'); | |
| const mongoose = require('mongoose'); | |
| module.exports.TakeFromAPI = async (req, res, next) => { | |
| const headers = new Headers(); | |
| headers.append('Content-Type', 'application/json'); | |
| // Hena el json object elli htb3teh ll API | |
| const JSON_TO_SEND_TO_API = { |
| /* Libraries */ | |
| #ifdef __APPLE__ | |
| #include <GLUT/glut.h> | |
| #include <OpenGL/gl.h> | |
| #include <OpenGL/glu.h> | |
| #else | |
| #include <GL/glut.h> | |
| #include <GL/glu.h> | |
| #include <GL/gl.h> |
| /* | |
| TO COMPILE & RUN | |
| g++ -o out main.cpp -framework GLUT -framework OpenGL -Wno-deprecated && ./out | |
| */ | |
| #ifdef __APPLE__ | |
| #include <GLUT/glut.h> |