Dear Pavel Bro
you should use main as a non void type. Then return a value at the end of
the main function.

Like

#include ""
>
> int main()
> {
>       //your code
>       return 0;
> }
>

Hope you understand.
----------------------------------------------------------
Dedicated Linux Forum in
Bangladesh<http://forums.linuxdesh.com/member.php?action=register&referrer=3%20>
Thank you
Md Ashickur Rahman
Volunteer, Foundation for Open Source Solutions Bangladesh.




On Mon, Oct 3, 2011 at 9:45 AM, Pavel Sayekat <pavelsaye...@gmail.com>wrote:

> How can I run a working c or c++ code for windows in Ubuntu c compiler like
> gcc or g++ or Anjuta. I've attached the files with this mail and i want to
> know what are the changes need to make. Usually the compiler says the
> function "int main" should return int and some more Greek things. pls help
> me,
> your's faithfully
> "always an Ubuntu user"
>
> --
> Ubuntu Bangladesh
> https://lists.ubuntu.com/mailman/listinfo/ubuntu-bd
>
-- 
Ubuntu Bangladesh
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bd

Reply via email to