김현우

finished for visual studio 2017

Showing 28 changed files with 274 additions and 255 deletions
1  constellation_main.cpp 1  constellation_main.cpp
2 - constellation.vcxproj -> C:\Users\bomm\Desktop\0509_team2\constellation\Debug\constellation.exe 2 + evaluate.cpp
3 + myMatrix.cpp
4 +c:\users\현우\desktop\0509_team2\constellation\constellation\mymatrix.cpp(29): warning C4101: 'temp' :참조되지 않은 지역 변수입니다.
5 + receiver.cpp
6 +c:\users\현우\desktop\0509_team2\constellation\constellation\receiver.cpp(19): warning C4244: '=': 'double'에서 'float'(으)로 변환하면서 데이터가 손실될 수 있습니다.
7 +c:\users\현우\desktop\0509_team2\constellation\constellation\receiver.cpp(20): warning C4244: '=': 'double'에서 'float'(으)로 변환하면서 데이터가 손실될 수 있습니다.
8 +c:\users\현우\desktop\0509_team2\constellation\constellation\receiver.cpp(32): warning C4244: '=': 'double'에서 'float'(으)로 변환하면서 데이터가 손실될 수 있습니다.
9 +c:\users\현우\desktop\0509_team2\constellation\constellation\receiver.cpp(33): warning C4244: '=': 'double'에서 'float'(으)로 변환하면서 데이터가 손실될 수 있습니다.
10 + sender.cpp
11 +c:\users\현우\desktop\0509_team2\constellation\constellation\sender.cpp(37): warning C4244: '=': 'double'에서 'float'(으)로 변환하면서 데이터가 손실될 수 있습니다.
12 +c:\users\현우\desktop\0509_team2\constellation\constellation\sender.cpp(40): warning C4244: '=': 'double'에서 'float'(으)로 변환하면서 데이터가 손실될 수 있습니다.
13 +c:\users\현우\desktop\0509_team2\constellation\constellation\sender.cpp(41): warning C4244: '=': 'double'에서 'float'(으)로 변환하면서 데이터가 손실될 수 있습니다.
14 +c:\users\현우\desktop\0509_team2\constellation\constellation\sender.cpp(42): warning C4244: '=': 'double'에서 'float'(으)로 변환하면서 데이터가 손실될 수 있습니다.
15 +c:\users\현우\desktop\0509_team2\constellation\constellation\sender.cpp(45): warning C4305: '=': 'double'에서 'float'(으)로 잘립니다.
16 +c:\users\현우\desktop\0509_team2\constellation\constellation\sender.cpp(46): warning C4305: '=': 'double'에서 'float'(으)로 잘립니다.
17 + channel.cpp
18 +c:\users\현우\desktop\0509_team2\constellation\constellation\channel.cpp(22): warning C4244: '=': 'double'에서 'float'(으)로 변환하면서 데이터가 손실될 수 있습니다.
19 + 코드를 생성하고 있습니다...
20 + constellation.vcxproj -> C:\Users\현우\Desktop\0509_team2\constellation\Debug\constellation.exe
......
1 -#TargetFrameworkVersion=v4.0:PlatformToolSet=v142:EnableManagedIncrementalBuild=false:VCToolArchitecture=Native32Bit:WindowsTargetPlatformVersion=10.0 1 +#TargetFrameworkVersion=v4.0:PlatformToolSet=v141:EnableManagedIncrementalBuild=false:VCToolArchitecture=Native32Bit:WindowsTargetPlatformVersion=10.0.16299.0
2 -Debug|Win32|C:\Users\bomm\Desktop\0509_team2\constellation\| 2 +Debug|Win32|C:\Users\현우\Desktop\0509_team2\constellation\|
......
1 --0.0500758 0.00059402 1 +0.333429 -0.000824188
2 --0.0568601 0.000762272 2 +0.321309 -0.000994593
3 --0.0906164 0.000676665 3 +0.091345 0.000457148
4 --0.0493577 -0.000852538 4 +-0.143714 -0.000681372
5 --0.0598611 0.000858064 5 +0.215171 -0.000651244
6 --0.088685 0.000920546 6 +-0.0121338 -0.00052288
7 -0.20205 -0.000626273 7 +-0.0808485 -0.000700158
8 -0.184315 -0.000611455 8 +0.103037 0.000544488
9 --0.140459 0.000937762 9 +-0.0724588 0.000809245
10 --0.165804 0.000974521 10 +-0.129098 -0.000574568
11 -0.166955 -0.000789074 11 +-0.0843697 0.000884181
12 -0.105628 -0.000868625 12 +0.131056 -0.000846171
13 --0.0724708 -0.000627662 13 +-0.305963 0.000793245
14 --0.0116144 -0.00061859 14 +-0.0479284 0.000802523
15 --0.0351808 0.000500808 15 +-0.300684 0.0009916
16 -0.295689 -0.000840442 16 +0.0951933 0.000772635
17 --0.0209641 0.000914466 17 +0.456609 -0.000936594
18 --0.13055 0.000797073 18 +0.134401 -0.000731944
19 --0.351327 0.000897403 19 +-0.281896 0.000840044
20 -0.375875 -0.000881411 20 +0.167158 8.5438e-05
21 --0.350018 0.000924479 21 +0.218137 -0.000676409
22 -0.273648 0.000397634 22 +-0.243666 0.000923311
23 -0.0171657 0.00076558 23 +-0.152152 0.00081292
24 -0.0417484 0.000603645 24 +-0.142923 -0.000553674
25 --0.00352783 0.000604882 25 +-0.323333 0.000836568
26 --0.125752 0.000683907 26 +0.219095 -0.000779726
27 --0.199368 0.000882097 27 +0.122512 -0.000849778
28 --0.0154154 0.000453516 28 +-0.179379 0.000736603
29 -0.12334 -0.000664115 29 +-0.0549969 0.000801355
30 --0.116077 0.000905843 30 +-0.050077 -0.000650475
31 --0.0834079 0.000737813 31 +0.41824 -0.00125915
32 -0.112634 0.000519804 32 +-0.170427 0.000790831
33 -0.0339485 -0.000566712 33 +0.140764 -0.000715104
34 --0.0663641 0.000649387 34 +-0.0370381 -0.000486189
35 --0.22585 0.000823972 35 +-0.192794 0.000779956
36 --0.0337484 0.000669977 36 +-0.263288 0.000846014
37 --0.0151915 -0.000650456 37 +0.198013 0.000641811
38 --0.0824011 0.000952675 38 +-0.0983611 0.000614912
39 -0.125507 -0.000984811 39 +0.0129765 0.000714048
40 -0.222076 -0.000703295 40 +-0.143688 0.00060564
41 -0.00348528 0.000628991 41 +-0.0491532 0.00059374
42 --0.170863 0.000667234 42 +-0.00310089 0.000756437
43 --0.255836 0.000711031 43 +-0.0422945 0.000743209
44 -0.247992 -0.00106428 44 +-0.262984 0.00101985
45 --0.119652 0.000903198 45 +0.216994 -0.000753959
46 -0.046517 0.000366811 46 +-0.230483 0.000756968
47 --0.127573 0.000925216 47 +0.154871 0.000454204
48 -0.189488 0.000383277 48 +0.0596011 -0.000797478
49 --0.0308955 0.000881048 49 +-0.410272 0.00111536
50 --0.0500216 0.000588558 50 +-0.219873 0.000732893
51 -0.167261 -0.000651932 51 +-0.19978 0.000729322
52 --0.053449 -0.000679941 52 +0.274527 -0.0010011
53 --0.00683568 0.000750335 53 +-0.123341 0.000778229
54 -0.0231973 -0.000779884 54 +0.153459 -0.000812143
55 -0.0232313 0.000706732 55 +0.121037 -0.000646057
56 -0.268298 -0.00106244 56 +0.0128174 0.000675138
57 --0.0722366 0.0009508 57 +-0.182475 0.000936809
58 --0.00442868 -0.000486168 58 +0.164115 -0.000651424
59 --0.141135 0.000593245 59 +0.209903 -0.000906948
60 --0.174958 0.00105423 60 +-0.202147 0.000953794
61 -0.0162652 0.000659563 61 +0.100776 0.000519352
62 -0.0788943 -0.000465226 62 +-0.345445 0.00102663
63 -0.180488 0.000647417 63 +-0.0844644 0.000802875
64 -0.112935 0.000669762 64 +-0.143955 0.00105237
65 --0.0747194 -0.000425712 65 +-0.217036 0.000795933
66 -0.0715774 -0.000899892 66 +0.0423088 0.000616037
67 -0.0514997 -0.000743572 67 +0.0132476 0.000798414
68 -0.133663 -0.000895273 68 +0.177148 -0.000775111
69 --0.0644752 -0.000636405 69 +0.0983204 -0.000599342
70 --0.0584024 0.00059374 70 +-0.227779 0.000752454
71 -0.0229444 -0.000907241 71 +-0.0728476 0.000616522
72 --0.0168524 0.000729056 72 +-0.296033 0.000857937
73 -0.0545165 -0.000594236 73 +-0.159842 0.000874155
74 -0.149173 0.000690378 74 +0.077902 0.000717132
75 --0.330749 0.000691961 75 +-0.0285227 0.000803559
76 --0.107421 0.0007156 76 +-0.110042 -0.00053525
77 --0.0461772 0.000801649 77 +-0.171791 0.00060513
78 --0.208322 0.00100848 78 +-0.263369 -0.000585003
79 --0.177103 0.000584503 79 +-0.0852043 0.000697035
80 -0.0356146 0.000713105 80 +0.371889 -0.000852435
81 -0.167245 -0.000980218 81 +0.0826314 -0.000636952
82 --0.117338 0.000901516 82 +-0.0392421 -0.000445576
83 --0.0311144 -0.000747644 83 +-0.1967 0.000919826
84 -0.242619 -0.000722385 84 +0.0696627 0.000680014
85 -0.345353 -0.000960592 85 +0.194899 -0.000728975
86 -0.0957666 -0.000592514 86 +0.157017 0.000491522
87 -0.0873934 -0.000921961 87 +0.0974575 -0.00094724
88 -0.0652304 -0.000664313 88 +-0.210384 -0.000531548
89 -0.141887 -0.00097699 89 +0.185352 -0.00102843
90 --0.245422 -0.000368882 90 +0.048414 -0.000875328
91 -0.126739 -0.000834779 91 +-0.0188684 0.000725933
92 --0.00236309 -0.000632443 92 +0.0667475 -0.000723909
93 --0.269665 0.000896621 93 +0.173946 -0.000676277
94 -0.0630159 -0.000813177 94 +-0.188932 0.000566363
95 -0.0271692 0.000611095 95 +0.306063 -0.00114463
96 --0.15403 0.000831826 96 +0.147028 -0.00061693
97 -0.212743 -0.000866319 97 +-0.118383 0.000875322
98 --0.238425 0.000861305 98 +-0.257099 0.000898524
99 --0.0203354 0.00038321 99 +0.195239 -0.000766831
100 --0.21844 0.000637994 100 +-0.114047 0.000761826
101 --0.23659 0.000816974 101 +0.163531 -0.000757284
102 --0.17048 -0.000753667 102 +0.00430976 -0.000675123
103 --0.161518 0.000813865 103 +0.131246 -0.000674101
104 -0.092883 -0.000678318 104 +-0.264242 0.000980139
105 --0.138891 0.000626212 105 +-0.00677909 -0.000734617
106 -0.239683 -0.000597726 106 +-0.0429276 0.000835941
107 --0.0676977 -0.000695245 107 +0.109344 0.000341622
108 --0.334412 0.00109371 108 +0.227712 -0.000882224
109 -0.0179307 0.000647507 109 +0.202552 -0.000657989
110 --0.117223 0.000583728 110 +-0.0722191 0.000744077
111 --0.211331 0.000981323 111 +-0.0466173 0.00057511
112 -0.130338 -0.00059724 112 +-0.136036 -0.000629129
113 -0.30818 -0.000965723 113 +0.0911152 -0.000700535
114 --0.110189 0.000750245 114 +-0.265101 0.000852451
115 --0.0365486 0.000480433 115 +-0.32688 0.00102092
116 --0.123197 0.000838904 116 +-0.0575972 0.000747238
117 --0.175542 0.00102191 117 +-0.13592 -0.000371773
118 --0.102061 0.000590439 118 +0.16313 0.00074617
119 --0.0144397 -0.000754582 119 +-0.0132679 0.000535292
120 -0.0141763 -0.00065936 120 +0.0749196 -0.000777889
121 --0.290259 0.000966512 121 +-0.429408 0.000970291
122 --0.13044 -0.000722501 122 +0.312778 -0.000952783
123 --0.275011 0.000744075 123 +-0.0976622 -0.000383256
124 --0.226793 0.000718157 124 +0.219102 -0.000966668
125 -0.0494321 -0.000787581 125 +-0.0251361 0.000570938
126 -0.452941 -0.00102816 126 +-0.0553877 -0.000435529
127 -0.21816 -0.000748985 127 +-0.0341895 0.000811839
128 -0.0835613 -0.000838132 128 +0.201786 -0.000692067
129 --0.0874114 -0.000544537 129 +0.035216 0.000786099
130 --0.386441 0.000791901 130 +0.261602 -0.00101289
131 -0.127463 -0.000825902 131 +-0.260851 0.000741932
132 --0.174221 0.000692869 132 +0.0533231 -0.000673232
133 -0.0477939 -0.00103529 133 +0.106704 -0.000884133
134 -0.0916484 0.000789397 134 +-0.0695438 0.000904479
135 -0.192193 0.000544494 135 +-0.260067 0.000805274
136 --0.0996695 0.000701941 136 +-0.261344 0.000839894
137 -0.185946 -0.0008028 137 +-0.143163 0.000696307
138 -0.0283286 0.000714402 138 +0.106841 0.000675017
139 --0.217408 0.000748859 139 +-0.0230485 -0.000432427
140 -0.0541584 0.000724692 140 +-0.376417 0.000881293
141 --0.441982 0.00098581 141 +-0.147987 0.00087765
142 -0.271556 -0.000805725 142 +-0.106164 0.000685306
143 -0.273943 -0.00077277 143 +-0.181157 0.00069089
144 --0.0405087 -0.000828652 144 +0.263711 -0.000704571
145 --0.0689078 0.000740476 145 +-0.0214668 0.000654326
146 -0.00438864 -0.000871653 146 +-0.0397228 0.000523128
147 -0.024287 0.000785702 147 +-0.153563 0.000949277
148 --0.360416 0.00102212 148 +-0.10695 0.000925414
149 --0.0341822 0.000623447 149 +-0.201044 0.00079446
150 -0.0957901 0.000588998 150 +0.472708 -0.0010251
151 --0.120589 0.000854135 151 +0.0126471 0.000646703
152 --0.222657 0.000898629 152 +-0.231587 0.000839638
153 --0.0835258 -0.000465844 153 +-0.0639022 0.000716941
154 -0.421016 -0.00116236 154 +-0.154012 -0.00050103
155 --0.0669614 -0.000749745 155 +-0.149002 0.000837812
156 --0.126505 -0.000484741 156 +0.0445903 -0.000840015
157 -0.101684 -0.00068735 157 +0.0259721 0.000478467
158 --0.331712 0.00110153 158 +0.0982498 0.000647975
159 --0.0642628 -0.000538099 159 +-0.0318184 0.000854832
160 --0.157601 0.000836339 160 +-0.264629 0.000852044
161 -0.193138 -0.00104438 161 +0.171159 -0.00109164
162 --0.197673 0.000734486 162 +0.0222405 0.000551913
163 --0.322548 0.000862707 163 +-0.0544544 -0.00071273
164 -0.0404603 -0.000569747 164 +0.0193166 -0.000578246
165 -0.086346 -0.000801852 165 +0.0374922 -0.000488125
166 -0.409552 -0.00101867 166 +0.426902 -0.00119951
167 -0.300244 -0.000933386 167 +-0.157372 0.000658695
168 --0.0896341 0.000805407 168 +0.313055 0.000416121
169 --0.0467139 -0.000519762 169 +0.329691 -0.00100419
170 -0.0382763 0.000653956 170 +-0.137958 0.000879366
171 --0.0524892 0.000613446 171 +-0.0874069 0.000684952
172 --0.232657 0.000797638 172 +-0.00913542 0.00070492
173 --0.0622366 -0.000775346 173 +0.0999274 -0.000645676
174 -0.0966998 -0.000768945 174 +0.056024 -0.000595801
175 --0.0680697 0.000916217 175 +-0.175188 0.000818563
176 -0.0544145 -0.000753095 176 +-0.013695 -0.000652991
177 -0.122079 0.000602704 177 +-0.182691 0.00101586
178 --0.113652 0.000607538 178 +0.305761 -0.00109293
179 -0.111613 -0.000747563 179 +-0.185821 0.000606777
180 -0.00577475 -0.000685775 180 +-0.0543298 -0.000702363
181 -0.156473 -0.000742899 181 +-0.0884861 0.000802449
182 --0.211331 0.000819129 182 +0.0423333 -0.000727018
183 -0.237722 -0.0011578 183 +0.0725106 0.000639061
184 --0.135521 0.000852096 184 +-0.136677 0.000657313
185 -0.120561 -0.000815502 185 +0.0090279 -0.000597789
186 --0.04203 0.000875542 186 +-0.00485942 -0.000869618
187 --0.0743152 -0.000657641 187 +0.00653874 -0.00076226
188 --0.346233 0.000819838 188 +-0.187071 0.000681343
189 --0.0153473 0.000561604 189 +-0.0957525 -0.000740079
190 --0.00935187 0.000718723 190 +-0.155309 -0.000589049
191 --0.111507 0.000787318 191 +-0.221699 0.000906887
192 --0.00853522 -0.000491898 192 +0.370232 -0.000863132
193 --0.19126 0.000648969 193 +0.125525 -0.000759907
194 --0.438389 0.00119154 194 +-0.17198 0.000907228
195 --0.0678034 0.000849761 195 +-0.0156969 0.000718923
196 --0.0232368 -0.000619913 196 +-0.239297 0.000733071
197 -0.312418 -0.000818926 197 +-0.0467221 -0.000596968
198 --0.348803 0.000929102 198 +0.0478364 0.000387784
199 --0.156767 0.00069503 199 +0.0750388 -0.000835701
200 --0.327567 0.00123065 200 +-0.08581 -0.000635269
201 --0.173146 0.000840004 201 +-0.252551 0.000774803
202 --0.0979873 -0.000437211 202 +-0.121103 0.00067007
203 -0.230804 -0.000946347 203 +0.0400368 -0.000760066
204 --0.193161 -0.000598067 204 +0.116636 0.000356866
205 -0.0861734 -0.000779166 205 +-0.00292282 0.000828368
206 --0.12192 0.000913778 206 +0.0202954 -0.000706292
207 -0.113494 -0.000616811 207 +0.320149 -0.00104649
208 -0.0268915 -0.000725009 208 +-0.126469 -0.000411222
209 -0.217593 -0.000739205 209 +-0.149211 0.000669762
210 --0.049253 -0.000540004 210 +-0.13976 0.000769455
211 -0.278804 -0.0010828 211 +-0.290014 0.00109016
212 --0.32615 0.000880535 212 +-0.249453 0.000861252
213 -0.312326 -0.000847746 213 +0.299935 -0.00117912
214 --0.034206 -0.000427823 214 +-0.18481 -0.000524682
215 --0.0839576 0.000650647 215 +-0.214508 0.000877909
216 --0.0619137 -0.0005554 216 +-0.0648664 0.000885751
217 --0.0324921 -0.000650767 217 +0.13209 -0.000804542
218 -0.00607651 0.000596038 218 +0.21686 -0.000963083
219 --0.00915543 0.000781213 219 +-0.153003 0.000868565
220 --0.163212 0.000811206 220 +-0.331561 0.000869336
221 --0.403649 0.000996275 221 +-0.0129056 -0.000782881
222 --0.352075 0.000907068 222 +-0.00600289 0.000462329
223 --0.201395 0.000976248 223 +-0.0318974 0.000827149
224 --0.105688 0.000709492 224 +0.139106 -0.000784471
225 -0.239233 -0.000894152 225 +-0.182946 0.000766741
226 --0.2328 0.00107018 226 +0.159792 -0.000643565
227 --0.211667 0.000712158 227 +-0.0569736 0.000670573
228 -0.166425 -0.00070677 228 +0.0975831 -0.000738656
229 -0.424845 -0.000827424 229 +0.011386 0.000730017
230 -0.392763 -0.000936725 230 +0.123503 -0.000604283
231 --0.253396 0.00105152 231 +-0.0466738 0.000603998
232 -0.106634 0.000597639 232 +0.149302 -0.000936227
233 --0.279476 0.000768905 233 +0.3454 0.000316502
234 -0.129787 -0.000863597 234 +-0.220299 0.000882248
235 -0.189006 -0.00104157 235 +-0.359161 0.00101289
236 --0.0835529 0.000781779 236 +-0.0944914 -0.000637242
237 --0.241639 0.000806553 237 +-0.177768 0.000903775
238 --0.0848852 -0.00037882 238 +-0.0500533 -0.00063269
239 --0.238646 0.00100979 239 +-0.0638138 -0.000640022
240 --0.0859448 0.000860407 240 +-0.104036 -0.000280971
241 --0.0875407 0.000555249 241 +0.0727584 -0.000770237
242 --0.0452928 0.000480356 242 +0.155638 -0.000498375
243 -0.495376 -0.00101535 243 +-0.0267393 0.000865187
244 -0.05493 -0.000658138 244 +-0.230004 0.000778811
245 --0.0191868 -0.000742804 245 +-0.0701527 0.000673759
246 -0.322613 -0.000914465 246 +-0.198004 0.000663654
247 --0.0119363 -0.000627356 247 +0.505796 -0.00102637
248 -0.0752818 0.000678407 248 +-0.00135034 -0.000688405
249 --0.0409031 -0.000652381 249 +-0.165805 -0.000608097
250 -0.251074 -0.000733726 250 +-0.349007 0.00115305
......
...@@ -21,13 +21,13 @@ ...@@ -21,13 +21,13 @@
21 <PropertyGroup Label="Globals"> 21 <PropertyGroup Label="Globals">
22 <ProjectGuid>{6FF25C27-45BF-4502-A1F8-0EFB069E1515}</ProjectGuid> 22 <ProjectGuid>{6FF25C27-45BF-4502-A1F8-0EFB069E1515}</ProjectGuid>
23 <RootNamespace>constellation</RootNamespace> 23 <RootNamespace>constellation</RootNamespace>
24 - <WindowsTargetPlatformVersion>10.0</WindowsTargetPlatformVersion> 24 + <WindowsTargetPlatformVersion>10.0.16299.0</WindowsTargetPlatformVersion>
25 </PropertyGroup> 25 </PropertyGroup>
26 <Import Project="$(VCTargetsPath)\Microsoft.Cpp.Default.props" /> 26 <Import Project="$(VCTargetsPath)\Microsoft.Cpp.Default.props" />
27 <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'" Label="Configuration"> 27 <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'" Label="Configuration">
28 <ConfigurationType>Application</ConfigurationType> 28 <ConfigurationType>Application</ConfigurationType>
29 <UseDebugLibraries>true</UseDebugLibraries> 29 <UseDebugLibraries>true</UseDebugLibraries>
30 - <PlatformToolset>v142</PlatformToolset> 30 + <PlatformToolset>v141</PlatformToolset>
31 <CharacterSet>MultiByte</CharacterSet> 31 <CharacterSet>MultiByte</CharacterSet>
32 </PropertyGroup> 32 </PropertyGroup>
33 <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'" Label="Configuration"> 33 <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'" Label="Configuration">
......
1 #ifndef __SENDER 1 #ifndef __SENDER
2 #define __SENDER 2 #define __SENDER
3 #include <cmath> 3 #include <cmath>
4 +#include <ctime>
4 #include "variables.h" 5 #include "variables.h"
5 class Csender { 6 class Csender {
6 public: 7 public:
......