How to make a alarm in c++ | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

How to make a alarm in c++

12th Jul 2018, 12:04 PM
Mayank
Mayank - avatar
20 Answers
+ 2
printf ("alarm");
12th Jul 2018, 12:12 PM
Микола Федосєєв
Микола Федосєєв - avatar
+ 2
hmm.. that would be good if a GUI is needed. Totally agree with that one.
12th Jul 2018, 12:41 PM
Satyam
+ 1
Mayank search it online. Source code for an alarm in c++ is easily available if you need it.
12th Jul 2018, 12:19 PM
Satyam
+ 1
or alarm clock application?
12th Jul 2018, 12:19 PM
Микола Федосєєв
Микола Федосєєв - avatar
+ 1
deleted the link.
12th Jul 2018, 12:24 PM
Satyam
+ 1
How does IDE used matter if he just wants software?
12th Jul 2018, 12:28 PM
Satyam
+ 1
S.C. , c++ itself does not have any graphical interface. So one must select a library to play with. And work with such a library is much easier with according IDE.
12th Jul 2018, 12:34 PM
Микола Федосєєв
Микола Федосєєв - avatar
12th Jul 2018, 12:35 PM
Микола Федосєєв
Микола Федосєєв - avatar
0
so funny
12th Jul 2018, 12:13 PM
Mayank
Mayank - avatar
0
Do you need more complex solution?
12th Jul 2018, 12:15 PM
Микола Федосєєв
Микола Федосєєв - avatar
0
I think that u didn't got my question
12th Jul 2018, 12:16 PM
Mayank
Mayank - avatar
0
do you mean exception?
12th Jul 2018, 12:17 PM
Микола Федосєєв
Микола Федосєєв - avatar
0
have u used alarm in your mobile to wake up yourself
12th Jul 2018, 12:18 PM
Mayank
Mayank - avatar
0
I searched dear.... but I didn't got... if u want to help u can search if u got plz send me the link
12th Jul 2018, 12:20 PM
Mayank
Mayank - avatar
0
Ya in c++
12th Jul 2018, 12:20 PM
Mayank
Mayank - avatar
0
anyone their to help me out
12th Jul 2018, 12:22 PM
Mayank
Mayank - avatar
0
thank u very much S. C.
12th Jul 2018, 12:24 PM
Mayank
Mayank - avatar
0
that requires several questions to answer. What is the OS? What is the preffered IDE and runtime. Which controls should be used etc. For example, C++ solution for Arduino is not suitable for tablet or PC.
12th Jul 2018, 12:25 PM
Микола Федосєєв
Микола Федосєєв - avatar
0
I'd like to suggest QT clock sample as the start point. Or, better, make alarm clock with js.
12th Jul 2018, 12:28 PM
Микола Федосєєв
Микола Федосєєв - avatar
0
I think you can use signals.. Sigalarm signal no 14.You need to write isr for that. I will share a code with you. for c++ you can refer this... https://gist.github.com/Codeplaza/7326881
12th Jul 2018, 2:12 PM
$¢𝐎₹𝔭!𝐨𝓝
$¢𝐎₹𝔭!𝐨𝓝 - avatar