Continue to Site

Welcome to EDAboard.com

Welcome to our site! EDAboard.com is an international Electronics Discussion Forum focused on EDA software, circuits, schematics, books, theory, papers, asic, pld, 8051, DSP, Network, RF, Analog Design, PCB, Service Manuals... and a whole lot more! To participate you need to register. Registration is free. Click here to register now.

[MOVED]i need help in char array structure in hitech c program

Status
Not open for further replies.

vijaynallasivam

Junior Member level 1
Joined
Nov 16, 2015
Messages
16
Helped
0
Reputation
0
Reaction score
0
Trophy points
1
Activity points
150
i am using mp lab hitech c compiler .i have some doubt regarding char array function .in my program
char array_1[50]; char array_2[50]; mean successfully compile but not built fault error message come .but char array_1[30]; char array_2[30] mean built successfully .what i do to over come this problem....
 

Maybe there is insufficient RAM to hold the extra 40 bytes you need (20 in each array).
If the array values are fixed - like a look-up table - you could try declaring them 'const' which would tell the compiler to store them in ROM instead of RAM but obviously the values in them can't be changed by the program if you do that.

Brian.
 

Status
Not open for further replies.

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top