I'm making my second machine program.. it's about azimuth calculation.. now, my problem is, how to include this table of values in my source codes... Is there anyway to include this to my main program? Can you teach me how to make a header file with this table??
LATITUDE log Am log Bm/Am LATITUDE log Am log Bm/Am (degrees) (degrees) 0 8.509727 0.002949 37 8.509194 0.001884 1 726 0.002949 38 169 0.001834 2 725 0.002946 39 144 0.001784 3 723 0.002941 40 118 0.001733 4 719 0.002935 41 93 0.001683 5 715 0.002927 42 66 0.001631 6 711 0.002917 43 42 0.001580 7 705 0.002906 44 8.509016 0.001529 8 698 0.002893 45 8.508990 0.001477 9 691 0.002878 46 965 0.001426 10 682 0.002861 47 939 0.001374 11 673 0.002843 48 913 0.001323 12 663 0.002823 49 888 0.001272 13 652 0.002801 50 862 0.001221 14 641 0.002778 51 837 0.001170 15 628 0.002753 52 812 0.001120 16 615 0.002726 53 787 0.001071 17 601 0.002698 54 762 0.001021 18 586 0.002669 55 738 0.000973 19 571 0.002638 56 714 0.000925 20 555 0.002606 57 690 0.000877 21 538 0.002572 58 667 0.000830 22 520 0.002537 59 644 0.000784 23 502 0.002501 60 621 0.000739 24 483 0.002463 61 599 0.000695 25 464 0.002424 62 578 0.000652 26 444 0.002384 63 557 0.000610 27 423 0.002343 64 536 0.000568 28 402 0.002301 65 516 0.000528 29 381 0.002258 66 496 0.000489 30 359 0.002214 67 478 0.000452 31 336 0.002169 68 459 0.000415 32 313 0.002123 69 442 0.000380 33 290 0.002077 70 425 0.000346 34 267 0.002029 71 409 0.000313 35 243 0.001981 72 393 0.000282 36 218 0.001933 ----- Original Message ---- From: Jefferson Mendoza <[EMAIL PROTECTED]> To: C++ <[email protected]> Sent: Monday, August 18, 2008 3:12:49 PM Subject: [c-prog] Question?? Is there any way in C++ where i can put a header file where the values in table I made can be called? for example, I have a table below.. x y 1 22 2 44 3 55 4 56 and so on..... Can you give me some advise in making a look up table? What syntax am I going to use? [Non-text portions of this message have been removed] [Non-text portions of this message have been removed]
