Off Topic > Off Topic
Programming Megathread
<< < (60/241) > >>
ZSNO:

--- Quote from: Foxscotch on January 16, 2016, 05:51:13 PM ---I would say that something updated for C++11 would be best, but honestly I doubt you'd use most of the features it adds for making a game using an existing framework anyway, so a book from 2005 will be fine
I really like http://www.learncpp.com/ though

--- End quote ---
Learning C++ using C++11 isn't the best thing because you really should learn memory management instead of just relying on magic to make stuff not break.
And you probably won't use anything in C++11 until you're actually good at C++ in general. (I'm just taking this from what my professors keep saying)
Although you'll probably want to compile using a new compiler to get the fastest program.
Dragonoid.Slayer:
I started learning c++. I've only seen my tutor twice now, and my homework is to make a program that checks for all multiples of 3 and 5 between 100, then add them all up to get a sum.
Foxscotch:
I have decided to create a userscript to provide functions and classes to make it easier to create other userscripts
because the other day I was working on a userscript and realized that a couple of functions could be pretty reusable
so far it only consists of those two functions, for the most part. one of which provides the user's session ID, and the other, which distinguishes between different types of pages
currently the possibilities for that are topic, post, board, profile, search, index, and "other" for anything that doesn't fit. it's unlikely that I will actually include every possible type of page, like the help pages
when it's a topic it also has extra info about it, specifically, whether or not it's locked, whether it has a poll, and if it does, whether or not the poll is locked
I'll probably add more parameters like that to the profile one, too, like for whether you're on the plain profile, or the stats page, or posts list, and so on

it's pretty unimpressive at the moment but I have high hopes for the future :)
a very high-priority goal is that it does not rely on jquery or any other external libraries, cus they really slow this stuff down. like, not execution speed, but there's this big delay before the userscript actually takes effect if it @requires jquery
Flame:
i just learned how to use JUnit in java and i don't think i will ever go back again
ZSNO:
Doing homework. My program has an allotment of 0.027 seconds to run through a dictionary, find a route to get from one word to another by only making 1 change at a time, but my program is taking 0.071 seconds.
TIME TO DO BINARY SEARCHES!
Navigation
Message Index
Next page
Previous page

Go to full version