sine_main.cpp is the main file.
This program can make two waves: horizontal and vertical
- Program will ask you to choose which wave you want.
- What number of cycles you want.
- Changing its origin point.
- Choose your scaling factor from 1 to 5.
- git clone "https://github.com/jasleenkaur/sine_wave.git"
- Compiling it with g++: g++ -o outputFile filename.cpp
- (o option is used to produce executable file of name same as mentiond(exe_name) of filename.cpp.
By default its executable file is a.out, run as ./a.out )
- Run the Program as: ./exe_name
JASLEEN KAUR
BLOG: jasleen7956.wordpress.com
EMAIL: [email protected]