« first day (1429 days earlier)      last day (3536 days later) » 

10:02 PM
-3
A: How do I get user input from cin into C++11 std::array

Vlad from MoscowYou could write simply cin >> myArray.data(); provided that the enterd string does not exceed the size of the array. Or cin.getline( myArray.data(), myArray.size() ); If you want to store strings and enter them through streams then it would be better to use class std::string instead of st...

-3 accepted answer, first time I see this. 0.o
 
do people usually apply for jobs in their last semester of college?
 
yes.
 
Xeo
welp, past midnight already
I should catch up on some sleep
 
-6
A: How do I get user input from cin into C++11 std::array

Harshit ParikhYou should better use a class like this... class std { public: char myarray[10]; void getdata() //Function to get data as input { cout<<"Enter your Name:"; cin.getline(myarray,10); } //Function to display output void sho...

lol what
 
"class std" is particularly funny.
 
10:20 PM
@Rapptz wut
 
It's the 2nd worst C++ answer I've seen this month.
 
Ell
@Rapptz what's the first?
 
@Rapptz 3/5 I chuckled.
 
Ell
@Rapptz haha this can't be your worst "c++" answer, that's cheating!
 
10:24 PM
-1
Q: How to remove duplicates from a vector?

kal1ngaI am writing a program that reads a text file in the form below, imports the data into a vector and then does some calculations with it. At the moment, I am able to import my data in pairs, insert them into a vector and sort the vector.. However all my efforts have failed when it comes to actuall...

Question is clearly tagged !
 
ack.
typical morons.
"Hey, I found a problem. Let's dump debug data to stdout and hope that someone's listening. Time to terminate the process!".
I sure hope that somebdoy was, in fact, listening.
 
@Rapptz Damn you both these answers were so terrible I downvoted them and now my rep is no longer a multiple of 5
 
> xD I would be appreciated.
No you wouldn't
 
Anybody know the right way to distribute a program with OpenCV. When I use DLLs I have 400 megabytes of DLLs. Anybody built OpenCV apps with .libs and LTO?
 
goddamnit.
what is wrong with this test?
libstdc++ just terminates the program as soon as the throw occurs.
@Mikhail no.
 
10:38 PM
@Puppy noexcept probably
 
I doubt that it's capable of looking at Wide source and determining what noexcept it should be.
 
forgot how cheesy and retarded NFS stories are
5 mins in
"Watch out kid, I'm going to take your ride
AND YOUR GIRL"
 
@BaummitAugen No one really answered this question so I gave it a shot. I think this suffered from OP's bad example.
 
screw it, I'mma ask a uestion and then go to bed
 
10:48 PM
Wow, how did the accepted answer get deleted? I tried to delete accepted answers of mine in the past, it wouldn't let me.
 
I believe that's a first
Community deletion of the accepted answer
 
wow
And look, my epeen points are back. :-D
 
@BaummitAugen you can't delete it, but it can get deleted
The critical factor being who does it
 
@Grandstack neat, getting ubisoft's slides
 
coliru.stacked-crooked.com/a/e5e314deef461290 (stackoverflow.com/q/25838498/3204551) Can anyone proove that GCC and clang are right here? As far as I can see, 6.7.6.3 p4-7 says they are flat-out-wrong (as is the accepted answer to that question).
 
10:54 PM
@sehe nice
 
@rightfold so? Which was it?
 
@AlexM. THeres a story in Need For Speed?
 
yeah
there's actually a functional programming question on gd.se :O
0
Q: Parallelism and Functional programming

Asad-ullah KhanI have had a recent interest in functional programming and found it to be most appealing to me. However, coming from a OOP background i can't seem to wrap my head around some problems. The main problem I am having trouble with is parallelism. I am thinking about writing a game functionally so ...

 
@sehe That -11 still needs to go :)
 
I know. I can't Vtd twice though
 
10:57 PM
@Borgleader Yeah, that one is just bad.
 
at most schools, do internships count for some kind of requirement?
 
what?
 
like. If you work at a company for college credits, should it count for some kind of requirement, or is it just hollow credits?
 
that probably depends on the school and country you're in
 
^^ that
 
11:06 PM
and on what "college" is in said country
 
here you are forced to take an internship unless you work somewhere already
 
Here you can't get credits from working at a company, period.
 
this applies to most colleges, even those that are not programming related
 
what mystical kingdom is that? I'm from murickah
 
you are not forced to take on an internship in the US
so if you can finish college without taking on an internship
we can conclude the internship is not a requirement for finishing college
was this your question?
if you were referring strictly to the # of credits then
you get to pass from year to year based on your credits here
 
11:09 PM
@Deduplicator They may be complaining about an invalid array type at all, i.e. before adjustment.
 
if 2 exams = credits from internship
then you can fail 2 exams you could have otherwise not failed, since you save yourself with the credits coming from the internship
in the final year you have to pass all exams anyway
 
@LucDanton Then where does the standard allow complaining before adjustment. AFAICS, it first has to be adjusted.
 
‘First’?
 
@LucDanton Before determining whether the argument-type is a complete type.
 
That’s spelled out?
Another way to put it: if what needs to be adjusted is an array type, then incomplete[] isn’t one. It’s a bogus type.
I’m not saying it’s the better interpretation, but I’m tempted to say that it’s one that can’t be ruled out.
 
11:17 PM
well, there's a required series of courses. I am trying to convince my adviser that 1 year working at a company programming (which counted for college credit) seems a suitable substitute for the requirement of a random science course
 
I'm beginning to think that the north of italy should be an independent state.
 
@Jefffrey Switzerland?
 
Padania.
Padania is an alternative name for the Po Valley, a major plain in the north of Italy. The term was sparingly used until the early 1990s, when Lega Nord, a federalist and, at times, separatist political party in Italy, proposed "Padania" as a possible denomination for an independent state in Northern Italy. Since then, it has carried strong political connotations. == In geography == The adjective padano, derived from Padus, the Latin name of the Po river, was first used in the 19th century. In its true geographical sense, Padania refers to the valley of the Po river. In fact, the French client...
 
Is scotland gonna become independent or will it become a joke like Quebec Libre?
 
In the last poll I've heard, the majority was against the independence.
 
11:19 PM
@LucDanton Added an answer to the question, with all the relevant quotes. Look at it, and explain to me how I misinterpreted english there.
 
@Mikhail /cc @EtiennedeMartel
 
If §7 went along the lines of ‘a parameter declarator of the form T[] declares a pointer parameter blah blah blah’ then I’d say such an interpretation would be in bad faith, but mentioning ‘array type’ is something else.
@Deduplicator incomplete[] is not a valid array type.
That’s it.
 
If that was the case, "after adjustment" would not make any sense.
 
Agreed. It doesn’t make much sense for any interpretation though.
 
17yo kid, with other 2 people in scooter (3 total), probably with a mafia guy that escaped prison or something, no helmet, no license, no insurance; police alt; they don't stop; policemen wrongly (?) shots; kid dies; kid becomes a martyr; napoli riots against police and destroys a police car.
I mean...
what the actual fuck.
 
11:25 PM
I’m going about it the wrong way.
 
user3010322
@Borgleader Are you busy or working on a project? I'd like to steal some of your time for learning if you wouldn't mind. :D
 
@ThePhD Hmm?
 
> […] An array type describes a contiguously allocated nonempty set of objects with a particular member object type, called the element type. The element type shall be complete whenever the array type is specified. […]
Fairly unambiguous tbh.
 
@Jefffrey Didnt something ~similar~ happen in the US recently?
 
@Deduplicator The ‘after adjustment’ is future-proofing in a sense, should there ever be adjustments that may produce an incomplete type. I.e. the essence of the paragraph being to prohibit parameters of incomplete type.
 
user3010322
11:32 PM
@Borgleader I want to do a number of things with my ray tracer, but I don't feel like being alone this time. I was wondering if you would like to help: A) change the shading model from fill-out-properties-and-use-one-algorithm to interface-based shaders and B) change the backing tracer from CPU to GPU.
 
@Borgleader You mean ferguson?
 
@Jefffrey Yeah, wasnt it similar kinda? Police shot some young guy
@ThePhD I have no experience in either of those areas =/
 
user3010322
@Borgleader That's why it's learning. :D
 
Thing is I dont really have time during the week. I get home from work at around 7h and im asleep by 9h30, so if i took a look at that it wouldnt be before next weekend
2h commute ftl (to be clear, thats almost to hours to get there and another nearly 2h to come back)
 
Ell
@alex did you ask about the build quality of the OPO the other day?
It feels solid and well made
 
11:39 PM
yeah that was me
 
Ell
@thephd is raytracing well suited to a GPU?
 
@Ell I'm curious if there's any way to get my hands on one in Romania
should take a look
 
@Ell If you consider that the result of each pixel is independent of all other pixels yes. The problem is efficiently going through the data, as i understand it.
 
> Patrick Stewart Recites a Poem In His Native Huddersfield (Yorkshire) Dialect youtube.com/watch?v=UNfcoda8yKM
didn't manage to understand shit
 
Ell
11:57 PM
I got most of it :L
 

« first day (1429 days earlier)      last day (3536 days later) »