[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
Simple Projects for Practice
Images are sometimes not shown due to bandwidth/network limitations. Refreshing the page usually helps.

You are currently reading a thread in /sci/ - Science & Math

Thread replies: 13
Thread images: 2
File: bjarne2.jpg (25 KB, 293x324) Image search: [Google]
bjarne2.jpg
25 KB, 293x324
I just got done with learning C++ this past semester, but I'd like to get better at coding by practicing. It's just that I don't have any inspiration.

What are some simple project ideas I could work on?

PS: No "Project Euler" stuff. That's good practice, but it's useless once I'm done with it.
>>
>>8102603
icpc style competitive programming
>>
>>8102603
Read a book on data structures and basic algorithms and practice by implementing what you learn.
>>
File: 1454799013883.jpg (179 KB, 973x746) Image search: [Google]
1454799013883.jpg
179 KB, 973x746
>>8102603
Easy:
Sudoku solver (recursion)
Maze generators/solvers (trees, graphs)
Simple phone app ($)

Medium:
Virtual machine (architecture)
TCP/IP (networking)
GPU programming (parallel computing)

Harder:
Assembler (regular expressions, grammars)
Raster graphics library (linear algebra)
OS (Read Lion's Commentary on Unix)

Bjarne Soursoup:
Compiler
>>
freedee bideo game

i haven't programmed much, for the same reason you described, there isn't much a beginner can make that isn't redundant

fucking around with UE4 can be neat... even a noob like me can develop some novel 'mechanics' with help from google
>>
>>8102641
>assembler
Uh, do you mean compiler? Assemblers don't use regular expressions and grammars.
>>
>>8102759
Shit I thought he meant interpreter
>>
>>8102786
>>8102759
Assemblers, compilers, and interpreters alike use grammars to codify their behavior.
>>
>>8102914
Not the original posters, but I would think an assembler in practice doesn't use a grammar, as it maps directly between ASCII opcodes and their binary equivalents. There is no need for a true "parsing" stage like in a compiler
>>
>>8102603
>I just got done with learning C++
hahaha...
>>
>>8102942
Not an expert and also a different poster, but assemblers CAN have a small amount of grammar complexity if desired. Hell, Microshaft's CIL almost looks like a language to me. Additionally, a compiler for a sufficiently simple language may have as simple as parser as you suggest. Especially simple cross-compilers. Which is why I find it strange that earlier anon put compiler so far down the list - creating a compiler isn't hard unless you're trying to compete.

Someone more versed in compilers may argue I'm using terminology incorrectly.
>>
>>8102786
Yeah, this would work too, its the same
>>
>>8102624
Excellent advice.
Thread replies: 13
Thread images: 2

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.