This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.
Pages: « 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 »
601
Announcements / Re: Missed one.
« on: January 14, 2010, 09:28:23 pm »No, I mean, the only person who would know enough about computers to do that and want to do that would be a microsoft employeeHe's either really bad with computers or really good at trolling.The same kind of power trip my school admin got from systematically disabling the "new window" command on all copies of internet explorer in the school then setting up a program to end any process that owns a window with "firefox" in the title.What the fuck.
or an operafag
602
Announcements / Re: Missed one.
« on: January 14, 2010, 05:45:37 pm »The same kind of power trip my school admin got from systematically disabling the "new window" command on all copies of internet explorer in the school then setting up a program to end any process that owns a window with "firefox" in the title.What the fuck.
603
Announcements / Re: Happy New Year
« on: January 13, 2010, 04:50:40 pm »D uses f!(1) instead of f<1> for templates.Good for D.
C# and Java solve this problem making templates apply only to types, never numbers, so you won't ever write class X<3>>2>.Which is one of the reasons that C# and Java suck. Number templates are extremely useful in some cases.
604
Announcements / Re: Happy New Year
« on: January 13, 2010, 03:22:36 pm »It just comes from the stupid idea to use <> for templates. Because the lexer finds the biggest token it can and >> is an operator, closing two template tags in a row causes problems. Other than that, this behavior for the lexer makes perfect sense- it parses "asdfasdf = 3" as asdfasdf, = and 3, rather than a, s, d, f, a, s, d, f, = and 3.It does not make sense to be green without chlorophyll.
605
Announcements / Re: Happy New Year
« on: January 12, 2010, 04:03:30 pm »>> is considered as an operator, so they must be separate.template<template<>>Are those actually different? Whitespace is not supposed to matter very much in C-based languages.
template<template<> >
606
Announcements / Re: Missed one.
« on: January 11, 2010, 09:19:16 pm »
I have a Phenom II X4 3.4GHz with 4GB of RAM for the fastest (someone here will have an i7; just wait).
607
Announcements / Re: Missed one.
« on: January 11, 2010, 09:01:50 pm »
By the way, we should see who has the oldest computer and run it on that and see how long it takes, and then take the person with the fastest computer and run it on that. Just for an incredibly unbiased and awesome benchmark mostly for lol.
608
Announcements / Re: Happy New Year
« on: January 10, 2010, 04:19:17 pm »
By the way, Josh, make sure that your handler doesn't see template<template<>> as the same thing as template<template<> >, although, I'm pretty sure that you've already handled that.
609
General ENIGMA / Re: Enigma on other platforms
« on: January 10, 2010, 04:17:19 pm »
Maybe eventually 360, because while it's a terrible console, it's almost identical to Windows, as far as programming goes. As far as an IDE, there likely won't be one besides on that's compiled for PC/Mac OSes.
610
Announcements / Re: Happy New Year
« on: January 06, 2010, 09:30:09 pm »
TBH, I'd never touch the ds_* functions, ever. I'd just use STL, instead, or something similar.
611
General ENIGMA / Re: Useful Tips
« on: December 27, 2009, 09:49:10 pm »
If it's char* prefixed with a size_t, then it's still a separate variable. It's just not assigned to a regular cast.
612
General ENIGMA / Re: Useful Tips
« on: December 27, 2009, 09:23:09 pm »string::size() caches the result?No; the result is in a private variable, which is returned by the function. Setting that variable to another variable would be counter-productive.
613
Off-Topic / Re: How not to comment code.
« on: December 27, 2009, 06:57:09 pm »Code: [Select]
// Make a string
std::string str;
// Cin the string
std::cin >> str;
// Cout the string
std::cout << "Hello, World!" << std::endl;
// Clog a message
std::clog << "I'm couting my cins." << std::endl;
614
General ENIGMA / Re: Useful Tips
« on: December 27, 2009, 02:59:52 pm »The sound tip is true, or else I wouldn't have added it. Let's just say it gives the sound more depth.To be honest, I just added that one because I didn't know what to add on my list.
615
Off-Topic / Re: How not to comment code.
« on: December 27, 2009, 01:30:50 pm »
Looks like this guy was a dimmwit.