last day (699 days later) » 

3:43 PM
Welcome to the C++ chat room! (Not the same as The Lounge).
14
room topic changed to C++: Friendly conversation, including C++ talk — NOT the "Lounge"! [c++] [c++11]
3082
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 released 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 good C++ book...

 
4:08 PM
@LightnessRacesinOrbit hi there
 
Hello
 
@Tuntuni too bad I want to switch to Terra badly, I guess :)
 
@BartekBanachewicz What is Terra?
I heard you guys talking about it but never checked.
 
A language
 
Well I figured that out :D. Link?
Google doesn't really help.
^ this?
 
4:14 PM
Yep
I am eating but ask away
 
Hi there.
 
Well it looks pretty nice.
So Terra is like a mix between Lua and C?
 
Mhm
Hi @jrok
 
@jrok Ello :D
I wonder if this room will actually become something.
I guess we can only wait and see.
 
I was reading the Lounge transcript and decided I'll give a hand in keeping the mutineer's room alive (at least for a while) :)
 
4:18 PM
I would say that without negative people it will be much better
Then its only a matter of bringing the regulars here one by one
 
cpx
4:31 PM
How is it not same as Lounge?
 
ohai
@cpx The Lounge goes out of its way to bin incoming C++ questions and to victimize newcomers. It tries not to be "the C++ room". This can be "the C++ room".
That doesn't mean we can't have some chatter and banter, of course
 
@LightnessRacesinOrbit the real C++ room eh?
 
@BartekBanachewicz why not
I used to enjoy ##c++ on Freenode IRC and don't see why we can't have that. I think it's what SO chat rooms are really supposed to be about.
I'll still be in the Lounge — it just means the Lounge no longer need be accused of failing to be something it's not
 
@LightnessRacesinOrbit well after last incident with Puppy it really got kinda awkward in the lounge
@Tuntuni it has very nice feats unique to it, though
 
@BartekBanachewicz Does it require clang?
 
4:41 PM
@ShuklaSannidhya depends on if you want to use dynamic compilation. Also depends if you want to build from source or not (you should)
i.e. depends.
 
@BartekBanachewicz I was makeing it and got this error - ../bin/clang: Command not found
 
@ShuklaSannidhya if you want to build it from source you need LLVM binaries. I think I just apt-gettted them
try apt-get install clang simply
if that doesn't work, then you can narrow down the needs, I guess
 
Are terra binaries even available?
 
I don't think so.
But I see no reason for them to be, really. It's in experimental stage, so if you are even thinking about trying it out, you should have no problem with building from source
hi @Xeo :)
 
+1 Binaries are only for giant or popularly used projects (relative) - usually. also wow more than 2 people i'm surprised
 
4:48 PM
@EiyrioüvonKauyf we are actually talking about Terra, not C++ :)
 
@BartekBanachewicz yeah i guessed. it's not that popular afaik :L
 
@EiyrioüvonKauyf it has like 6 months. Give it some time and space :)
I'd like to write something nontrivial in it
 
@BartekBanachewicz o_o. that's 4d there, woow you're asking for quite a lot :P
 
@EiyrioüvonKauyf meh
you should try it out
 
@BartekBanachewicz i should stop being so lazy :|
 
4:54 PM
@EiyrioüvonKauyf you certainly won't make it by simply saying so
 
mhmm. i know :L. i have to finish a project before univ starts again anyway. are you in the SV location of intel by chance?
 
@EiyrioüvonKauyf what are you making?
 
@BartekBanachewicz adding antialiasing and some random other features to a library
why are there so many colorspaces :L
i partially blame adobe for this
 
hi @Anna
 
@BartekBanachewicz Hi
 
4:57 PM
@AnnaLear herro. i appreciate the shirt btw :3
 
I guess @Lightness could expect mod intervention.
hm, so if we are supposed to be on-topic
I'd say Concepts.
some guy on SO said they are made of Constraints and Axioms
 
welp now what are those - can you link me to the question
 
47
Q: What are the differences between concepts and template constraints?

RaynieryI want to know what are the semantic differences between the C++ full concepts proposal and template constraints (for instance, constraints as appeared in Dlang or the new concepts-lite proposal for C++1y). What are full-fledged concepts capable of doing than template constraints cannot do?

 
5:35 PM
C++ standard will have 2000 pages by the time this thing is implemented.
 
@jrok that kinda sucks
 
And I'm not convinced Concepts will make C++ less "expert friendly" (I don't remember where I read that phrase).
 
Do compilers work at a lower level than OS?
@BartekBanachewicz ?
 
@ShuklaSannidhya define "work at lower level"
@jrok I think they would
@ShuklaSannidhya what does that mean for you?
 
@BartekBanachewicz closer to hardware.
 
5:48 PM
@BartekBanachewicz Once your so come so far to write template code that needs to constrain its parameters, you probably already know the basics to do it. I mean specializations specifically. Don't they cover most of everyday needs of a casual programmer?
 
@ShuklaSannidhya and how would that work?
@jrok Concepts are really just a way to spell out the constraints sanely.
and I don't know what you mean WRT specializations in that case.
 
@BartekBanachewicz I mean compilers run on OS and OS are built using compilers, then which one exactly is at a lower level?
 
@ShuklaSannidhya the OS.
a compiler is a program
 
Compilers are like eggs, they need a chicken/OS to "run". Oh wait...
 
I'm in this room? I didn't know this room existed!
@ShuklaSannidhya no, compiler is just another program. Just happens to make executable programs
@ShuklaSannidhya The OS is always the bottom IMO
 
0
Q: make the compiler not to automatically flush the buffer

atoi.poweredWhy the below code doesn't stop the compiler flushing the buffer automatically? cout.sync_with_stdio(false); cin.tie(nullptr); cout << "hello"; cout << "world"; int a; cin >> a; output: helloworld I'm using Visual Studio 2012 Ultimate

 
@jrok :)
@MooingDuck tee hee
 
6:32 PM
@Feeds i c how it is :c
 
@EiyrioüvonKauyf how it is?
 
ello
@BartekBanachewicz Congratz on the owner status. :D
This place might live.
maybe
 
I don't expect shitload of traffic
but I am not going to bin newbies coming here either :/
 
:)
 
I am here to help people, too.
 
6:44 PM
wait wrong one
@LightnessRacesinOrbit i c how it is :c
@BartekBanachewicz oh the owner thing haha
 
7:00 PM
0
A: make the compiler not to automatically flush the buffer

TuntuniAFAIK, the stream can be flushed whenever the implementation likes to do so, i.e. there's no guarantee that the stream will be flushed after an insert operation. However, you could use one of these manipulators to ensure your stream gets flushed (these are the only ones I know of so if someone is...

Something to add maybe?
 
looks alright
 
:D
 
 
2 hours later…
9:08 PM
night!
 
9:21 PM
it is indeed night
 

  last day (699 days later) »