Shop Mobile More Submit  Join Login
×


More from DeviantArt



Details

Submitted on
October 13, 2004
Image Size
15.6 KB
Resolution
513×1148
Link
Thumb
Embed

Stats

Views
4,406
Favourites
77 (who?)
Comments
72
Downloads
1,593
×
love.c by Crowbeak love.c by Crowbeak
Category: Literature. (I chose to submit it graphically to assist people without programming experience in reading it. I do have programming experience, and I still find the colors helpful.)

My Inspiration: Programming!

I once read an article (I believe it was in a gaming magazine) that said that the people who are out there programming video games would, in an era without computers, be doing art for a living -- music, theater, whatever. I wholeheartedly agree. I'd be trying to become an actor if not for the fact that I want to help bring video games out of the "Oh my God, you're turning our children into antisocial murderers!" spotlight to be placed beside film as a complex art form. It was such thoughts, combined with my Computer Graphics class homework, that made the idea pop into my head:

What if I wrote a love poem as if it were a program?

The form and point of the poem popped into my head immediately. The real challenge was in trying to make it like an actual program without making it illegible to people who had never looked at -- or even wanted to look at -- a block of code in their life. So it was that in the interest of general readability, I left out some elements necessary to make the program run properly or at all.

Helpful Information: Or what some of the code means!

The code is divided into four main blocks, with the poem itself starting at the yellow highlighted line.

The top three blocks of code are programmer-defined types.
Enum - [link]
Struct - [link]

Near the bottom of the fourth block, on line 80, is a for-loop.
For-Loop - [link]
Add a Comment:
 
:iconeschnigma:
Eschnigma Featured By Owner Feb 6, 2015  New member
No #include statements? :) (Smile) 
This is really cool.
Reply
:iconalessy:
alessy Featured By Owner Sep 17, 2010
I really like this. I keep coming back to it every few months to re-read it. And now that I am engaged to a programmer I see it in a completely different light than when I saw this for the first time a few years ago. This is a real gem.
Reply
:iconcrowbeak:
Crowbeak Featured By Owner May 29, 2011  Hobbyist General Artist
Thank you! :D I'm glad people still find meaning in it. It's one of the few things I wrote during that time period that I still like.
Reply
:iconfractalconfusion:
fractalconfusion Featured By Owner May 23, 2009
Impressive piece of experimental writing. In general do you need to submit in graphical format to get the formatting correct? I've had problems getting poems where word arrangement matters to show properly here on DA....
Reply
:iconaramyth0:
Aramyth0 Featured By Owner Jan 3, 2009
Not sure I could ever mix my writing with code. You've done it so that it's brilliant. Giving that much expression to a lifeless code.

Nice work.
Reply
:icon3208:
3208 Featured By Owner Nov 29, 2008
you have the Mark Z Danielwski-gift^^
it's kinda scary in a exciting way :D
Reply
:iconjust-miyu:
Just-miyu Featured By Owner Aug 3, 2006
very touching. Its funny how something characteristically emotionless like computer code could convey such a beautiful and realistic vision of a human relationship. Hats off you you :P
Reply
:iconw00tw00t-bigbird:
w00tw00t-BigBird Featured By Owner Jul 29, 2006
wow. ok ...

Though i HATE programming ... this is a freaking good idea
Reply
:iconekeichi:
Ekeichi Featured By Owner Jul 21, 2006
Wow.... Awesome! :+fav:
Reply
:iconmegilindir:
Megilindir Featured By Owner Apr 24, 2006
man, I just stumbled upon this after relaxing from my c++ class....wierd....definately creative, definately awesome. :clap:
Reply
:iconcrowbeak:
Crowbeak Featured By Owner Apr 29, 2006  Hobbyist General Artist
Thank you. :D I wish it was compilable, though.
Reply
:iconsagge-antalos:
Sagge-Antalos Featured By Owner Mar 8, 2006  Student
unusual and creative... :)
Reply
:iconcrowbeak:
Crowbeak Featured By Owner Mar 8, 2006  Hobbyist General Artist
Thanks. :D It was interesting to compose, since most people don't really understand programming languages.
Reply
:iconsagge-antalos:
Sagge-Antalos Featured By Owner Mar 8, 2006  Student
I understand just a little bout programing, but your poem is understandable... how you came up with that idea? I found it quite original :)
Reply
:iconcrowbeak:
Crowbeak Featured By Owner Mar 9, 2006  Hobbyist General Artist
I was doing homework for a programming class, and the idea just kind of popped into my head.
Reply
:iconurif:
urif Featured By Owner Nov 3, 2005
absolute love!

funky code
Reply
:iconjarofjuice:
jarofjuice Featured By Owner Sep 14, 2005
An absolute genius - take it from a programmer!
Reply
:iconmidnightsfall:
midnightsfall Featured By Owner Jul 16, 2005
Very interesting, this. Poetry in code form. 'S really pretty cool. I'm not a programmer, I can't read code... But I do like this. You've accomplished your goal, you have. ^.~

Thanks for sharing this amazing peice with the community. It's made my day. ^_^

Definite +Fav.

~ Midnight
-- At this moment I have something to say, | Blessed be this cold, wet day. | I entertain thoughts of suicide. | Another blow to my bruised pride. | Let the rain fall, | Down from the sky. | Let the rain fall, | On those that die.
Reply
:iconrwlk:
rwLk Featured By Owner Jul 7, 2005
fun :)
Reply
:iconrwlk:
rwLk Featured By Owner Jul 7, 2005
fun :)
Reply
:icontheinfinitedream:
theinfinitedream Featured By Owner Feb 8, 2005
whole new thinkin...
good use of C language...

keep up the good work.
Reply
:iconbahh:
bahh Featured By Owner Jan 25, 2005
I would LOVE to see this pushed farther. A longer code and a less cliche subject. Even if people don't understand it, I don't think that would be a problem. Normal people don't understand codes. And most people don't understand most poems, either.

Anyways, I really enjoyed reading this. It was even visually pleasing, just looking at it as an image and ignoring the words and the meaning behind the words. Yea, I think you should mos def push this even more. I dig it.
Reply
:iconcrowbeak:
Crowbeak Featured By Owner Feb 22, 2005  Hobbyist General Artist
I've been working on an idea for another one, but between school and work I have been busy. >_< Everytime I actually sit down to work on it I get interrupted.
Reply
:iconyellowdude:
yellowdude Featured By Owner Jan 21, 2005
Yay for poets and programmers!!! I enjoyed this poem much.
Reply
:iconnonweasel:
nonweasel Featured By Owner Dec 26, 2004
Since you are using C++, why not make a man and woman class? And by the way, for maximum understanding of the artistic expression, what compiler are you using?
Reply
:iconcrowbeak:
Crowbeak Featured By Owner Dec 26, 2004  Hobbyist General Artist
Visual C++ 6.0 and Visual C .NET. I haven't really worked with any other compilers.

I felt that making them classes would complicate things more for non-programmers without really enhancing the piece.
Reply
:iconnonweasel:
nonweasel Featured By Owner Dec 29, 2004
gcc is really a fantastic compiler (which is usually only found on matching operating systems). I think you have to kind of understand programming at least a little to understand the poem in the first place. You are right though, in that the current version is more backwards compatable with C.
Reply
:iconshin-zeruda-hime:
Shin-Zeruda-Hime Featured By Owner Dec 25, 2004
I like this deviation quite a lot. I'm studying Software Developing so I know some about this. I understood it perfectly, and I am indeed in some case about this. Kind of hard to go through and understand, though. Only time will tell. I quite cannot express of what I really feel but let's just say that I am still a developer wannabe so I understand all points meant in here.

Congratulations on the Inspirations DA contest winning.
Reply
:iconcrowbeak:
Crowbeak Featured By Owner Dec 26, 2004  Hobbyist General Artist
:) Thanks!
Reply
:iconcrowbeak:
Crowbeak Featured By Owner Dec 25, 2004  Hobbyist General Artist
Thank you, everyone! :)
Reply
:iconbloodyclaw:
bloodyclaw Featured By Owner Dec 23, 2004
:aww:
Reply
:iconaarghj:
aarghj Featured By Owner Dec 22, 2004
lovely idea... very nice ending. :)
Reply
:iconaxcot:
axcot Featured By Owner Dec 22, 2004
cout>> woot nice =)

while (:year.day < 366) then

:clap:

end while;

=)
Reply
:iconreqqu:
Reqqu Featured By Owner Dec 20, 2004  Hobbyist General Artist
This is touching and it's made in such a weird way. I think that the end is brilliant but you have to understand that for loop. A wonderful piece where you have mixed two things rarely seen together and a very creative use of the rules of programming! Actually I haven't read any poem (I don't read them much though) which could've given me that kind of feeling of never ending love as this did. :worship:
Reply
:iconmurfq:
MurfQ Featured By Owner Dec 20, 2004   Photographer
That's brilliant! What a neat idea. Poetry, so full of emotion, encapsulated in programming code, so mathematical and lacking emotion. That makes for a very interesting combination. Plus I haven't read C code since my college days. Brings back memories. LOL
Reply
:icondeathma5k:
Deathma5k Featured By Owner Dec 19, 2004
good idea thought you could add it some more stuff :D
Reply
:icondjfil:
djfil Featured By Owner Dec 19, 2004
Really great ideia, and well done!
Reply
:icondarkintruder:
darkintruder Featured By Owner Dec 18, 2004
Wow, this is realy cool. I never knew anyone else had thought of something like this. :D
Reply
:iconshinkou-sama:
Shinkou-sama Featured By Owner Dec 18, 2004
Deifintly unique. I don't have any knowlegde on code but i can read, and this peice is just awsome. I don't usaully fav. Lit. works but you will be my first. :)
Reply
:iconrdnk:
rdnk Featured By Owner Dec 16, 2004   Digital Artist
8-)
Reply
:iconberner:
berner Featured By Owner Dec 15, 2004
1) Leave the voided mains in the bad programming books from decades past where they belong and always return 0.
2) bool does not exist. Use chars (or integers, depending on compiler options) and always check against 0.
3) cin and cout are clumsy like the blaster and are not the i/o weapons of the Jedi.
4) .cpp.

Much to learn you have, padawan.
Reply
:iconcrowbeak:
Crowbeak Featured By Owner Dec 16, 2004  Hobbyist General Artist
Yeah, I don't have much training. :s I decided to make it a void main because I wanted the poem to be as clear as possible to non-programmers and to a non-programmer, the returning of 0 would be extraneous.

BTW... how are cin/cout clunky? And what would you use instead?
Reply
:iconberner:
berner Featured By Owner Dec 16, 2004
I use pretty much all printing/getting functions available to me, depending on the situation. Essentially, it comes down to C and C++. Do you want the efficient but unforgiving approach of C, or the ease of use and maintainance of C++ (really, you're free to mix the two). Perhaps now you can see the lightsaber vs blaster argument.
Reply
:iconcrowbeak:
Crowbeak Featured By Owner Dec 16, 2004  Hobbyist General Artist
I do see. And I actually kind of use both. If I'm making an actual program, I usually lean C++ ward.

BTW, I didn't look at your signature before. ^_^ I haven't seen those in a long time. Rock on!
Reply
:iconpsychoaliendog:
psychoaliendog Featured By Owner Dec 15, 2004   Interface Designer
I see your problem! You're not including iostream.h. It amazing how these things just sneak into code.
:)
Reply
:iconcrowbeak:
Crowbeak Featured By Owner Dec 16, 2004  Hobbyist General Artist
Heh, like I said, a couple of things were left out that'd be necessary to make it functioning code. ;)
Reply
:iconfreaktrigger:
freaktrigger Featured By Owner Dec 15, 2004
Absolutely incredible...
this is inspired, unique and beautiful.
Without a doubt the most poignant and touching piece of love poetry or lierature I've ever come across on DA.

My hat comes off for you.
Reply
:iconcrowbeak:
Crowbeak Featured By Owner Dec 16, 2004  Hobbyist General Artist
Thank you! ^_^ Your words flatter me.
Reply
:iconlittleweseth:
littleweseth Featured By Owner Dec 14, 2004  Hobbyist General Artist
heathen, why is this in c? why do I not see the appurtenances of c++ in ye mongrel code? fie, for shame!
Thats really awesome :D
Reply
:iconcrowbeak:
Crowbeak Featured By Owner Dec 15, 2004  Hobbyist General Artist
o.O Are structs not C++? My programming endeavors started with C++, not C, so I'm not entirely sure where the line is.
Reply
Add a Comment: