Re: Problems with strcat parameters


[ Follow Ups ] [ Post Followup ] [ CS2604 Discussion WWWBoard ] [ FAQ ]

Posted by Arm on July 29, 1999 at 22:00:38:

In Reply to: Re: Problems with strcat parameters posted by Cruinh on July 29, 1999 at 21:40:03:

Not sure what you asking, it's getting late though :)

This code should work ok... does this help?

char *output;
output = new char[256];

strcpy(output, "Narf ");
strcat(output, "is cool.");

leaving output with "Narf is cool." in it...

did that help any?

-A





Follow Ups:



Post a Followup

Name:
E-Mail:

Subject:

Comments:

Optional Link URL:
Link Title:
Optional Image URL:


[ Follow Ups ] [ Post Followup ] [ CS2604 Discussion WWWBoard ] [ FAQ ]