-=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- (c) WidthPadding Industries 1987 0|463|0 -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=-




Afr0

AI Archer

17th December 2009

This should have gone into 'Code Snippets'


Afr0

Ugh... importing classes from a DLL?!

14th December 2009

I've experimented with the code generation, and the most I can get it down it is 8 linker errors. I've removed msvctrd.lib, because I read that linking the DarkGDK required you to do that.
[code]1>------ Rebuild All started: Project: TSOClient, Configurat*snip*


Afr0

Ugh... importing classes from a DLL?!

14th December 2009

My library for dealing with The Sims Online archives is my own. But I think it's the Dark GDK library that's causing trouble.
Yeah, I'm seriously considering just using my classes as they are. :|


Afr0

Ugh... importing classes from a DLL?!

14th December 2009

Yeah, well, I managed to get it down to 16 linker errors by now. The problem is with the Dark GDK I think. I'm linking to it for my executable, but it's using alot of functions that I think are also used by my library.
You can't shove afr0 to standard lib*snip*


Afr0

Ugh... importing classes from a DLL?!

14th December 2009

I tried compiling AssetManager as a static library instead, but now the linker throws 54 errors at me, of the type:
[code]display.lib(CGfxC.obj) : error LNK2005: "public: __thiscall std::basic_string<char,struct std::char_traits<char>,class std::allocator*snip*


Afr0

Ugh... importing classes from a DLL?!

13th December 2009

I've made a DLL in C++ with three classes that inherits one other class.
I've exported them all using _declspec(dllexport)
Now... how do I load those classes from the dll so I can use 'em in my client application?!
I have a feeling it might be easier to*snip*


Afr0

QOTD : Emulate or Physical?

12th December 2009

I don't 'prefer' either, but I stick to emulation for the 3/4s of the year I can't be bothered to find all the cables to my Sega Mastersystem II that I bought on eBay (because my original one died somehow)


Afr0

converting colours...

9th December 2009

Diablos: That's probably the default masking colour.


Afr0

What should I buy?

7th December 2009

eBay has a something called a 'search' function. It lets you browse through a list of similar items quickly!
Either that one, or go for the ones that only ship to the US. Send a PM to Cower or Stealth, and have them re-ship it for you!


Afr0

What should I buy?

7th December 2009

eBay is your friend.
Edit: Dammit, ships only to the US. :\\
Edit: Here's one that ships to everywhere, and it's cheaper!


Afr0

What should I buy?

6th December 2009

Mass Effect!
Mass Effect 2 is released in January.


Afr0

To drink or not to drink!

6th December 2009

[quote]At one point, alcohol was banned in the US. Thats probably why we have these stricter laws.[/quote]
Yeah, but then you had tons of Mafia making a living out of importing booze illegally! :p


Afr0

To drink or not to drink!

5th December 2009

[quote]ps. Hotlinking is ALWAYS evil, even if it's a company's images. We've got an uploader, you know![/quote]
Google's Image Search has been hotlinking from day 1! I just transferred the links. :p
Cower: Is it illegal to buy alcohol to/for minors in th*snip*


Afr0

To drink or not to drink!

5th December 2009

Nolan: Irish Mist? Isn't that Absinth?
I have Absinth in my closet, but I'm as of yet unsure whether or not it's 'real', because it's simply too strong for me to drink enough to see whether or not I get the green fairy.
Edit: 55%, smuggled from Germany.


Afr0

To drink or not to drink!

5th December 2009

[quote]and what does a Russian bear have to do with anything?[/quote]
Read the label!
(Image.jpg)
Sosiohistoric note: Russia used to be referred to as 'the (giant) bear' because of it's size and might back in WWII and the cold war. Even today, some pe*snip*


Afr0

To drink or not to drink!

5th December 2009

So it's like Coca Cola? How extraordinary!
Carlsberg also produces Tuborg (see above), but it's only exported to Norway and perhaps Sweden.


Afr0

To drink or not to drink!

5th December 2009

(Image.jpg)
Did you know Carlsberg is Danish? I'm surprised they import that to the UK!


Afr0

To drink or not to drink!

5th December 2009

I'll start.
Our local brewery makes beer that tastes like coffee filtered through a sock;
(Image.jpg)
So I usually go for the Danish variant, imported;
(Image.jpg)
Edit: I used to go Russian all the way, but after being treated for addiction, I've*snip*


Afr0

To drink or not to drink!

5th December 2009

Tis the season of beer. Do you drink?
What do you drink - do you go:
(Image.jpg)
Local?
(Image.jpg)
Russian?
(Image.jpg)
Irish?
(Image.jpg)
American?
(Image.jpg)
Traditional?
When do you drink? (I.E in the weekends, from 1 - 30th of D*snip*


Afr0

QOTD : Programming - Art or science?

2nd December 2009

One of the oldest questions amongst programmers.
What do you think?
Bonus points for flamewars! :p


Afr0

FAR V.3 archives

1st December 2009

Personal closure


Afr0

C++ Class, week 9

30th November 2009

This week (last week, actually) of the official Socoder C++ class has been about using streams and files.
Challenges
1. Create a program to write the following two lines of text to a file called 'Question1.txt';
'Programming is fun.
I love programming'*snip*


Afr0

Perfectly Random Numbers?

30th November 2009

[quote]The numbers themselves are based on background radiation (but other measurements can also be used) which appeares to be random (although I doubt it truly is)[/quote]


Afr0

Perfectly Random Numbers?

30th November 2009

You could do the same thing as they've done on Random.org, more or less.
Generate lots and lots and lots of pseudo random numbers, store them in a database/file, and pick one at random!
The numbers from Random.org are probably more random, but accessing *snip*


Afr0

C++ Class, Week 8

29th November 2009

1. std::vector<std::vector<int>>
2. [code]#ifndef __STORE_H__
#define __STORE_H__
template <typename T> class Store
{
private:
T Array[10];
};
#endif[/code]

Newer Posts More - Older Posts