| |
| |
| |
|
Comments:
<0> does anyone feel like helping me ? <0> if anyone feels like here is it there is a memory leak or somthing which i am not finding http://85.232.212.148/myweb/rep.txt <0> p.s: about the type casts they must be there by force <0> symbol.c:273: warning: ***ignment makes pointer from integer without a cast <1> your code is unreadable ... <1> at the very least, you could indent <0> sorry veins refresh the browser <1> nah im sorry its still too hard to read for me <0> its ok 10x anyway <2> http://rafb.net/p/jzqHkU72.html <2> Line 17 <2> Can someone enlighten me please?
<2> It's probably a very n00b thing I forgot. <3> That's not how fopen works. <2> hmm <2> OH <2> Would it be if(sortie == NULL) only? <2> That was it. <2> It was indeed something very n00bish. <4> my thanks:) <5> well. <5> :~/info$ gcc -o apl3 apl3.c <5> /tmp/cc445pG2.o(.text+0x128): In function `main': <5> : undefined reference to `sqrt' <5> and i don`t really <5> know <6> you used a math function but did not link the math library. <5> how i`m suposed to do that <6> append -lm <5> oh <5> thx <7> howdy <7> c-bot: tell threat^M about getsockname <8> threat^M, here you go: getsockname - #include <sys/socket.h> int getsockname (int socket, struct sockaddr *addr, socklen_t *length-ptr) Reading the Address of a Socket (BSD) see - http://www.msunix.co.uk/manual/glibc-2.2.3/html_chapter/libc_16.html#SEC306 <9> ok thank you <9> thank you <10> is there any possible simplification when dealing with bit oriented streams in C? <11> sure, mke something around it that reads bits <9> great idea <10> yeah very great ;-) <11> struct bitstream { FILE *whatever; char temp; int temp_bits_usable; } or something <11> give your brain a spin and it will come up with something :) <9> I prefer cl*** bitstream {}; :P <7> but do NOT take a spin in tammy's brain; it will hurt you. <7> threat^M: then go to #c++... <9> :P <11> dbtid: he's already there.. heh <12> when i do int somevect[100][200] i can use up to somevect[99][199] or up to somevect[199][99] ? <10> :) <11> dbtid: my brain is currently doing a full roundaboutyellowellojumpfest <11> stefys: which one do you think... logically? <12> somevect[99][199] <10> Tamama: it's about what I have now, but what with endianness and bit shifting and all, I don't understand my code anymore and it has a bug somewhere :( <11> lol <11> Squeeeez: paste it? <12> is it? <11> stefys: you were right <12> ah <12> wasn't sure :)
<11> congrats <12> thanks <12> i deserve a bone plz <13> Oh wait <12> wewt <5> fetch <5> :> <12> \o/ <10> Tamama: here is the paste, with lots of bugs probably :( <10> Tamama: http://rafb.net/p/gNSvSG48.html <9> dbtid, ok thank you for your help, telling me about getsockname, however I guess I need to call another function to get the ip address right/ <10> Tamama: and it's a bit weird since it will set ...FF7F when I set a 127-bit block to all 1 <9> ok I am still stuck <9> what do I do with a sockaddr struct? <10> threat^M: if you have a domain name and want the ip, you might want to look for it online, as there are plenty of examples <9> Squeeeez, I have a sockaddr, I want the ip <9> Squeeeez, not the hostname <10> threat^M: something like getaddrinfo? <9> hmm <9> I am looking at the man page of that function. <10> or getnameinfo with NI_NUMERICHOST <9> Looks promising <9> I will try that <9> Squeeeez, I seem to be getting the run-around <9> Squeeeez, each function I need to use, uses a structure which is returned by another function :/ <9> need to find out what socklen_t is <9> I hope it is an int <9> yay it is <9> woot! it worked, thank you Squeeeez <10> threat^M: :) <9> :D <10> if I have a struct with an unsigned long long and an unsigned long long :63 (127bits), and I have a pointer to that struct and ++ the pointer... will it skip the extra bit to 128bit or will it dealign itself? <14> thank you <14> hi all <14> make a program witch is searching in one txt file for a name so if it's found returns it's p***word <14> p***words in the following format: <14> lastname-firstname-p***word <14> could anyone help me please? <10> SaintSad: you could use the string functions <10> SaintSad: if you're on a unix OS you could also use grep and cut <14> I have no clue how to implement this program <14> <--beginner <14> windows here <0> can i create a pointer to void ? and than make it point to any data structure ? <15> fairmutex: Yes, a void* can point to any object. It won't know what it's pointing to, though: that's up to you to remember. <16> tiganu e pe canal? <16> baaaaaaaaaaaaa <16> in curtea de ag nu sunt femei? <17> yeah my pe canal is stinging a bit, now that you mention it <18> I am working on a filesystem, and now thinking about the caching part.. I want to see if this statement is true:if I don't have journaling.. I can't implement write caching <19> I don't know a lot about file systems, but I don't see why write caching would depend on journaling <18> because what if a power failure takes place.. how can u recover the data? <19> that's what journaling is supposed to take care of, but the same problem can occur if you have a power failure during writing, or if you have a power failure while allocation tables are being updated and so on.. i think it would be bad to have write caching without journaling because if an application has it's own data safety methods then they could be broken by write caching without journaling
Return to
#c or Go to some related
logs:
etilek protain shake
#linux #MissKitten sendmail smarthost redhat deferred refused #skype #php #apache soundtrack the crow +ecoprick
|
|