Jump to content

  • Log In with Google      Sign In   
  • Create Account

AltarofScience

Member Since 15 Oct 2011
Offline Last Active Oct 22 2014 04:51 PM

Posts I've Made

In Topic: Declaring std::String Causing Segfault

26 August 2014 - 01:08 PM

 

I have a project in Code::Blocks to practice my SDL. For some reason something as simple as this:

string stringname;

 

is causing a segfault for me. I don't ever recall having an issue where declaring a string caused this.

 

I generated an all new console project to test this:

#include <iostream>
#include <string>
using namespace std;
using std::string;
int main()
{
    std::string helloworld = "hello world";
    cout << helloworld << endl;
    return 0;
}

 

This has the same issue. Am I just missing something obvious?

As Aardvajk pointed out it is your installation. You need to install Code::Blocks again. Also as pointed out if you are doing 'using namespace std;' you don't need 'using std::string;' and you don't need 'std::' on the line definition of helloworld.

 

Yeah, I worked it out in the site chat with SotL that my installation was messed up somehow. Still no idea why. Didn't do anything different on the second install.


In Topic: It's getting harder to be myself in real life...

19 May 2014 - 11:41 AM

Popular things have to be bland in order to appeal to a large base. Because a significant portion of humanity will be pissy about any given dash of flavor. I'll never understand all those people who are happy that gaming became mainstream.

 

Most dedicated gamers are still stuck in the same position as they were before. Its like how Harry Potter is so popular but I'm still a [generic profane insult] because I read A Wizard of Earthsea. God forbid I try to say I prefer it and why.

 

Meanwhile the ancient dreams of gaming have failed to materialize. EVE Online is the last bastion of true MMOs. And by that I mean the way they were imagined in near future sci fi. Whether you like WoW or not, its certainly not anything like what people were dreaming of back in the day.

 

RTSes became MOBAs. MMOs became WoW. And so on. But gaming is more popular now right? Fantastic. If only the popular games were ones I wanted to play...


In Topic: The Subscription Model needs to be adjusted.

15 April 2014 - 12:18 PM

To AltarOfScience. I just have to say that if anything, the theme of the Bible is insight into just how aweful humanity is, rather than how awful God is for judging humanity for their awfulness. The state of the world today is evidence.

But on topic, end of topic. hehe.

Humanity is also aweful at spelling. Well, awful at spelling.

 

As for the bible, your comment has nothing to do with the original bible related comment.


In Topic: The Subscription Model needs to be adjusted.

15 April 2014 - 01:24 AM

No, I mean Rand is way more out there than Stallman. Not only will corporations not limit their excesses but individual followers of Rand have shown what will happen if more people subscribe to her ideology.

 

The problem with fair compensation is that there is no such thing. Especially in the arts, the creative careers, politics and so forth. And perhaps most of all in finance and capital based industries. Which includes executives and what not.


In Topic: The Subscription Model needs to be adjusted.

13 April 2014 - 08:43 PM

 


Ayn Rand was a fucking moron. Her understanding of society and economics rivals that of a particularly slow toddler.

 

You could easily say the same thing about Richard M. Stallman, but many people in the FOSS community seem to dig what he says.

 

Yeah, you haven't done enough research on Rand if you compare them.


PARTNERS