Julia set: Difference between revisions

Content added Content deleted
No edit summary
Line 10: Line 10:
<lang cpp>
<lang cpp>
#include <windows.h>
#include <windows.h>
#include <ctime>
#include <string>
#include <string>
#include <complex>
#include <complex>
Line 139: Line 138:
};
};
int main( int argc, char* argv[] ) {
int main( int argc, char* argv[] ) {
srand( static_cast<unsigned>( time( 0 ) ) );
std::complex<long double> c;
std::complex<long double> c;
long double factor = FCT / BMP_SIZE;
long double factor = FCT / BMP_SIZE;