Tentacruel Posted October 23, 2011 Author Report Share Posted October 23, 2011 [quote name='Shard' timestamp='1319406133' post='5596654'] Except that DBZ and BlazBlue arn't for 7-Year old kids. [/quote] That's extremely debatable, and also way off topic. And while MLP may be a meme, us having it as our avatars is not a meme. U mad? is a meme, but it is unrelated to MLP. [CODE].... cout << "Please resume discussion of C++ or do not post." << endl << "You can at least include something on topic in your post."; .... [/CODE] Srsly. Link to comment Share on other sites More sharing options...
burnpsy Posted October 23, 2011 Report Share Posted October 23, 2011 [CODE] if (topic == posted) { if (on_topic == true) { topicisonycm = false } else { topicisonycm = true } } [/CODE] Link to comment Share on other sites More sharing options...
Kizzi Posted October 25, 2011 Report Share Posted October 25, 2011 [quote name='burnpsy' timestamp='1319407549' post='5596698'] [CODE] if (topic == posted) { if (on_topic == true) { topicisonycm = false } else { topicisonycm = true } } [/CODE] [/quote] "on_topic == true"? herp derp Link to comment Share on other sites More sharing options...
burnpsy Posted October 25, 2011 Report Share Posted October 25, 2011 [quote name='Kizzi' timestamp='1319503987' post='5598952'] "on_topic == true"? herp derp [/quote] That is legit code, so I honestly have no idea what the problem is. Just writing on_topic = true would get an error, or at the very least set on_topic to true. Link to comment Share on other sites More sharing options...
Ieyasu Tokugawa Posted October 25, 2011 Report Share Posted October 25, 2011 [quote name='Kizzi' timestamp='1319503987' post='5598952'] "on_topic == true"? herp derp [/quote] In case you actually know the code, it's saying "If we're on topic, we're not on ycm." Link to comment Share on other sites More sharing options...
Tentacruel Posted October 25, 2011 Author Report Share Posted October 25, 2011 Does anyone else think it's dumb that you can never use global variables? Like, ever? And they don't even tell you why? Link to comment Share on other sites More sharing options...
burnpsy Posted October 25, 2011 Report Share Posted October 25, 2011 I use global variables all the time. ._. My teacher had no issues with it, either. Link to comment Share on other sites More sharing options...
Kizzi Posted October 25, 2011 Report Share Posted October 25, 2011 [quote name='burnpsy' timestamp='1319504645' post='5598981'] That is legit code, so I honestly have no idea what the problem is. Just writing on_topic = true would get an error, or at the very least set on_topic to true. [/quote] But just "if(on_topic){" is so much neater! Ahem. Sorry. [quote name='Tentacruel' timestamp='1319507323' post='5599152'] Does anyone else think it's dumb that you can never use global variables? Like, ever? And they don't even tell you why? [/quote] Global variables are bad. Baaad! Link to comment Share on other sites More sharing options...
Tentacruel Posted October 26, 2011 Author Report Share Posted October 26, 2011 But whyyyyyyyy Link to comment Share on other sites More sharing options...
bury the year Posted October 26, 2011 Report Share Posted October 26, 2011 I take Chinese. Don't you be complaining about hard languages. :I Link to comment Share on other sites More sharing options...
Ярополк Пономарёв Posted October 26, 2011 Report Share Posted October 26, 2011 [quote name='Twilight Sparkle' timestamp='1319400739' post='5596455'] You'd be surprised what you can do by learning a computer language. How do you think the cardmaker was made? (inb4magic) [/quote] PHP. PHP > HTML just sayin' Link to comment Share on other sites More sharing options...
Kizzi Posted October 26, 2011 Report Share Posted October 26, 2011 [quote name='Anger Level' timestamp='1319598914' post='5601103'] PHP. PHP > HTML just sayin' [/quote] PHP is a programming/scripting language, HTML is a markup language. Link to comment Share on other sites More sharing options...
Tentacruel Posted October 26, 2011 Author Report Share Posted October 26, 2011 Once you learn one programming language, it becomes a lot easier to learn others. You just have to learn the syntax and whatever differences in the structure of the language are. Link to comment Share on other sites More sharing options...
Kizzi Posted October 26, 2011 Report Share Posted October 26, 2011 [quote name='Tentacruel' timestamp='1319638280' post='5601534'] Once you learn one programming language, it becomes a lot easier to learn others. You just have to learn the syntax and whatever differences in the structure of the language are. [/quote] Except when switching between languages can be really confusing, like trying to remember if you should use true or True and if curly braces are necessary and so on. Link to comment Share on other sites More sharing options...
Ieyasu Tokugawa Posted October 26, 2011 Report Share Posted October 26, 2011 I've just hated programming languages because of how strict they are even on the basic level. Once accidentally used /n for the newline character and it kept saying the n was wrong. Link to comment Share on other sites More sharing options...
Kizzi Posted October 26, 2011 Report Share Posted October 26, 2011 [quote name='Twilight Sparkle' timestamp='1319649870' post='5601698'] I've just hated programming languages because of how strict they are even on the basic level. Once accidentally used /n for the newline character and it kept saying the n was wrong. [/quote] If programming languages weren't strict then they'd end up being a nightmare to debug (which is hard enough as it is). Link to comment Share on other sites More sharing options...
Tentacruel Posted October 26, 2011 Author Report Share Posted October 26, 2011 Twilight, learn Python. The syntax isn't a total b**** like in C++ so you can more easily learn the logic. Link to comment Share on other sites More sharing options...
Ieyasu Tokugawa Posted October 26, 2011 Report Share Posted October 26, 2011 I used Java, not C++. And yeah I know they have to be strict, but sometimes it just pisses me off a bit. Link to comment Share on other sites More sharing options...
Kizzi Posted October 26, 2011 Report Share Posted October 26, 2011 [quote name='Twilight Sparkle' timestamp='1319655652' post='5601796'] I used Java, not C++. And yeah I know they have to be strict, but sometimes it just pisses me off a bit. [/quote] I'd say Java and C++ aren't that far apart, Python is easier. Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.