last day (63 days later) » 

2:54 AM
OWNER PLZ
 
Thanks. Let's make this happen.
 
@CCInc yeah. The other room "C++ Lounge" no offense to them, but you never get anything except insults from them
6
 
If you are a C# or Java programmer, I highly recommend you look at THIS tutorial series for starting to program in C++.
 
nice
you can star your own messages
lol
 
3:04 AM
room topic changed to Real C++ Room: ISO<14882:2011>. For those who want to chat C++, and not trash. (no tags)
Damnit that doesn't rhyme
room topic changed to Real C++ Room: ISO<14882:2011>. For those who want to chat C++, and not trash. [.net] [c++] [c++11] [managed-c++]
 
@CCInc cool
 
room topic changed to Real C++ Room: ISO<14882:2011>. For those who want to chat C++, and not trash. [.net] [c++] [c++11] [helpdesk] [managed-c++]
 
3:21 AM
room topic changed to Real C++ Room: ISO<14882:2011>. For those who want to chat C++. [.net] [c++] [c++11] [helpdesk] [managed-c++]
 
 
16 hours later…
7:11 PM
lets get some reall C++ programmers in here
2
 
 
1 hour later…
8:41 PM
CCInc and I are learning C++ we hope this room gets some interest, because no one can get help through the lounge
 
@CCInc Thanks for the tip for the book. As soon I finish learning everything in C#, I'll read it
@JABFreeware Great. Looking forward to spend time with you :)
 
@Janman you too
@Janman I am thinking I will never finish learning c# :)
 
I don't know when you "know" a language either. I just plan to finish reading the book "C# 5.0 in a Nutshell", and then I'll move on.

I'm more into writing "core" stuff, rather than front-end (or whatever you call it)
 
@Janman IM READING THAT BOOK TOO! so is CCInc!
lol
 
How long are you?
I just started, I'm on the page 85 :P
@JABFreeware I know a lot of the stuff in the beginning, but I just don't want to skip anything important, so I'm just reading it all
 
8:54 PM
@Janman yeah just be sure you don't just "read" it as you will never remember it. For me I like to pick a program that will be a challenge and build it, learning as I go. For me, I learn so much this way that when I finish the project and look back at the earlier code I think "Man, thats awful code"
lol
 
@JABFreeware Yes. In the start, I learned a lot by just writing what I know and Google what I don't. That taught me a lot, but I guess I should read a book to know the best way to do things
 
@Janman Oh yes certianly, thats why I'm reading it too, but after I learn some new stuff I like to then implement it through a project. You running windows 8?
 
@JABFreeware Partly. Windows 7 on my stationary, Windows 8 on laptop and I just got an Surface RT
 
@Janman Do you truely like 8?
 
Well, I admit that it could be separated into two OS: one for PCs and one for tablets.

But I think its all right. Its fast, better looking and more stable with a lot of new features that I missed in Windows 7.

But sometimes, mouse gestures annoy me, but you'll get use to taht
Why do you ask?
 
9:02 PM
@Janman well I used it on my laptop for several months. At first I liked it and kept liking it, but it seemed to keep getting slower. I went back to 7 and for windows its much faster.
I don't miss it at all
 
Xeo
lawl
 
Yea well, I see how 8 is usefull for portable laptops, entertainment and tablets, but for stationary computers, Windows 7 works best.

But Microsoft should soon release a new operating system "Blue"
 
@Janman yeah...
@Janman I like this joke about MS:
 
@JABFreeware It should get better. I think that if they remove the "tablet" stuff from Windows 8, they'll have a pretty neat OS for me :)
 
32 bit extensions and a graphical shell for a 16 bit patch to an 8 bit operating system originally coded for a 4 bit microprocessor, written by a 2 bit company, that can't stand 1 bit of competition.
 
9:07 PM
@JABFreeware Hahah!
 
@Janman yeah and optimize it a little, it could be great. But being MS I doubt they will optimize it
I think they need to completely rebuild the kernel from scratch. My analogy is that Windows is a raft that keeps leaking. Instead of building a new raft they keep adding patches. Eventually the weight of the patches will sink the raft altogether
 
@JABFreeware I think every modern OS is build upon 30 years old code, with A LOT of patches. But rewriting it all would just take too long time, and Microsoft would risk falling behind and loosing everyone to OSX (and the programmers to Linux)
 
@Janman Yes it would take a long time but I think if done right MS could leap past other OS's eventually
here is a great website of MS jokes:
I really like the "At the Brussels Police Department" one
 
@JABFreeware I can really relate to that
 
I LOVE how this room discusses C++.



NOT
 
9:15 PM
@sehe your meaning?
@Janman yeah I know!
 
@sehe What do you want to discuss?
 
@JABFreeware Cough. You're asking?
 
@sehe not at all. I know you love the C++ Lounge. I don't. To each their own I guess.
 
Xeo
Guys, thank you so much for opening this room. You don't know how much you're helping us. Live long and prosper!
 
@Janman I don't. I just noticed this room, and the fact that Win8 and vs. OSX would be a topic that we'd never discuss in the Lounge. You know, far too much on C++ topic
 
9:18 PM
@sehe @Janman LOL. You guys get off-topic ALL the time
 
Let alone, MS jokes. That'd be dangerously close to on topic. We don't really want to be accused of discussing C++ in the lounge. Brrr.
 
I would link a bookmarked converstaion in that room, except I don't know where to start
 
@sehe I don't see what the problem is. None is having any trouble with C++, so we just chat. If someone would ask a C++ related question, we would prioritize it and try to answer it as soon as we could
 
@JABFreeware What's your point, brother? Can you link me one bookmarked conversation from this room that runs any danger of being on-topic?
@Janman Ah. So this would be the room. Thanks for clearing that up
 
@sehe considering it was opened one day ago, and one of the owners is gone right now, NO.
 
9:21 PM
Whoa. No need to shout :)
 
@sehe What exactly do you want?
 
I didn't understand immediately that off-topic was still okay, as long as no one asks a C++ question. @Janman explained, so it's clear now
 
@Janman @sehe We don't come to your room and insult...why do you have to?
 
@Janman Nothing, again. I just noticed this room and, like any other room I might be interested in, decided to take a look. Am I causing trouble?
@JABFreeware Did I? I just responded to the room title/tagline
 
9 mins ago, by sehe
I LOVE how this room discusses C++.



NOT
thats rather insulting, considering the fact we made it OBVIOUS that we want to chat real C++. Yes, any room gets off-topic. However, in your room you guys are never on topic
 
9:24 PM
@JABFreeware Well, that's not an insult, by any stretch of imagination. It's a factual observation, delivered with only a modicum of irony. (If you can't handle that, starting an internet chat room might not be the best career move for you)
 
Actually yes. I don't see why you have to be so grumpy about us chatting non-related stuff.
From what I understand, this chat is just a place where you can write, ask and discuss C++ related stuff. But when none is writing anything, I don't see the problem why we cannot chat just for the fun.
 
@JABFreeware Well. There you have it. I make a factual observation, it's rude because "we /want/ to be on-topic". Yet, you respond with blatant inaccuracy :_)
 
and you say, "well I've yet to see anything about C++ here" my response is that its only be open for a day.
 
Well, I didn't intend to disrupt anything. I'll leave you with your conversation.
 
@sehe thank you
 
9:26 PM
Cheers
 
@sehe Bye
 
@sehe have fun in your room. (truely) to each their own (not intended as an insult)
 
Or should I say "cout << "Bye" << endl;", so we stay on topic?
2
 
@Janman lol, that would be a good start.
GOSH!
 
@Janman std::cerr << "abnormal thread termination :)\n";
 
9:28 PM
@Janman brb
 
@JABFreeware Its kinda late, have to work tomorrow, So I'll go to bed. See ya another time!
 
@Janman cout << "See you! Nice chatting with you" << endl;
 
hello guys
new here
 
@FreddieWillow new room too :)
 
(removed)
 
9:31 PM
just started my first semester of cs. having prob with arrays specially multi -dimen ones
is there any good resource available
 
Why is std::async faster than std::thread ? for two simple std::sort tasks? g++ impl.
 
how can one be a better programmer ?
 
@CaptainGiraffe 'coz it may re-use an existing thread, or don't start a new thread at all.
 
room topic changed to Real C++ Room: ISO<14882:2011>. For those who want to chat C++. [c++11] [helpdesk] [managed-c++]
@FreddieWillow Study algorithims and practice programmer
 
9:36 PM
btw, shall you do my homework for me?
 
@Abyx No
 
@Abyx I'm starting 2 asyncs, with a std::sort each, a cute std::merge to top it off. Yes 2 threads are created.
 
must go now guys. "/o"
 
@FreddieWillow practice, practice, practice...and practice some more.
 
is there any good books with good exercise ?
 
9:59 PM
HEY GUYS
nice to see our room filled up
@R.MartinhoFernandes start flamming away
room topic changed to Real C++ Room: ISO<14882:2011>. For those who want to chat C++. No wait, go to the lounge. They have a helpdesk service. [c++11] [helpdesk] [managed-c++]
room topic changed to (Not the) <Real> C++ Room: ISO<14882:2011>. For those who want to chat C++. No wait, go to the lounge. They have a helpdesk service. [c++11] [helpdesk] [managed-c++]
 
10:24 PM
room topic changed to (Not the) <Real> C++ Room: ISO<14882:2011>. For those who want to chat C++. No wait, go to the lounge. They have a helpdesk service if your not asking about C++. [c++11] [helpdesk] [managed-c++]
 
10:38 PM
Btw, do you guys really want the tag ? Those have been deprecated for, IIRC, five years now. is the real thing now.
 
10:50 PM
Uhh, okay
room topic changed to (Not the) <Real> C++ Room: ISO<14882:2011>. For those who want to chat C++. No wait, go to the lounge. They have a helpdesk service if your not asking about C++. [c++11] [helpdesk]
 
hey i'm try get pixel color but result is wrong color what it can be?                                                   HDC hDC = ::GetDC(tempHWND);
	COLORREF rgb = ::GetPixel(hDC,50,60);
	int redValue = GetRValue(rgb);
	int greenValue = GetGValue(rgb);
	int blueValue = GetBValue(rgb);
 
I would add you, but it seems you require 100 repz to be owner.
 
u c++ much?
 
I'm trying to learn.
 
10:57 PM
Hello !
 
Grasping the concept of pointers is difficult for me.
Hello!
 
pointers are the most difficult part of c++.
the commercial project I am working on consists of mainly handling pointers, and manually dealing with memory acces.
 
They are like plain variables right? References of other variables?
wince
 
yes, they ref other variables
 
I don't like the word "memory" and "pointers" in the same sentance.
 
10:59 PM
with void* for example it can point to anything. you can cast somthing to a void* and back, potentially losing bits of data, and then everything breaking.
 
If it breaks, why would you use it?
 
In some low level coding, it is the only way to do things.
 
Hmm, any exampless/
 
1 message moved from Lounge<Not Real C++>
 
loading a dll, and then grabbing pointers to the functions of the dll without knowing specifically what the method is, or what type it returns, or what parameters it takes.
 
11:02 PM
Oh my.
 
ya, its the most difficult coding I have ever had to do.
makes me love java, and c#
 
@Klasik What you mean "result is wrong colour"? The "rgb" value? or the ints'?
17 messages moved from Teenage Programmers Chatroom
 
the point of the story is that void* are not fun.
 
Sounds like it.
 
what have u been coding?
 
11:07 PM
I am starting a new project in C++.
First one.
It involves credential providers.
 
what kind of project?
more specifically?
 
well it'll be a redirection app
depending on what password the user enters
so any enemies
you give the wrong password
and they will not see your stuffz
 
good luck with learning c++!
 
Thanks.
The dang samples wont' compile tho.
Well they will compile.
They don't work however.
 
paste em in here.
 
11:09 PM
Ah, damnit
looks like I was using an outdated sample
I'll try this one
 
hahaha
 
@CCInc really?!
what are the new ones?
 
In the SDK. @JABFreeware
 
@CCInc what sdk?
 
@robbert229 windows
see you guys
must go
/o
 
11:12 PM
se ya
 
@robbert229 Windows SDK 7.1
 
sounds like fun...
 
shrug if it ever decides to work
 
thats why u use somthing like java, platform independant sdks!
 
Yeah.
 
11:17 PM
Just read an article on Quines, programs that write thier own code.... with the write line up you could make a program in java that writes it's own code compiles and then runs its child program.
 
Wow, huh
f---ing AWESOEM
IT WORKS
@robbert229 Now, what does the cdoe do? :)
 
anything, its just the principle of writing a self replecating, and maybe even changing program that writes it's own code.
 
{ char *s = "foo"; }
<s = 0x400f99 "foo">
I verified, after the block, the value "foo" is still contained at 0x400f99
but this was static allocation right ? it means after the block the variable is no longer part of the program ?
 
@robbert229 could you help me make sense of this?
@Oddant I believe all variables in blocks are removed.
Well, if static.
 
do you know about the ternary operator?
 
11:29 PM
bool ? output_true : output_false in C#
 
okay thats good, do you understand ->
 
?
It's like . right?
 
kinda .->, is shorthand for (*a).*b, it is a pointer-to-member thing
so its like .
 
where'd I epicly fail
std::cout << pkil -> Password;
 
lol
 
11:35 PM
Awesome!! A C++ room!
 
Ish.
I see you have visited the lounge before.
 
The what?
 
lol, cavalry arrives
 
@CCInc pastebin.com/6nxpLb3s I made some notes in the comments on my take of the program.
 
Oh you mean Lounge<Pedants>?
I don't really understand what they say
They always bully me because I'm a girl
 
11:37 PM
what do they say?.?
 
So I put a boy picture instead
 
stop f---ing me
 
@CCInc u talking to me?
 
i'm glad there's a new c++ room!
 
@Cicada Oh stop being such a pussy.
 
11:37 PM
^
 
oh cicada...
 
@CCInc the color is #B38300 but it returns me #074092 I'm trying get pixel color of 3D Application.
 
@DeadMG he's f---ing me right?
 
@CCInc yeah, he does.
 
he's one of them!!
 
11:38 PM
it's me, a Lounger!
 
go away please
go back to your filty cavern
 
@Cicada run to php room!
 
let us here in our new room
 
@DeadMG how's the stomach?
hey Ell
how's you
@DeadMG you ever visit a docter?
 
What the hell is going on.
 
11:40 PM
I ask the same :P
 
can i be owner of this room pls
ill do funy stuf!
 
gallstones
 
<Real>C++
 
@Cicada I'll consider it.
 
Why don't you CC
 
11:41 PM
@robbert229 I'm stuck at the first line.
    HRESULT hr = E_INVALIDARG;
        // Returns HRESULT hr
 
how do I pass a PHP function as argument of a C++ function ?
pls help
 
@Cicada wtf??
 
@Cicada Your attempted trolling might have worked, if you were a lower rep user.
 
??
 
@CCInc HRESULT is a type, hr is created at an invalid state, throughout the program hr is set to various states, and then returned
 
11:44 PM
@robbert229 So it's set to this value, InvalidArg. Then a function is run, and the result is set to the result of that function.
So basically, it's just there so you can return it?
 
@CCInc yup
 
as a valid initialized variable
 
yup
 
so you said
rgbSerialization is true/not null
 
@Cicada you're failure as a troll. too fat has too much rep.
 
11:46 PM
an if statement checks for true OR null?
^^
 
@Abyx doesn't mean i can't relax in my own way
 
@Cicada no I don't know the full scope of the sdk so I dont know if its talking about boolean, or instantiation
 
                    rgbSerialization = (BYTE*)HeapAlloc(GetProcessHeap(), 0, pcpcs->cbSerialization);
                                        // rgbSerialization is cast to a byte pointer after being set by heap alloc.
wat
 
HeapAlloc's result is cast to a BYTE pointer
 
what's heapalloc
 
11:48 PM
heap alloc is a windows function for dealing with heaps
 
                hr = rgbSerialization ? S_OK : E_OUTOFMEMORY;
so this checks if it's null?
 
yup
 
                        CopyMemory(rgbSerialization, pcpcs->rgbSerialization, pcpcs->cbSerialization);
 
This winApi?
 
@Pawnguy7 Yes, Win api 7.1
 
11:49 PM
@CCInc That tutorial is awful.
 
@EtiennedeMartel Any recommendations?
 
more windows stuff.
 
@CCInc Don't read that. And get a proper book.
 
books are important.
 
will a 20 year old book suffice?
 
11:51 PM
get somthing newer
the new c++ stuff is cool
 
C++11?
 
@CCInc Rule: if the book is not on the list I've just posted, it sucks. No exceptions.
 
yesh
 
Why DID they call it C++0x? Never heard.
 
robert 229
what does the 229 in your name mean
 
11:52 PM
the list looks good, its got 2 Bjarne Stroustrup books
@Cicada its my middle name, and handle since i was 8
 
@Pawnguy7 Because it was originally slated for 2008. Then it shifted, so they renamed it to "0x".
 
the new c++ stuff has some cool stuff for variadic functions.
 
@robbert229 229 is your middle name ???
 
@Cicada yes my parents were wierd
@Cicada Im actually agent 229..
 
they probably still are
 
11:54 PM
no they were un wierded earlier this week
 
un wiered
poor them
 
@Cicada u mis read.
@Cicada They decided to retire from being russian sleeper agents, and thus became unwierded.
 
oh that makes sense
 
indeed
 
so if your middle name is 229, is your last name Fagget?
because that would be awesome
and weird, in a way
 
11:56 PM
no, my last name is Rowley, as in keeper of the kings deer, or the town in bostin
no response....
 

  last day (63 days later) »