Jump to content



Photo
- - - - -

How To Upload File From C++ To Sdk Fx9860g?


  • Please log in to reply
No replies to this topic

#1 xxx

xxx

    Newbie

  • Members
  • Pip
  • 2 posts
  • Gender:Male
  • Location:malaysia

  • Calculators:
    fx-9860g

Posted 23 July 2009 - 05:17 AM

i have a problem about transfer c++ to sdk..
i not familiar tu use sdk.. please teach me about it, can show me step by step....
thanks....

.
#include <math.h> 
#include <iostream.h> 
main( ) 
{ double distance, bearing, latit, dipat; 
  const double pi=3.1415926535897932384626433832795; 
char again; 
semula : 
cout<<"\nEnter distance: "; 
cin>>distance; 
cout<<"\nEnter bearing: "; 
cin>>bearing; 
bearing=bearing*pi/180.0; 
latit=distance*cos(bearing); 
dipat=distance*sin(bearing); 

cout<<endl; 
cout<<"\nbearing: "<<bearing; 
cout<<"\nlatit: "<<latit; 
cout<<"\ndipat: "<<dipat; 
cout<<"\ndistance: "<<distance; 

cout<<"\nContinue:Y/N? "; 
cin>>again; 

if(again=='Y'||again=='y')goto semula; 
if(again=='N'||again=='n')cout<<"\n tq 4 using c++"; 
return 0; 
}





0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users