Search found 5 matches

by Laethnes
Tue Sep 29, 2009 10:13 am
Forum: devkitARM
Topic: NDS and using virtual methods - it's a good idea?
Replies: 5
Views: 6923

Re: NDS and using virtual methods - it's a good idea?

about std, I suggest you read this:
http://www.coranac.com/2009/02/some-interesting-numbers-on-nds-code-size/

although stringstream isn't included, so I'm not sure how big it is.

OMG! And I thought that basic iostream is lighter then printf... Yea, stringstream is not there, but it is obvious ...
by Laethnes
Tue Sep 29, 2009 7:35 am
Forum: devkitARM
Topic: NDS and using virtual methods - it's a good idea?
Replies: 5
Views: 6923

Re: NDS and using virtual methods - it's a good idea?

But I'm not sure, what means "overdo it" for system like NDS. Because I'm using and operating through interface classes, every method I need have to be virtual. It's not like I'm using hundreds of methods, but it doesn't sound nice to me.

But you're right. I have no reason not to try use it. Thanks ...
by Laethnes
Mon Sep 28, 2009 6:42 pm
Forum: devkitARM
Topic: NDS and using virtual methods - it's a good idea?
Replies: 5
Views: 6923

NDS and using virtual methods - it's a good idea?

I'm just beginning programme to NDS (but in C++ I'm programming a few years) and I'm thinking about virtual methods. I made a simple video engine for PC game using virtual functions, co I can later change graphic library from OpenGL to Direct3D or so and so I did with classes for images, textures ...
by Laethnes
Sun Sep 27, 2009 3:03 pm
Forum: devkitARM
Topic: Code::Blocks?
Replies: 8
Views: 11569

Re: Code::Blocks?

its not really possible to create an nds project the same way as an pc project, because the makefile does more than just compile and link the files, like adding the arm7 binary and fixing the headers. using the makefile is the best way.
Ah. It can not be done. Fine. Thanks.
to use devkitARM with ...
by Laethnes
Sun Sep 27, 2009 8:39 am
Forum: devkitARM
Topic: Code::Blocks?
Replies: 8
Views: 11569

Re: Code::Blocks?

I have same problem, but I can not set compiler in Code::Blocks right. All I did was setting "search directories" and "Toolchain executables". When I try compile project, obj files are created, but it cannot link. It writes some "undefined reference". I did set linker setting to link nds lib. I know ...