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
BYTES
Product Launch
Updates
Developer Toolkit
Today's Posts
Member List
Calendar
Home
Forum
Topic
C
C++ error
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
xenium
New Member
Join Date:
Sep 2015
Posts:
2
#1
C++ error
Sep 27 '15, 09:05 AM
While compiling my code in turbo C++
error "Segment _TEXT exceeds 64k" shown
what does it means and how to solve the problem?
Clearner321
New Member
Join Date:
Sep 2015
Posts:
22
#2
Sep 27 '15, 03:29 PM
I think you have to choose different memory model from the project settings.
Comment
Post
Cancel
weaknessforcats
Recognized Expert
Expert
Join Date:
Mar 2007
Posts:
9214
#3
Sep 27 '15, 03:39 PM
How old is your compiler?
I haven't seen memory model issues since 16-bit windows 20 years ago.
Comment
Post
Cancel
xenium
New Member
Join Date:
Sep 2015
Posts:
2
#4
Oct 3 '15, 05:25 AM
does it cause due to lines of code
Comment
Post
Cancel
donbock
Recognized Expert
Top Contributor
Join Date:
Mar 2008
Posts:
2427
#5
Oct 3 '15, 04:35 PM
The error message says your program is too big to fit in 64K. Are you building code for a target system (processor/OS) where that limitation makes sense?
Comment
Post
Cancel
weaknessforcats
Recognized Expert
Expert
Join Date:
Mar 2007
Posts:
9214
#6
Oct 4 '15, 03:27 AM
It's not that the program won't fit into 64k but, rather, the object file from one of the source files is over 64K.
Are you truly writing 16-bit code?
Comment
Post
Cancel
Previous
template
Next
Working...
Yes
No
OK
OK
Cancel
👍
👎
☕
Comment