Exforsys

Free Training

About Macros

This is a discussion on About Macros within the C and C++ forums, part of the Programming Talk category; Are there any disadvantages because of using many macros in a C programming language? I want to know about that. ...

Go Back   Exforsys > Programming Talk > C and C++

Exforsys.com


C and C++ C and C++

Reply

 

LinkBack Thread Tools Search this Thread
  #1 (permalink)  
Old 03-26-2007, 03:42 PM
Senior Member
 
Join Date: Apr 2006
Posts: 162
sammy is on a distinguished road
About Macros

Are there any disadvantages because of using many macros in a C programming language? I want to know about that. Someone kindly provide a detailed explanation on this.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Sponsored Links
  #2 (permalink)  
Old 04-24-2007, 08:37 AM
Senior Member
 
Join Date: Apr 2006
Posts: 122
rachelle is on a distinguished road
Macros must be handled by programmers with great care only when needed. Some of the disadvantages are:
The ways in which macros are handled by preprocessors vary greatly from compiler to compiler.
The impossibility of including C directives within a macro.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply

Bookmarks

Thread Tools Search this Thread
Search this Thread:

Advanced Search

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 On


Similar Threads

Thread Thread Starter Forum Replies Last Post
Microsoft .NET : Enhance Productivity With Macros techguru Microsoft .NET Tutorials and Articles 0 08-27-2005 10:23 AM
comp.lang.c Answers to Frequently Asked Questions (FAQ List) Steve Summit Tech FAQ 0 06-01-2004 06:00 AM
Viruses and the Mac FAQ David Harley Tech FAQ 0 04-26-2004 05:46 AM
vi editor FAQ (Frequently Asked Question List), Part 2/2 E. Larry Lidz Tech FAQ 0 04-19-2004 12:02 AM
Viruses and the Mac FAQ David Harley Tech FAQ 0 04-11-2004 07:10 AM


All times are GMT -4. The time now is 10:14 PM.


Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2010, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.3.0
Copyright 2004 - 2009 Exforsys Inc. All rights reserved.