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

Conways game of life

This is a blue board which means that it's for everybody (Safe For Work content only). If you see any adult content, please report it.

Thread replies: 6
Thread images: 1

File: indeks.jpg (9KB, 245x206px) Image search: [Google]
indeks.jpg
9KB, 245x206px
So I have to code Conways game of life in C but I have no idea how to start, could you guys tell me what I need to do?
>>
>>240779
Pay attention in class?

They wouldn't set you an assignment without first telling you everything you need to know to do it.

(If this weren't an assignment, you'd be using a sensible language like C# or Python).
>>
>>240781
It's not like I sleep during classes, I realize I have to use arrays and custom functions I just don't know how should I use that. Our teacher just said that if we don't know what game of life is we should read about it on the internet. That's all he said.
>>
>>240783
>Our teacher just said that if we don't know what game of life is we should read about it on the internet.
So have you done that yet?
>>
>>240787
Yes I did, I know the rules, saw some examples. The problem is I don't know how to code it.
>>
>>240791
How can you not know how to code it?

If you know what's supposed to be happening, and can write out what's supposed to be happening, and you learned C in class, then you know how to code it.

Don't worry about premature optimisation, just implement the algorithm as described.

Go code it, and come back if you have a specific problem.
Thread posts: 6
Thread images: 1


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

I'm aware that Imgur.com will stop allowing adult images since 15th of May. I'm taking actions to backup as much data as possible.
Read more on this topic here - https://archived.moe/talk/thread/1694/


If you need a post removed click on it's [Report] button and follow the instruction.
DMCA Content Takedown via dmca.com
All images are hosted on imgur.com.
If you like this website please support us by donating with Bitcoins at 16mKtbZiwW52BLkibtCr8jUg2KVUMTxVQ5
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.
This is a 4chan archive - all of the content originated from that site.
This means that RandomArchive shows their content, archived.
If you need information for a Poster - contact them.