system
(system)
#1
Otóż posiadam owy program i mam problem z linkerem. Nie mogę go zlokalizować w programie ani dodać żadej biblioteki np Iostream.h .
Dopiero zaczynam zabawę z C++ i nie mogę go skonfigurować do podstawowej nauki gdyż nie posiada on bibliotek?
Czy ktoś konfigurował wyżej wymieniony program?
Wasacz
(Wasacz)
#2
Powinno działać OOTB. Jakieś błędy wypluwa?
system
(system)
#3
Prosty plik
1>------ Build started: Project: e, Configuration: Debug Win32 ------
1>Compiling...
1>x.cpp
1>c:\users\pawel\documents\visual studio 2008\projects\e\e\x.cpp(1) : fatal error C1083: Cannot open include file: 'iostream.h': No such file or directory
1>Build log was saved at "file://c:\Users\Pawel\Documents\Visual Studio 2008\Projects\e\e\Debug\BuildLog.htm"
1>e - 1 error(s), 0 warning(s)
========== Build: 0 succeeded, 1 failed, 0 up-to-date, 0 skipped ==========
Jak zmienie Iostream.h na iostream to jest to samo.
xauen99
(Ruthenos)
#4
Spróbuj tak:
#include
Ja zawsze załączam ta bibliotekę i jest ok.
Programujesz w trybie okienkowym czy konsolowym?
system
(system)
#5
Tryb konsolowy
Log z komp.
1>------ Build started: Project: e, Configuration: Debug Win32 ------
1>Compiling...
1>x.cpp
1>c:\users\pawel\documents\visual studio 2008\projects\e\e\x.cpp(4) : error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
1>c:\users\pawel\documents\visual studio 2008\projects\e\e\x.cpp(5) : error C2065: 'cout' : undeclared identifier
1>Build log was saved at "file://c:\Users\Pawel\Documents\Visual Studio 2008\Projects\e\e\Debug\BuildLog.htm"
1>e - 2 error(s), 0 warning(s)
========== Build: 0 succeeded, 1 failed, 0 up-to-date, 0 skipped ==========
#include
main()
{
cout >> "Elo" ;
}