Main Menu

HOME

.Net
ASP
Assembly
C
C++
Delphi
HTML
Java
JavaScript
MySQL
PC interface
Powershell
Perl
PHP
VBScript
Visual Basic
XML

Make money selling software. Check this out here

Hosted clickbank mall. Check this out here




   Misc

   Amazon

   Links

    


Join 2 strings
 

 

 

Description

This shows how to concatenate (join together ) the contents of one string onto another string . We achieve this by using the strcat( ) function . This requires that you include the <string.h> ..

Code

#include <stdio.h>
#include <string.h>

int main()
{
char name[100] = "Programmers help : ";
strcat(name, " C section .");
printf("%s",name);
return 0;
}

Information

tested using LCC Win 32

 

 

 

 

Download

strcat.txt


 




   Sponsors
 

   Software
500 Java Tips E-book
PHP editor
PERL editor
Beginning Java
Beginning Visual Basic
Learn VB.net
Learn VB 6
VB and databases
ASP image library
C++ builder programming
C++ fundamentals

   Source Code
videocard and wmi example(VB)
Ping with VB(VB)
Status bar text(Javascript)
php and java example(PHP)
display the timezone(VB.net)
Using DateDiff(ASP)
Read all lines in a file(ASP)
free disk space(PHP)

    




Copyright © 2003 by programmershelp.co.uk