News
Forums
Search
Members
Sign Up
My Code Newbie
Username
Password
Articles/Snippets
ASP Classic
ASP.NET
C
C#
C++
HTML / CSS
Java
Javascript
Linux / BSD
Perl
PHP
Python
Ruby
SQL
VB 6
VB.NET
C.N. Friends
Planet Rome
Link to Us!
Code Newbie
Code Forums
>
Application and Web Development
>
Standard C, C++
Nested Functions
User Name
Remember Me?
Password
Register
FAQ
Calendar
Search
Today's Posts
Mark Forums Read
LinkBack
Thread Tools
Display Modes
06-11-2004, 12:30 AM
#
1
(
permalink
)
saurabh1905
Registered User
Join Date: Jun 2004
Location: India
Posts: 4
Nested Functions
Can anyone please tell me why "c" does not support nested functions?
saurabh1905
View Public Profile
Find More Posts by saurabh1905
06-11-2004, 02:00 AM
#
2
(
permalink
)
joe_bruin
LOAD "*",8,1
Join Date: Feb 2003
Location: la.ca.us
Posts: 254
please define "nested functions".
joe_bruin
View Public Profile
Find More Posts by joe_bruin
06-11-2004, 02:04 AM
#
3
(
permalink
)
saurabh1905
Registered User
Join Date: Jun 2004
Location: India
Posts: 4
nested functions means fuctions having defination of another function.
e.g.
PrintFirst()
{
printf("ABC");
PrintLast()
{
printf("XYZ");
}
}
saurabh1905
View Public Profile
Find More Posts by saurabh1905
06-11-2004, 02:47 AM
#
4
(
permalink
)
joe_bruin
LOAD "*",8,1
Join Date: Feb 2003
Location: la.ca.us
Posts: 254
mostly because anything that can be done with nested functions can be done with file-scoped functions, and the advantages gained by supporting these are minimal.
what are you trying to do that requires nested functions?
joe_bruin
View Public Profile
Find More Posts by joe_bruin
Bookmarks
Digg
del.icio.us
StumbleUpon
Google
«
Previous Thread
|
Next Thread
»
Thread Tools
Show Printable Version
Email this Page
Display Modes
Linear Mode
Switch to Hybrid Mode
Switch to Threaded Mode
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
writing basic functions?
Admin
PHP
4
11-25-2003
01:43 PM
returning functions
sde
PHP
1
12-18-2002
03:14 AM
All times are GMT -8. The time now is
02:39 PM
.
Contact Us
-
CodeNewbie.com
-
Archive
-
Top
Powered by vBulletin® Version 3.7.0
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.0.0 RC8 ©2007, Crawlability, Inc.
Copyright © 2000-2008,
Milano Interactive
Web Hosting provided by
Portal 360 Web Hosting
LinkBack
LinkBack URL
About LinkBacks