[ cyb / tech / λ / layer ] [ zzz / drg / lit / diy / art ] [ w / rpg / r ] [ q ] [ / ] [ popular / ???? / rules / radio / $$ / news ] [ volafile / uboa / sushi / LainTV / lewd ]

λ - programming

/lam/bda /lam/bda duck
Name
Email
Subject
Comment
File
Password (For file deletion.)

BUY LAINCHAN STICKERS HERE

STREAM » LainTV « STREAM

[Return][Go to bottom]

File: 1445922290982.jpg (5.81 KB, 250x250, 1432963000851.jpg) ImgOps Exif iqdb

 No.11025

Didn't see a C++ thread, so thought I'd start one.

What's λ working on?
>>

 No.11026

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.

>>

 No.11047

I need to learn C++ in a week. any tips?

I already know C.

>>

 No.11051

>>11025
Porting Android userspace to NetBSD.

>>

 No.11072

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

>>

 No.11330

I'm only beginning to pick up C++, but I wish to do some hardware nitty gritty and create an automated hydroponic greenhouse design.

>>

 No.11332

Any tips about making an IDE from Emacs?

>>11051
Kek.

>>

 No.11343


>>

 No.11378

>>11343
Yep, thanks.

>>

 No.11383

I am making a nethack-like game.

>>

 No.11386

>>11383
Always a market for creative roguelikes!

What makes it different from Nethack?
Are you looking for contributors?

>>

 No.11389

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?

>>

 No.11391

>>11389
Learn Smalltalk if you want to understand OOP.

>>

 No.11393

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

>>

 No.11397

>>11389
>>11393
What's a good book on Smalltalk, with an emphasis on OOP?

>>

 No.11459

>>11397
I'd be interested in a good book myself. IIRC smalltalk is more about the dev env (Pharo) than just objects, though.

>>

 No.11463

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

>>

 No.11466

>>11389
Scott Meyers' books: Effective C++, More Effective C++, Effective STL, Modern Effective C++.

>>

 No.11514

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

>>

 No.11629

File: 1446871295532.webm (3.52 MB, 640x360, cell.webm) ImgOps iqdb

What do you guys recommend for learning C++?

>>

 No.11630

File: 1446872106726.jpg (417.76 KB, 1600x900, 1445276930660.jpg) ImgOps Exif iqdb

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

>>

 No.11632

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

>>

 No.12079

>>11632
These are great recommendations, any others?

>>

 No.12090

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



Delete Post [ ]
[ cyb / tech / λ / layer ] [ zzz / drg / lit / diy / art ] [ w / rpg / r ] [ q ] [ / ] [ popular / ???? / rules / radio / $$ / news ] [ volafile / uboa / sushi / LainTV / lewd ]