Advertisement
cartagenae

main.cpp

Apr 25th, 2025 (edited)
229
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C++ 0.51 KB | None | 0 0
  1. #include <SFML/Graphics.hpp>
  2. #include <SFML/Audio.hpp>
  3. #include <iostream>
  4. #include <sstream>
  5. #include <vector>
  6. #include "ComplexPlane.h"
  7. #include <complex>
  8.  
  9. using namespace std;
  10. using namespace sf;
  11.  
  12. int main()
  13. {
  14.     VideoMode desktop = VideoMode::getDesktopMode();
  15.  
  16.     int width = desktop.width / 2;
  17.     int height = desktop.height / 2;
  18.  
  19.     RenderWindow window(VideoMode(width, height), "Mandelbrot Set");
  20.     ComplexPlane mandelbrotPlane();
  21.  
  22.     cout << "Hello mandelbrot" << endl;
  23.  
  24.     return 0;
  25. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement