Click here to Skip to main content
14,548,943 members

C / C++ / MFC

 
AnswerRe: Facial Recognition in C++, from scratch Pin
Richard MacCutchan3-Apr-20 1:59
mveRichard MacCutchan3-Apr-20 1:59 
AnswerRe: Facial Recognition in C++, from scratch Pin
_Flaviu5-Apr-20 0:42
Member_Flaviu5-Apr-20 0:42 
Questioninverse sinus, floats Pin
fearless_2-Apr-20 21:25
Memberfearless_2-Apr-20 21:25 
AnswerRe: inverse sinus, floats Pin
Richard MacCutchan2-Apr-20 21:35
mveRichard MacCutchan2-Apr-20 21:35 
GeneralRe: inverse sinus, floats Pin
fearless_2-Apr-20 21:53
Memberfearless_2-Apr-20 21:53 
AnswerRe: inverse sinus, floats Pin
CPallini2-Apr-20 21:57
mveCPallini2-Apr-20 21:57 
GeneralRe: inverse sinus, floats Pin
fearless_2-Apr-20 23:01
Memberfearless_2-Apr-20 23:01 
GeneralRe: inverse sinus, floats Pin
CPallini2-Apr-20 23:18
mveCPallini2-Apr-20 23:18 
Post your code, then.

The following program
#include <cmath>
#include <iostream>
using namespace std;

int main()
{
  double angle = asin( 40/80.6225 );
  cout << "angle " << angle << " (" << (angle * 180 / M_PI) << " degrees)" << endl;
}
Outputs
angle 0.519147 (29.7449 degrees)

GeneralRe: inverse sinus, floats Pin
fearless_2-Apr-20 23:36
Memberfearless_2-Apr-20 23:36 
GeneralRe: inverse sinus, floats Pin
CPallini3-Apr-20 2:17
mveCPallini3-Apr-20 2:17 
GeneralRe: inverse sinus, floats Pin
Victor Nijegorodov2-Apr-20 23:39
MemberVictor Nijegorodov2-Apr-20 23:39 
GeneralRe: inverse sinus, floats Pin
fearless_3-Apr-20 0:02
Memberfearless_3-Apr-20 0:02 
GeneralRe: inverse sinus, floats Pin
fearless_6-Apr-20 5:53
Memberfearless_6-Apr-20 5:53 
GeneralRe: inverse sinus, floats Pin
CPallini6-Apr-20 11:12
mveCPallini6-Apr-20 11:12 
GeneralRe: inverse sinus, floats Pin
fearless_6-Apr-20 20:55
Memberfearless_6-Apr-20 20:55 
GeneralRe: inverse sinus, floats Pin
CPallini6-Apr-20 22:29
mveCPallini6-Apr-20 22:29 
AnswerRe: inverse sinus, floats Pin
fearless_12-Apr-20 6:38
Memberfearless_12-Apr-20 6:38 
QuestionNot able to set DPI for PNG files - libpng Pin
Gopi Nath2-Apr-20 18:23
MemberGopi Nath2-Apr-20 18:23 
GeneralRe: Not able to set DPI for PNG files - libpng Pin
Richard MacCutchan2-Apr-20 21:33
mveRichard MacCutchan2-Apr-20 21:33 
GeneralRe: Not able to set DPI for PNG files - libpng Pin
Gopi Nath2-Apr-20 22:08
MemberGopi Nath2-Apr-20 22:08 
GeneralRe: Not able to set DPI for PNG files - libpng Pin
Richard MacCutchan2-Apr-20 22:11
mveRichard MacCutchan2-Apr-20 22:11 
Question[C++] Where to find coding examples and exercises? Pin
den2k881-Apr-20 22:53
professionalden2k881-Apr-20 22:53 
AnswerRe: [C++] Where to find coding examples and exercises? Pin
Richard MacCutchan1-Apr-20 23:55
mveRichard MacCutchan1-Apr-20 23:55 
GeneralRe: [C++] Where to find coding examples and exercises? Pin
den2k881-Apr-20 23:58
professionalden2k881-Apr-20 23:58 
GeneralRe: [C++] Where to find coding examples and exercises? Pin
Richard MacCutchan2-Apr-20 0:15
mveRichard MacCutchan2-Apr-20 0:15 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.