Neurochirurgie minim invazivă
"Primum non nocere" este ideea ce a deschis drumul medicinei spre minim invaziv. Avansul tehnologic extraordinar din ultimele decenii a permis dezvoltarea tuturor domeniilor medicinei. Microscopul operator, neuronavigația, tehnicile anestezice avansate permit intervenții chirurgicale tot mai precise, tot mai sigure. Neurochirurgia minim invazivă, sau prin "gaura cheii", oferă pacienților posibilitatea de a se opera cu riscuri minime, fie ele neurologice, infecțioase, medicale sau estetice. www.neurohope.ro |
Imi arata erori!
Last Updated: Mar 04 2019 22:07, Started by
MihaiGamerXD
, Mar 04 2019 17:53
·
0
#1
Posted 04 March 2019 - 17:53
Salutare tuturor! Am o problema cu C++! Imi arata mii de erori cand incerc sa creez un joc care foloseste directdraw!
Asa imi arata: Severity Code Description Project File Line Suppression State Error (active) E0153 expression must have class type DDraw c:\Users\dell\source\repos\DDraw\DDraw\ddraw.cpp 236 Error (active) E0153 expression must have class type DDraw c:\Users\dell\source\repos\DDraw\DDraw\ddraw.cpp 235 Error (active) E0153 expression must have class type DDraw c:\Users\dell\source\repos\DDraw\DDraw\ddraw.cpp 236 Error (active) E0018 expected a ')' DDraw c:\Users\dell\source\repos\DDraw\DDraw\ddraw.cpp 236 Error (active) E0127 expected a statement DDraw c:\Users\dell\source\repos\DDraw\DDraw\ddraw.cpp 238 Error (active) E0169 expected a declaration DDraw c:\Users\dell\source\repos\DDraw\DDraw\ddraw.cpp 240 Error (active) E0169 expected a declaration DDraw c:\Users\dell\source\repos\DDraw\DDraw\ddraw.cpp 251 Error (active) E0077 this declaration has no storage class or type specifier DDraw c:\Users\dell\source\repos\DDraw\DDraw\ddraw.cpp 262 Error (active) E0065 expected a ';' DDraw c:\Users\dell\source\repos\DDraw\DDraw\ddraw.cpp 262 Error (active) E0077 this declaration has no storage class or type specifier DDraw c:\Users\dell\source\repos\DDraw\DDraw\ddraw.cpp 263 Error (active) E0065 expected a ';' DDraw c:\Users\dell\source\repos\DDraw\DDraw\ddraw.cpp 263 Error (active) E0077 this declaration has no storage class or type specifier DDraw c:\Users\dell\source\repos\DDraw\DDraw\ddraw.cpp 268 Error (active) E0065 expected a ';' DDraw c:\Users\dell\source\repos\DDraw\DDraw\ddraw.cpp 268 Error (active) E0020 identifier "lpDDSOne" is undefined DDraw c:\Users\dell\source\repos\DDraw\DDraw\ddraw.cpp 287 Error (active) E0020 identifier "lpDDSMySprite" is undefined DDraw c:\Users\dell\source\repos\DDraw\DDraw\ddraw.cpp 298 Error (active) E0020 identifier "lpDDSOne" is undefined DDraw c:\Users\dell\source\repos\DDraw\DDraw\ddraw.cpp 322 Error (active) E0020 identifier "lpDDPal" is undefined DDraw c:\Users\dell\source\repos\DDraw\DDraw\ddraw.cpp 328 Error (active) E0020 identifier "lpClipper" is undefined DDraw c:\Users\dell\source\repos\DDraw\DDraw\ddraw.cpp 380 Error (active) E0020 identifier "ddWnd" is undefined DDraw c:\Users\dell\source\repos\DDraw\DDraw\ddraw.cpp 439 Error (active) E0077 this declaration has no storage class or type specifier DDraw c:\Users\dell\source\repos\DDraw\DDraw\ddraw.cpp 452 Error (active) E0020 identifier "rcRectDest" is undefined DDraw c:\Users\dell\source\repos\DDraw\DDraw\ddraw.cpp 452 Error (active) E0020 identifier "rcRectSrc" is undefined DDraw c:\Users\dell\source\repos\DDraw\DDraw\ddraw.cpp 452 Error (active) E0169 expected a declaration DDraw c:\Users\dell\source\repos\DDraw\DDraw\ddraw.cpp 453 Error (active) E0169 expected a declaration DDraw c:\Users\dell\source\repos\DDraw\DDraw\ddraw.cpp 460 Error C3861 'CreateOffScreenSurface': identifier not found DDraw c:\users\dell\source\repos\ddraw\ddraw\ddraw.cpp 129 Error C3861 'DDCopyBitmap': identifier not found DDraw c:\users\dell\source\repos\ddraw\ddraw\ddraw.cpp 131 Error C2228 left of '.peRed' must have class/struct/union DDraw c:\users\dell\source\repos\ddraw\ddraw\ddraw.cpp 235 Error C2228 left of '.peRed' must have class/struct/union DDraw c:\users\dell\source\repos\ddraw\ddraw\ddraw.cpp 236 Error C2228 left of '.peBlue' must have class/struct/union DDraw c:\users\dell\source\repos\ddraw\ddraw\ddraw.cpp 236 Error C2146 syntax error: missing ')' before identifier 'ape' DDraw c:\users\dell\source\repos\ddraw\ddraw\ddraw.cpp 237 Error C2059 syntax error: ';' DDraw c:\users\dell\source\repos\ddraw\ddraw\ddraw.cpp 237 Error C2228 left of '.peBlue' must have class/struct/union DDraw c:\users\dell\source\repos\ddraw\ddraw\ddraw.cpp 237 Error C2065 'r': undeclared identifier DDraw c:\users\dell\source\repos\ddraw\ddraw\ddraw.cpp 237 Error C2059 syntax error: 'if' DDraw c:\users\dell\source\repos\ddraw\ddraw\ddraw.cpp 240 Error C2143 syntax error: missing ';' before '{' DDraw c:\users\dell\source\repos\ddraw\ddraw\ddraw.cpp 241 Error C2447 '{': missing function header (old-style formal list?) DDraw c:\users\dell\source\repos\ddraw\ddraw\ddraw.cpp 241 Error C2059 syntax error: 'else' DDraw c:\users\dell\source\repos\ddraw\ddraw\ddraw.cpp 244 Error C2143 syntax error: missing ';' before '{' DDraw c:\users\dell\source\repos\ddraw\ddraw\ddraw.cpp 244 Error C2447 '{': missing function header (old-style formal list?) DDraw c:\users\dell\source\repos\ddraw\ddraw\ddraw.cpp 244 Error C2059 syntax error: '}' DDraw c:\users\dell\source\repos\ddraw\ddraw\ddraw.cpp 247 Error C2143 syntax error: missing ';' before '}' DDraw c:\users\dell\source\repos\ddraw\ddraw\ddraw.cpp 247 Error C2059 syntax error: 'if' DDraw c:\users\dell\source\repos\ddraw\ddraw\ddraw.cpp 251 Error C3927 '->': trailing return type is not allowed after a non-function declarator DDraw c:\users\dell\source\repos\ddraw\ddraw\ddraw.cpp 262 Error C3484 syntax error: expected '->' before the return type DDraw c:\users\dell\source\repos\ddraw\ddraw\ddraw.cpp 262 Error C3613 missing return type after '->' ('int' assumed) DDraw c:\users\dell\source\repos\ddraw\ddraw\ddraw.cpp 262 Error C4430 missing type specifier - int assumed. Note: C++ does not support default-int DDraw c:\users\dell\source\repos\ddraw\ddraw\ddraw.cpp 262 Error C2371 'ddck': redefinition; different basic types DDraw c:\users\dell\source\repos\ddraw\ddraw\ddraw.cpp 262 Error C2146 syntax error: missing ';' before identifier 'dwColorSpaceLowValue' DDraw c:\users\dell\source\repos\ddraw\ddraw\ddraw.cpp 262 Error C3927 '->': trailing return type is not allowed after a non-function declarator DDraw c:\users\dell\source\repos\ddraw\ddraw\ddraw.cpp 263 Error C3484 syntax error: expected '->' before the return type DDraw c:\users\dell\source\repos\ddraw\ddraw\ddraw.cpp 263 Error C3613 missing return type after '->' ('int' assumed) DDraw c:\users\dell\source\repos\ddraw\ddraw\ddraw.cpp 263 Error C4430 missing type specifier - int assumed. Note: C++ does not support default-int DDraw c:\users\dell\source\repos\ddraw\ddraw\ddraw.cpp 263 Error C2371 'ddck': redefinition; different basic types DDraw c:\users\dell\source\repos\ddraw\ddraw\ddraw.cpp 263 Error C2146 syntax error: missing ';' before identifier 'dwColorSpaceHighValue' DDraw c:\users\dell\source\repos\ddraw\ddraw\ddraw.cpp 263 Error C3927 '->': trailing return type is not allowed after a non-function declarator DDraw c:\users\dell\source\repos\ddraw\ddraw\ddraw.cpp 268 Error C3613 missing return type after '->' ('int' assumed) DDraw c:\users\dell\source\repos\ddraw\ddraw\ddraw.cpp 268 Error C4430 missing type specifier - int assumed. Note: C++ does not support default-int DDraw c:\users\dell\source\repos\ddraw\ddraw\ddraw.cpp 268 Error C2146 syntax error: missing ';' before identifier 'SetColorKey' DDraw c:\users\dell\source\repos\ddraw\ddraw\ddraw.cpp 268 Error C2065 'lpDDSOne': undeclared identifier DDraw c:\users\dell\source\repos\ddraw\ddraw\ddraw.cpp 287 Error C2065 'lpDDSMySprite': undeclared identifier DDraw c:\users\dell\source\repos\ddraw\ddraw\ddraw.cpp 298 Error C2065 'lpDDSOne': undeclared identifier DDraw c:\users\dell\source\repos\ddraw\ddraw\ddraw.cpp 322 Error C2065 'lpDDSOne': undeclared identifier DDraw c:\users\dell\source\repos\ddraw\ddraw\ddraw.cpp 324 Error C2227 left of '->Release' must point to class/struct/union/generic type DDraw c:\users\dell\source\repos\ddraw\ddraw\ddraw.cpp 324 Error C2065 'lpDDSOne': undeclared identifier DDraw c:\users\dell\source\repos\ddraw\ddraw\ddraw.cpp 325 Error C2065 'lpDDPal': undeclared identifier DDraw c:\users\dell\source\repos\ddraw\ddraw\ddraw.cpp 328 Error C2065 'lpDDPal': undeclared identifier DDraw c:\users\dell\source\repos\ddraw\ddraw\ddraw.cpp 330 Error C2227 left of '->Release' must point to class/struct/union/generic type DDraw c:\users\dell\source\repos\ddraw\ddraw\ddraw.cpp 330 Error C2065 'lpDDPal': undeclared identifier DDraw c:\users\dell\source\repos\ddraw\ddraw\ddraw.cpp 331 Error C2065 'lpClipper': undeclared identifier DDraw c:\users\dell\source\repos\ddraw\ddraw\ddraw.cpp 380 Error C2065 'lpClipper': undeclared identifier DDraw c:\users\dell\source\repos\ddraw\ddraw\ddraw.cpp 389 Error C2227 left of '->SetHWnd' must point to class/struct/union/generic type DDraw c:\users\dell\source\repos\ddraw\ddraw\ddraw.cpp 389 Error C2065 'lpClipper': undeclared identifier DDraw c:\users\dell\source\repos\ddraw\ddraw\ddraw.cpp 392 Error C2227 left of '->Release' must point to class/struct/union/generic type DDraw c:\users\dell\source\repos\ddraw\ddraw\ddraw.cpp 392 Error C2065 'lpClipper': undeclared identifier DDraw c:\users\dell\source\repos\ddraw\ddraw\ddraw.cpp 399 Error C2065 'lpClipper': undeclared identifier DDraw c:\users\dell\source\repos\ddraw\ddraw\ddraw.cpp 402 Error C2227 left of '->Release' must point to class/struct/union/generic type DDraw c:\users\dell\source\repos\ddraw\ddraw\ddraw.cpp 402 Error C2065 'lpClipper': undeclared identifier DDraw c:\users\dell\source\repos\ddraw\ddraw\ddraw.cpp 419 Error C2227 left of '->Release' must point to class/struct/union/generic type DDraw c:\users\dell\source\repos\ddraw\ddraw\ddraw.cpp 419 Error C2065 'ddWnd': undeclared identifier DDraw c:\users\dell\source\repos\ddraw\ddraw\ddraw.cpp 439 Error C2065 'ddWnd': undeclared identifier DDraw c:\users\dell\source\repos\ddraw\ddraw\ddraw.cpp 440 Error C4430 missing type specifier - int assumed. Note: C++ does not support default-int DDraw c:\users\dell\source\repos\ddraw\ddraw\ddraw.cpp 452 Error C2065 'rcRectDest': undeclared identifier DDraw c:\users\dell\source\repos\ddraw\ddraw\ddraw.cpp 452 Error C2065 'rcRectSrc': undeclared identifier DDraw c:\users\dell\source\repos\ddraw\ddraw\ddraw.cpp 452 Error C2059 syntax error: 'if' DDraw c:\users\dell\source\repos\ddraw\ddraw\ddraw.cpp 453 Error C2143 syntax error: missing ';' before '{' DDraw c:\users\dell\source\repos\ddraw\ddraw\ddraw.cpp 454 Error C2447 '{': missing function header (old-style formal list?) DDraw c:\users\dell\source\repos\ddraw\ddraw\ddraw.cpp 454 Error C4430 missing type specifier - int assumed. Note: C++ does not support default-int DDraw c:\users\dell\source\repos\ddraw\ddraw\ddraw.cpp 458 Error C2374 'ddrval': redefinition; multiple initialization DDraw c:\users\dell\source\repos\ddraw\ddraw\ddraw.cpp 458 Error C2059 syntax error: 'if' DDraw c:\users\dell\source\repos\ddraw\ddraw\ddraw.cpp 460 Error C2143 syntax error: missing ';' before '{' DDraw c:\users\dell\source\repos\ddraw\ddraw\ddraw.cpp 461 Error C2447 '{': missing function header (old-style formal list?) DDraw c:\users\dell\source\repos\ddraw\ddraw\ddraw.cpp 461 Error C2059 syntax error: ':' DDraw c:\users\dell\source\repos\ddraw\ddraw\ddraw.cpp 464 Error C2059 syntax error: ':' DDraw c:\users\dell\source\repos\ddraw\ddraw\ddraw.cpp 465 Error C2065 'lpMyDDSurface': undeclared identifier DDraw c:\users\dell\source\repos\ddraw\ddraw\ddraw.cpp 470 Error C2227 left of '->Restore' must point to class/struct/union/generic type DDraw c:\users\dell\source\repos\ddraw\ddraw\ddraw.cpp 470 Error C2065 'lpTempDDS': undeclared identifier DDraw c:\users\dell\source\repos\ddraw\ddraw\ddraw.cpp 473 Error C2227 left of '->DDReLoadBitmap' must point to class/struct/union/generic type DDraw c:\users\dell\source\repos\ddraw\ddraw\ddraw.cpp 473Si nu stiu ce sa fac! Va rog frumos, puteti sa ma ajutati si pe mine cum sa repar aceasta problema? Multumesc! Eu folosesc Visual Studio 2017! Attached FilesEdited by MihaiGamerXD, 04 March 2019 - 17:54. |
#2
Posted 04 March 2019 - 18:17
Cum adica ce sa faci.
iei fiecare eroare pe rind si o corectezi. Crezi ca noi stam sa corectam mii de erori ?! |
#4
Posted 04 March 2019 - 18:23
Inseamna ca ai inceput prost, alege si tu un program mai mic, nu direct joc
Si ce treaba are copiat cu corectat ?! Ah, nu stii sa corectezi ?1 Pai, invata limbajul si apoi te arunci la jocuri. Edited by buyonevideo, 04 March 2019 - 18:23. |
#6
Posted 04 March 2019 - 18:31
Cum adica ce vrea sa insemne ?!
Vrea sa insemne ca, si daca iti corectam noi miile de erori, tot nu o sa intelegi nimic din codul sursa corectat. Si inseamna si exact ce am zis deja anterior.... |
#7
Posted 04 March 2019 - 18:34
Aha! Deci sa zicem ca nu vrei sa ma ajuti! Este?! Daca da, atunci bine ma! Ma duc sa vad singur ce e gresit, daca tot asa asa nu merge, inseamna ca e de la program!
|
#8
Posted 04 March 2019 - 18:43
#9
Posted 04 March 2019 - 18:47
MihaiGamerXD, on 04 martie 2019 - 18:34, said:
Aha! Deci sa zicem ca nu vrei sa ma ajuti! Este?! Daca da, atunci bine ma! Ma duc sa vad singur ce e gresit, daca tot asa asa nu merge, inseamna ca e de la program! Nu pentru ca suntem noi capcauni rai. Ci pentru ca tu nu esti ajutabil. Incerci sa faci prea multe, peste nivelul tau de competente. |
#11
Posted 04 March 2019 - 18:50
MihaiGamerXD, on 04 martie 2019 - 18:48, said:
Atunci cum fac putine? Faci asta timp de 1-2-3-5-10 ani, cat o fi nevoie (depinde doar de tine), si apoi vei reveni si la programul tau de ddraw, si erorile vor avea pur si simplu sens si vei sti cum sa le repari. |
#14
Posted 04 March 2019 - 19:29
De unde ai dat copy/paste la codul ala? Vezi ca ai dat copy/paste incomplet, iar unde e complet, e aiurea in multe cazuri (functii nedeclarate, apelate, apoi definite mai jos).
Ai bucati de cod puse total aiurea. Adica, ce ti s-a spus si mai sus. |
#15
Posted 04 March 2019 - 19:45
Ori ai 12 ani
Ori glumesti cu noi Ce este asa greu de inteles ?! Faci un tutorial simplu simplu: Hello world Dupa aia unul nitel mai cplicat: Hello fu**ers ! Dupa aia.... te-ai prins de poanta ?! |
|
#17
Posted 04 March 2019 - 21:57
Astea-s întâmplări de începători!
S-ar putea ca toată lista de erori să fie generată de la lipsa ';' sau paranteză. Stai să vezi ce rezultate/erori obții la execuție când pui valori într-un vector depășind dimensiunea lui. |
#18
Posted 04 March 2019 - 22:07
O parte din ele da, dar nu toate.
Din pacate erorile sunt destul de explicite, nu inteleg ce e greu de mers la linia indicata si remediat problema exprimata in enunt. |
Anunturi
▶ 0 user(s) are reading this topic
0 members, 0 guests, 0 anonymous users