[Dev-C++] what is wrong with the code
Open Source C & C++ IDE for Windows
Brought to you by:
claplace
|
From: Dawood V. <da...@ku...> - 2003-08-11 09:30:31
|
can anybody let me know, why the code below is not running.
#include <iostream.h>
#include <stdlib.h>
#include <string>
int main()
{
char ch = 'z';
string p = ch;
p.push_back(ch);
system("PAUSE");
return 0;
}
|