[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]

>recommended this book to start learning C >confused when

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: 33
Thread images: 7

File: 1468966905820.png (107KB, 792x1023px) Image search: [Google]
1468966905820.png
107KB, 792x1023px
>recommended this book to start learning C
>confused when i'm given warnings on compile
>learn it uses a different syntax than what's accepted now

how am i supposed to use this fucking book if the syntax is all wrong?
>>
Dude I'm falling for the bait .... It's just a meme try some deitel
>>
>>58237826
>how am i supposed to use this fucking book if the syntax is all wrong?

gcc -ansi
>>
Buy C Programming: A Modern Approach instead.
>>
>>58237826
Easy bro just throw it in the garbage and use Python, just werks.
>>
>>58237826
Which examples are give you warnings? Are you sure you have the second edition and not the first?
>>
Just use JS and some hipster new framework that bloats the entire website so you need an i7 to display it in less than an hour.
>>
it's not an absolute beginner's book
people fail to mention that often
>>
File: S A V A G E.jpg (188KB, 600x400px) Image search: [Google]
S A V A G E.jpg
188KB, 600x400px
Terry told me to just learn C
>>
When i was learning java,i was impressed by easy to use.I'm so stupid that i engaged in learning C language seriously.
>>
File: 1478445234.jpg (12KB, 258x245px) Image search: [Google]
1478445234.jpg
12KB, 258x245px
>>58237930
>Python
>>
K&R is an intermediate programming book
>>
>>58237912

I also recommend this book!
>>
>>58237942
the 2nd edition actually tells you to open your main function with just "main()"

it's not THAT hard to adapt yourself though, don't know why OP is bitching
>>
Try HolyC instead.
>>
File: Goodnight,_sweet_prince.png (56KB, 1170x604px) Image search: [Google]
Goodnight,_sweet_prince.png
56KB, 1170x604px
How about you stop trying to learn useless deprecated legacy crap and start learning a fast, modern, feature-complete programming language like Nim or Scala?
>>
File: rust.png (5KB, 144x144px) Image search: [Google]
rust.png
5KB, 144x144px
Don't learn C. C is the source of all our problems. Learn Rust instead.
http://www.redox-os.org/news/rust-is-softwares-salvation-17/
>>
>>58239154
But you can do that and it gives no compilation errors.
>>
nigger i fucking told you this books is a meme.

read C Primer Plus. Very detailed, easy to follow, and the code will actually compile.
>>
>>58239913
>no support for object-orientation
Nice meme.
>>
>>58239955
If by "object-orientation" you mean Java's shitty way of doing things, which is no first-class functions and literally everything is an object, then you're right, and that's a good thing.
Rust has the OOP capability of C++ without the garbage that comes along with it.
>>
>>58239973
Objective C :^)
>>
File: 81791.jpg (83KB, 600x400px) Image search: [Google]
81791.jpg
83KB, 600x400px
>>58239973

>Rust has the OOP capability of C++
>>
>>58239827
Assembly is up, C is down
it really makes you think

it is funny how there are hardly any meme languages on that list
>>
>>58238442
It's not an up to date book on C
people "fail" to mention that often
>>
>>58240100
I wouldn't mind if Kernighan made a C11 version of the book

but he is like 74 and his buddy is dead
>>
>>58240117
Hell no, let for once competent people do that. Just like a committee had to fix their buggy language.
>>
>>58240084
That list is based almost entirely on Google and youtube search results
>>
>>58239973
>java's way of doing things is shitty, despite being de facto industry standard and the reference for every object orientation implementation
>literally everything in java is an object, I have never heard of primitive data types
>first-class functions are a good thing, not a useless abstraction pushed by academia that utterly fails at representing business logic unlike classes
>Rust can do everything C++ does, except it doesn't because it doesn't support inheritance or polymorphism, also ignore the fact that Java can do everything the functional-programming meme can do through interfaces and anonymous functions
Hope you enjoyed having your ass handed to you.
>>
>>58239827
> Nim
No this is some rare meme.
>>
>>58240134
You can't fix what's initially broken.
Either C dies, or C stays.
>>
File: drake.png (328KB, 451x451px) Image search: [Google]
drake.png
328KB, 451x451px
>>58239913
>SJWzilla shit
>>
>>58237826
The syntax isn't "all wrong", that's why your compiler may produce a WARNING but not an ERROR.
Thread posts: 33
Thread images: 7


[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.