« first day (888 days earlier)      last day (4055 days later) » 

7:00 PM
memcpy() is one of those things where I use it non-performance critical cases or extremely trivial cases.
 
@Mysticial yeah, but I basically am doing it manually at this point, just without assembly
 
Nope
Roleplaying implies identifying with the guy and I just don't
 
I'm dropping down to a loop with fixed strides (i.e. the same loop as before, but the strides in bytes are known to be sizeof(double) at compile time)
 
@StephenLin Just try a straight-forward loop and benchmark it.
 
@LuchianGrigore uh-huh ;)
 
7:01 PM
lol, all of it is still on my disk.
 
@StephenLin Did it make a difference? Or are you still working on it?
 
27 damn files of source.
 
yeah, it works in a C testbed
 
how much do games like baldur's gate change based on things like Alignment?
 
and it works in Cython, for the particular case that originally regressed
 
7:01 PM
@DogPlusPlus And they're all in PHP
 
it just regresses unrelated tests
 
> DeadMG broke something.
 
that weren't originally broken
 
@StephenLin lol...
 
@DogPlusPlus are you trying to bring that back to life?
 
7:02 PM
like in most RPG's it feels like "if you're good, people will talk to you" and "if not, they'll attack you"
 
or are you just reminiscing?
 
wait, your manual loop broke the code?
 
And you probably didn't even make emoticons :mad:
 
@CatPlusPlus Actually, that's just HTML and CSS, the backend is Nerve. :D
 
yeah!
exactly
 
7:02 PM
wut
 
it ought to be monotonically better than the original
the original have variable strides
this has constant strides in the last dimension
 
I couldn't stand PHP.
 
Wait... it broke it as in it's no longer correct? Or just slower?
 
Tried, but couldn't use it.
 
slower
 
7:02 PM
My brain forbade me. :$
 
no clue, but i've rerun the regression multiple times
 
I remember you saying you like it
 
haven't looked into the particulars yet
it's just odd
 
@CatPlusPlus Hahahah, only if I'd fallen on my head previously. :D
 
When you use memcpy(), is it calling the function? Or does it do something in place?
 
7:04 PM
in-place
but this isn't the branch affected anymore
this is the non-memcpy() branch
it's fine when i put in the magic number <256
 
example?
 
TAKE5 is what i have now (more or less)
 
Aw, memories.
 
7:05 PM
i'm testing it against TAKE1
and it's not always faster, even when the contiguous checks pass
that's the odd part
 
What's the difference? %-wise?
 
(it's fine this particular program, I mean the equivalent Cython is causing a regression)
 
Oh. I'm not familiar with Cython...
 
25% overall on the test (but it's not just this loop, so it's probably a larger factor for that particular loop)
well, it translates directly to C for the most part
Cython could be doing something screwy
but anyway, this IS odd right?
 
Hard to say. I have almost no experience in Python let alone Cython.
 
7:07 PM
going from variable strides to fixed strides making things worse?
it seems like it's an optimization gone bad
 
@StephenLin yes, that would be weird.
@StephenLin It happens sometimes.
 
the fixed strides allow a transformation that it couldn't use before, and now it's worse
 
@TonyTheLion, @EtiennedeMartel, @CatPlusPlus - Does anyone have the original design document?
 
ok, well, thanks for the input, i'll try to figure it out
 
I answered a question last January about a case where ICC was being too smart and shot itself in the foot.
 
7:09 PM
@DogPlusPlus I don't.
 
probably saw that one
sounds familiar
 
@DogPlusPlus It's linked on the repo wiki
 
anyway, the annoying thing is that our test suite is crappy so all i can say is one test is improved and one test is regressed and i have no idea if that actually helps or hurt in actual cases
 
One thing you can do is look at what the "good" version of the compiler-generated memcpy() looks like. Then imitate it in straight C. That way you can strip out parts that are pure overhead.
 
7:10 PM
since there's no reasonable weighting factors on test importance
 
@EtiennedeMartel lol
 
ok, i'll take a look
 
@CatPlusPlus So, if a DX11 prototype and a website were to pop up, would it be enough to convince you gays aboard?
 
@DogPlusPlus DX11? fuck yes I'm on board :p
 
this is fun as a learning experience but frustrating otherwise
it's like learning there's no santa claus
 
7:11 PM
@StephenLin Yeah. It's mostly hacking around at this point.
 
Well, I doubt it would stay DX, because Cat demands portability.
 
You mean you want to do windowing ALL OVER AGAIN?
No, I don't care, I don't have time or patience for C++ projects
 
:v
 
And know when to call it quits so you don't spend too much time.
 
yeah, it's just that i figured i would have a sure win with this one
 
7:12 PM
@CatPlusPlus Okay. Btw. C++ projects in general? What's your pleasure nowadays?
 
if that other test didn't happen to be there, i would never have guessed it wouldn't be
 
The design doc is here docs.google.com/document/d/…
Get @thecoshman to give you access
 
probably every other change i've made regresses something, to be honest
i just don't know without coverage
 
@StephenLin Yeah. But just trying coping the compiler output and see what happens. That tends to work well in a lot of cases because you're essentially reproducing the same IR, but manually.
 
yeah
any guess though?
 
7:13 PM
@StephenLin That's typical. Almost never does a micro-optimization improve everything.
 
i'm thinking alignment and loop rolloing/unrolling overhead
 
@StephenLin I would have to see the assembly to see exactly what the compiler is doing.
 
yeah, i'd have to pull it from the Cython version though
the file is huge since its auto generated
 
lol
 
any easy way to get asssembly for a given function with source lines interleaved?
 
7:14 PM
@DogPlusPlus Not coding?
 
@StephenLin I usually enable inlined source in the assembly outputs.
 
I don't know, I just don't have the patience for shitty tools and whatnot
 
@CatPlusPlus Don't tell me that graph project took the life out of you. :D
 
without going over the entire file? (i can pull it out but it takes some effort)
 
Then I can search for the function and jump to it.
 
7:15 PM
It's enough that I need to write code for uni and work
 
yeah, i tried that
 
Who's @DogPlusPlus?
 
i stopped waiting for the output at some point
 
@Mysticial @DogPlusPlus
 
@StephenLin How big is it?
I can easily open 100MB+ files in an editor and search for anything.
 
7:16 PM
I have to go get ready to go out. It's still snowing like PHP outside :(
 
165,423 lines of C, autogenerated from Cython, in turn partially autogenerated from Python
i'm working on the python script that autogenerates the Cython
so there's indirection
 
Anyways, I need to go to lunch. My parents are getting mad at me to staying in front of the computer too long.
 
@ScottW thanks :D
 
@StephenLin Yeah, that would complicate things.
 
Then write a C code that generates the Python script
2
 
7:17 PM
@Mysticial no problem, thanks for the input
 
I can't say I know how to approach that.
 
Go full circle
 
@ScottW I'm in California right now.
 
@Mysticial Can't you eat lunch at the keyboard? =p
 
Are you sittin on stackoverflow at 3 am? :D
 
7:19 PM
@Code-Guru I'm going out for dimsim. (I hate that romanization though... sounds nothing like the word in Cantonese.)
 
@Mysticial What's dimsim?
 
@ScottW #'MERICA
 
Dim sum () refers to a style of Chinese food prepared as small bite-sized or individual portions of food traditionally served in small steamer baskets or on small plates. Dim sum is also well known for the unique way it is served in some restaurants, wherein fully cooked and ready-to-serve dim sum dishes are carted around the restaurant for customers to choose their orders while seated at their tables. Eating dim sum at a restaurant is usually known in Cantonese as going to "drink tea" (yum cha, 飲茶), as tea is typically served with dim sum. History Dim sum is usually linked with t...
 
nvm...googled it
 
@ScottW Only an American would say that California, Chicago, and the East Cost is "all over the world".
:)
 
7:20 PM
I guess that Poland is on other planet
 
@Mysticial I would drop the chicago part out of that personally
@Mysticial "flyover country" :D
 
Poland is on another planet. At least, that's what @CatPlusPlus tells us.
 
anyways, laters
 
@Fanael Yes, a glob.
 
@Mysticial Take your laptop with you! That'll be a sure hit with the parental units!
 
7:22 PM
I dont really get what's the topic of this chat
oh now I get it
 
@JerryCoffin Aw. That's tooooo kind :) On the subject though, it's most certainly not the first time this has happened. The most notable other instance we all witnessed was Daknok/Zoidberg rage quitting about a year(?) ago - we all noticed due to rep deletion. I've since seen maybe 4 rep drops for reason "user deleted" (note this is since that report was implemented in the reputation tab, which was fairly recently).
I think I also remember other people mentioning things like that in the lounge
I suspect, indeed, a bug.
 
Anyone know how to convert from any base to any base without going through base 10?
 
You all got too much rep. I'm leavin.
 
isn't it the same method of converting to/from base 10?
there's nothing special about base 10
 
Every base is base 10
 
7:26 PM
@Mysticial actually, I'm assuming it will be 80% posts in the tag, so not too difficult to track
 
hah
@CatPlusPlus i know that one
 
Kind of except there are letters involved.
 
@cubuspl42 You've got too much win. I'm changing my nickname
 
Letters make shit confusing
 
Still 10
 
7:27 PM
@CatPlusPlus did you get that from math.stackexchange.com/questions/166869/… or separately?
 
not at all.
 
@Griffin Depends. Are you allowing diacritics?
 
But if this works your my savior
 
@StephenLin It's old
Also I don't read math.se no
 
@Griffin your, my - make up your mind ?
 
7:28 PM
@CatPlusPlus ok...well I've never heard it before that, but it's kind of silly anyway because it's not really a deep fact, just misleading
 
not my question. I want to convert from bases higher than 10 to other bases.
 
@Griffin there's still nothing special about base 10, if you have a formula that converts to/from base 10, just change the 10 part
 
user image
5
^ worth it
 
Okay please show me the C++ to convert 1A from base 20 to base 10.
I'd love to see it.
Sorry not base 10 base 25
 
well, do you mean strings?
if it's strings then its more complicated
if it's some abstract representation of bases
 
7:30 PM
It'd have to be a string. It's hard to put 1A in an integer
 
with like, arrays of numbers
 
@Griffin How are the bases represented?
 
you can represent vectors of digits
where each element is b^n
then the same formula would work for all b
 
No arrays.
Especially vectors.
Vectors are a living hell when it comes to memory.
 
but if you have to format your strings, it depends on what format you want to provide/accept
 
7:31 PM
All bases 36 or below
 
it's more a string formatting issue than anything else
 
Seriously? A flag?
 
@sehe How does the alien pronounce the symbol "4"?
 
Yes I've been given this idea before but it's far easier to say that stuff than do it.
 
7:32 PM
@Griffin What?
 
Not you Code-Curu.
Guru
 
hmm?
 
@EtiennedeMartel Yes I said that earlier.
 
@Griffin I'm not saying it's trivial, I'm just saying that a formula that converts bases (if it's actually doing that, not the string manipulation part) is good for any pair of bases
 
@Griffin What
 
7:33 PM
@Griffin if you have that, then you don't need anything else, except that you have string input/output issues
 
@CatPlusPlus Yeah.
 
I don't have the letters down.
 
ITT: mad ramblings.
 
They mess me up.
 
ITT I can't hold that digit
 
7:34 PM
@Griffin How do you change "12" in base 3 to base 10?
 
do you need to handle overflow?
 
This is extremely boring thread
 
+1 *3 + 2 * 3
 
@CatPlusPlus Indeed. Let's get wasted.
 
Ell
2*(3)+1*(3*3)
 
7:35 PM
if you don't, then all you do is loop over the digits and sum (coef * b^order)
 
@Griffin What I'm getting at is that if you know the steps to do it by hand, then writing the code is fairly easy.
 
Ell
I think :P
 
and then you take moduli and divide repeatedly in the base that you're converting to
 
I'd love to see you take the mod of a letter.
 
Recursion is soooo! hard to understand
 
7:35 PM
So many letters in this sentence I'm so confused
@Griffin It's not a letter
It's a digit
It has a numeric value
 
@SteveJobs Recursion is easy to understand once you understand recursion.
5
 
@Griffin @Ell Think about it for a second: what "place" is the "2" in?
 
Letter is just one representation
 
Backspace...
 
Ell
Okay I'm wrong
 
7:36 PM
is a std::thread reusable?
 
@DeadMG -_-
 
@ThePhD Define "reusable".
 
@Griffin, you just take the mod of the "total" which is an integer number in an integer variable (if there's no overflow) and doesn't depend on a particular base
 
Oh wait
 
@Griffin As for letters, in hex, what does "A" represent?
 
7:37 PM
What's this
 
@DeadMG I'm trying to understand the Towers of Hanoi problem using recursion.
 
all you have to do is loop to sum the number in your source base (from string to integer)
 
Positional notation or place-value notation is a method of representing or encoding numbers. Positional notation is distinguished from other notations (such as Roman numerals) for its use of the same symbol for the different orders of magnitude (for example, the "ones place", "tens place", "hundreds place"). This greatly simplified arithmetic and led to the quick spread of the notation across the world. With the use of a radix point (decimal point), the notation can be extended to include fractions and the numeric expansions of real numbers. The Hindu–Arabic numeral system is an example f...
A wikipedia article about numeric systems?!
 
For example, a std::thread that hasn't been initialized yet (or isn't running) has a default std::thread.id() that defaults to a default-constructed std::thread::thread_id that means "I'm not running right now", so that's how I know to start the thread.
 
then you loop to do modulus and divide repeatedly to your output base (from integer to string)
 
7:38 PM
@CatPlusPlus What's this? There's color everywhere.
 
Forget about strings jesus strings are irrelevant
 
If the thread terminates - I.E., it runs its function - does the std::thread::id() reset again and can I Queue it up for work again?
 
there's nothing special about 10 here, except that all digits >=10 map to letters instead of numerals
 
Also I need food
 
Give me an example by converting 2D in base 25 to base 20.
 
7:38 PM
@CatPlusPlus yes, strings are irrelevant but that's what's tripping him up
 
@Griffin Do it yourself?
 
@Griffin Let's make it simpler...convert 2D in hex to base 10.
 
No.
 
@Griffin What does the "D" represent in hex?
 
That's the thing
 
7:39 PM
@ThePhD That would be too easy.
 
Stop
 
What the fuck is going on.
Who is this guy?
 
Make the thing I have
 
Stuff
 
You are asking for help and then you tell us to stop? Really?
 
7:39 PM
A greater than the base I want and both bases must be above 10
 
@Griffin, look D is just a digit representing "13", so "2D" in base 25 is (13 * 1 + 2 * 25)
 
@DeadMG Maybe i need to understand mathematical induction before understanding recursion ?
 
It's (2 * 20^1) + (D * 20^0) fyi
 
Code that's the problem.
 
@Griffin If you don't understand how to convert from base 16 to base 10, then you will never be able to solve the actual problem that you want.
 
7:40 PM
Okay cat now give me the answer.
 
or at the very least, you will have a very hard time.
 
I can convert that.
It's when I'm converting if the answer has letters.
 
@Griffin Are you seriously asking others to do your work for you?
 
That's a better way of saying it.
@EtiennedeMartel No I'm trying to understand how it works.
 
@Griffin 63 mod 20 is 3, and 63/20 is 3, so the answer is 33 in base 20
 
7:41 PM
@Griffin So do you want my help or are you just trying to waste my time?
 
user142019
How can you check integer overflow?
 
2D (base 25) == 33 (base 20)
unless i screwed up
but that's the idea
 
Ugh I was thinking about something else but whatever
 
How did you get 65?
*63
 
"D is just a digit representing "13", so "2D" in base 25 is (13 * 1 + 2 * 25)"
 
7:42 PM
@ScottW erm... what do you propose? (IOW: don't)
 
@Griffin You have a very peculiar way of asking for help, then.
 
@NicolBolas "I don't see any evidence of the problem you suggest at all." - try actively monitoring the feed for a year or two. Then we'll talk again. Seriously, this tag has too few contributors, and frequently I post an answer that goes without a single response for days. I can only conclude that all the c++ regulars just skip on it as "too much effort"/"too specific". This is certainly true of the people I know (they actively refer those questions to me, nevermind I'm subscribed :)) — sehe 1 min ago
 
@Code-Guru No
 
@Griffin sure, values aren't in any particular base. Parse the input base, serialize to output base.
 
7:43 PM
alright, I'm on Mumble, who's joining me?
 
@CatPlusPlus bleh...nvm
 
Holy fucking shit!
A MSVC bug I reported is actually being fixed
 
@StephenLin If your right then I'm sorry I thought of a problem on the fly.
 
@StephenLin lol, was thinking you were doing base 20 for some reason...lol
 
@TonyTheLion I'm at work, so not me.
 
7:43 PM
ok
 
Mumble everyone :$
 
@Griffin Do you know how to convert hex to decimal? For me understanding a simpler problem first helps me understand a similar, more complex problem.
 
@Griffin you just have to realize that "63" stored in an integer (rather than a string) has no base
 
Ell
Who is dog++? Domagoj?
 
it's just "63" in your mind because you think of base 10 as special
the computer doesn't care if its 63 (base 10) or 33 (base 20) or 2D (base 25)
 
7:45 PM
@ThePhD here, have some rep
 
@Ell Yup.
 
I need food first
 
@jalf Huh?
 
Ell
@Stephen the computer needs it in base 2 though really
 
7:45 PM
hmm
where's the pre-Bristol mailing gone?
 
@Ell Not really relevant to anything
 
@Code-Guru Yes if I go through base 10
 
@ThePhD I accepted your answer :)
 
@StephenLin hmm...so to convert from base 20 to base 25, you divide and mod by "15" (base 20)...
 
I can get to any other base
 
7:46 PM
@Eli it doesn't have to
@Eli there are/were decimal computers
 
@jalf Oh. Even with my rant?
 
@Eli packed BCD representations too
 
I've been considering deleting that rant.
Just because, uh. I dunno. It's too rant-y.
 
@Code-Guru yeah, that too, but you have to think in that base
 
@Griffin I missed the original question. So to do the conversion to another base without using base 10, you need to know how to do arithmetic in the current base (20 in your example).
 
7:47 PM
@Code-Guru easier to express everything in base 10, even though it's not special
 
@StephenLin yes, just because we are inculcated with it.
 
@Code-Guru I think that's what's confusing @Griffin though, so I'm trying to avoid that
 
@ThePhD yup. Well, since MS agree that it's a bug, it seemed fair to accept your answer :)
 
Regulars should join us on Mumble. Bring some drinks for Cat++, too.
 
@StephenLin I was, too...but got a lot of pushback.
 
7:48 PM
and yeah, I agree with the rant too :p
 
man
I shoulda bought some fucking beer.
 
@Zoidberg did you start MPD on twitter too, now? RadekSlupik, @__daknok @rightfold? I don't follow :)
 
@DeadMG Didn't you have to lay off the beer? :c
 
It's still not too- oh wait, swamp
 
@jalf what's the bug?
 
7:48 PM
Every time someone says man, I hear "I threw it on the ground."
 
@jalf linkage?
 
@jalf Yaaay, rep!
 
user142019
@sehe yes.
 
:O I reached 700 rep!
 
@ThePhD Yeah, but I could have done today.
@CatPlusPlus Actually, it's not too late, by about 12 minutes, but I can't afford it in diet terms.
 
7:49 PM
(First # * 16^0) (second * 16 ^ 1) and so on
 
user142019
I also have a new email address. I got sick of all the spam.
 
the SO question I posted about it is here /cc @StephenLin, @DeadMG
 
hey @sehe, sorry for our misunderstanding about C++/CLI default arguments by the way, do you really agree with me or did you just decide to stop caring?
 
@Code-Guru
(First # * 16^0) (second * 16 ^ 1) and so on\
 
I posted a link to the Connect issue under @ThePhD's answer
 
7:49 PM
Can I just give Griffen code?
 
@Griffin zacktly
 
@sehe i see your point kind of now, C++/CLI does some other magic stuff that departs from C++ semantics, the more I thought about it
 
@MooingDuck Only if it has a hidden virus.
 
@Code-Guru Okay.... so ....
@Moon
@MooingDuck And porn.
 
@jalf Ah yes, I recall now.
 
7:50 PM
porn bomb ftw!
 
Beside the point.
Yes.
Every hour on the hour it brings up the latest video on pornhub.
 
@Griffin oh...you missed the + in there...
 
Anyone know who rage-quit on SO?
 
Stop talking about porn and start talking about recursion.
 
@Code-Guru Sorry.
@SteveJobs Look he's a kill joy in the after life too.
 
7:51 PM
@Griffin I'm sure you know it. Just wanted to point it out for completeness just in case.
 
@Code-Guru k
 
@BrettHale One of the few contributors to the boost spirit tag.
 
@SteveJobs recursive porn!
 
@SteveJobs Why not both?
 
@SteveJobs Or porn recurssion?
 
7:52 PM
Well, if you want to talk about recursive porn...
 
-_-
 
@Code-Guru Doesn't sound bad to me. Based on how much porn has been uploaded we convert the number....
 
the fuck is going on here?
 
TONY! Just in time. <333
 
@TonyTheLion Math tony the tiger.
 
7:53 PM
@Griffin wait?! Do I know you?
 
@TonyTheLion It's an InsufficientPornException.
 
You could say you get some porn to masturbate to, which ends up making your ejaculate, but the porn isn't over, so you try to get another one off since you've just got all this leftover porn, so you keep getting off as you keep getting porn.
 
@TonyTheLion ..... maybe....
 
Clearly, recursion here can be written as a tail-recursion.
 
@StephenLin From what I remember, I really agreed. You had an excellent point about the design of templates in C++/CLI. I sort of didn't think of that. I had focused on "the rest" (i.e. ref classes) where obiously "C++-ish" syntax represents radically CLR semantics.
@StephenLin Yeah. Well, the truth was clearly in the middle there. So, my simplification didn't work anymore than yours :)
 
7:55 PM
@Griffin It's just that I used to be called Tony The Tiger and you saying it makes me think I knew you...
 
@Griffin So in our example, you were converting hex (base "16") into decimal (base "10"). You use powers of "16" because "16" is the decimal representation of the base for hex. You can expand this to your example of converting base 20 to base 25. First convert "20" into base 25: "J". Now expand the number into base 25 by using powers of "J".
 
@Code-Guru So what do I do when there is a letter in the answer...
 
@sehe, ok, just making sure...but it wouldn't have been terrible to put in default argument metadata i suppose, it would just have to be limited to cases where the default argument could be expressed that way
 
@Code-Guru Sorry I already started typing
 
@sehe anyway, hope there are no hard feelings :)
 
7:55 PM
So "1A" base 20 is "A*J^0+1*J^1"
 
@sehe you two are sounding suspiciously reasonable! Stop it! I'm not used to all this "seeing the other guy's point of view" stuff in this room
 
@StephenLin Not at all :) I don't know about you, but I get much less agreeable discussions sometimes !
 
And this is where the problem happens...
 
@jalf Ah, well, it didn't really happen in the room. We're just reviewing it then
 
int HornyBastard ( int EjaculationCount, const int SexualProwess = 5 ) {
     if ( EjaculationCount < SexualProwess )
          HornyBastard ( ++EjaculationCount, SexualProwess + ( ExtremelyHotScene ? 1 : 0 );
}
^ Voila, recursion. @SteveJobs
 
7:56 PM
@ThePhD Erm.
Yeah.
 
Because J is not a number in base 10 and my computer uses base 10 for math.
 
@Griffin okay, let's go back to another simple example...how do you know that 5*8=40 in base 10?
 
ITT: ThePhD competes with Tony.
2
 
@Griffin J is clearly a number.
 
@DeadMG have a star. :)
 
7:57 PM
@jalf And to think I just retwote your stance on the "sexism rage". Because .... I agreed. No shit. Is it April's Fool already?
 
@Code-Guru Yes.
 
@Griffin J is a digit in base 25...so it is a number.
 
@DeadMG Liiies.
 
@sehe :)
 
7:57 PM
@Griffin I asked "how do you know", not "do you know"...
 
@ThePhD what the fuck ?
 
@Code-Guru I know that's why I said it's not a number in base 10.
 
@SteveJobs You asked. :D
 
room topic changed to Lounge<C++>: The Lion has competitors. Must Destroy! :P [c++] [c++11] [c++-faq] [no-helpdesk]
 
@Griffin Which isn't a problem...we aren't using base 10 at all.
 
7:58 PM
 
@StephenLin The surprising thing is, C++/CLI appeared to be less consistent than I remembered it to be. Guess what: impressions are subjective, and it says a lot more about expectations than about actual consistency.
 
But.... my computer doesn't do that....
 
@Griffin so let's go back to 3rd or 4th grade. How did you learn that 5*8=40?
@Griffin My computer doesn't do base 10, either.
 
Because 5 + 5 + 5..... eight times is 40.
But your c++ seems to for math,
 
@sehe, I think the big mistake was C# using ~C() for finalizers to begin with, that was a terrible decision
 
7:59 PM
@Griffin if you write "cout << 5 * 8 << endl;", the computer does not do base 10 arithmetic.
 
a little bit off-topic but it affected the consistency of C++/CLI vs C#
 
@Griffin The "40" you see on the screen are chars not ints.
 

« first day (888 days earlier)      last day (4055 days later) »