It makes me worried when my tech contact for a customer is telling me my app isn't working because I need to send my message from a different IP. Durr, what?
@SamDeHaan That's what happens when people pretend to know how a program works.. "You've gotta fix your program because when I used the VPN to connect to an external network computer and launch your program on their computer from my hard disk, the antivirus protection that I used to safely run your program started spewing strange error messages.."
And this is after another tech on their side thought they needed to open the incoming port on their firewall that they're connecting to on my server on. /doh
I'm going to attempt a decimal number class with a fixed amount of significant figures, by pasting char's together, and adding a x10^e exponent number.
@ScarletAmaranth no, but windows works only by accident. and often, by accident, it does not work. also, my ASUS laptop's mouse pad works or not only by accident, it's sh*t.
@CheersandhthAlf Ah, I'd forgotten I've tried this before. Problem is, I'm using two libraries (Qt and VTK) and I get so many (464) warnings from them that it's futile to try to read.
Question: say I were to store an 8-bit precision number (so ranged from 0 over 0.???128 to 128) by use of a std::uint8_t and an exponent std::uint8_t: the_uint8_t * base^exponent. Would it be "better" to use base=2 or base=10?
@CheersandhthAlf This weekend was the F1 Grand Prix in Montreal. Lots of protests around that, prehemptive searches and arrests for anyone with a red square in the metro, douchebags yelling insults at casserole protesters...
in norway blue and red means the opposite of what they mean in the usa. this has caused some confusion. also, our "billion" is 10^12, while their "billion" is just 10^9. oh, this was a clever statement. just star it.
@CheersandhthAlf "L'enfer est rouge, le ciel est bleu" ("Hell is red, the sky is blue") was a common slogan used by the conservative party Union Nationale (UN was blue, the Liberals were red) several decades ago in Quebec.
@thecoshman Reminds me of a joke where George W. is reading the paper, stops, and says, "Oh my God.. The paper says 5 brazillian people killed in bombing.. " He turns to VP: "Cheney.. how much is a brazillian?!"
@thecoshman I definitely understand the reasoning, having the prefix actually mean something directly (billion ~ million^2, trillion ~million^3, etc, etc).
I have this class:
class Base{
private:
char *message;
public:
Base(string message`);
~Base();
};
Edited: sorry, i forgot giving my constructor!
When i implement the destructor like below:
Base::Base(string message1){
message = new char[message1.size...
I always get the feeling that @Als goes for the rep at any cost (i.e. give the most direct possible answer) instead of proposing a more cleaner solution.
For instance, in this particular case, he's basically telling him to use delete properly instead of, you know, using std::string.
I have this class:
class Base{
private:
char *message;
public:
Base(string message`);
~Base();
};
Edited: sorry, i forgot giving my constructor!
When i implement the destructor like below:
Base::Base(string message1){
message = new char[message1.size...