| Off Topic > Off Topic |
| Programming Megathread |
| << < (48/241) > >> |
| Legodude77:
iLoveCamelCaseDontYou? |
| carolcat:
yesterday for one of my finals i had to do the hour of code thing. it was p easy, even when i did it with text instead of blocks. i picked the star wars thing and at the end i got to make a "game" by messing with variables and characters, but it was some nightmarish thing where whenever you hit a "good" character it would spawn another "bad" character and whenever you hit a "bad" character it would change the obstacle layout. i got stuck in the obstacles and the game eventually lagged to hell but it was fun to make. |
| Foxscotch:
potential day 5 spoilers for the advent of code thing incoming https://github.com/foxscotch/advent-of-code/blob/master/day-05/p2.py this almost feels like cheating. man I love regex I have just now decided to try to use regex as much as I possibly can to solve the rest of the problems I did use it already once, for day 2, but at that time it would have actually been far simpler to just use the split method of the string, sooo |
| pefu19:
so today i tried c++ sfml today, and i made a window class. i made a pointer to a new sfml window to a m_window object, intellisense reports fine but when i try the code, this stuff happens: the code: window.cpp main.cpp the code in red brackets is what the debugger tells me there is an error any clues? EDIT: fixed it, had to remove the type declarator before m_window in the constructor |
| SetGaming:
This might be a stupid question, but could somebody explain Regex's to me? I know they're regular expressions for sorting and stuff, but I have no clue how they work. |
| Navigation |
| Message Index |
| Next page |
| Previous page |