Page Menu
Home
c4science
Search
Configure Global Search
Log In
Files
F62165954
my_types.hh
No One
Temporary
Actions
Download File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Subscribers
None
File Metadata
Details
File Info
Storage
Attached
Created
Sat, May 11, 08:44
Size
1 KB
Mime Type
text/x-c
Expires
Mon, May 13, 08:44 (2 d)
Engine
blob
Format
Raw Data
Handle
17596545
Attached To
R7581 SP4E Homework
my_types.hh
View Options
#ifndef __MY_TYPES_HH__
#define __MY_TYPES_HH__
/* -------------------------------------------------------------------------- */
#include <iostream>
#include <complex>
using UInt = unsigned int;
using Real = double;
using complex = std::complex<Real>;
/* -------------------------------------------------------------------------- */
#define TO_IMPLEMENT \
{ \
std::cerr << std::endl \
<< std::endl \
<< "*********************************************************\n" \
<< "To be filled @ " << __FILE__ << ":" << __LINE__ << std::endl \
<< "*********************************************************\n" \
<< std::endl \
<< std::endl; \
throw; \
}
/* -------------------------------------------------------------------------- */
#define EXERCISE_BEGIN_CORRECTION
#define EXERCISE_END_CORRECTION
#endif /* __MY_TYPES_HH__ */
Event Timeline
Log In to Comment