| |
| |
| |
|
Comments:
<0> when analogized to humans, what would be software and what would be hardware? <1> hmm <1> hardware: tool (ie screwdrivers, hammer) software: the ability to use them effectively <2> need help with php could somebody help me? <3> its unlikely many people in this channel know PHP... i think a better place would be #PHP <2> sorry i didnt know that channel exist
<3> the #PHP on efnet is quite large, but i dont know about the one on undernet <4> I need an example of socket aplication for windows which connects to a http server and downloads a file form the server in the curent directory of application <5> haha <6> hm <6> I want to go home already <7> Then go <5> ha ha <7> Why not just ban him <5> i did <7> Where <8> cun cineva o fata irina de pe elena cuza? <9> tnx dbtid <5> it's a script <9> :) <10> hey ppl <11> are macros in c powerful enough to build a search and replace ? <11> in a string <5> don't know if that's the question <5> the question should be: are you smart enough to figure out a way to use macros to implement one? <11> ok so it means a yes :D <11> but <5> i didn't say that <11> dbtid: the search and replace is for example if i have a char A&B and i want to replace that with an A can i do it in a way that it works if any letters that occur <5> i have no idea what you're asking
<11> ok <11> lets say i have A&B and i want to replace every instance of thet in a string with an A <5> so "A&B" -> "A" <5> ? <11> ok <11> but <7> Why not just do a find & replace on your source <11> well is it better to do it as a function ? or better as macros as i want it to compute quickly <7> If your strings are runtime, you hardly make sense <11> well Ashe ok so it will be the same i guess <11> i ask here cause u guys r experts :) <11> but since i am still learning i ask <11> "A&B" -> "A" (can u do it for any letters that occur with macros where A and B can be any letters) <11> obviously not repeating it for all the combinations hehe <5> Ashe`: you're an expert. help him fer cryin' out loud... <11> even u r dbtid :P <5> me ? <5> c-bot strcpy <12> dbtid, here you go: strcpy - #include <string.h> char * strcpy (char *restrict to, const char *restrict from) Copying and Concatenation (ISO) see - http://www.msunix.co.uk/manual/glibc-2.2.3/html_chapter/libc_5.html#SEC74 <5> c-bot strstr <12> dbtid, here you go: strstr - #include <string.h> char * strstr (const char *haystack, const char *needle) Search Functions (ISO) see - http://www.msunix.co.uk/manual/glibc-2.2.3/html_chapter/libc_5.html#SEC77 <5> there you go <11> well i consider ppl who teach me experts <11> 10x dbtid <9> goodbye. <13> this problem is back to haunt me
Return to
#c or Go to some related
logs:
#linux #php #c++ meatspin.cm #linux #MissKitten #c++ none-static callback #linux original name of paul mccartney's fictional church cleaner 'eleanor rigby'?
|
|