Hi, Can anyone tell me how to concatenate two strings in NetBeans using Cygwin and also what is the right header file to be included?

Hi, Can anyone tell me how to concatenate two strings in NetBeans using Cygwin and also what is the right header file to be included?

Nevermind...got the answer.

strcat(string1,string2)

Use the header file #include<string.h>

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.