Re: [Ubuntu-BD] C compiler tuning

2011-10-02 Thread Md Ashickur Rahman Noor
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
Thank you
Md Ashickur Rahman
Volunteer, Foundation for Open Source Solutions Bangladesh.




On Mon, Oct 3, 2011 at 9:45 AM, Pavel Sayekat 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


Re: [Ubuntu-BD] C compiler tuning

2011-10-02 Thread Junayeed Ahnaf Nirjhor
The attachment came empty.

Please resend.

:)

-Original Message-
From: ubuntu-bd-boun...@lists.ubuntu.com
[mailto:ubuntu-bd-boun...@lists.ubuntu.com] On Behalf Of Pavel Sayekat
Sent: Monday, October 03, 2011 9:46 AM
To: Ubuntu-BD
Subject: [Ubuntu-BD] C compiler tuning

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-BD] C compiler tuning

2011-10-02 Thread Pavel Sayekat
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