daily pastebin goal
48%
SHARE
TWEET

Untitled

a guest Mar 13th, 2018 48 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. //functions.h
  2.  
  3. float x1;
  4. float y1;
  5. float z1;
  6.  
  7. float x2;
  8. float y2;
  9. float z2;
  10.  
  11. float ThreeDDistance(...);
  12. void Calculate();
  13. void GetInput();
  14.  
  15.  
  16.  
  17.  
  18. //functions.cpp
  19.  
  20. float ThreeDDistance(...)
  21. {
  22.     ...
  23. }
  24.  
  25. void Calculate()
  26. {
  27.     do{
  28.         GetInput();
  29.     }while(...);
  30. }
  31.  
  32. void GetInput()
  33. {
  34.     cout << "enter blah blah";
  35.     cin >> x1 >> y1 >> z1;
  36.     cout << "enter blah blah";
  37.     cin >> x2 >> y2 >> z2;
  38.  
  39. }
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top