[fsug-tvm] Re: C++

2009-06-28 Thread vibi sreenivasan
eclipse , kdevelop On Sat, Jun 27, 2009 at 10:10 PM, BINNY THOMAS wrote: > Windows has got good 'IDE's . The only one I heard about for Linux is > Anjuta. Is there any others? > On Thu, Jun 25, 2009 at 7:27 PM, Visakh wrote: >> >> I am aware of that - I have been using gcc exclusively for >> exp

[fsug-tvm] Re: C++

2009-06-28 Thread BINNY THOMAS
Hey I was just kidding! I installed 'Codeblocks' according to your post and was just blown away by the sheer beauty of it and realized my ignorance.[?] On Sun, Jun 28, 2009 at 1:22 PM, Visakh wrote: > > > > On Jun 28, 10:10 am, BINNY THOMAS wrote: > > Ok Ok. Please forgive my Ignorance.I realis

[fsug-tvm] Re: C++

2009-06-28 Thread ranjith s kumar
=c%2B%2B#05e97e48fb64668a with regards Ranjith S. Kumar,Lecturer In Mechanical Engineering, Government Engineering, Collge,Barton Hill,Thiruvananthapuram -35,Mob.9447295213 --- On Sun, 28/6/09, BINNY THOMAS wrote: > From: BINNY THOMAS > Subject: [fsug-tvm] Re: C++ > To: ilug-tvm

[fsug-tvm] Re: C++

2009-06-28 Thread Visakh
On Jun 28, 10:10 am, BINNY THOMAS wrote: > Ok Ok. Please forgive my Ignorance.I realise that I have got a lot more to > learn. > Thanks. Forgiven! LOL! I wasn't making a personal comment on you- I was just answering your question. It is a natural question from people taking a transition from w

[fsug-tvm] Re: C++

2009-06-27 Thread BINNY THOMAS
Ok Ok. Please forgive my Ignorance.I realise that I have got a lot more to learn. Thanks. On Sun, Jun 28, 2009 at 7:56 AM, Visakh wrote: > > Hi, > > On Jun 27, 9:40 pm, BINNY THOMAS wrote: > > Windows has got good 'IDE's . The only one I heard about for Linux is > > Anjuta. Is there any others?

[fsug-tvm] Re: C++

2009-06-27 Thread Visakh
Hi, On Jun 27, 9:40 pm, BINNY THOMAS wrote: > Windows has got good 'IDE's . The only one I heard about for Linux is > Anjuta. Is there any others? There is no dearth of IDEs for Gnu/Linux. Many of them are professional quality. My favourites include KDevelop and Code::Blocks. Others include E

[fsug-tvm] Re: C++

2009-06-27 Thread BINNY THOMAS
Windows has got good 'IDE's . The only one I heard about for Linux is Anjuta. Is there any others? On Thu, Jun 25, 2009 at 7:27 PM, Visakh wrote: > > I am aware of that - I have been using gcc exclusively for > experimentation. If you look closely, I didn't use gcc. I used g++ (I > concede, its n

[fsug-tvm] Re: C++

2009-06-25 Thread Visakh
I am aware of that - I have been using gcc exclusively for experimentation. If you look closely, I didn't use gcc. I used g++ (I concede, its not the right choice). And I really wasn't bothered about the output filename or format- so just neglected the o/p filename part. I had to specify that you

[fsug-tvm] Re: C++

2009-06-25 Thread sa
> On my machine too, omitting the -o option generates "a.out". Just FYI, a.out stands for assembler.output file. The original UNIX was wriiten using an assembler, which produced a fixed output file named "a.out" to indicate that it was the one from assembler. Though no assembly needs to be don

[fsug-tvm] Re: C++

2009-06-25 Thread BINNY THOMAS
Thanks for the help everyone! On Thu, Jun 25, 2009 at 4:05 PM, Syam wrote: > > Aargh.. > If you want a specific output file name, use the -o option for gcc. > > gcc -o code code.c => will generate an executable file named "code". > On my machine too, omitting the -o option generates "a.out". >

[fsug-tvm] Re: C++

2009-06-25 Thread Syam
Aargh.. If you want a specific output file name, use the -o option for gcc. gcc -o code code.c => will generate an executable file named "code". On my machine too, omitting the -o option generates "a.out". -- Regards, Syam sya...@gmail.com --~--~-~--~~~---~--~

[fsug-tvm] Re: C++

2009-06-25 Thread Visakh
On Jun 25, 2:23 pm, "stranger in black." wrote: > if it is named code.c, afr compiling type ./code to execute it That depends. I got 'a.out' instead of 'map'. So I had to give ./a.out Regards, Gokul Das --~--~-~--~~~---~--~~ "Freedom is the only law". "Freed

[fsug-tvm] Re: C++

2009-06-25 Thread stranger in black.....
if it is named code.c, afr compiling type ./code to execute it On Thu, Jun 25, 2009 at 2:42 PM, BINNY THOMAS wrote: > I got the earlier code to work in Turbo c++, I know how to compile in gcc, > but I don't know how to execute it. How??? > > On Wed, Jun 24, 2009 at 9:49 PM, stranger in black

[fsug-tvm] Re: C++

2009-06-25 Thread Visakh
I am posting the ASCII image again. Hope it will be correct this time: !! !! !!! !! !!!

[fsug-tvm] Re: C++

2009-06-25 Thread Visakh
Hi, On Jun 25, 2:12 pm, BINNY THOMAS wrote: > I got the earlier code to work in Turbo c++, I know how to compile in gcc, > but I don't know how to execute it. How??? Once you compile it, you should get an executable in the same folder. I got a file named 'a.out'. I compiled map.c using comm

[fsug-tvm] Re: C++

2009-06-25 Thread BINNY THOMAS
I got the earlier code to work in Turbo c++, I know how to compile in gcc, but I don't know how to execute it. How??? On Wed, Jun 24, 2009 at 9:49 PM, stranger in black. wrote: > i just copied it from terminal. > > On Wed, Jun 24, 2009 at 9:47 PM, Anoop Jacob Thomas wrote: > >> Ye

[fsug-tvm] Re: C++

2009-06-24 Thread stranger in black.....
i just copied it from terminal. On Wed, Jun 24, 2009 at 9:47 PM, Anoop Jacob Thomas wrote: > Yeah it is missing few spaces. > > -- > Anoop Jacob Thomas > SCT College of Engineering, > Trivandrum > > http://anoop.caremedia.org > > > > > -- Junise Safvan m...@gnuise.co.cc www.gnuise.co.c

[fsug-tvm] Re: C++

2009-06-24 Thread Anoop Jacob Thomas
Yeah it is missing few spaces. -- Anoop Jacob Thomas SCT College of Engineering, Trivandrum http://anoop.caremedia.org --~--~-~--~~~---~--~~ "Freedom is the only law". "Freedom Unplugged" http://www.ilug-tvm.org You received this message because you are subscri

[fsug-tvm] Re: C++

2009-06-23 Thread Visakh
Hi, You do realise that the output posted above doesn't make any sense, don't you? Looks like it is missing a few spaces in each line. Regards, Gokul Das --~--~-~--~~~---~--~~ "Freedom is the only law". "Freedom Unplugged" http://www.ilug-tvm.org You received t

Re: [OT] Re: [fsug-tvm] Re: C++

2009-06-23 Thread stranger in black.....
അടിപൊളി... ./map !! !! !!! !! !!! !! !! ! !!! !!

Re: [OT] Re: [fsug-tvm] Re: C++

2009-06-23 Thread Anoop Jacob Thomas
Check this code. I don't know who wrote it. Anyway I have it with me for 3-4 years. Find the attached file, compile it and see the output. -- Anoop Jacob Thomas http://anoop.caremedia.org --~--~-~--~~~---~--~~ "Freedom is the only law". "Freedom Unplugged" http:

Re: [OT] Re: [fsug-tvm] Re: C++

2009-06-23 Thread Anoop Jacob Thomas
the code is superb. In fact obfuscated code, using conditional operator. Hey getting warnings is not a problem. It will still create an executable and you can execute it. So it compiled with few warnings mentioned by vibi sreenivasan > test.c:12:183: warning: unknown escape sequence '\,' > test.

Re: [OT] Re: [fsug-tvm] Re: C++

2009-06-20 Thread BINNY THOMAS
Yeah I was thinking of the same thing(Turbo c++). Its good for showing off. On Fri, Jun 19, 2009 at 7:44 AM, Mahesh Mohan wrote: > I compiled it using Turbo C++ in Linux Mint using DosBox. Got the output. > = >.--. > |o_o | > |:_ / | > / /

Re: [OT] Re: [fsug-tvm] Re: C++

2009-06-19 Thread Roshan P Koshy
turbo c is ok.. GCC works well with me..though it did give warnings when it compiled the above interesting program... the warnings are not serious..sometimes they are.. but not so serious as errors... i saved the program as h.c gcc -o h h.c ./h it worked fine... --~--~-~--~~--

Re: [OT] Re: [fsug-tvm] Re: C++

2009-06-19 Thread Aneesh A
Turbo C++ programs can be compiled on GCC, I think with some tricks On 6/19/09, Mahesh Mohan wrote: > > That's not the real problem. > > Our syllabus specifies Turbo C as compiler ! > = >.--. > |o_o | > |:_ / | > / / \ \ > (|

Re: [OT] Re: [fsug-tvm] Re: C++

2009-06-19 Thread Mahesh Mohan
That's not the real problem. Our syllabus specifies Turbo C as compiler ! = .--. |o_o | |:_ / | / / \ \ (|| ) /'\_ _ / `\ \___)=(___/ http://maheshmohan.wordpress.com മഹേഷ് മോഹന്‍ എം.യു ==

Re: [OT] Re: [fsug-tvm] Re: C++

2009-06-19 Thread Prasad SR
On Fri, Jun 19, 2009 at 9:46 PM, Aneesh A wrote: > He (and I) Don't know how to compile Tc++ comparitable programs in gcc > > That is what... > > google :) -- -- Regards, Prasad.S.R " You can either ask me to do something. Or tell me how you want it done. Not both. If you already know b

Re: [OT] Re: [fsug-tvm] Re: C++

2009-06-19 Thread Aneesh A
He (and I) Don't know how to compile Tc++ comparitable programs in gcc That is what... On 6/19/09, bincy mb wrote: > > Hi all... > Me just going through space-kerala.org. > Its realy amazing t... > their works.. > while visited in galery there..felt so proud about free softw

Re: [OT] Re: [fsug-tvm] Re: C++

2009-06-19 Thread bincy mb
Hi all... Me just going through space-kerala.org. Its realy amazing t... their works.. while visited in galery there..felt so proud about free software foundation.. I am new Here..I only hava little experince with Gnu/linux and free software. While i amdoing my final year b.tech me c

Re: [OT] Re: [fsug-tvm] Re: C++

2009-06-19 Thread Syam
On Fri, Jun 19, 2009 at 10:40 AM, Aneesh A wrote: > > Yes. He has sone it using Dosbox. > > It is easy.. > I know it is. I was not commenting on the difficulty, but rather amused at why such a crappy and old compiler needs to be run (especially when gcc is available). -- Regards, Syam sya...

Re: [OT] Re: [fsug-tvm] Re: C++

2009-06-18 Thread Aneesh A
Yes. He has sone it using Dosbox. It is easy.. -- Call me: +91 9447 926 826 For all hardware and software services, Computer assembling, Software Installation etc. Visit my blog http://xtenders.blogspot.com/ Earn money free: http://www.rupeemail.in/rupeemail/invite.do?in=MTY0NTQxJSMlaHlzaUt

Re: [OT] Re: [fsug-tvm] Re: C++

2009-06-18 Thread Syam Krishnan
On 06/19/2009 07:44 AM, Mahesh Mohan wrote: > I compiled it using Turbo C++ in Linux Mint using DosBox. Got the output. Turbo C++ on Linux.. Phew! regs, Syam --~--~-~--~~~---~--~~ "Freedom is the only law". "Freedom Unplugged" http://www.ilug-tvm.org You recei

Re: [OT] Re: [fsug-tvm] Re: C++

2009-06-18 Thread Mahesh Mohan
I compiled it using Turbo C++ in Linux Mint using DosBox. Got the output. = .--. |o_o | |:_ / | / / \ \ (|| ) /'\_ _ / `\ \___)=(___/ http://maheshmohan.wordpress.com മഹേഷ് മോഹന്‍ എം.യു ===

Re: [OT] Re: [fsug-tvm] Re: C++

2009-06-18 Thread stranger in black.....
a wild guess u have to install the build-essential package if u r using ubuntu.. On Thu, Jun 18, 2009 at 10:28 PM, Shino Jacob wrote: > > test.c was fine. i got the output, nice, 839 bytes but out was 2.3k > > On Thu, Jun 18, 2009 at 10:24 PM, Shino Jacob wrote: > > i could compile i

Re: [OT] Re: [fsug-tvm] Re: C++

2009-06-18 Thread Shino Jacob
test.c was fine. i got the output, nice, 839 bytes but out was 2.3k On Thu, Jun 18, 2009 at 10:24 PM, Shino Jacob wrote: > i could compile it, but out not exactly same. I changed some \ to \\ > one thing i found about gedit is that if i give \ to be replaced with > \\ it does nothing > i tried wi

Re: [OT] Re: [fsug-tvm] Re: C++

2009-06-18 Thread Shino Jacob
i could compile it, but out not exactly same. I changed some \ to \\ one thing i found about gedit is that if i give \ to be replaced with \\ it does nothing i tried with it worked. a bug i think. On Thu, Jun 18, 2009 at 7:34 PM, vibi sreenivasan wrote: > > i have tried that file i am gettin

Re: [OT] Re: [fsug-tvm] Re: C++

2009-06-18 Thread vibi sreenivasan
i have tried that file i am getting error test.c:12:183: warning: unknown escape sequence '\,' test.c:12:183: warning: unknown escape sequence '\+' test.c:12:183: warning: unknown escape sequence '\l' test.c:12:183: warning: unknown escape sequence: '\040' test.c:12:183: warning: unknown escape se

Re: [OT] Re: [fsug-tvm] Re: C++

2009-06-18 Thread Syam Krishnan
On 06/18/2009 05:55 PM, Yadu Rajiv wrote: > compiles as a c and c++ console proj in codeblocks using gcc for windows.. Perhaps. But strictly, it need not as a C++ program. Syam --~--~-~--~~~---~--~~ "Freedom is the only law". "Freedom Unplugged" http://www.ilug-t

Re: [OT] Re: [fsug-tvm] Re: C++

2009-06-18 Thread Aneesh A
Nice... -- Call me: +91 9447 926 826 For all hardware and software services, Computer assembling, Software Installation etc. Visit my blog http://xtenders.blogspot.com/ Earn money free: http://www.rupeemail.in/rupeemail/invite.do?in=MTY0NTQxJSMlaHlzaUt4V29EVkJVNFNxdTYwYWt0MzVDTw== http://www

Re: [OT] Re: [fsug-tvm] Re: C++

2009-06-18 Thread Jagan Nadh
Now out put is ok. Still some warning are there gcc test.c test.c:11:183: warning: unknown escape sequence '\,' test.c:11:183: warning: unknown escape sequence '\+' test.c:11:183: warning: unknown escape sequence '\l' test.c:11:183: warning: unknown escape sequence: '\040' test.c:11:183: warning:

Re: [OT] Re: [fsug-tvm] Re: C++

2009-06-18 Thread Yadu Rajiv
compiles as a c and c++ console proj in codeblocks using gcc for windows.. and its *#include* not *include* On Thu, Jun 18, 2009 at 5:51 PM, Syam Krishnan wrote: > On 06/18/2009 05:45 PM, Jagan Nadh wrote: > > g++ gives the following error > > g++ -o poem -c poem.c > > poem.c:1: error: expected

Re: [OT] Re: [fsug-tvm] Re: C++

2009-06-18 Thread Syam Krishnan
On 06/18/2009 05:45 PM, Jagan Nadh wrote: > g++ gives the following error > g++ -o poem -c poem.c > poem.c:1: error: expected constructor, destructor, or type conversion > before ‘<’ token Using g++ is pointless. The invalid characters are probably coming from copying text from the browser/mail

Re: [OT] Re: [fsug-tvm] Re: C++

2009-06-18 Thread Jagan Nadh
g++ gives the following error g++ -o poem -c poem.c poem.c:1: error: expected constructor, destructor, or type conversion before ‘<’ token On Thu, Jun 18, 2009 at 5:43 PM, Jagan Nadh wrote: > The error message from gcc is given below > gcc -o poem -c poem.c > poem.c:1: error: expected ‘=’, ‘,

Re: [OT] Re: [fsug-tvm] Re: C++

2009-06-18 Thread Jagan Nadh
The error message from gcc is given below gcc -o poem -c poem.c poem.c:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘<’ token poem.c:4:183: warning: unknown escape sequence '\,' poem.c:4:183: warning: unknown escape sequence '\+' poem.c:4:183: warning: unknown escape sequence

Re: [OT] Re: [fsug-tvm] Re: C++

2009-06-18 Thread Syam Krishnan
On 06/18/2009 02:18 PM, vibi sreenivasan wrote: > i m gettin > error: expected constructor, destructor, or type conversion before ‘<’ token > Do not try to compile it using a C++ compiler. Use a C compiler (i.e. use gcc instead of g++). main() can be called recursively only in C and not in C

Re: [OT] Re: [fsug-tvm] Re: C++

2009-06-18 Thread Jagan Nadh
I am getting the same error. jagan On Thu, Jun 18, 2009 at 4:02 PM, BINNY THOMAS wrote: > I am getting an 'Unknown escape sequence error'. Weirdest program I had > ever seen! Tried to compile it on gcc. > > > On Thu, Jun 18, 2009 at 2:18 PM, vibi sreenivasan < > vibisreeniva...@gmail.com> wrote:

Re: [OT] Re: [fsug-tvm] Re: C++

2009-06-18 Thread BINNY THOMAS
I am getting an 'Unknown escape sequence error'. Weirdest program I had ever seen! Tried to compile it on gcc. On Thu, Jun 18, 2009 at 2:18 PM, vibi sreenivasan wrote: > > i m gettin > error: expected constructor, destructor, or type conversion before ‘<’ > token > > > On 6/18/09, stranger in bl

Re: [OT] Re: [fsug-tvm] Re: C++

2009-06-18 Thread vibi sreenivasan
i m gettin error: expected constructor, destructor, or type conversion before ‘<’ token On 6/18/09, stranger in black. wrote: > I compiled it using geany. working fine add int before > main.. > > On Thu, Jun 18, 2009 at 8:37 AM, BINNY THOMAS wrote: > >> Nope,It does

Re: [OT] Re: [fsug-tvm] Re: C++

2009-06-17 Thread stranger in black.....
I compiled it using geany. working fine add int before main.. On Thu, Jun 18, 2009 at 8:37 AM, BINNY THOMAS wrote: > Nope,It doesn't compile on mine. Unknown escape sequence errors. > > > On Thu, Jun 18, 2009 at 7:59 AM, Navaneeth T wrote: > >> Yaaa u got it >> How is i

Re: [OT] Re: [fsug-tvm] Re: C++

2009-06-17 Thread BINNY THOMAS
Nope,It doesn't compile on mine. Unknown escape sequence errors. On Thu, Jun 18, 2009 at 7:59 AM, Navaneeth T wrote: > Yaaa u got it > How is it > > > -- > INFOMATIC SYSTEMS > Mob::09947834438 > Computer Sales and Service GNU\Linux Support Provider Networking and > for all digital consumab

Re: [OT] Re: [fsug-tvm] Re: C++

2009-06-17 Thread Navaneeth T
Yaaa u got it How is it -- INFOMATIC SYSTEMS Mob::09947834438 Computer Sales and Service GNU\Linux Support Provider Networking and for all digital consumables --~--~-~--~~~---~--~~ "Freedom is the only law". "Freedom Unplugged" http://www.ilug-tvm.org You

[OT] Re: [fsug-tvm] Re: C++

2009-06-17 Thread Syam Krishnan
On 06/18/2009 07:45 AM, Jikku Jose wrote: > Someone please post the output .. very lazy to compile it :) If this works on your machine (I'll tell you why it may not), you'll see te following output: start .. On the

[fsug-tvm] Re: C++

2009-06-17 Thread Navaneeth T
his C program won the first prize in International obfuscated C code contest (IOCCC) held recently. can u guess the output of this prog? -- INFOMATIC SYSTEMS Mob::09947834438 Computer Sales and Service GNU\Linux Support Provider Networking and for all digital consumables --~--~-~-

[fsug-tvm] Re: C++

2009-06-17 Thread Jikku Jose
Someone please post the output .. very lazy to compile it :) 2009/6/18 Mahesh Mohan > strange ! > = >.--. > |o_o | > |:_ / | > / / \ \ > (|| ) >/'\_ _ / `\ >\___)=(___/ > > http://maheshmohan.wordpress.com > >

[fsug-tvm] Re: C++

2009-06-17 Thread Mahesh Mohan
strange ! = .--. |o_o | |:_ / | / / \ \ (|| ) /'\_ _ / `\ \___)=(___/ http://maheshmohan.wordpress.com മഹേഷ് മോഹന്‍ എം.യു = On Thu, Jun 18, 2009 at 7:40 AM, Navaneeth T wrote: >