This is an archived, read-only copy of the United-TI subforum , including posts and topic from May 2003 to April 2012. If you would like to discuss any of the topics in this forum, you can visit Cemetech's Calculator Programming subforum. Some of these topics may also be directly-linked to active Cemetech topics. If you are a Cemetech member with a linked United-TI account, you can link United-TI topics here with your current Cemetech topics.

This forum is locked: you cannot post, reply to, or edit topics. General Coding and Design => Calculator Programming
Author Message
magicdanw
pcGuru()


Calc Guru


Joined: 14 Feb 2007
Posts: 1110

Posted: 31 Jul 2007 05:16:52 pm    Post subject:

If CoBB is correct, then I can't easily use templates. If CoBB is incorrect, then I still can't seem to comprehend how templates work, likely because I don't really know C or C++ well. I've been thinking about this project, and one possibility is that if I do write this game, I'll first write it in Java for a desktop computer (since I'm already comfortable with many of Java's OOP implementations), and later when I learn C or C++ I'll port it to the DS. Unless someone ports Java to the DS first...nudge nudge...wink wink... :biggrin:
Back to top
CoBB


Active Member


Joined: 30 Jun 2003
Posts: 720

Posted: 31 Jul 2007 10:36:26 pm    Post subject:

I don’t even know why templates were mentioned in the first place. They have nothing to do with this problem. They are mostly a mechanism to allow the implementation of generic classes (especially containers) whose concrete type is fully decided only upon compilation. (They can do much more, but that’s rather hardliner stuff.)

Nevertheless, if you’re not confident with C/C++, you probably shouldn’t start learning them through a project that requires cross compilation.
Back to top
spandiv
-- Retired --


Active Member


Joined: 25 May 2003
Posts: 650

Posted: 01 Aug 2007 01:56:33 am    Post subject:

I mentioned templates because they sounded like a possible solution to magicdanw's problem. It was a simple error on my part.
Back to top
Display posts from previous:   
Register to Join the Conversation
Have your own thoughts to add to this or any other topic? Want to ask a question, offer a suggestion, share your own programs and projects, upload a file to the file archives, get help with calculator and computer programming, or simply chat with like-minded coders and tech and calculator enthusiasts via the site-wide AJAX SAX widget? Registration for a free Cemetech account only takes a minute.

» Go to Registration page
    » Goto page Previous  1, 2
» View previous topic :: View next topic  
Page 2 of 2 » All times are UTC - 5 Hours

 

Advertisement