Symantec C++ 7.0.6 for the Mac (using Thick C enabled feature) 
Author Message
 Symantec C++ 7.0.6 for the Mac (using Thick C enabled feature)

I've declared a global character type variable as follows:

char  tHd[] = {
"<FONT SIZE=3><CENTER>\n<DL>\n \
<DD><A HREF=\"#PR_APPIN\">Nelda Appin</A> \n \
<DD><A HREF=\"#PR_BURNFIELD\">Dean Burnfield</A>\n \
<DD><A HREF=\"#PR_GAYDOU\">Diane Gaydou</A> \n \
<DD><A HREF=\"#PR_HOLM\">Mike Holm</A> \n \
<DD><A HREF=\"#PR_MALOY\">Anna Maloy</A> \n \
<DD><A HREF=\"#PR_MASCORRO\">Daniel Mascorro</A>\n \
<DD><A HREF=\"#PR_MONZON\">Merardo Monzon</A> \n \
<DD><A HREF=\"#PR_ORTIZA\">Albert Ortiz</A> \n \
<DD><A HREF=\"#PR_PIERCE\">Debbie Pierce</A>\n \
<DD><A HREF=\"#PR_REICHERT\">David Reichert</A>\n \
<DD><A HREF=\"#PR_SCHOOLFIELD\">John Schoolfield</A>\n \
<DD><A HREF=\"#PR_SHIAU\">SHIAU</A>\n \
<DD><A HREF=\"#PR_WOOD\">Robert Wood</A> \n \
<DD><A HREF=\"#PR_YUAN\">YUAN</A>\n \
</DL></Center></Font>\n<br><pre>"

Quote:
};

  The entire string is NOT stored by the char array tHd.  The string is
truncated after 479 bytes.  Why?  Is this particular to Symantec C++
7.0.6 (with this product one can select the compiler to use C or C++).

Please respond directly to my e-mail address.  
There must be someone using this product on the Mac.

Merardo Monzon

UT Health Science Center At San Antonio, Tx



Sun, 06 Sep 1998 03:00:00 GMT  
 Symantec C++ 7.0.6 for the Mac (using Thick C enabled feature)
I've declared a global character type variable as follows:

char  tHd[] = {
"<FONT SIZE=3><CENTER>\n<DL>\n \
<DD><A HREF=\"#PR_APPIN\">Nelda Appin</A> \n \
<DD><A HREF=\"#PR_BURNFIELD\">Dean Burnfield</A>\n \
<DD><A HREF=\"#PR_GAYDOU\">Diane Gaydou</A> \n \
<DD><A HREF=\"#PR_HOLM\">Mike Holm</A> \n \
<DD><A HREF=\"#PR_MALOY\">Anna Maloy</A> \n \
<DD><A HREF=\"#PR_MASCORRO\">Daniel Mascorro</A>\n \
<DD><A HREF=\"#PR_MONZON\">Merardo Monzon</A> \n \
<DD><A HREF=\"#PR_ORTIZA\">Albert Ortiz</A> \n \
<DD><A HREF=\"#PR_PIERCE\">Debbie Pierce</A>\n \
<DD><A HREF=\"#PR_REICHERT\">David Reichert</A>\n \
<DD><A HREF=\"#PR_SCHOOLFIELD\">John Schoolfield</A>\n \
<DD><A HREF=\"#PR_SHIAU\">SHIAU</A>\n \
<DD><A HREF=\"#PR_WOOD\">Robert Wood</A> \n \
<DD><A HREF=\"#PR_YUAN\">YUAN</A>\n \
</DL></Center></Font>\n<br><pre>"

Quote:
};

  The entire string is NOT stored by the char array tHd.  The string is
truncated after 479 bytes.  Why?  Is this particular to Symantec C++
7.0.6 (with this product one can select the compiler to use C or C++).

Please respond directly to my e-mail address.  
There must be someone using this product on the Mac.

Merardo Monzon

UT Health Science Center At San Antonio, Tx



Sun, 06 Sep 1998 03:00:00 GMT  
 Symantec C++ 7.0.6 for the Mac (using Thick C enabled feature)

Quote:

> I've declared a global character type variable as follows:

> char  tHd[] = {
> "<FONT SIZE=3><CENTER>\n<DL>\n \

.
.
.

Quote:
> </DL></Center></Font>\n<br><pre>"
> };
>   The entire string is NOT stored by the char array tHd.  The string is
> truncated after 479 bytes.  Why?  Is this particular to Symantec C++
> 7.0.6 (with this product one can select the compiler to use C or C++).

> Please respond directly to my e-mail address.  
> There must be someone using this product on the Mac.

> Merardo Monzon

> UT Health Science Center At San Antonio, Tx

Assuming you are not missing any proper backslashes and quotes, then it is
likely that the compiler may have a built in limit to the maximum size of
constant strings.  Try the alternate, pointer form:
   char *tHdl = "xxxxxx";
and see what happens.
Check the documentation for a section concerning compiler limits.

Peter



Mon, 07 Sep 1998 03:00:00 GMT  
 
 [ 3 post ] 

 Relevant Pages 

1. FS: Symantec C++ v7.0 for Mac

2. Newbie: separate big .cs file into small .cs files

3. Romable Code using Symantec C/C++ HELP

4. using symantec/watcom c/c++

5. Symantec Think C Help (Mac)

6. Preprocessor Directives for Symantec ver.8 Mac

7. Mac Symantec C++-Linker problem

8. Compile CS source code using ICodeCompiler

9. Two CS files (using namespaces)

10. Survey on using C as intro CS langauge (?)

11. Survey on using C as intro CS langa

 

 
Powered by phpBB® Forum Software