User Name Password Register
DaniWeb IT Discussion Community
All
What is DaniWeb IT Discussion Community?
You're currently browsing the C section within the Software Development category of DaniWeb, a massive community of 402,648 software developers, web developers, Internet marketers, and tech gurus who are all enthusiastic about making contacts, networking, and learning from each other. In fact, there are 2,133 IT professionals currently interacting right now! Registration is free, only takes a minute and lets you enjoy all of the interactive features of the site.
Please support our C advertiser: Programming Forums

pointer passing problem

Join Date: May 2008
Location: Infinite Castle, below Beltline
Posts: 282
Reputation: Prabakar is an unknown quantity at this point 
Rep Power: 1
Solved Threads: 22
Prabakar's Avatar
Prabakar Prabakar is offline Offline
Posting Whiz in Training

Re: pointer passing problem

  #7  
May 2nd, 2008
Originally Posted by John A View Post
A couple of other notes:

- void main is evil. Don't use it.
- You shouldn't have your function prototype inside main(). Move line 13 to somewhere before main()
I nerver thought void main had so much drawbacks thanks a lot for you advice.
Reply With Quote  
All times are GMT -4. The time now is 3:07 am.
Forum system based on vBulletin Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
©2003 - 2008 DaniWeb® LLC