Return Styles: Pseud0ch, Terminal, Valhalla, NES, Geocities, Blue Moon. Entire thread

File/File Size list - C

Name: Anonymous 2011-11-22 7:02

Was wondering if any C guru's knew where the hell im going wrong with my code, I just want to list file names and file sizes of files in a directory, file sizes seem to be printing as addresses. Learning C is hard ;(

Should be easy!

http://pastebin.com/Y6ruNEum

Name: Anonymous 2011-11-23 16:54

>>39

When you do the comparison a == b you think of the integers (a and b) as integers, not booleans.


Again, there are no such thing as "integers" in C. Also what happens if a==b is used in an if/else clause? Clearly if/else either evaluates to valid or not valid. Again, for like the 4th time, you're a stupid fucker with no possible future as a computer programmer.

Name: Anonymous 2011-11-23 16:56

>>38
So what? In first two ifs one kind of integer type is being coerced to another. It behaves exactly as it should and it nicely illustrates that Booleans are integers.

Name: Anonymous 2011-11-23 16:56

>>40
You seem to have issues with English, if you are not from an English speaking country that is not an excuse(!).

It is "beyond" not "beyonnd", also the sentence "Even if I was back and International Papers, ..." doesn't make any sense.

I recommend that you work on your English and your C programming, and you would be successful.

Also you seem to be very ungrateful, I have done nothing but help you yet you seem to be angry at me for some reason. Is this how you would behave at home with your mother? I don't think so.

Name: Anonymous 2011-11-23 16:58

>>43
Stop projecting and go scrub another toilet you fucking nowhere bitch.

Name: Anonymous 2011-11-23 16:59

WHBTC

Name: Anonymous 2011-11-23 17:00

>>42
There is no implict conversion going on. And the fact that you thing there might be not only makes you stupid, but also mentally retard. Again, you're stupid.

Name: Anonymous 2011-11-23 17:01

>>45
Internet slang? Oh geeze. Go kill yourself.

Name: Anonymous 2011-11-23 17:02

>>46
Jesus fuck. You are a fucking retard.

IHBT

Name: Anonymous 2011-11-23 17:06

>>48
No you haven't you dumbass jew. Tell us all what you do for living. Have you ever worked on any of the C committees? How many hundreds of thousands of people use your C code? Did you even make it beyond high school?

The fact that you won't answer any of this implies that your a fucking high school graduate that works some hourly job. Now go scrub my office you bitch before I write you up.

Name: Anonymous 2011-11-23 17:06

>>48
Now, now, there is no room in the classroom for such talk. He may not be as gifted as you but that is no way of talking to a fellow classmate.

And before you say that this is not a classroom and that he is not your classmate keep this in mind, life is a learning experience.

Name: Anonymous 2011-11-23 17:09

>>49
Do you have an erection right now? I always get one when I wear panties and I picture you now in panties.

Name: Anonymous 2011-11-23 17:29

>>51
Do you picture him wearing panties or do you picture him in arbitrary state while you wear panties?
I need to know, this is important!

Name: Anonymous 2011-11-23 18:26

>>52
Roll around in the ambiguity. Soak it in.

Name: Anonymous 2011-11-23 18:37

>>53
nooooooooooooooooooooooo

Name: Anonymous 2011-11-23 19:43

In case anyone's interested, there's a basic implementation of this described in "The C Programming Language" book.

Somehow I think Kernighan and Ritchie can write a decent example...

Name: Anonymous 2011-11-23 23:29

Yet another thread ruined by the idiot troll.

Just ignore him, guys.

Name: Anonymous 2011-11-24 7:12

not anime

Newer Posts
Don't change these.
Name: Email:
Entire Thread Thread List