« first day (482 days earlier)      last day (4484 days later) » 

8:00 PM
Yeah, it's uncanny.
It's perhaps the only thing he doesn't whine about.
 
Yes, he has finally found his true love. :) struct node** head_ref; Is it pointer to a pointer
 
@DzekTrek Yes.
Two asterisks.
Two pointers.
 
Xeo
@Dzek, get a C++ book. Or a C book, as it looks more like that.
 
@DzekTrek Oh, don't go editing your message like that.
 
@Xeo I just ask random Q., I am bored. @EtiennedeMartel There, fixed.
 
8:02 PM
@DzekTrek edit edit edit edit edit
 
By the way, @CatPlusPlus, your avatar, is that your cat?
 
struct node*** ult_ref; is just a pointer?
 
@EtiennedeMartel No.
 
@DzekTrek A pointer to a pointer to a pointer of struct node.
 
@EtiennedeMartel = pointer :P
 
8:03 PM
Also known as "bloody mess".
 
Yeah, this could be really messy to work with.
 
@DzekTrek But it's not "just" a pointer.
 
Hi guys !
 
It is just a pointer, the rest is its type.
 
Is strnlen() part of the standard ? Or they are just compiler extensions.
 
8:04 PM
@EtiennedeMartel I see. @CatPlusPlus ;)
 
What did @Nils get as a solution to his question about naming convention?
 
@CatPlusPlus Yeah, maybe I'm focusing too much on the type.
 
how can I tell emacs to use a scrollbar instead of breaking the line?
 
By not using Emacs.
 
^^
replace emacs with gedit
well kate is doing it right
 
8:05 PM
Is there any linkage where can I read more about documentin convention in VS10?
 
Then probably View > Word wrapping or something to that effect.
:set nowrap in vim, in any case.
 
Use Visual Studio. Then you'll have a reason to slack off while you wait for the IDE to stop freezing.
 
:D
 
Wow, I answered yet another question!
0
Q: In Windows, how can I replace `GlobalAlloc` with `new`?

uvts_cvsIn Windows, how can I replace GlobalAlloc with new? Hello, I have this snippet of code (from here: http://msdn.microsoft.com/en-us/library/windows/desktop/aa365785(v=vs.85).aspx ) that allocate memory with GlobalAlloc. DWORD cbRead = 0; LPTSTR lpszBuffer = (LPTSTR) ::GlobalAlloc(GPTR, cbMessage...

 
Also, there isn't much to whine about Haskell, it really is awesome.
 
8:09 PM
What is the latest C standard ?
 
^ But am I using too strong language? Or is that, as I suspect, necessary (but probably not sufficient) to get the point across?
 
C11.
C++ compilers are so annoying.
 
@CatPlusPlus uh, i never quite finished the Haskell tutorial. i sort of lost interest. sorry.
 
@sbi That tweet leads to a 404.
 
sbi
8:19 PM
@Xeo You might have to ask someone who participated at that session, yesterday, and, TTBOMK, none of those are here.
 
At least with Haskell you get tools that actually work.
 
sbi
@EtiennedeMartel For me it leads to a page where I would have to sign into G+ — which I am still trying to avoid. But you'll have to ask @James about it.
 
@sbi Well, I'm signed into G+, and when I get there, it tells me the post does not exist.
 
sbi
@EtiennedeMartel Ah, Ok. Sorry, no idea.
 
I think it just needs Google Account, I don't have G+ one and still see 404.
 
sbi
8:21 PM
As you can see, I didn't consider the link important for making my point. :)
 
@sbi "TTBOMK"?
 
Another entry to the acronym list.
I'd say it's "to the best of my knowledge".
 
sbi
@AlfPSteinbach bit.ly/zXaux6
 
Xeo
I'm also for adding PEBKAC to the list
 
Ah, thanks, so it means AFAIK
 
8:23 PM
@sbi That's BM.
 
@Xeo I already did.
 
Earlier.
Also, I've changed wiki theme, I think this one is nicer.
 
Xeo
You're missing an O btw
 
sbi
@EtiennedeMartel "Bowel Movement", "Black Male", "Batman", "British Museum", "British Museum", "Bundesministerium"?
 
8:26 PM
@sbi "Bad manners". It's a StarCraft term.
 
My, you really like British museums.
 
sbi
@CatPlusPlus I just wanted to test you guys.
Actually I like Bowel Movement best.
 
Xeo
@Cat, it's TTBOMK, not TTBMK
 
I corrected it.
 
8:28 PM
Argh, I have BOOST_ALL_NO_LIB defined and it still tries to link to libboost_system-vc100-mt-sgd-1_48.lib.
 
sbi
@EtiennedeMartel You know, @Alf's been around long before google ever appeared. While I can – grudgingly – accept that he might have forgotten what TTBOMK stands for even though I have learned it from him and his pals in clc++m, I don't see why I need to tell him of all regulars here how to find an acronym.
 
Oh, look at that, I've been editing files in the wrong directory.
 
Xeo
Isn't it always a joy?
 
sbi
Yeah, we all did this once in a while at the beginning of our carreers.
 
Hawhaw.
 
8:31 PM
@sbi I understand. I wasn't serious anyway. Still, LMGTFY always seems like just a little step above RTFM.
 
@Ca
 
sbi
@EtiennedeMartel Of course, me throwing this link at @Alf was completely serious...
 
@CatPlusPlus an scm and revert is your friend.
 
I don't need to revert anything in a broken clone. I was transplanting changes and forgot to change directory.
 
sbi
@frast Welcome to this chat room. Here, as everywhere else on SO, you need to use at least the first three letters of a nick to ping someone. This and other things is explained in the newbie hints, linked form the right.
And I wouldn't try to tell the @Cat to use SCM. He might arch his back and scratch you.
 
8:36 PM
If he does that, just dump some water on him.
 
sbi
@EtiennedeMartel Ick! That's a mean trick. (Don't do that, it will ruin your computer!)
 
That's fairly dangerous in this temperature.
 
Yeah, I heard it's cold in Europe.
 
sbi
Haha, that's funny:
Working on a .sig to attach to all my tweets. -- Joel Spolsky CEO Stack Exchange t: 866 364-2733 Please think twice before printing this t
 
It's cold in my house. :<
 
8:41 PM
@CatPlusPlus Thanks to Folding@Home, it's warm in mine.
2
 
@EtiennedeMartel you are folding?
 
hi all guys!
 
sbi
lo all girls!
 
9:07 PM
Man, the intro to Resident Evil 4 is still one of the hardest pieces of gameplay ever made
 
@sbi you should not discount possibility that i have gradually gotten more and more stupid
 
sbi
@AlfPSteinbach Nah, your answer disprove that theory.
 
Ok, it works!
 
@Moshe Nonsense. The cake is a lie.
 
9:23 PM
This is C++. This is sparta.
 
@awoodland conceptual level versus language level (I think)
 
@awoodland the guy you responded to has c# and java as his top tags
 
Hello
Can anybody help me??
 
@BrunoAlano no, you're beyond that
 
I was called a swine by a girl tonight
 
user868935
9:28 PM
hi all! anyone know how to read each word from a *.txt into an array? Possibly with the help of a vector?
 
I've 15 years old, and since my 14 years I'm studying C/C++... But now, I don't know if I continue learning C++ or go to an high level language
 
@Paul you can just use an input iterator
 
I started programming since my 9 years old, using HTML/CSS...
With 11 years old, I started learn PHP
 
sbi
> @awoodland: That C++ doesn't have a feature called "interface" doesn't mean it doesn't have interfaces. (There's abstract base classes with only virtual functions, after all.) Have a look at this answer for what an interface is vs a base class. (I'm sure there used to be an even better answer, but I can't find it.) — sbi
 
user868935
9:30 PM
@AlfPSteinbach how do go about doing that?
 
@BrunoAlano I think your age is just right to soak up the complexity that is C++
 
Now I Know PHP (with frameworks like ZendPHP, CakePHP, Codeigniter), the MVC model
 
vector<string> v;
for (string s; file_stream >> s; )
v.push_back(s);
 
My dream is to work at companies like Google, IBM or something. I do not know what should I do? Could you give me tips?
 
also, just google "c++ read words using iterators"
for example
 
user868935
9:32 PM
cool thanks!
 
Or:
istream_iterator<string> begin(file_stream), end;
vector<string> v(begin, end);
 
@BrunoAlano If you continue with C++ and you need to do something with Java/C#/etc for a job, you won't struggle. It's a lot harder going the other way.
 
@je4d Do not quite understand ... I have to learn Java / C#?
??
 
@BrunoAlano depends what job you get! you don't always get to choose what language you use. I was saying that knowing C++ puts you in a good position to pick up most other languages quickly
 
The Effective C++ book is good to I read now?
 
9:41 PM
@BrunoAlano Not if you're new to C++, that's a book aimed at intermediate programmers wanting to improve
 
I don't know if I'm a begginer
I already know how use basic templates, classes and structures, data structures, ...
I'm a begginer??
You can do a question to verify?
 
if you're at that level already, maybe eff C++ is good for you - give it a try!
 
Ok
Thanks
How old are you?
 
27
 
Hmm
How old you started programming?
 
9:44 PM
about the same as you.. did basic when i was 10 or 11
 
Wow, I am the room subject. Haha.
 
can't really remember, it was a long time ago!
 
Hm...
You were very dedicated?
 
Cooold.
 
9:45 PM
Shabbat Shalom all!
 
How could you otherwise write this, a+b? @BrunoAlano
 
@BrunoAlano i enjoyed it :)
 
@Moshe This is link to list of all repos.
 
@DzekTrek b+a?
 
@DzekTrek that depends
 
9:46 PM
I don't understand
 
@Moshe hi Mooshe. What does Shabbat mean?
 
I'm from Brazil, and my english is not good
 
@BrunoAlano correct.
 
Can someone help tell me what conflicting types for 'move_piece' and previous declaration of 'move_piece' was here mean? move_piece is my function
 
Yay
 
9:47 PM
@BrunoAlano to test yourself, answer this question: what does X stand for "X is the root of all evil", and who said/wrote that?
 
@je4d You work in what company now?
 
@AlfPSteinbach I just wanted to check what is the first reference for him on that matter.
 
@LearningC Mismatch between declaration and definition.
 
@BrunoAlano not saying - I'm here as me, not as a representative of my company
 
@AlfPSteinbach I don't understanded because my english. It's math?
 
9:48 PM
Yes, math is the root of all evil. I said that.
 
@je4d Sorry, but you have accomplished your dreams?
 
@CatPlusPlus So both error say that it is a mismatch between declaration and definition?
 
@BrunoAlano It's about programming. Not about C++ language details. But when you know C++ beyond novice level, then you most likely know that quote (all too well... :-) )
 
@BrunoAlano same Q. but instead a+b is a[b].
 
Wait, what's the quote?
 
9:49 PM
@LearningC It's one error. The second is a note. Pay attention.
 
Oh, sorry...
 
@BrunoAlano Hard to tell, my dreams keep changing..
 
@CatPlusPlus oh I see. Thanks.
 
@DzekTrek a is a matrix?
 
Be more specific. :D
 
9:50 PM
Oh, it's premature optimization
 
I don't like to remind myself of that one. It makes me feel dirty
 
@BrunoAlano @Pubby answered your Q.
 
Sorry, but I'm not understanding
 
me too, me tooo :(
 
9:52 PM
@BrunoAlano You are a premature optimization
 
You are beginner, right?
 
I'dont know
 
In Brazil with my age, I am one of the smartest. But I can not compare myself to you ...
 
We aren't smart at all. We just pretend we are smart. That's a big difference, you know.
 
9:54 PM
I'm a C++ beginner or not?
 
room topic changed to Lounge<C++>: Celebrating international "my project is finally linking!" day. [c++] [c++11] [c++-faq]
5
 
@BrunoAlano yes, you could say that. ;) But hey, to reach something, you must start from somewhere. :)
 
@BrunoAlano to be honest, at your age it'd be very hard to be anything other than a c++ beginner - the more you learn, you more you realise that the language is huge
 
@CatPlusPlus wuwuwuw :D
 
I am half sad to know that I know so little. I spend a lot for one day someone can be good and recognized.
 
9:56 PM
@BrunoAlano I had a chance to ask herb sutter what learning materials I should recommend to people in your position - and the answer I got was Stroustrup's "Programming Principles and Practice with C++" book
 
@je4d That's also the answer you'd get by consulting the C++ book list here on SO. :-)
 
@AlfPSteinbach it is listed there... but it's not #1
 
@BrunoAlano
 
9:57 PM
WOW gcc now has polymorphic lambdas
 
I got myself a copy to see how good it was, but it only arrived yesterday so I can't really give a personal opinion.. other than it's nicely typeset
 
[](auto p() -> int) { return 42; } works fine now
p is a deduced parameter!
so for example in [](auto p()->int){return 42;}(0); it is deduced as "int"
 
Replied with a song, clearly denoting your reference with C++, on your "I am half sad to know that I know so little. I spend a lot for one day someone can be good and recognized." message. @BrunoAlano
 
@je4d When you create a project in C++, I could call? I promise not to interfere.
 
9:59 PM
Wouldn't that be [](auto p) -> int { ... }?
 
@CatPlusPlus syntax is special
 
@BrunoAlano huh? I don't get what you mean..
 
Of course it is.
 
@JohannesSchaublitb what's the 'p' for?
 
It's the name of the argument, duh.
 
10:00 PM
it's the parameter name
lol
 
p -> project annulation pointer
 
When you develop a project in C++, you could call me to participate in the development? I really want to learn.
 
@JohannesSchaublitb sorry, i was reading it as if it was a function name.. ignore me :)
 
You can pick up any open-source C++ project, and they're bound to need help.
 
@BrunoAlano Indeed, practice would be best option to truly learn something.
 
10:01 PM
But I'm not good to big projects, and I don't know small open source projects
 
But that is not a substitute for actually learning the language, especially that most of wild C++ code sucks.
Then start one.
 
Do you speak Chinese? @BrunoAlano
 
@BrunoAlano what @CatPlusPlus said! I delved into some kde stuff when i was 17/18, and that was pretty good fun
 
No, not yet
 
If the answer is yes, get here www.hackchina.com and search for c++ code.
 
10:02 PM
You are Chinese @DzekTrek??
 
@BrunoAlano Nah, I'm Neboroniuan. ;)
I'm human, to be honest.
 
Hey people
Does anyone know of a good site for assembly?
 
and a[b] is the same as *(a+b) @BrunoAlano
 
Only for primitive arrays.
 
do you think he would use multidimensional one in a near future? :|
 
10:07 PM
Hm
 
I mean T[]. Any UDT, including std::array, and silly pointer arithmetic doesn't work.
 
@DzekTrek I was gonna answer std::plus()(a,b) when I first saw that question
 
a can be a class object. then 0[a] can be valid too
 
Oh, yes, it's one of the most useful features.
 
@CatPlusPlus Indeed. @je4d Of course. @JohannesSchaublitb True.
so &a[b] would be a+b then , right?
 
10:09 PM
I'm back
 
@DzekTrek no
 
So what is it?
 
@DzekTrek if decltype(a+b) is dereferencable, then possibly
 
why is it anything?
 
@JohannesSchaublitb I see what you did here. There must be something, right? @je4d yes
 
10:12 PM
Anybody have an a project idea to me??
 
where did i do?
 
I love work with databases (db mappers), programming languages (create a new language?)...
Anything to I learn
 
@JohannesSchaublitb So you oppose to say you didn't?
 
@BrunoAlano If you use linux already, then just find something that annoys you, and try to fix it.
 
I use, but my problems is with Fedora... But I don't know how fix the Fedora source codes
 
10:15 PM
What does that have to do with Linux?
 
@CatPlusPlus was that @ me?
 
@BrunoAlano why would you do it?
 
I want learn
 
Anyone on MinGW ever seen "fstream.tcc:87: undefined reference to `std::__basic_file<char>::__basic_file(pthread_mutex_t_**)"?
 
a->b is it *a,b ?
 
10:18 PM
(*a).b
 
:(
 
Unless it's UDT with overloaded ->, then it might be more complicated.
 
I surrender. @CatPlusPlus
 
Xeo
Meh, bitbucket is down it seems -.-
 
10:54 PM
Yay, @rubenvb's build of MinGW-w64 worked.
 
@CatPlusPlus ooi, how on earth did you get that error about a file constructor taking a mutex?
(assuming you had to fix it)
 
I've used ofstream.
Bug in MinGW, like usual.
 
Yes?
This code is silly and defeats the purpose of runtime dispatch.
If it even works.
 

« first day (482 days earlier)      last day (4484 days later) »