Page Menu
Home
c4science
Search
Configure Global Search
Log In
Files
F59801658
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
Thu, Apr 25, 07:44
Size
1 KB
Mime Type
text/x-c
Expires
Sat, Apr 27, 07:44 (1 d, 23 h)
Engine
blob
Format
Raw Data
Handle
17229564
Attached To
R9484 sp4e-homework-lars-bertil
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