« first day (423 days earlier)      last day (4539 days later) » 

3:55 AM
how about no
what are you some kind of cyber bully? muppet
think your a big man hiding behind your keyboard
twat
@IntermediateHacker: Have you been rejected by the real world, live in your mums basement and now trying to be some kind of cool kid on the interwebs?
 
@Ollie how did u guess?
 
because you're A grade a prick
 
I agree with @keithlayne , end the war.
 
you come in here and start it and then want to end it... haha okay then!
yeah some kid came in and started being a douche
he calmed down though when I exposed him to the world.
 
and he lives in his mom's basement
and hates noobs.
I'm insulting myself.
 
4:01 AM
you are referring to yourself as he, does this mean you also have mental health issues?
 
no. it means I don't care what impression newbs like u get of me.
 
I would like to understand your mentality, I really would, i'm here asking for help, and you are being a complete pillock
 
16 messages moved from Kitchen<C++>
2 messages moved from Kitchen<C++>
 
4:30 AM
Hi @RichardPennington
 
I thought my stat call would be ok as each time around the loop i am passing the filename from the dirent struct into a char and then running stat(<THATFILENAMECHAR>, &buffer) for each and every file
 
no expansion
 
buffer being the name of the stat struct
and it does seem to be bringing up the correct file sizes
 
But your only passing dname to stat.
 
4:36 AM
which is the filename
ahhh so would it only work with the files in the root dir
 
right
you need to pass the whole path name to stat.
 
ok so easy way round that is this
the char directory holds the full path
 
so stat(directory, &buffer) will work
 
add the name in a similar way.
yes
 
4:40 AM
and the reason listdir(directory) didnt work was because it was passing it files?
 
yes, and stat() is failing. Check the return value of stat(). :-)
 
so that fixed all of it
haha
thank you so much
 
all i have to do now is work out internal fragmentation
and unless you are really bored and want something to talk about it won't go into that with you
 
ok. have a good evening. or morning. :-)
 
4:43 AM
haha thank you so much
and you have a great day/night too
one last question
have you ever had the joys of minix?
 
I have looked at minix and have run it on a virtual machine. I was planning on targeting minix with clang/LLVM but they beat me to it. :-)
 
so do you program for a living or hobby (if you dont mind me asking)
 
 
14 hours later…
6:38 PM
@rubenvb Yeah, but we can spell :P
1 message moved from Lounge<C++>
 
 
5 hours later…
11:22 PM
@RichardPennington hi
 
11:38 PM
 
1 message moved from Lounge<C++>
 

« first day (423 days earlier)      last day (4539 days later) »