Re: [Dev-C++] what is wrong with the code
Open Source C & C++ IDE for Windows
Brought to you by:
claplace
|
From: Per W. <pw...@ia...> - 2003-08-11 10:31:13
|
On one hand, tne lines of code you sent are trivial to look at.
However, it is recommended that you always specify:
- What happens - compiler errors, linker errors, run-time behaviour etc.
- What did you expect to happen.
/Per W
On Mon, 11 Aug 2003, Dawood Vora wrote:
> 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;
> }
>
>
>
> -------------------------------------------------------
> This SF.Net email sponsored by: Free pre-built ASP.NET sites including
> Data Reports, E-commerce, Portals, and Forums are available now.
> Download today and enter to win an XBOX or Visual Studio .NET.
> http://aspnet.click-url.com/go/psa00100003ave/direct;at.aspnet_072303_01/01
> _______________________________________________
> Dev-cpp-users mailing list
> Dev...@li...
> TO UNSUBSCRIBE: http://www23.brinkster.com/noicys/devcpp/ub.htm
> https://lists.sourceforge.net/lists/listinfo/dev-cpp-users
>
|