« first day (1012 days earlier)      last day (3940 days later) » 

4:00 AM
on top of 20 cuz a user was deleted a few hours ago...
SO y u hate me :(
 
0
Q: Does not show the data entry form as I want

Lion KingI'm doing a simple banking system, in this system I doing account creation method to create new account. When the client enter, to create new account, he must enter his personal data. I know the problem is stupid and simple at the same time. The problem is when a client entering his informatio...

 
@JerryCoffin oh that makes sense , it works because its accessible in B's member functions
 
^ I'm not answering that with "use std::string" again.
Same OP as last time.
 
Hi, can I ask a favor? (of course I can, but politeness requires that I ask)
This question has been closed as duplicate, but it is not:
http://stackoverflow.com/questions/17824688/no-matching-constructor-for-initalization-of-ostream-iteratorint-int
 
Hm.
 
4:03 AM
The key difference is that in this question the type of the ostream_iterator is wrong (the arguments for the template instantiation are incorrect: std::ostream_iterator<int,int>)
 
Nothing I can do to make it work.
 
@DavidRodríguez-dribeas I guess this answer answers the dupe. It gave the proper argument type to be passed to its constructor. It still boils down to the same answer, I think.
 
@MarkGarcia Fix the second parameter to the constructor and you are left with code that does not compile
Actually not even that, the second parameter is right in the question, it is the first parameter that is off
 
mmm
 
The complaint from the compiler is that std::cout is not a valid argument for the first parameter (well, I have not run the compiler, but the signatures of the constructors imply that)
 
4:07 AM
can't decide if stream insert/extract operators should be member functions or not
 
OP should learn basic syntax and techniques... I don't know. He should learn from his previous question.
 
@A.H. Build the basic blocks as member functions, anything that can be built on top of that as free functions
@MarkGarcia So your claim is that the OP does not know the syntax so we mark as a duplicate of something that it is not? Seems a bit unfair.... vote to close as not a real question (not enough effort from the OP?)
 
@TonyTheLion Are you still good for Friday still?
 
@DavidRodríguez-dribeas Yes. The being a duplicate isn't the proper close reason for that. But he should have gained at least the basic understanding to solve another problem which is very related to the original one. It may not warrant a duplicate reason, but still needs to be closed for the above reasons. But that's just my opinion. :)
 
@DavidRodríguez-dribeas That's one way to do things -- but hardly the only one.
 
4:16 AM
WELLL
I give up. ptr<ID3D11Device, ReleaseIUnknown> <-- good enough for me.
 
well add efficiently in the rough approximation above and that would be my first approach to designing a stream
At any rate, I guess the question will remain marked as a duplicate... I'm going to bed
 
night
 
night
 
@DavidRodríguez-dribeas G'night.
 
Niiiiiiight.
 
4:30 AM
@DavidRodríguez-dribeas he thought it would cout << each thing. Pointing him at that other "duplicate" is just wrong, isn't it?
why wouldn't he just write a loop instead of trying to force ostream_iterator to do that. stubborn?
 
@Telkitty猫咪咪 good afternoon ... :)
 
0
Q: python class definition Vs C++ class definition

Kallis KalyanI just observed how the classes are different in python when compared with C++. Like, In C++ Class test { int a,b; Void func() { } } In the above class template, a and b are only Object variables which are defined in the template. Whereas, in python, you can’t spe...

Another python vs C++ blah blah...
 
@NipunGogia hello hello
@MarkGarcia python and C++ are for different things, lol
 
4:46 AM
@Telkitty猫咪咪 I want to VTC, but can't find some appropriate reason.
By appropriate, I mean "pre-defined", not a custom one.
 
0
Q: C++ : Iterator #define not working

Anmol Singh JaggiI have the following code -: #define iter(container,it) typeof(container.begin()) it // Make an iterator named "it" capable of iterating any STL container object named "container".. int main() { vector<int> n; for(iter(n,it)=n.begin();it!=n.end();it++) // Works fine.. { ...

wtf
 
@Borgleader lol
 
@MarkGarcia what is VTC?
VTC may stand for: *Vesicular-tubular cluster, an organelle of some eukaryotic cells *Video Tele Conference *Visual Terminal Chart, the Australian term for a Terminal area chart *Verification Test case, in software engineering is a set of conditions or variables under which a tester will determine if a requirement or use case upon an application is partially or fully satisfied Organizations *Volunteer Training Corps, a British military formation during the First World War *Vietnam Television Corporation, a large television and media corporation in Vietnam *Vehicular Technology Conferenc...
 
@Telkitty猫咪咪 "vote to close"
 
@Telkitty猫咪咪 Hehe. "Vote To Close". :)
 
4:54 AM
Oo >_<
 
@MarkGarcia For once I win at FGITW, and it's in chat where it's not even good for a cheap rep point or two...
 
@JerryCoffin lol. I'm really not good on fast answering. But too bad I'm not a slow but sure answerer like you. :)
Ahahaha! Sorry. I misunderstood SCITE!
 
Hello everyone!
 
@MarkGarcia Yes -- I at least hope SCITE is intended to mean something a little different from "thinks before answering".
@RyanSparks Hi Ryan. How are you?
 
@JerryCoffin Pretty good, how are you? THis is my frist time in StackOverflow chat, so i'm trying to figure it out. :P
 
5:02 AM
Make sure to read the newbie hints so no one is hostile to you. They're stickied -->
 
RelWithDebInfo, or just Release ?
 
Wait where?
 
@RyanSparks If you haven't read them, the newbie hints are worth reading. They ma initially seem unfriendly, but they're honestly meant to keep you out of trouble.
 
Oh thank you!
Thanks!
 
Rapptz FGITW
 
5:03 AM
:P
@ThePhD All that question answering is getting to me.
 
@ThePhD Also a SCITE for binning. :P
 
5:25 AM
Ooh, shiny!
Clang built.
Let's hope it doesn't explode again. ._.
 
This lounge is very quick on newb detection
 
6:00 AM
3rd party component is giving me grieve ... sign
 
@Telkitty猫咪咪 no meat like fresh meat
 
@StackedCrooked what does that imply about us :p
 
obviously it means we are cannibals
 
... but ... I am not a newb ... not sure about you, I refuse to admit that I am a newb. So it can't be canniablism. Vets and newb are different animals :x
... and ... I am not in denial ...
 
6:19 AM
@StackedCrooked tasty
 
@Telkitty猫咪咪 Hardly counts as "detection" when the newbie in question announces his status directly.
Well, it's late. Good night all.
 
Thanks! But why does this work on Ubuntu, without std::ios::binary? — calccrypto 4 mins ago
^ Does Linux default to binary mode in files?
 
@MarkGarcia More like Linux not distinguishing between text and binary mode at all.
 
Oh. Don't have much experience in using Linux. Guess I'll install one on a VM.
 
I wonder if hackers use Valgrind to find out what they can exploit.
 
6:30 AM
If this clang fails to compile,
I'm just... I'm just going to die. I'm going to die.
 
@ThePhD It's not so bad.
 
@StackedCrooked well if you say it like that >:D. lol and no i'm pretty sure they're more concerned with networks then programs; unless they already have access to your systems
 
remember, you are going to die anyways, regardless whether clang builds or not :p
 
It will finish compiling the moment you die. And then there'll be linker errors.
 
Good evening!
 
6:37 AM
evening ...
I feel like dumplings ... fresh made dumplings ...
 
@ThePhD can i have your stuff <3
thanks? . i hate it when question people add our answers to their question to make a stupid question seem smarter -_____-; it's like stealing our work
 
@Telkitty猫咪咪 s/feel/look/
 
maybe I look more like chocolate than dumpling
... maybe I look more like butter cream cake
omg ... it is not fair, you tricked me! I am no food!
 
6:53 AM
cat dumplings. yummy, huh?
 
not sure what cat dumpling tastes like, but I really would like a cat cashmere jumper - I call it catmere jumper :x
 
@wilx the client wishing to delete many resources at once. Not as an atomic action, but sending the data in one big blob
 
are you an onion? ... or maybe a vampire :p ... probably a vampire onion? >_<
 
JBL
7:08 AM
Mornin' in there.
 
Xeo
Ugh, so sleepy...
 
@MarkGarcia the difference between binary and text mode is basically just whether it should convert between \n and platform-specific newline sequences. On Linux, the platform specific newline is \n, so there's no conversion done in either case. On Windows, text mode has to convert between \n and \r\n
 
@jalf Oh. I thought there's more into it, like encoding or locale matters.
 
Afaik, that's all there is to it. Locale stuff works the same way whether or not you're reading/writing in binary mode.
 
user142019
7:24 AM
@MarkGarcia OP is a faggot.
 
user142019
He can't keywords.
 
mawning
 
Morning
 
Hows things?
sunburn?
ohh
not fun, been there many times
 
@ScottW I don't think he can do much about the peeling
 
7:26 AM
sunscreen?
 
true dat
 
@ScottW so you been out on the beach having parties then?
 
hmm, sometimes I wish my ad-hoc notes were more reliable... I wrote 1!!!! followed by a few lines about tasks on my todo list. Now I'm wondering if I were trying to tell myself something about a really important "one" somewhere, or if I meant them to be all exclamation marks
 
JBL
@MarkGarcia There should be a big red bold text when you ask a question : "Are you going to simply ask for code ? If yes, don't."
 
7:31 AM
Blarghblarghablargha
 
@JBL Or a link that says something like "Clik me if you wan mai codez."
 
hahahah
I just emailed you @ThePhD.
 
ginger needs sunscreen under the sun like cleaned BBQ chicken needs oil before go above the fire
evenly applied on the skin ... sizzling in the heat ...
but your brain is here with me ... on food :'(
lol, no difference ... all food
 
7:49 AM
C++ IO library, why you are so bad? =(
 
@ScottW hahahaha
 
but cereal is like dried food - like hay for horse :x
 
FUCK
oh man, I'd give you some, but a bit hard
lol
 
beer > milk.
 
I agree
@ScottW Dude WTF?
suckage
ok
you crazy :P
 
7:55 AM
for food lovers, you do anything for the food you love :p
cya later ... & I bet you will come back with more than just milk :p
 
C++ Y U NO string_view (yet)?
 
what is string_view supposed to do?
 
keep a non-owning reference to a part of a string array of characters. it can be also named string_ref
 
I guess this shouldn't be done? virtual void A() final = 0;
 
@FlorisVelleman no (you can't have both final and =0). why do you want it?
 
Ell
8:09 AM
Can't you just use a pair of iterators instead?
 
@Ell it should be constructible from std::string and string literals. and I want it in std
or in boost. hm... maybe boost already has one
ok. life is slightly better now
 
@Abyx Was just trying things wondered if that ever made sense to use
 
Hiya there
 
well, it would make an always-abstract class. I don't think it's a useful thing
 
8:23 AM
@ScottW Yay!
 
@ScottW I do
 
user142019
@FlorisVelleman Makes no sense.
 
user142019
virtual means "you should override this" and final means "you can't override this".
 
Xeo
@BartekBanachewicz That guy doesn't like generalization.
 
user142019
@BartekBanachewicz It's a C++ library. What would you expect?
 
8:27 AM
hahahahaha
 
@rightfold Next level design, unusable abstraction layers
 
@TonyTheLion I got the e-mail. I still need to get a SIM card before I can use my phone, lmao.
I'll send you an e-mail back when I know more. Buhbye. :D
 
@Xeo his points aren't pulled out of ass; these are concrete real life examples he encountered. C++ needs concepts :(
 
Xeo
Concepts don't help there.
But I do have to admit that Boost docs are terrible at times.
> Want to find out whether an element is within a std::map? Use find() and compare to the end() iterator.
std::map::count says hi.
> For std::vector the inserter would not be needed, but you have to ensure that the vector is big enough, using resize(), since it is impossible to add elements to a container using only an iterator.
std::back_inserter
I fully agree that an algorithm taking 5 iterators is horrible, though :s
But that's iterator interface, which stems from 1998 or earlier.
 
@Xeo what's so terrible about split documentation ?
 
Xeo
8:36 AM
@Abyx I didn't talk about split specifically
 
What about the NaN? That sounded pesky
 
Xeo
It's a special value, so eh. Same goes for the string "+Inf" and stuff.
Although it's strange that it works only one way.
 
@Xeo It's quite literally the same thing.
It's even implemented in terms of find in libstdc++
 
Xeo
So?
 
What's your issue with it?
 
Xeo
8:39 AM
ìf(mymap.count("foo"))
 
Okay and?
 
Xeo
@Rapptz My issue is him complaining about if(mymap.find("foo") != mymap.end()).
 
@xeo rapptz plonked me, so you have to link him to the article
 
Xeo
Oh
 
something with working in the CBD is ... I always seem to bump to people I used to know ...
 
Xeo
8:40 AM
17 mins ago, by Bartek Banachewicz
^ talking about snippets from there
 
Right. I have bartek ignored.
 
I must have accrued a quite decent sized ex-colleague base ...
 
@ScottW I haven't heard him say a positive thing since he's joined.
@ScottW The puppy does sometimes, same with the cat. But not generally, no
 
@Xeo too bad that isn't legal :(
 
Xeo
Huh? It is in C++1y
 
8:45 AM
Mhm, C++14 to the rescu
 
I feel as if the guy in the article has been spoonfed by another language's library so he can't write anything himself.
 
@Xeo could you link me to the paper saying that it is?
 
Writing trim to your own specifications is easy, same with split...
 
@ScottW i can't really force him to talk with me, can I? Of course if he thinks I am constantly negative, he is entitled to his opinion.
 
Xeo
Generalized lambda captures
 
8:47 AM
Oh..
> So one question remains: Why is agentXcpp actually written in C++? Well, when I started the project, I didn’t have much experience with C++, nor with STL or boost. I learned while working on the project. And as a consequence, I’m currently banning boost from agentXcpp, and I’m going to ban the STL, too. And who knows, maybe I will even ban C++ some day
Yeah.. I guess he has been spoonfed and isn't used to it.
 
poor xeo, luc seems to have abandoned him for good
 
@Xeo oh, I guess g++ is behind on that then
 
I tend to ignore regulars time to time, but rather on short periods of time, not like "everything he might ever say is bs"
 
Xeo
Considereing Qt aims to be kind of a replacement for the stdlib...
Or rather, it was created before there even was an stdlib
@ScottW Nobody knows. :(
 
@ScottW Haven't seen him in a long time.
 
Xeo
8:49 AM
He is on SO at times, according to his profile, but his last activity (upvote, comment, answer) stopped around June 27th
 
@Xeo a rather ugly one
 
Xeo
vOv
Haven't worked with it yet.
 
@Xeo july 27th???
today is July 24th
 
Eh, it's not standard. We should eat our own dogfood
 
@Telkitty猫咪咪 maybe it's august already in @xeo's timezone :)
 
8:51 AM
C++ stdlib is supposed to work in places Qt won't even compile
 
Xeo
@jalf Woops
 
Hm, QArray is made to work with range for.
 
@ScottW re-sign that as 'the lounge wuv club'
 
Xeo
All QContainers are, AFAIK
They offer normal begin() and end() methods with corresponding iterators.
 
either luc is on a really long holiday or he's trying to quit the lounge
lol, I am on the train, using my mobile phone as the internet source for my laptop
 
8:58 AM
@Xeo I guess it's only for range-based for loop
 
Xeo
They did so before C++11
 
lol scott - up all night again?
 

« first day (1012 days earlier)      last day (3940 days later) »