Maximum limit of char array?
-
hai, Is there any maximum limit for the char array Thanks in Advance
-
hai, Is there any maximum limit for the char array Thanks in Advance
jannathali wrote:
Is there any maximum limit for the char array
What do you mean, exactly?
If the Lord God Almighty had consulted me before embarking upon the Creation, I would have recommended something simpler. -- Alfonso the Wise, 13th Century King of Castile.
This is going on my arrogant assumptions. You may have a superb reason why I'm completely wrong. -- Iain Clarke
[My articles] -
jannathali wrote:
Is there any maximum limit for the char array
What do you mean, exactly?
If the Lord God Almighty had consulted me before embarking upon the Creation, I would have recommended something simpler. -- Alfonso the Wise, 13th Century King of Castile.
This is going on my arrogant assumptions. You may have a superb reason why I'm completely wrong. -- Iain Clarke
[My articles]Is there any limit for the array size. i.e char a[Max_Value]; Is there a limit for this value Or i can give any big value like char a[40000]; etc
-
Is there any limit for the array size. i.e char a[Max_Value]; Is there a limit for this value Or i can give any big value like char a[40000]; etc
If you're declaring it local to a function, the size is limited by the available stack space. If you're declaring it globally, the size is limited by the data section size.
«_Superman_» I love work. It gives me something to do between weekends.
Microsoft MVP (Visual C++) -
Is there any limit for the array size. i.e char a[Max_Value]; Is there a limit for this value Or i can give any big value like char a[40000]; etc
You may have such big values (why don't you try?). :)
If the Lord God Almighty had consulted me before embarking upon the Creation, I would have recommended something simpler. -- Alfonso the Wise, 13th Century King of Castile.
This is going on my arrogant assumptions. You may have a superb reason why I'm completely wrong. -- Iain Clarke
[My articles] -
hai, Is there any maximum limit for the char array Thanks in Advance
In most of the cases (but there are some few exceptions), when you have to ask yourself such a question, it probably means that you have taken a bad design decision.
Cédric Moonen Software developer
Charting control [v3.0] OpenGL game tutorial in C++ -
hai, Is there any maximum limit for the char array Thanks in Advance
Hi, See here: http://msdn.microsoft.com/en-us/library/s0z0bbfe%28VS.80%29.aspx[^]
“Follow your bliss.” – Joseph Campbell