Skip to content

lilylei95/simple_alarm

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

simple_alarm

This is my first Github project. \o/

In this simple alarm clock repository you find:

  • my source code to the program
  • solution to the program
  • an alarm buzzer sound clip

Info

This program just simulate a simple alarm clock. The default program will only store 3 times, but this can be changed manually in the program.

Usage

  1. Install Visual Studio, if you haven't already
  1. Clone repository
   git clone --depth 1 https://github.com/lilylei95/simple_alarm.git

  1. Open up visual studio There two ways you can open this:
  • You can open .sln file from simple_alarm/Alarm/Alarm.sln
    or
  • Open visual studio then File > Open > Open Project > find the Alarm.sln file

  1. Changing location of where you play sound The current program the location of alarm buzzer sound is located in my directory, but you have to change it to yours. Inside of simple_alarm/Code/Source code/alarm.cpp on line 284, please change this line
#orginal line in simple_alarm/Code/Source code/alarm.cpp on line 284
PlaySound("$(SolutionDir)/Alarm_v1/Loud_Alarm_Clock_Buzzer.mp3", 0, 0);
#change it to 
PlaySound(/* location of Loud_Alarm_Clock_Buzzer.mp location */, 0, 0);
  1. Build and use

About

Simple alarm clock program.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages