[Ubuntu-BD] C code tuning
Md Ashickur Rahman Noor
ashickur.noor at gmail.com
Mon Oct 3 18:42:42 UTC 2011
Dear Pavel Bro
Please don't repeat mail.
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;
}
----------------------------------------------------------
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 Tue, Oct 4, 2011 at 12:19 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