[Ответить в тред] Ответить в тред

09/10/16 - Открыта доска /int/ - International, давайте расскажем о ней!
30/09/16 - BREAKING NEWS ШОК АБУ ПРОДАЛСЯ МЭЙЛУ (на самом деле нет)
25/09/16 - Персональное обращение Абу - СБОР ПОЖЕРТВОВАНИЙ НА ДВАЧ


Новые доски: /2d/ - Аниме/Беседка • /wwe/ - WorldWide Wrestling Universe • /ch/ - Чатики и конфочки • /int/ - International • /ruvn/ - Российские визуальные новеллы • /math/ - Математика • Создай свою

[Назад][Обновить тред][Вниз][Каталог] [ Автообновление ] 50 | 3 | 22
Назад Вниз Каталог Обновить

Аноним 04/11/16 Птн 22:13:51  139330409  
5765477.jpg (85Кб, 1668x446)
Бля, захотел поучить джаву и сразу обосрался. Хули тут не так? Все переписано с урока 1 в 1. Почему ошибка? Объясните дураку
Аноним 04/11/16 Птн 22:17:28  139330666
>>139330409 (OP)
Пакет укажи. Классы существуют в пакетах.
Аноним 04/11/16 Птн 22:17:56  139330705
>>139330409 (OP)
Название файла должно совпадать с именем публичного класса.

Переименуй файл hello.java в HelloWorld.java
Аноним 04/11/16 Птн 22:18:52  139330774
>>139330666
Не обязательно.
Аноним 04/11/16 Птн 22:26:21  139331364
>>139330409 (OP)
Один из самых ебанутых языков

Вообще хз, почему он стал так популярен
Аноним 04/11/16 Птн 22:27:01  139331415
>>139331364
Почему ебанутых?
Аноним 04/11/16 Птн 22:34:46  139331996
Java это про то как написать 100 строк кода за день, которые нихуя не делают и получить 10к рублей.
Любой другой популярный язык - про то как решить задачу.
Аноним 04/11/16 Птн 22:37:48  139332236
>>139331996
Что тогда? Шарп?
Аноним 04/11/16 Птн 22:38:20  139332276
>>139330409 (OP)
Переходи на плюсы, у нас нет такого говна как в яве.
Аноним 04/11/16 Птн 22:41:09  139332516
>>139332276
Не хочу ебаться с утекающей памятью и указателями на указатели на указатели на массивы указателей.
Аноним 04/11/16 Птн 22:46:14  139332948
>>139330409 (OP)
Учи Rust
Аноним 04/11/16 Птн 22:46:20  139332956
8595.jpg (105Кб, 1672x496)
>>139330705
Вот так? Не помогло, все равно ошибка
Аноним 04/11/16 Птн 22:47:18  139333029
>>139332956
Вон ссылка Setup SDK. Ало.
Аноним 04/11/16 Птн 22:48:05  139333102
>>139330409 (OP)
>>139330666
>>139330705
Вы че, совсем тупые?
Аноним 04/11/16 Птн 22:48:37  139333141
>>139330409 (OP)
SDK скачай, поехавший.
Хотя какая тебе джава, если ты читать не умеешь. Забудь, не взлетит.
Аноним 04/11/16 Птн 22:49:29  139333210
Написано же епт, что SDK не указан.
Зайди в настройки проекта и пропиши.
быть программистом - не твоё
Аноним 04/11/16 Птн 22:51:12  139333362
>>139330409 (OP)
В настройках путь к сдк укажи, дурень.
Аноним 04/11/16 Птн 22:51:23  139333378
>>139330409 (OP)
Решу эту задачу за 200 руб, обращайтесь
Аноним 04/11/16 Птн 22:52:32  139333472
>>139332276
Ага.
Как насчет пакетного менеджера? ENJOY YOUR MAKEFILE.
Аноним 04/11/16 Птн 22:53:42  139333584
>>139330409 (OP)
Если смотреть в корень, ошибка в использовании IDE вместо блокнота и консольного компилятора. Эти штуки - для сверхсложных проектов и понтов.
Аноним 04/11/16 Птн 22:54:56  139333686
>>139330409 (OP)
Project sdk not defined.
идешь в настройки проекта, ставишь чему равно jdk.
Аноним 04/11/16 Птн 22:55:19  139333720
>>139331996
> Java это про то как написать 100 строк кода за день, которые нихуя не делают
Чем подкрепишь свои слова?
Аноним 04/11/16 Птн 22:55:39  139333744
>>139330409 (OP)
>>139333362
Ор выше гор
Аноним 04/11/16 Птн 22:57:01  139333865
>>139333472
> ЯП
> пакетный менеджер
Вы там совсем ебнулись?
Аноним 04/11/16 Птн 22:58:06  139333949
>>139333865
>рассматривать язык программирования отдельно от инфраструктуры
Ну, если писать Хеллоуворлды и калькуляторы на уроках информатики, то да, на весь сопутствующий обвес языка можно не обращать внимания.
Аноним 04/11/16 Птн 22:59:07  139334034
>>139333949
Вебмакака незаметна. Ты вообще в курсе, что пакетами должны управлять пакетные менеджеры из оси?
Аноним 04/11/16 Птн 22:59:45  139334086
>>139334034
должны лично тебе?
Аноним 04/11/16 Птн 23:02:01  139334278
>>139334034
А ты у нас, видимо, embedded ninja. Мань, если ты знаешь, как на языке написать КУРКУЛЯТОР, это не значит, что ты знаешь язык.
Аноним 04/11/16 Птн 23:18:50  139335734
Приложение не запускается
@
На компе нет даже jre
@
Я не тупой, это язык кривой
Аноним 04/11/16 Птн 23:18:59  139335746
>>139332516
>Не хочу ебаться с утекающей памятью и указателями на указатели на указатели на массивы указателей.
За то яву заебешься чистить от мусора.
Не почистишь разок - гроб, гроб, кладбище, пидор!
Аноним 04/11/16 Птн 23:20:08  139335848
>>139335746
што ты там чистить собрался?
Аноним 04/11/16 Птн 23:21:15  139335946
>>139335848
Будет System.gc() вызывать, лол.
Аноним 04/11/16 Птн 23:24:52  139336299
>>139332276
Открою секрет. Плюсы в энтерпрайзе нахуй не нужны. Совсем.
А энтерпрайз это то за что платят деньги.
Аноним 04/11/16 Птн 23:26:10  139336409
>>139332516
Ты забыл про темплэйты. Вот уж где самый пиздец скрывается.
Аноним 04/11/16 Птн 23:27:54  139336580
>>139336299
Скажи это моему начальнику, лол. Он хочет дохуя суперпроизводительный сервер на плюсах и сейчас ищет под это человека. Я ему говорю, что это не взлетит, но он мне не верит. Правда, это говностартап и все равно не взлетит, но я хотя бы пытаюсь сделать так, чтобы он сам не вбивал гвоздь в гроб проекта.
Аноним 04/11/16 Птн 23:28:44  139336671
>>139336580
а деньги когда закончатся?
Аноним 04/11/16 Птн 23:30:00  139336780
>>139336409
In file included from /usr/include/c++/4.6/algorithm:63:0,
from error_code.cpp:2:
/usr/include/c++/4.6/bits/stl_algo.h: In function ‘_RandomAccessIterator std::__find(_RandomAccessIterator, _RandomAccessIterator, const _Tp&, std::random_access_iterator_tag) [with _RandomAccessIterator = __gnu_cxx::__normal_iterator, std::vector > >, _Tp = int]’:
/usr/include/c++/4.6/bits/stl_algo.h:4403:45: instantiated from ‘_IIter std::find(_IIter, _IIter, const _Tp&) [with _IIter = __gnu_cxx::__normal_iterator
, std::vector > >, _Tp = int]’
error_code.cpp:8:89: instantiated from here
/usr/include/c++/4.6/bits/stl_algo.h:162:4: error: no match for ‘operator==’ in ‘__first.__gnu_cxx::__normal_iterator::operator [with _Iterator = std::vector, _Container = std::vector >, __gnu_cxx::__normal_iterator::reference = std::vector&]() == __val’
/usr/include/c++/4.6/bits/stl_algo.h:162:4: note: candidates are:
/usr/include/c++/4.6/bits/stl_pair.h:201:5: note: template bool std::operator==(const std::pair&, const std::pair&)
/usr/include/c++/4.6/bits/stl_iterator.h:285:5: note: template bool std::operator==(const std::reverse_iterator&, const std::reverse_iterator&)
/usr/include/c++/4.6/bits/stl_iterator.h:335:5: note: template bool std::operator==(const std::reverse_iterator&, const std::reverse_iterator&)
/usr/include/c++/4.6/bits/allocator.h:122:5: note: template bool std::operator==(const std::allocator&, const std::allocator&)
/usr/include/c++/4.6/bits/allocator.h:127:5: note: template bool std::operator==(const std::allocator&, const std::allocator&)
/usr/include/c++/4.6/bits/stl_vector.h:1273:5: note: template bool std::operator==(const std::vector&, const std::vector&)
/usr/include/c++/4.6/ext/new_allocator.h:123:5: note: template bool __gnu_cxx::operator==(const __gnu_cxx::new_allocator&, const __gnu_cxx::new_allocator&)
/usr/include/c++/4.6/bits/stl_iterator.h:805:5: note: template bool __gnu_cxx::operator==(const __gnu_cxx::__normal_iterator&, const __gnu_cxx::__normal_iterator&)
/usr/include/c++/4.6/bits/stl_iterator.h:799:5: note: template bool __gnu_cxx::operator==(const __gnu_cxx::__normal_iterator&, const __gnu_cxx::__normal_iterator&)
/usr/include/c++/4.6/bits/stl_algo.h:4403:45: instantiated from ‘_IIter std::find(_IIter, _IIter, const _Tp&) [with _IIter = __gnu_cxx::__normal_iterator, std::vector > >, _Tp = int]’
error_code.cpp:8:89: instantiated from here
/usr/include/c++/4.6/bits/stl_algo.h:166:4: error: no match for ‘operator==’ in ‘__first.__gnu_cxx::__normal_iterator::operator
[with _Iterator = std::vector, _Container = std::vector >, __gnu_cxx::__normal_iterator::reference = std::vector&]() == __val’
/usr/include/c++/4.6/bits/stl_algo.h:166:4: note: candidates are:
/usr/include/c++/4.6/bits/stl_pair.h:201:5: note: template bool std::operator==(const std::pair&, const std::pair&)
/usr/include/c++/4.6/bits/stl_iterator.h:285:5: note: template bool std::operator==(const std::reverse_iterator&, const std::reverse_iterator&)
/usr/include/c++/4.6/bits/stl_iterator.h:335:5: note: template bool std::operator==(const std::reverse_iterator&, const std::reverse_iterator&)
/usr/include/c++/4.6/bits/allocator.h:122:5: note: template bool std::operator==(const std::allocator&, const std::allocator&)
/usr/include/c++/4.6/bits/allocator.h:127:5: note: template bool std::operator==(const std::allocator&, const std::allocator&)
/usr/include/c++/4.6/bits/stl_vector.h:1273:5: note: template bool std::operator==(const std::vector&, const std::vector&)
/usr/include/c++/4.6/ext/new_allocator.h:123:5: note: template bool __gnu_cxx::operator==(const __gnu_cxx::new_allocator&, const __gnu_cxx::new_allocator&)
/usr/include/c++/4.6/bits/stl_iterator.h:805:5: note: template bool __gnu_cxx::operator==(const __gnu_cxx::__normal_iterator&, const __gnu_cxx::__normal_iterator&)
/usr/include/c++/4.6/bits/stl_iterator.h:799:5: note: template bool __gnu_cxx::operator==(const __gnu_cxx::__normal_iterator&, const __gnu_cxx::__normal_iterator&)
/usr/include/c++/4.6/bits/stl_algo.h:170:4: error: no match for ‘operator==’ in ‘__first.__gnu_cxx::__normal_iterator::operator
[with _Iterator = std::vector, _Container = std::vector >, __gnu_cxx::__normal_iterator::reference = std::vector&]() == __val’
/usr/include/c++/4.6/bits/stl_algo.h:170:4: note: candidates are:
/usr/include/c++/4.6/bits/stl_pair.h:201:5: note: template bool std::operator==(const std::pair&, const std::pair&)
/usr/include/c++/4.6/bits/stl_iterator.h:285:5: note: template bool std::operator==(const std::reverse_iterator&, const std::reverse_iterator&)
/usr/include/c++/4.6/bits/stl_iterator.h:335:5: note: template bool std::operator==(const std::reverse_iterator&, const std::reverse_iterator&)
/usr/include/c++/4.6/bits/allocator.h:122:5: note: template bool std::operator==(const std::allocator&, const std::allocator&)
/usr/include/c++/4.6/bits/allocator.h:127:5: note: template bool std::operator==(const std::allocator&, const std::allocator&)
/usr/include/c++/4.6/bits/stl_vector.h:1273:5: note: template bool std::operator==(const std::vector&, const std::vector&)
/usr/include/c++/4.6/ext/new_allocator.h:123:5: note: template bool __gnu_cxx::operator==(const __gnu_cxx::new_allocator&, const __gnu_cxx::new_allocator&)
/usr/include/c++/4.6/bits/stl_iterator.h:805:5: note: template bool __gnu_cxx::operator==(const __gnu_cxx::__normal_iterator&, const __gnu_cxx::__normal_iterator&)
/usr/include/c++/4.6/bits/stl_iterator.h:799:5: note: template bool __gnu_cxx::operator==(const __gnu_cxx::__normal_iterator&, const __gnu_cxx::__normal_iterator&)
/usr/include/c++/4.6/bits/stl_algo.h:174:4: error: no match for ‘operator==’ in ‘__first.__gnu_cxx::__normal_iterator::operator
[with _Iterator = std::vector, _Container = std::vector >, __gnu_cxx::__normal_iterator::reference = std::vector&]() == __val’
/usr/include/c++/4.6/bits/stl_algo.h:174:4: note: candidates are:
/usr/include/c++/4.6/bits/stl_pair.h:201:5: note: template bool std::operator==(const std::pair&, const std::pair&)
/usr/include/c++/4.6/bits/stl_iterator.h:285:5: note: template bool std::operator==(const std::reverse_iterator&, const std::reverse_iterator&)
/usr/include/c++/4.6/bits/stl_iterator.h:335:5: note: template bool std::operator==(const std::reverse_iterator&, const std::reverse_iterator&)
/usr/include/c++/4.6/bits/allocator.h:122:5: note: template bool std::operator==(const std::allocator&, const std::allocator&)
/usr/include/c++/4.6/bits/allocator.h:127:5: note: template bool std::operator==(const std::allocator&, const std::allocator&)
/usr/include/c++/4.6/bits/stl_vector.h:1273:5: note: template bool std::operator==(const std::vector&, const std::vector&)
/usr/include/c++/4.6/ext/new_allocator.h:123:5: note: template bool __gnu_cxx::operator==(const __gnu_cxx::new_allocator&, const __gnu_cxx::new_allocator&)
/usr/include/c++/4.6/bits/stl_iterator.h:805:5: note: template bool __gnu_cxx::operator==(const __gnu_cxx::__normal_iterator&, const __gnu_cxx::__normal_iterator&)
/usr/include/c++/4.6/bits/stl_iterator.h:799:5: note: template bool __gnu_cxx::operator==(const __gnu_cxx::__normal_iterator&, const __gnu_cxx::__normal_iterator&)
/usr/include/c++/4.6/bits/stl_algo.h:182:4: error: no match for ‘operator==’ in ‘__first.__gnu_cxx::__normal_iterator::operator
[with _Iterator = std::vector, _Container = std::vector >, __gnu_cxx::__normal_iterator::reference = std::vector&]() == __val’
/usr/include/c++/4.6/bits/stl_algo.h:182:4: note: candidates are:
/usr/include/c++/4.6/bits/stl_pair.h:201:5: note: template bool std::operator==(const std::pair&, const std::pair&)
/usr/include/c++/4.6/bits/stl_iterator.h:285:5: note: template bool std::operator==(const std::reverse_iterator&, const std::reverse_iterator&)
/usr/include/c++/4.6/bits/stl_iterator.h:335:5: note: template bool std::operator==(const std::reverse_iterator&, const std::reverse_iterator&)
/usr/include/c++/4.6/bits/allocator.h:122:5: note: template bool std::operator==(const std::allocator&, const std::allocator&)
/usr/include/c++/4.6/bits/allocator.h:127:5: note: template bool std::operator==(const std::allocator&, const std::allocator&)
/usr/include/c++/4.6/bits/stl_vector.h:1273:5: note: template bool std::operator==(const std::vector&, const std::vector&)
/usr/include/c++/4.6/ext/new_allocator.h:123:5: note: template bool __gnu_cxx::operator==(const __gnu_cxx::new_allocator&, const __gnu_cxx::new_allocator&)
/usr/include/c++/4.6/bits/stl_iterator.h:805:5: note: template bool __gnu_cxx::operator==(const __gnu_cxx::__normal_iterator&, const __gnu_cxx::__normal_iterator&)
/usr/include/c++/4.6/bits/stl_iterator.h:799:5: note: template bool __gnu_cxx::operator==(const __gnu_cxx::__normal_iterator&, const __gnu_cxx::__normal_iterator&)
/usr/include/c++/4.6/bits/stl_algo.h:186:4: error: no match for ‘operator==’ in ‘__first.__gnu_cxx::__normal_iterator::operator
[with _Iterator = std::vector, _Container = std::vector >, __gnu_cxx::__normal_iterator::reference = std::vector&]() == __val’
/usr/include/c++/4.6/bits/stl_algo.h:186:4: note: candidates are:
/usr/include/c++/4.6/bits/stl_pair.h:201:5: note: template bool std::operator==(const std::pair&, const std::pair&)
/usr/include/c++/4.6/bits/stl_iterator.h:285:5: note: template bool std::operator==(const std::reverse_iterator&, const std::reverse_iterator&)
/usr/include/c++/4.6/bits/stl_iterator.h:335:5: note: template bool std::operator==(const std::reverse_iterator&, const std::reverse_iterator&)
/usr/include/c++/4.6/bits/allocator.h:122:5: note: template bool std::operator==(const std::allocator&, const std::allocator&)
/usr/include/c++/4.6/bits/allocator.h:127:5: note: template bool std::operator==(const std::allocator&, const std::allocator&)
/usr/include/c++/4.6/bits/stl_vector.h:1273:5: note: template bool std::operator==(const std::vector&, const std::vector&)
/usr/include/c++/4.6/ext/new_allocator.h:123:5: note: template bool __gnu_cxx::operator==(const __gnu_cxx::new_allocator&, const __gnu_cxx::new_allocator&)
/usr/include/c++/4.6/bits/stl_iterator.h:805:5: note: template bool __gnu_cxx::operator==(const __gnu_cxx::__normal_iterator&, const __gnu_cxx::__normal_iterator&)
/usr/include/c++/4.6/bits/stl_iterator.h:799:5: note: template bool __gnu_cxx::operator==(const __gnu_cxx::__normal_iterator&, const __gnu_cxx::__normal_iterator&)
/usr/include/c++/4.6/bits/stl_algo.h:190:4: error: no match for ‘operator==’ in ‘__first.__gnu_cxx::__normal_iterator::operator
[with _Iterator = std::vector*, _Container = std::vector >, __gnu_cxx::__normal_iterator::reference = std::vector&]() == __val’
/usr/include/c++/4.6/bits/stl_algo.h:190:4: note: candidates are:
/usr/include/c++/4.6/bits/stl_pair.h:201:5: note: template bool std::operator==(const std::pair&, const std::pair&)
/usr/include/c++/4.6/bits/stl_iterator.h:285:5: note: template bool std::operator==(const std::reverse_iterator&, const std::reverse_iterator&)
/usr/include/c++/4.6/bits/stl_iterator.h:335:5: note: template bool std::operator==(const std::reverse_iterator&, const std::reverse_iterator&)
/usr/include/c++/4.6/bits/allocator.h:122:5: note: template bool std::operator==(const std::allocator&, const std::allocator&)
/usr/include/c++/4.6/bits/allocator.h:127:5: note: template bool std::operator==(const std::allocator&, const std::allocator&)
/usr/include/c++/4.6/bits/stl_vector.h:1273:5: note: template bool std::operator==(const std::vector&, const std::vector&)
/usr/include/c++/4.6/ext/new_allocator.h:123:5: note: template bool __gnu_cxx::operator==(const __gnu_cxx::new_allocator&, const __gnu_cxx::new_allocator&)
/usr/include/c++/4.6/bits/stl_iterator.h:805:5: note: template bool __gnu_cxx::operator==(const __gnu_cxx::__normal_iterator&, const __gnu_cxx::__normal_iterator&)
/usr/include/c++/4.6/bits/stl_iterator.h:799:5: note: template bool __gnu_cxx::operator==(const __gnu_cxx::__normal_iterator&, const __gnu_cxx::__normal_iterator&)
Аноним 04/11/16 Птн 23:30:28  139336834
>>139336780
Чет проиграл
Аноним 04/11/16 Птн 23:30:33  139336840
>>139336671
Тогда я найду другое место работы.
Аноним 04/11/16 Птн 23:30:53  139336877
>>139336671
А насчет срока - хуй знает, пока вроде кто-то даже проинвестировал нас.
Аноним 04/11/16 Птн 23:31:57  139336991
>>139336877
ну тогда развлекайтесь. а зачем один очень производительный сервер, если можно 10 не таких производительных? все равно бесконечно в одну машину впихивтаь не получится.
Аноним 04/11/16 Птн 23:34:36  139337255
>>139336991
>один очень производительный сервер
Чтобы когда он падает, всё нахуй слетало.
Аноним 04/11/16 Птн 23:36:03  139337399
>>139336991
Да хуй его знает. Мне вообще кажется, что начальник, честно говоря, слабо представляет, как это вообще должно в итоге работать. Он хуярил раньше вроде какие-то встроенные системы, то есть это С и все такое. Так поначалу, когда мы пилили сервер для прототипа, он дал мне указание запилить его на С. Я ему сразу сказал, что получится залупа, он сказал, мол, давай сначала проверим. Ну через несколько дней ебания когда он спросил, мол, как продвигается, я ему объяснил, что я заебался malloc-ом туда-сюда хуярить строки и для каждой простой вещи искать ебаную библиотеку, он призадумался и сказал "так и быть, пили на чем хочешь", главное, чтобы быстро работало.
Аноним 04/11/16 Птн 23:37:11  139337517
>>139337399
какая область вообще?
Аноним 04/11/16 Птн 23:38:49  139337696
>>139337517
В подробностях сказать не могу, но примерно - почти реалтайм(на самом деле, должно быть реалтайм, но какой реалтайм, когда у тебя на руках Андроид с мобильным интернетом) обмен геолокацией между мобильниками для кое-каких вещей.
Аноним 04/11/16 Птн 23:40:26  139337882
>>139337696
>для кое-каких вещей
мобильные приложения для гомиков?
Аноним 04/11/16 Птн 23:41:25  139337978
>>139337882
Именно, реалтайм поиск гомосексуалистов рядом с тобой. При помощи акселерометра определяем количество фрикций до эуякуляции и рекомендуем самых стойких. Обязательно дам тебе знать, когда зарелизим, я уверен, тебе оно нужно.
Аноним 04/11/16 Птн 23:47:03  139338555
>>139332956
HelloWorld.java
Расширение забыл
Аноним 05/11/16 Суб 00:11:25  139341047
>>139337978
Хм, а ведь интересная идея.
Аноним 05/11/16 Суб 00:11:55  139341084
>>139330409 (OP) хуле ты вкатываешся в эту залупу? Что ты собираешся делать с этим языком? Он не нужен совершенно. JS осваивай. Сейчас на нём можно делать всё: десктоп, серверы, приложения для браузера, интерфейсы и даже графиний.
Аноним 05/11/16 Суб 01:09:20  139345222
14577169554320.jpg (34Кб, 540x527)

[Назад][Обновить тред][Вверх][Каталог] [Реквест разбана] [Подписаться на тред] [ ] 50 | 3 | 22
Назад Вверх Каталог Обновить

Топ тредов
Избранное