C tips

Whether you're a newbie or an experienced programmer, any questions, help, or just talk of any language will be welcomed here.

Moderator: Coders of Rage

Post Reply
User avatar
Drakor
Chaos Rift Junior
Chaos Rift Junior
Posts: 305
Joined: Sat Sep 11, 2004 12:06 pm

C tips

Post by Drakor »

now that i am in C, i find it not that difficult. i know perl, so most of the concepts came easy. (our teacher spent 2 days trying to explain what an out put function/printf was.)

so i was wondering, since class has not been hard, if there is anything i could code to blow away my classmates. (in our 'picture' project everyone was doing squares or gay stuff, i took on the triforce.) i ran my program and they got pwnt.

Image


so anything i can do to blow em' away?
User avatar
Marx Chaotix
Chaos Rift Devotee
Chaos Rift Devotee
Posts: 873
Joined: Sat May 22, 2004 11:30 am
Location: Alabama
Contact:

Post by Marx Chaotix »

Wow that looks awsome! :shock:
DJ Yoshi
Game Developer
Game Developer
Posts: 1021
Joined: Wed Mar 02, 2005 9:12 pm
Location: Madison, AL

Post by DJ Yoshi »

Make it spin.
There is no signature.
User avatar
Marx Chaotix
Chaos Rift Devotee
Chaos Rift Devotee
Posts: 873
Joined: Sat May 22, 2004 11:30 am
Location: Alabama
Contact:

Post by Marx Chaotix »

You should print the image out and put it on your binder for school.
User avatar
Drakor
Chaos Rift Junior
Chaos Rift Junior
Posts: 305
Joined: Sat Sep 11, 2004 12:06 pm

Post by Drakor »

Marx, i don't want to sound mean but the reason for me starting this topic is to get tips. if i knew how to make it spin i would. hence nullifing the need for this topic.
DJ Yoshi
Game Developer
Game Developer
Posts: 1021
Joined: Wed Mar 02, 2005 9:12 pm
Location: Madison, AL

Post by DJ Yoshi »

That was my comment, not Marx's. It's not hard, it just takes some creative thought and a bit of googling.
There is no signature.
User avatar
JS Lemming
Game Developer
Game Developer
Posts: 2383
Joined: Fri May 21, 2004 4:09 pm
Location: C:\CON\CON

Post by JS Lemming »

The problem is your using the dos console.... making that mug spin would destroy the ASCII art. If you use buffering, you can make an ASCII animation/movie. That would blow the foos out da water.
Small girl at the harbor wrote:Look Brandon, that crab's got ham!
User avatar
Drakor
Chaos Rift Junior
Chaos Rift Junior
Posts: 305
Joined: Sat Sep 11, 2004 12:06 pm

Post by Drakor »

uh...my bad dj yoshi. i would do that but we have to use the dos console.
User avatar
Falco Girgis
Elysian Shadows Team
Elysian Shadows Team
Posts: 10294
Joined: Thu May 20, 2004 2:04 pm
Current Project: Elysian Shadows
Favorite Gaming Platforms: Dreamcast, SNES, NES
Programming Language of Choice: C/++
Location: Studio Vorbis, AL
Contact:

Post by Falco Girgis »

JS Lemming wrote:The problem is your using the dos console.... making that mug spin would destroy the ASCII art. If you use buffering, you can make an ASCII animation/movie. That would blow the foos out da water.
Use "buffering" ? Umm... The dos console works on buffering. Printf is stored in a buffer. Cout is stored in a buffer. Everything in your monitor from the DOS console is from a buffer and is displayed once the buffer is flushed.
User avatar
MarauderIIC
Respected Programmer
Respected Programmer
Posts: 3406
Joined: Sat Jul 10, 2004 3:05 pm
Location: Maryland, USA

Post by MarauderIIC »

I think he means store in your own buffer you can recall, or something.
I realized the moment I fell into the fissure that the book would not be destroyed as I had planned.
User avatar
JS Lemming
Game Developer
Game Developer
Posts: 2383
Joined: Fri May 21, 2004 4:09 pm
Location: C:\CON\CON

Post by JS Lemming »

Yes, Marauder saw what I meant.
Small girl at the harbor wrote:Look Brandon, that crab's got ham!
Post Reply