• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 211
  • Last Modified:

Type Conversions

Explain with a Prog. for conversion of data types between objects and basic datatypes
1 Solution
is this some sort of school assignment?

It is unethical for us to provide answers to school assignments - and failure to complu is grounds for removal from the site of both expert and questioner concerned.
You are right jasonclarke. It seems people are trying to get answers for school problems like this. This guy can see these things in any text books. It will be good if we all use ths forum for exchanging experts ideas not problem rather than small assignments.


you can convert object member variables,
or the return types of object methods
using type casting.  I believe this is
the only direct way of doing it although
any function you wanted to write could
do a conversion.  Example:

class Names;
UINT phone;

phone = (UINT)Name.phone;

Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Featured Post

Get your problem seen by more experts

Be seen. Boost your question’s priority for more expert views and faster solutions

Tackle projects and never again get stuck behind a technical roadblock.
Join Now