Want to win a PS4? Go Premium and enter to win our High-Tech Treats giveaway. Enter to Win

x
?
Solved

Mean of This Assignment

Posted on 2006-11-17
2
Medium Priority
?
226 Views
Last Modified: 2010-04-01
Hi experts,
What is the mean of below statement:
Wireless *wifp = (wirelessPhy *) tifp;
I havn t seen this assignment.
Thanks in advance for your time.

Regards
Shirin

0
Comment
Question by:shirin
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
2 Comments
 
LVL 9

Accepted Solution

by:
DrAske earned 500 total points
ID: 17971106
>>Wireless *wifp = (wirelessPhy *) tifp;
I think should be like this
WirelessPhy *wifp = (wirelessPhy *) tifp;
This is TypeCasting, this statement let the System treats the data of type *tifp* as a WirlessPhy type.
BTW, if this is a safe typecast then (I think) WirlessPhy is a subclass of *tifp* type.

regards,Ahmad;
0
 

Author Comment

by:shirin
ID: 17971215
you are right,
WirelessPhy *wifp = (wirelessPhy *) tifp;

0

Featured Post

What does it mean to be "Always On"?

Is your cloud always on? With an Always On cloud you won't have to worry about downtime for maintenance or software application code updates, ensuring that your bottom line isn't affected.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Container Orchestration platforms empower organizations to scale their apps at an exceptional rate. This is the reason numerous innovation-driven companies are moving apps to an appropriated datacenter wide platform that empowers them to scale at a …
Article by: evilrix
Looking for a way to avoid searching through large data sets for data that doesn't exist? A Bloom Filter might be what you need. This data structure is a probabilistic filter that allows you to avoid unnecessary searches when you know the data defin…
The viewer will learn how to use the return statement in functions in C++. The video will also teach the user how to pass data to a function and have the function return data back for further processing.
The viewer will learn additional member functions of the vector class. Specifically, the capacity and swap member functions will be introduced.
Suggested Courses

618 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question