473,379 Members | 1,184 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,379 software developers and data experts.

C++ Template - Does it work on 16-bit platform

C++ Template - Does it work on 16-bit platform

Hi All,

I was using an open source wbxmlparser for my mobile application.

Now I am supposed to port the mobile application into a 16-bit
platform,

The parser is not working at all for 16-bit platform, I am suspecting
the template classes used by the open source wbxmlparser is causing
this problem.

Any help will be appreciated.

Apr 23 '06 #1
4 1605
so******************@gmail.com wrote:
C++ Template - Does it work on 16-bit platform
Of course.

Hi All,

I was using an open source wbxmlparser for my mobile application.

Now I am supposed to port the mobile application into a 16-bit
platform,

The parser is not working at all for 16-bit platform, I am suspecting
the template classes used by the open source wbxmlparser is causing
this problem.
Do you mean the specific class template you use or the concept of
template as a whole. Only the latter is a language issue. If it is not a
language issue then you will have far better response in a newsgroup
dedicated to the topic in question.

Any help will be appreciated.

Apr 23 '06 #2
so******************@gmail.com wrote:
C++ Template - Does it work on 16-bit platform

Hi All,

I was using an open source wbxmlparser for my mobile application.

Now I am supposed to port the mobile application into a 16-bit
platform,

The parser is not working at all for 16-bit platform, I am suspecting
the template classes used by the open source wbxmlparser is causing
this problem.

Any help will be appreciated.


Only if the compiler you are using supports templates.
Many older 16 bit compilers did not, because the compilers
pre-dated templates in the language.

What compiler (from what year) are you trying to use?

Larry
Apr 23 '06 #3
so******************@gmail.com wrote:
C++ Template - Does it work on 16-bit platform
The availability of templates has nothing at all to do with the native bit
width of the target platform.
Hi All,

I was using an open source wbxmlparser for my mobile application.

Now I am supposed to port the mobile application into a 16-bit
platform,

The parser is not working at all for 16-bit platform, I am suspecting
the template classes used by the open source wbxmlparser is causing
this problem.


No. This can't be the problem.

Apr 23 '06 #4
so******************@gmail.com wrote:
C++ Template - Does it work on 16-bit platform


The Digital Mars C++ compiler for 16 bit X86 supports templates.

-Walter Bright
www.digitalmars.com C, C++, D programming language compilers
Apr 23 '06 #5

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

12
by: Surya Kiran | last post by:
Hi all, I've written a function template. say template <class T> fn (T var) { ... } Is there any way, from within the function, can we check what type of argument we've passed on to the...
2
by: Remi COCULA | last post by:
When using xsl:call-template it seems that we can't use a parameter as the name of the template to call. Example : <xsl:template name="cadre"> <xsl:param name="p_contenu"/> ...
4
by: Joe | last post by:
Everything works aok, except the code behind "Dataview.cs" does not contain the prewritten code that is in the template. It comes out very slimed down without almost all lines in template. Why...
6
by: Mike Alexeev | last post by:
What is the correct syntax for default values to member function templates? Here is my example: 1 struct A 2 { 3 typedef int typeA; 4 }; 5 6 struct...
5
by: Nomak | last post by:
Hello all, i have two template classes which needs each other. I tried to write some fwd decl / decl / impl in a good way but i can't get it to compile. Explanations: - .hh files are for...
16
by: xman | last post by:
I defined namespace hpc in main.cpp, so not to clash with other libraries. But I found that, in namespace boo, instantiating a template with a class in namespace hpc, causes compilation errors by...
8
by: mattias.nissler | last post by:
Hi! Here is a problem I ran into at work. The following example doesn't compile on gcc-4.1: struct cons_end {}; template<typename U,typename Vstruct cons { U elem; V tail;
5
by: emboss | last post by:
If templates worked how I would like them to work, I'd be able to do the following: template <int N> class A { private: int X; public: template <int M> void foo(const A<M>...
32
by: Stephen Horne | last post by:
I've been using Visual C++ 2003 for some time, and recently started working on making my code compile in GCC and MinGW. I hit on lots of unexpected problems which boil down to the same template...
9
by: Marco Nef | last post by:
Hi there I'm looking for a template class that converts the template argument to a string, so something like the following should work: Convert<float>::Get() == "float"; Convert<3>::Get() ==...
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome former...
0
by: ryjfgjl | last post by:
In our work, we often need to import Excel data into databases (such as MySQL, SQL Server, Oracle) for data analysis and processing. Usually, we use database tools like Navicat or the Excel import...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.