Use fprintf(stdout, "…");

Carsten


On Nov 30, 2011, at 12:27 PM, 杜波 wrote:

> dear teacher,
> 
> i want to modify the gromacs4.5.5 code ,can i use function "cout" which is 
> introuduce in c++.
> 
> i add the code 
>       #include <string.h>
>       #include <iostream>
> at the head of the md.c 
> 
> but when i make , there is a error "
> md.c:103:20: error: iostream: No such file or directory"
> 
> thanks 
> regards,
> Bo Du
> Department of Polymer Science and Engineering,
> School of Chemical Engineering and technology,
> Tianjin University, Weijin Road 92, Nankai District 300072,
> Tianjin City P. R. China
> Tel/Fax: +86-22-27404303 ; +8613820062885
> E-mail: 2008d...@gmail.com ; dubo2...@tju.edu.cn
> 
> -- 
> gmx-users mailing list    gmx-users@gromacs.org
> http://lists.gromacs.org/mailman/listinfo/gmx-users
> Please search the archive at 
> http://www.gromacs.org/Support/Mailing_Lists/Search before posting!
> Please don't post (un)subscribe requests to the list. Use the 
> www interface or send it to gmx-users-requ...@gromacs.org.
> Can't post? Read http://www.gromacs.org/Support/Mailing_Lists

--
gmx-users mailing list    gmx-users@gromacs.org
http://lists.gromacs.org/mailman/listinfo/gmx-users
Please search the archive at 
http://www.gromacs.org/Support/Mailing_Lists/Search before posting!
Please don't post (un)subscribe requests to the list. Use the
www interface or send it to gmx-users-requ...@gromacs.org.
Can't post? Read http://www.gromacs.org/Support/Mailing_Lists

Reply via email to