



Zaloguj lub Zarejestruj się aby uzyskać pełny dostęp do forum.
Posted 20 March 2010 - 22:43
Posted 20 March 2010 - 22:54
Posted 20 March 2010 - 23:05
Posted 20 March 2010 - 23:15
Posted 21 March 2010 - 02:08
Posted 21 March 2010 - 08:16
Posted 21 March 2010 - 09:01
#include < iostream > #include < math.h > using namespace std; main() { int x; cout << "Podaj liczbe: "; cin >> x; cout << "Pierwiastek z " << x << " wynosi: " << sqrt(x) << endl; cout << "Pierwiastek 3st z " << x << " wynosi: " << pow(x, 1.0/3.0) << endl; // cbrt(x) cout << x << "^0.2 wynosi: " << pow(x,0.2) << endl; cout << "1/" << x << " wynosi: " << 1.0/x << endl; system("pause"); return 0; }Wyskakuje info, że trzeba zrobić int main(). Zrobiłem tak i program się dalej nie uruchamia, chociaz jest napisane "Running..."
Posted 21 March 2010 - 10:19
Bez sensu. Taki kod mi nie działa:
#include < iostream > #include < math.h > using namespace std; main() { int x; cout << "Podaj liczbe: "; cin >> x; cout << "Pierwiastek z " << x << " wynosi: " << sqrt(x) << endl; cout << "Pierwiastek 3st z " << x << " wynosi: " << pow(x, 1.0/3.0) << endl; // cbrt(x) cout << x << "^0.2 wynosi: " << pow(x,0.2) << endl; cout << "1/" << x << " wynosi: " << 1.0/x << endl; system("pause"); return 0; }Wyskakuje info, że trzeba zrobić int main(). Zrobiłem tak i program się dalej nie uruchamia, chociaz jest napisane "Running..."
Chyba będę musiał robić to na windowsie :/
EDIT: zjadło < > przy include
Posted 21 March 2010 - 11:34
#include < iostream > #include < math.h > using namespace std; int main() { int x; cout << "Podaj liczbe: "; cin >> x; cout << "Pierwiastek z " << x << " wynosi: " << sqrt(x) << endl; cout << "Pierwiastek 3st z " << x << " wynosi: " << pow(x, 1.0/3.0) << endl; // cbrt(x) cout << x << "^0.2 wynosi: " << pow(x,0.2) << endl; cout << "1/" << x << " wynosi: " << 1.0/x << endl; // system("pause"); return 0; }
Posted 21 March 2010 - 13:54
O to chodziło! Dzięki!Tylko to nie windows, gdzie wyskakuje okienko, itd. Tak jak kolego wyżej powiedział trzeba sobie otworzyć konsolę - Cmd+Shift+R i tam będziesz wszystko miał.
Posted 22 April 2010 - 14:48
J
EDIT: Ok, tępy jestemSzukałem XCoda na płyce z aplikacjami a nie systemem
Posted 22 April 2010 - 14:51
Posted 22 April 2010 - 15:58
a kto to pamięta ile to waży, skoro tak tam piszą to pewnie tyle jest.
EDIT
Chociaż mi się kojarzy że coś koło 700mb, albo 900mb, bardziej jakoś tak.
Posted 22 April 2010 - 16:00
Posted 22 April 2010 - 16:23
Posted 22 April 2010 - 18:28
A może to 2.3gb to z iphonowym sdk, a to Ci nie potrzebne jest, nie wiem ale tak tylko coś kojarzę że to mniej ważyło, ale mogę się mylić.
Posted 23 April 2010 - 22:26
Posted 23 April 2010 - 23:03
0 members, 2 guests, 0 anonymous users