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




Phoenix

The forum game! (Modem warning : lots of pics)

29th December 2009

(Image.JPG)


Phoenix

Accelerated C++

29th December 2009

Sounds like an impossible mission to me as well, but trying doesn't hurt. Read this: parashift.com. It should warn you of some pitfalls, and maybe even potential interview questions.


Phoenix

Can't run this code

28th December 2009

Data expressions must be constant. [tt]Data Chr(65)[/tt] isn't constant, and neither is [tt]Data a[/tt]. It shouldn't compile, but that doesn't explain why a dialog box pops up. Report to Mark, perhaps?


Phoenix

Push it to the limit...

26th December 2009

You probably already have enough data, but the more the merrier. What's the conclusion? Good news or bad news?
AMD Dual Core 2.1 GHz, Mobility Radeon HD 3450 256MB, 3 GB RAM, Windows 7 x64.
DirectX 9
[code]
|--------------------------------------------*snip*


Phoenix

QOTD - What should I buy for my dad?

24th December 2009

Give him some sort of a puzzle, such as a sudoku machine or a Rubik's Cube.
I'm usually against giving away money or gift cards. Gifts are supposed to be chosen by the giver, not the receiver.


Phoenix

Loadza Snow !

24th December 2009

Even more snow over here, but I can't use my camera at the moment. Nice snow shots though!


Phoenix

Happy Xmas all. :)

20th December 2009

Merry Christmas SoCoders! Need to make a new Xmas avvie, since I never save the old ones. I should learn to recycle, considering the green hysteria and all ;)


Phoenix

Ugh... importing classes from a DLL?!

17th December 2009

Because it's a language which was designed almost 30 years ago. It is an outmoded way of doing things, but C++ is extremely rigid by now and the compilation model can't simply change.
However, most linker errors stem from either:
1. Incompatible charact*snip*


Phoenix

Ugh... importing classes from a DLL?!

14th December 2009

DarkGDK is probably linking to the CRT dynamically, so try /MDd for the projects instead.
[edit]This suggestion is probably quite pointless, since it in all likeliness is what you started out with. It's a bit hard to solve by just looking at the errors, t*snip*


Phoenix

Ugh... importing classes from a DLL?!

14th December 2009

To solve the linker problems, try changing the 'Code Generation' option to be the /MTd for both of your projects.
Why don't you want the library to inhere within your executable? The total size of the program will be the same, regardless of how you split *snip*


Phoenix

Characters you never used...

6th December 2009

Slightly necromantic, but I'm posting anyway. Found this little fellow I made not too long ago:
(Image.png)
I should really turn it into something. The rock highlights are completely off, and he has no arms, but it's definitely usable.


Phoenix

To drink or not to drink!

5th December 2009

Over here, drinking at 15 is common. Even though the legal drinking age is 18. Are these laws taken more seriously in the US, or abroad in general?


Phoenix

QOTD : Programming - Art or science?

2nd December 2009

I agree. Intentions don't matter, but rather the final product.


Phoenix

Todo Lists

1st December 2009

Handy, but they're ugly. They don't blend in with the rest.


Phoenix

C++ Class, Week 8

1st December 2009

[quote=C++ Standards Committee]We're still looking at deprecating exception specifications. Our current feeling is that we will deprecate them except for the ways of saying a function doesn't throw at all (e.g., the new noexcept feature, [which is] still b*snip*


Phoenix

C++ Class, Week 8

30th November 2009

Maybe overkill, but nonetheless a better answer. Exception specifications are however, as far as I know, deprecated or de facto deprecated.
[small]Edited my snippet to be less stupidly abusive of STL algorithms, and to use a more conventional way of itera*snip*


Phoenix

File Insanity

30th November 2009

I use the provided OS folders media folders.
I name things consistently and appropriately, renaming whenever I feel that it's necessary.
I don't clutter my start menu.
I try to keep my desktop almost empty.
I take backups of the absolutely crucial stuf*snip*


Phoenix

Perfectly Random Numbers?

29th November 2009

Using the site JL235 suggested, you can send HTTP requests to get numbers. It's slow as hell, but it works if speed isn't critical.
[code]
Function Random(min, max)
stream = OpenTCPStream("www.random.org", 80)
If(stream)
WriteLine stream, "GET (Li*snip*


Phoenix

Perfectly Random Numbers?

28th November 2009

I don't understand the question. If you're looking for an alternative random number generator, you may want to check out Evil Roy Ferguson's Mersenne Twister version.


Phoenix

Where do you get the fun from?

28th November 2009

A game is fun if playing it is rewarding. You need to find a way to make the game challenging, and praise the player when he crosses the hindrances.
It's a pretty broad question, and I don't think a lot of game ideas are just right from the first prototyp*snip*


Phoenix

C++ Class, Week 8

27th November 2009

I'm not really part of the class, but seeing as no one has posted anything, I might as well answer.
1. std::vector<std::vector<int>>
2. [code]
template <typename T>
struct Store
{
T array[10];
};
[/code]
3.
[code]
boost::mt19937 engine((boost::*snip*


Phoenix

After Blitz...

26th November 2009

If you're afraid of .DLLs, you can statically link to SFML and get one fat executable instead. Regarding cross-platform-ness, SFML can run on Macintosh/Linux.
[edit]Although, C++ brings its own set of nuisances.[/edit]


Phoenix

Paralysis for 23 years

25th November 2009

This is frightening. Imagine being trapped in solitude for 23 years; he can impossibly be in a sane state of mind.


Phoenix

Why does everyone love PHP?

22nd November 2009

I was thinking of ASP.NET in particular, but also of Ruby or Python. I can't imagine that those languages suffer from anything which would make them less stable or mature than PHP. I know there have been some performance concerns with Ruby on Twitter, but *snip*


Phoenix

Why does everyone love PHP?

22nd November 2009

I'm looking at a couple of web hosts for a friend who's starting up a web site, and since I most likely will be assisting with the programming side quite a bit, I'd like a host which supports a decent web language. That is, anything but PHP. Unfortunately *snip*

Newer Posts More - Older Posts