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 '\,'
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
അടിപൊളി...
./map
!!
!!
!!!
!!
!!!
!!
!!
!
!!!
!!
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 maheshmohan...@gmail.comwrote:
I compiled it using Turbo C++ in Linux Mint using DosBox. Got the output.
=
.--.
|o_o |
On Fri, Jun 19, 2009 at 10:40 AM, Aneesh A aneesh...@gmail.com 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).
--
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
He (and I) Don't know how to compile Tc++ comparitable programs in gcc
That is what...
On 6/19/09, bincy mb bincy...@gmail.com wrote:
Hi all...
Me just going through space-kerala.org.
Its realy amazing t...
their works..
while visited in galery there..felt so proud
On Fri, Jun 19, 2009 at 9:46 PM, Aneesh A aneesh...@gmail.com 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
That's not the real problem.
Our syllabus specifies Turbo C as compiler !
=
.--.
|o_o |
|:_ / |
/ / \ \
(|| )
/'\_ _ / `\
\___)=(___/
http://maheshmohan.wordpress.com
മഹേഷ് മോഹന് എം.യു
Turbo C++ programs can be compiled on GCC, I think with some tricks
On 6/19/09, Mahesh Mohan maheshmohan...@gmail.com wrote:
That's not the real problem.
Our syllabus specifies Turbo C as compiler !
=
.--.
|o_o |
|:_ / |
/ / \
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...
i m gettin
error: expected constructor, destructor, or type conversion before ‘’ token
On 6/18/09, stranger in black. gnu...@gmail.com wrote:
I compiled it using geany. working fine add int before
main..
On Thu, Jun 18, 2009 at 8:37 AM, 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 vibisreeniva...@gmail.com
wrote:
i m gettin
error: expected constructor, destructor, or type conversion before ‘’
token
On
I am getting the same error.
jagan
On Thu, Jun 18, 2009 at 4:02 PM, BINNY THOMAS binn...@gmail.com 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
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++.
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
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 jagana...@gmail.com wrote:
The error message from gcc is given below
gcc -o poem -c poem.c
poem.c:1: error:
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
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 sya...@gmail.com 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:
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:
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==
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
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
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 Jacobshinoja...@gmail.com 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
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 shinoja...@gmail.com 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
I compiled it using Turbo C++ in Linux Mint using DosBox. Got the output.
=
.--.
|o_o |
|:_ / |
/ / \ \
(|| )
/'\_ _ / `\
\___)=(___/
http://maheshmohan.wordpress.com
മഹേഷ് മോഹന് എം.യു
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
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
Nope,It doesn't compile on mine. Unknown escape sequence errors.
On Thu, Jun 18, 2009 at 7:59 AM, Navaneeth T nava...@gmail.com 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
I compiled it using geany. working fine add int before
main..
On Thu, Jun 18, 2009 at 8:37 AM, BINNY THOMAS binn...@gmail.com wrote:
Nope,It doesn't compile on mine. Unknown escape sequence errors.
On Thu, Jun 18, 2009 at 7:59 AM, Navaneeth T nava...@gmail.com wrote:
30 matches
Mail list logo