![]() |
|
|
google unix.com
|
|||||||
| Forums | Register | Forum Rules | Links | Albums | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
| High Level Programming Post questions about C, C++, Java, SQL, and other programming languages here. |
More UNIX and Linux Forum Topics You Might Find Helpful
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Array inside an array | manas_ranjan | UNIX for Advanced & Expert Users | 5 | 06-10-2008 03:25 PM |
| Return an array of strings from user defined function in awk | user_prady | Shell Programming and Scripting | 2 | 12-04-2007 12:03 AM |
| create array holding characters from sring then echo array. | rorey_breaker | Shell Programming and Scripting | 5 | 09-28-2007 09:42 AM |
| How to concatenate two strings or several strings into one string in B-shell? | fontana | Shell Programming and Scripting | 2 | 08-26-2005 12:58 PM |
| sort() array of strings in perl | photon | Shell Programming and Scripting | 2 | 10-19-2004 02:27 PM |
|
|
LinkBack | Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
||||
|
array of strings
Hi
I need a better idea to implementing following in my code. I need to store 80 long strings that will be used to display one by one in my GUI application. now i am storing those 80 long string in following two dimentational array. uchar vpn_alm_long_str[MAX_ALARM][1024]={ } each index will be an string index . all strings would be defined static and this variable would be a global one . so the issues that i can forsee some issue with where this will be stored like in data segment (but don't know exactly the issue?/) does not look good to store such big data structure in memnory when they are not going to be used always. Insetad , if we can write all these strings in a file in a special format , and on run time we extract these string from that file , that sounds a good idea . at least that file would be stored on disk not in the memory , and that would be brought in the memory only when it will be required to read and even that would be the only a string not the complete file .. pls any other idea?? dav |
| Bookmarks |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|