Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > C Programming > #define and typedef

Reply
Thread Tools

#define and typedef

 
 
ramu
Guest
Posts: n/a
 
      01-18-2006
Hi,
What are the differences between #define and typedef? under what
situations we use them?

Regards

 
Reply With Quote
 
 
 
 
Robert Gamble
Guest
Posts: n/a
 
      01-18-2006
ramu wrote:
> Hi,
> What are the differences between #define and typedef? under what
> situations we use them?


Why don't you try opening your textbook? Did you check the FAQ?

Robert Gamble

 
Reply With Quote
 
 
 
 
Jaspreet
Guest
Posts: n/a
 
      01-18-2006

ramu wrote:
> Hi,
> What are the differences between #define and typedef? under what
> situations we use them?
>
> Regards


Please go through the FAQs or better first read a textbook.

 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
CRTP-problem: How can the base class typedef a derived class' typedef? oor C++ 0 05-20-2008 12:39 PM
function template overloading and typedef in GCC Arkadiy Vertleyb C++ 5 09-27-2003 12:28 PM
A question about typedef and classes and templates.. JustSomeGuy C++ 1 09-20-2003 04:33 AM
typename, typedef, and resolution Gina Yarmel C++ 4 08-13-2003 04:06 PM
typedef and #ifdef F. Edward Boas C++ 1 08-11-2003 05:52 PM



Advertisments
 



1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57