[Ubuntu-BD] C compiler tuning
Md Ashickur Rahman Noor
ashickur.noor at gmail.com
Mon Oct 3 04:16:08 UTC 2011
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 <pavelsayekat at 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
>
More information about the ubuntu-bd
mailing list