Problem Visual Studio / C++

Problem Visual Studio / C++
Skorpion124 Pl
  • Rejestracja: dni
  • Ostatnio: dni
  • Postów: 1
0

Witam mam problem, zainstalowałem sobie Visual Studio i nie moge nic na nim programowac, bo wyswietla mi sie komunikat taki, jak w zalaczniku nizej. Prosze o pomoc !!

Chodzi o to, że w oknie konsoli nie wyswietla mi sie ten tekts ktory powinien, odpalam ten projekt ktory powinienem wiec nie wiem o co chodzi ...

_13th_Dragon
  • Rejestracja: dni
  • Ostatnio: dni
1

Spróbuj Clean oraz Rebuild

Codedemens
  • Rejestracja: dni
  • Ostatnio: dni
  • Lokalizacja: Yuri' Command Center
  • Postów: 92
1

dodatkowo: zwracasz w main() inta, więc dodaj na koniec (po std::cout << (...))

return 0;

jeżeli nie zgłaszasz błędów w main...

tajny_agent
  • Rejestracja: dni
  • Ostatnio: dni
  • Postów: 1340
0

Nie jest to obowiązkowe

§ 6.6.1.5

A return statement in main has the effect of leaving the main function (destroying any objects with automatic
storage duration) and calling std::exit with the return value as the argument. If control flows off the end
of the compound-statement of main, the effect is equivalent to a return with operand 0 (see also 18.3)

Zarejestruj się i dołącz do największej społeczności programistów w Polsce.

Otrzymaj wsparcie, dziel się wiedzą i rozwijaj swoje umiejętności z najlepszymi.