Skip to content

Instantly share code, notes, and snippets.

@atlas-comstock
Created May 23, 2014 04:09
Show Gist options
  • Save atlas-comstock/12e695ba5a33537bf59f to your computer and use it in GitHub Desktop.
Save atlas-comstock/12e695ba5a33537bf59f to your computer and use it in GitHub Desktop.
#include <iostream>
#include <complex>
using namespace std;
int main()
{
cout<<'a'<<endl;
cout<<"string: str"<<endl;
cout<<"*********************"<<endl;
complex<float> a(3.14f, 4.12f);
cout<<"a(3.14f, 4.12f) is "<<a<<endl;
complex<float> b(2.0f, 1.44f);
cout<<"b(2.0f, 1.44f) is "<<b<<endl;
return 0;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment