« first day (1848 days earlier)      last day (3106 days later) » 

Ell
11:03 AM
I did :(
 
it's not excessive, it's copious
 
11:15 AM
Wuß
 
Ell
Lol
I ain't a wuß
 
that's what they all say
 
Hello there! ^_^

I'm looking for a book or guide to learn C++ from a C background, any suggestions?
I prefer long and detailed books, updated with later standards if possible :)
like c++11/c++14
 
yeah
I suggest that you don't
 
don't what, learn it? xD
 
11:22 AM
don't learn it from a C background.
 
C background is not particularly interesting for learning modern C++
 
I mean I have a C background, I don't mean I want to start from that
sorry I wasn't clear enough XD
 
the C background has nothing valuable to offer in C++ really.
you will only fail to learn the language properly.
 
Then I shall learn it from scratch
 
@Puppy Void pointaaaaaaaaaaaaaaaaars!
 
11:23 AM
just forget everything you know about C and start again.
then you might stand a small chance of getting it correct
 
ok then, do you have a nice book in mind for me' :D
 
what am I, your mother?
 
I'm asking if you have ideas, well..
whatever..
 
4269
Q: The Definitive C++ Book Guide and List

grepsedawkThis question attempts to collect the few pearls among the dozens of bad C++ books that are published every year. Unlike many other programming languages, which are often picked up on the go from tutorials found on the Internet, few are able to quickly pick up C++ without studying a well-written...

 
11:24 AM
@Zorgatone C background is good, you have you been butt hurt enough already, broken before I gather? So your endurance for compiler errors have been built? Your patience trained?
 
oh look, top result, a stack overflow question and answer with a bunch of book recommendations on it.
 
I can do that, I was asking for particular comments about the book you have used
 
books are for wimps.
 
I'm coming from this linkhttp://stackoverflow.com/questions/388242/the-definitive-c-book-guide-and-li‌​st
 
I didn't use one
 
11:25 AM
@chmod666telkitty I'm tired of memory allocation and stuff like that :P
And I think I will need C++ someday :)
Ie. for making a complex game C isn't very good
 
@Zorgatone don't worry, you will still have plenty of chances finding memory leaks when you do C++
 
Sure I'll do. But at least I'll have classes xD
 
let me rephrase that for you
C isn't very good.
 
Did I say C is the best?
 
@Zorgatone they are private by default, sir
 
11:27 AM
no.
I merely noticed that you were unnecessarily specific.
 
I just thought that it could be a starting point for a language that started off from C, I could be wrong
Thanks however for pointing that out
 
C is little like any of its descendants.
they all realized that C is basically shit, and decided to at least attempt to make something not shit.
although in some cases like Java they basically just ended up making things even worse, somehow.
 
Ell
I'd say java us vetter than c
 
Anyway I'll see if I can choose a book, I'm not too sure I can just learn to code C++ the right way just with tutorials on internet etcetera...
 
nah
in C you may have to invent your own tools, but you can at least actually invent your own tools.
in Java you need tools but can't make them.
 
Ell
11:32 AM
@Zorgatone the best way to learn c++ is to find someone that already knows it and will put up with you
 
I'm afraid I don't know much people in general xD
 
you won't get very far with Internet tutorials, most of them are written by people who don't know C++ to begin with
 
I know that already. That's why I prefer books
 
they're not... really better.
 
But even those could be very poorly wrintten
ik
That's the main reason I came here asking
 
11:33 AM
I think that the simplest approach is to build something in C++, epically fail at it, and then ask questions about why it's so bad
 
I wasn't happy enough using google search only
That's the hard and probably best way, but I don't really love much big headaches
:)
 
it's not hard, it's easy as fuck
the Internet people do most of the work for you
you've just gotta make someshit and then let them tell you how to fix it
 
Ell
Yeah I agree with puppy
@Zorgatone start writing a text based chess game in c++
Now
 
I'm tempted to start a s
 
Ell
Do it ;)
 
11:38 AM
You just stealed the words out of my mind lol
I was thinking more like a roguelike
but I suck with good programming patterns
I was trying to keep it simple
 
who cares?
give it your best shot
 
I will
 
@Zorgatone write code, refactor, repeat.
 
I'll put on some good music in the background and see what I get
 
Ell
Failing is one of the best way to improve :P
 
11:39 AM
it's the only way to really improve
unless you're a genius like puppy
 
@Puppy and that's why you suck the most
 
I have MSVC and Mingw.
I'm thinking to use MinGW + makefile over MSVC, because I don't like much windows/microsoft in general.

Well I'll just start with some code and I will figure out later
 
@Abyx wow, that's some grade A bullshit right there
 
@Zorgatone Use MSVC.
 
11:42 AM
k
 
it's a piece of crap, but it's amazing how much worse the alternatives are.
 
@Zorgatone CMake is much better than makefies
 
lol
I need to learn that too
I'm used to have Makefile the old C way
:/
 
yeah, just use msvc, let it take care of most of that build shit for you
 
I'll see how it behaves with PDCurses
 
user1804599
11:46 AM
Use Ruby to generate a Ninja build file, then use Ninja to build.
 
I stopped reading after "use Ruby"
 
me too
 
user1804599
Or maybe Python 3.4 if you have that.
 
user1804599
Python 3.3 being laughable still lacked recursive globbing.
 
I think I'll just use MSVC
 
11:47 AM
@Abyx no, it isn't
Use waf
 
MSVC's language conformance to the latest standards isn't the greatest, but I doubt you're gonna give a shit about the edge cases of variadic templates just yet.
 
@набиячлэвэлиь github.com/waf-project/waf/blob/master/demos/c%2B%2B/wscript - it doesn't look good
@Puppy aren't they going to use Clang for frontend?
 
@Zorgatone personally I think linux is better for learning purposes, MSVC has additional no standard libraries
 
@Abyx They only do that for Android and iOS at the moment
 
11:50 AM
I've used linux too for some time
 
@Puppy oh I see
 
Then I wanted to test win10
 
@Zorgatone My sympathies.
 
nothing so great lolk
 
Win10 is alright
 
11:52 AM
Win10 is a fair bit better than Win8, but it's still no Win7.
 
I prefer unix-based OSs, then linux or even os x
 
LINUX Is Not UniX
 
unix-like*
 
user1804599
12:08 PM
I'm so confuzzled.
 
user1804599
My lexer works.
 
12:32 PM
That's good
 
@Elyse I am sure your test case must be incomplete then. :D
 
user1804599
Now I'm gonna try UTF8-CPP for the first time.
 
12:44 PM
I've found my first problem already lol
 
what is it?
 
user1804599
Ugh.
 
user1804599
Is it possible to make a lambda copyable?
 
user1804599
It only captures this.
 
12:53 PM
@Elyse the implementation-specific type associated with a lambda is copy-constructible.
 
user1804599
Not copy assignable.
 
user1804599
note: a lambda closure type has a deleted copy assignment operator
           boost::make_function_output_iterator([this] (char c) {
                                                     ^
 
user1804599
I'm passing the iterator to a function which copy-assigns it for some reason.
 
@Elyse wrap it it something which is copy-assignable
 
try just constructing a std::function from it
 
12:57 PM
I made a singleton Player class that inherits from Entity, but I can't access the properties of Entity beacause the Player constructor is private (ie. the only public method is the static Player& getPlayer())
 
user1804599
ugh
 
user1804599
stupid arbitrary limitations
 
user1804599
classic C++
 
I thought that lambdas were required to offer any of the special operations that their captures didn't restrict.
@Zorgatone Step 1: Don't make Singletons. Ever.
and secondly, I don't see how those two things are even remotely related.
 
lol ok
 
12:59 PM
there's no reason why a Singleton should not be able to access properties on the base class if appropriate.
 
I first tried without it, then I tried to refactor it with the singleton to see if I could
 
Xeo
Hitlerton
 
I shouldn't post code here, right?
 
you can post code on something like pastebin, coliru, or gist and then link to it
 
Xeo
You can, if you want to get flogged and stoned
 
user1804599
1:02 PM
Nice.
 
user1804599
void write(std::u32string const& data) {
  utf8::utf32to8(data.begin(), data.end(), it);
}
 
user1804599
This library is awesome.
 
that... is a really simple operation to implement.
the library is awesome if it offers more complicated Unicode algorithms, like case-insensitive Unicode hashes and comparators, or grapheme clusters
 
where are you having a problem accessing the Entity's properties?
 
1:05 PM
that's some nasty code alright
 
in main I can't access v
player.symbol
 
one wonders why you make the player reference static.
also, you inherited privately from Entity.
 
that's what I'm trying to figure out
 
so outside code is not permitted to access properties on the base class.
 
user1804599
wtf why is player a singleton
 
1:06 PM
If I could have a singleton inerithing publicy
Because it's singleplayer XDDDD
 
user1804599
It's mutable.
 
user1804599
Don't ever make mutable singletons.
 
@Zorgatone class Player: public Entity
 
@Zorgatone Of course you can, just like any other class.
 
so.. that didn't work
 
1:07 PM
try using Markdown in a Markdown chat instead of HTML ;p
 
user1804599
Mutable global => code instantly rejected in code review.
 
I didn't know I could put a keyword public ther ty
 
@Puppy you should be able to use html in markdown, it's.. part of the spec, but as always this chat is a little different
 
@Borgleader Of course I will be your fluffy companion <3 <3 <3
 
@Zorgatone It's the same as public inheritance for any class.
 
1:08 PM
@ElimGarak That made my day :) Thank you :)
 
Singletons are just classes with stupid broken user-defined semantics.
in terms of the language they're just classes with all the same rules.
 
u cant be bothered to rite propaly wit caps n spellings = I cannot be bothered to answer your question. — Lightness Races in Orbit 6 mins ago
LRiO <3
 
user1804599
1:22 PM
 
@Elyse I am really proud of you for keeping the confx flame burning :)
 
user1804599
@fredoverflow I'm now implementing desugaring!
 
user1804599
To turn let x = y in z into (\x -> z) y and do. x <- f. g x. end. into bind f (\x -> g x).
 
user1804599
Really easy:
 
user1804599
ast::expr<ast::sugar_free> operator()(ast::let_expr<ast::sugar_rich> const& expr) {
  return ast::app_expr<ast::sugar_free>{
    ast::abs_expr<ast::sugar_free>{expr.name, apply(expr.body)},
    apply(expr.value)
  };
}
 
user784668
1:31 PM
@MartinJames an important six pointer today for ya, ain't it?
 
@LightnessRacesinOrbit is this sarcasm or hyprocrisy lol D could be both i guess — willywonka_dailyblah 26 mins ago
lol
 
lol
 
1:44 PM
@JohanLarsson I think I saw that a while ago. Title awesome, content meh IIRC.
 
dose spectacles
 
dat win-dose
 
@fredoverflow nerds were serious about their attire back then huh
> Might & Magic Heroes 7 is getting an overhaul
haha ubishit
still not buying until it hits 5 eur
 
1:49 PM
Just moved in with a new flatmate and I think she has a crush on me ._.
 
or until they have a properly working game at release
"ooh we can just release broken games and "overhaul" them later, people still buy"
 
holy crap look at how beautiful this motherboard is
 
useful property for a motherboard
 
yes
 
1:53 PM
@AlexM. You probably need a see-through case if you buy that motherboard :)
 
well tbh if you have a glass panel
you can see it
 
I don't remember how my motherboard looks like at all...
 
especially if all your other components have LEDs and stuff
 
I was told I have very beautiful intestines
 
@fredoverflow yes
@fredoverflow mine is too small
 
1:54 PM
Even if I had a glass panel, I wouldn't see it because my PC stands on the floor.
 
user1804599
I thought I clicked on an Alestorm song, was a Halestorm song. :(
 
back when I broke my amd phenom I had to urgently buy a new cpu
decided to go with intel so it doesn't feel like a downgrade
 
Maybe I could install an LED and a webcam inside my computer case so I could see the beautiful motherboard whenever I wanted to? :)
 
got an i5 2400 and a mATX mobo to put the most $$$ in the CPU
prev mobo was ATX
 
Or just buy a second motherboard and hang it on the wall.
Or just download a beautiful picture and use it as a desktop wallpaper.
 
1:56 PM
 
Or fuck the motherboard, and use a picture of a bored mother as a wallpaper instead!
Isn't 3 monitors overkill? I have 2, but I haven't used the second monitor in like half a year or something.
Not sure it works anymore :)
 
3 monitors are required for eyefinity
> Can you programmatically access Cortana's favorite places on a Windows Phone?
 
@AlexM. That's some game thingie, right?
 
dat moment when you see that your Cortana's favorite places are all BDSM sites
 
1:57 PM
@fredoverflow yup
it cannot work with 2 monitors for obv reasons
(notice where the HUD sits)
 
@AlexM. The trees in the background look very realistic!
 
user784668
@AlexM. Ugh the borders.
 
How many graphics cards do I need for eyefinity?
 
depends on the game and its requirements and the detail levels you want to use
eyefinity is essentially just a huge resolution
 
user784668
@fredoverflow At least one.
 

« first day (1848 days earlier)      last day (3106 days later) »