[Boards: 3 / a / aco / adv / an / asp / b / biz / c / cgl / ck / cm / co / d / diy / e / fa / fit / g / gd / gif / h / hc / his / hm / hr / i / ic / int / jp / k / lgbt / lit / m / mlp / mu / n / news / o / out / p / po / pol / qa / r / r9k / s / s4s / sci / soc / sp / t / tg / toy / trash / trv / tv / u / v / vg / vp / vr / w / wg / wsg / wsr / x / y ] [Home]
4chanarchives logo
Java
Images are sometimes not shown due to bandwidth/network limitations. Refreshing the page usually helps.

You are currently reading a thread in /g/ - Technology

Thread replies: 25
Thread images: 4
File: help.jpg (129 KB, 1056x618) Image search: [Google]
help.jpg
129 KB, 1056x618
Please help me I don't know what is wrong but it doestn't run :,(
>>
Post your compile errors
>>
else {con = 4}
something = something;
}

Wrong brackets for you else statement.
>>
>>51592806

Wait, no I miss-read that. It is right.
>>
>>51592642
delete all and learn C
>>
> non-english variable names
> variables with "1", "2"...

Kill yourself
>>
>String[]Args

It's (String[] args)
>>
>>51592642
Not everyone has the natural talent required for programming. Maybe you should try something else.
>>
Es recomendable que tus variables no inicien con mayúscula
>>
>>51592642
Install Gentoo
>>
File: 1376048494675.png (334 KB, 551x550) Image search: [Google]
1376048494675.png
334 KB, 551x550
}else{
>>
>>51592873
;delete all and learn assembly language

mov ah,9
lea dx, lol
int 21h
>>
File: jessica__27_.jpg (1 MB, 1148x1500) Image search: [Google]
jessica__27_.jpg
1 MB, 1148x1500
I don't speak taco

Trump needs to hurry up with this wall
>>
>>51592950
It's just discipline :)
>>
What's wrong is that you're an idiot.

>>51592991
}else{ is the master race.
>>
>>51592888
It doesn't matter what you name your parameter.
>>
>>51592642
>using java

>>51592994
no. OP should learn C and then maybe move on to assembly.
>>
Use textpad not eclipse first, to master dicipline from your sensei
>>
>>51592642
That is the ugliest piece of code ever seen.
Also, use fucking english when naming stuff
>>
>>51592642
i'm a java noob, just like you. Thank you for the practice.
It compiles and runs ok. I added a System.out.println() in the first line after the while starting at line 6 and what's happening it's that the loop never ends. I added another System.out.println after the if at line 32 and what i saw is that the line containing:
ContarRespuestas = ContarRespuestas + 1;
is never reached, and that's why it's an infinite loop.
>>
>>51593012
The space matters though
>>
File: 1437180581165.jpg (78 KB, 500x500) Image search: [Google]
1437180581165.jpg
78 KB, 500x500
>>51592998
>Not speaking both languages because you can
Asqueroso.
>>
>>51593560
Thats what you get for using while loops instead of for loops
>>
This code is gross.

Mods should ban you for this.

Reported
>>
wtf am I reading.
Learn to write a if/elseif/else first
Thread replies: 25
Thread images: 4

banner
banner
[Boards: 3 / a / aco / adv / an / asp / b / biz / c / cgl / ck / cm / co / d / diy / e / fa / fit / g / gd / gif / h / hc / his / hm / hr / i / ic / int / jp / k / lgbt / lit / m / mlp / mu / n / news / o / out / p / po / pol / qa / r / r9k / s / s4s / sci / soc / sp / t / tg / toy / trash / trv / tv / u / v / vg / vp / vr / w / wg / wsg / wsr / x / y] [Home]

All trademarks and copyrights on this page are owned by their respective parties. Images uploaded are the responsibility of the Poster. Comments are owned by the Poster.
If a post contains personal/copyrighted/illegal content you can contact me at [email protected] with that post and thread number and it will be removed as soon as possible.
DMCA Content Takedown via dmca.com
All images are hosted on imgur.com, send takedown notices to them.
This is a 4chan archive - all of the content originated from them. If you need IP information for a Poster - you need to contact them. This website shows only archived content.