[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
I've read entire programming books but have hardly touched
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: 23
Thread images: 4
File: 1443386627880.jpg (709 KB, 666x999) Image search: [Google]
1443386627880.jpg
709 KB, 666x999
I've read entire programming books but have hardly touched my keyboard in the process. Can you /g/entlemen give me a good challenge to finally get my hands dirty?
>>
Install gentoo
>>
>>52035328
read them again, but when the author says something along the lines of 'make sure you do the examples as you read this book', take that advice
>>
>>52035341
/thread
>>
>not programming while reading those books

bruh, that's like learning to ride a bike for the first time just by reading
>>
>>52035341
This desu senpai.
>>
>>52035328
print a Christmas tree made of asterisks

solve simple substitution ciphers

play a 440hz sine wave

then once you can do that maybe write a MOD player
>>
You're supposed to program as you go and do the practice programs you idiot.

LOL
>>
File: 1407338769436.png (302 KB, 1920x1080) Image search: [Google]
1407338769436.png
302 KB, 1920x1080
>>52035328
Pick an easy language like C++, Java, Python, Javascript, whatever. Complete one or more of pic related. Most/all have solutions on the web so if you get stuck it's easy to check your work.
>>
File: 1394487754821.jpg (331 KB, 1261x1000) Image search: [Google]
1394487754821.jpg
331 KB, 1261x1000
>>52035478
>>
>>52035328
try the Stockfighter game
>>
>>52035440
That Christmas tree one is a really good idea. We had a contest where you write a tree that takes branch-height as a parameter with an implicit default of 7, and also has a two symbol trunk. Code Golf, so the smallest answer won.

Here's one answer of a few:

#!/usr/bin/python2.7
import sys
r=len(sys.argv)>1and int(sys.argv[1])or 7
for i in range(r):print" "*(r-i)+"*"*(2*i+1)
print(" "*r+"|\n")*2
>>
>>52035478
rolling
>>
>>52035494
Rolling
>>
>>52035352
This. OP is a faggot.
>>
>>52035328
Try some problems on ProjectEuler.net
>>
Thanks guys, those are some interesting projects! Will post results in due time when I have them ;)
>>
make a Tetris clone
>>
File: 2057.png (275 KB, 1920x1080) Image search: [Google]
2057.png
275 KB, 1920x1080
theres also this one
>>
>>52035953
not op, but how do you submit answers? all i get is the problem
>>
>>52036790
You need to make an account
>>
I'm so going for Stockfighter as soon as I've done some progChallenges! :D
>>
>>52037588
StockFighter doesn't teach shit about programming. Though it is kind of fun
Thread replies: 23
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.