lainchan / λ
C++
R0gU3 · 2015-10-27 05:04
Didn't see a C++ thread, so thought I'd start one.
What's λ working on?
R0gU3 · 2015-10-27 05:07
I'm currently trying to make a simple program that allows me to make some simple conversations and execute programs. Just my own personal digital assistant.
Anonymous · 2015-10-27 18:15
I need to learn C++ in a week. any tips?
I already know C.
Anonymous · 2015-10-27 19:02
>>11025
Porting Android userspace to NetBSD.
Anonymous · 2015-10-28 02:44
>>11047
The most concise book I know on the subject is Accelerated C++. It's ordered in a reference-like manner, so you can start reading at any chapter. Also try to your best to differentiate between C++ and C; what's good for one isn't necessarily good for the other. Another quick thing: don't get too caught up in the panic associated with trying to stay up to date with the latest C++ standard. These newer versions provide optional features that are just that: features, and nothing more.
Anonymous · 2015-11-02 06:55
I'm only beginning to pick up C++, but I wish to do some hardware nitty gritty and create an automated hydroponic greenhouse design.
Anonymous · 2015-11-02 07:09
Any tips about making an IDE from Emacs?
>>11051
Kek.
Anonymous · 2015-11-02 13:06
>>11332
Something like this?
https://www.youtube.com/watch?v=5FQwQ0QWBTU
Anonymous · 2015-11-02 22:30
>>11343
Yep, thanks.
Anonymous · 2015-11-03 01:33
I am making a nethack-like game.
Anonymous · 2015-11-03 03:29
>>11383
Always a market for creative roguelikes!
What makes it different from Nethack?
Are you looking for contributors?
Anonymous · 2015-11-03 05:06
I'm learning C++ in college, it's my first object-oriented programming language and I'm hating the syntaxis right now. My last project was ask for a phrase and put it backwards. I know, it's basic stuff but I want to learn it well. Any advice for a newbie?
Anonymous · 2015-11-03 07:34
>>11389
Learn Smalltalk if you want to understand OOP.
Anonymous · 2015-11-03 08:16
>>11389
Using OOP for something like that would only be a burden.
I agree with >>11391 but it might be difficult to transfer the knowledge of Smalltalk OOP to C++. The Smalltalk object model is arguably THE original OOP, and as such is simpler and "purer". Whilst C++, Java, PHP and others are newer languages that implement a rather degenerate form of the original idea. A modern language that is a bit closer to Smalltalk is Ruby or Objective-C, for instance.
Anonymous · 2015-11-03 11:03
>>11389
>>11393
What's a good book on Smalltalk, with an emphasis on OOP?
Anonymous · 2015-11-04 15:07
>>11397
I'd be interested in a good book myself. IIRC smalltalk is more about the dev env (Pharo) than just objects, though.
Anonymous · 2015-11-04 16:40
>>11389
in a similar boat only I'm learning java as my first language ever, I seem to be picking it up quicker than most of the rest of the class but I don't get much time to practice it on my own thanks to all my other assignments. I'm planning on teaching myself as much as possible about building gui over christmas so I don't need to be stuck in console or using the soykaf tier text interface class they've given us to use that is broken.
Anonymous · 2015-11-04 17:12
>>11389
Scott Meyers' books: Effective C++, More Effective C++, Effective STL, Modern Effective C++.
Anonymous · 2015-11-05 02:48
>>11386
Well, I am not relying totally on random generation, and it is going to be a survival horror game. Check out my github (https://github.com/doopm8), I might post it there some day.
Anonymous · 2015-11-07 04:41
What do you guys recommend for learning C++?
Anonymous · 2015-11-07 04:55
>>11629
Specifically, to be self taught?
Basically, I have about 8 months to learn it. I want to become as good as I possibly can in that time.
Anonymous · 2015-11-07 05:39
>>11630
Write *big* projects.
For eights months, I would advise these fews :
-If you're not already fluent in data structures, implementation of all most current data structures : lists, heap, red-black tree, hash table...
-Snake game you feed a .so shared library. This library will provide all the graphics functions for rendering the game. So, with the same binary, you can have different graphics using different library. Do at least 3 library, one rendering a 2D game with SFML, one rendering a 3D game with OpenGL.
-FTP server
-IRC client/server. Any client must connect on your server. Your client must connect on any server.
-Survival game where AIs scavenge for food in a 2D space. Train AI with a neural network and a genetic algorithm (doesn't need too much maths).
Anonymous · 2015-11-17 19:29
>>11632
These are great recommendations, any others?
Anonymous · 2015-11-18 08:32
Some C++ resources here, for a whole advanced course, not meant to be a first programming course
http://webapps.cse.unsw.edu.au/webcms2/course/index.php?cid=2416
Click tutorials and lectures.
I havent done it yet but typically these resources are very good. Solutions are locked though...