Login or Sign Up
Logging in...
Remember me
Log in
Or
Sign Up
Forgot password or user name?
Log in with
Search in titles only
Search in C only
Search
Advanced Search
Forums
Product Launch
Updates
Today's Posts
Member List
Calendar
Home
Forum
Topic
C
function containing for are not expanded in line = for(i=0;i<nosr;i++)
Collapse
X
Collapse
Posts
Latest Activity
Photos
Page
of
1
Filter
Time
All Time
Today
Last Week
Last Month
Show
All
Discussions only
Photos only
Videos only
Links only
Polls only
Events only
Filtered by:
Clear All
new posts
Previous
template
Next
Lakra
New Member
Join Date:
Jan 2016
Posts:
1
#1
function containing for are not expanded in line = for(i=0;i<nosr;i++)
Jan 16 '16, 02:50 PM
warning message=functio n containing are not expanded in line
for(i=0;i<nosr; i++)
omerbutt
Contributor
Join Date:
Nov 2006
Posts:
638
#2
Jan 16 '16, 03:32 PM
your question is not desriptive enough , none can get what you are saying
Comment
Post
Cancel
weaknessforcats
Recognized Expert
Expert
Join Date:
Mar 2007
Posts:
9214
#3
Jan 17 '16, 06:26 AM
This code:
Code:
for(i=0;i<nosr;i++)
the compile thinks you have a function named
for
. This is because the code for the loop is missing.
Comment
Post
Cancel
donbock
Recognized Expert
Top Contributor
Join Date:
Mar 2008
Posts:
2427
#4
Jan 17 '16, 12:03 PM
What @weaknessforcat s said, except that it might be because this for statement is not inside a function body. Either way, the key issue is the context of the for statement (the statements that precede and follow it).
Comment
Post
Cancel
Previous
template
Next
Working...
Yes
No
OK
OK
Cancel
👍
👎
☕
Comment