| |
| |
| |
|
Page: 1 2 3 4 5 6 7 8 9 10
Comments:
<0> sprintf(foo,"%d",muu); ? <1> var = 0; perhaps. <1> though you can't really reverse an ***ignment. <2> : <2> oops <3> sprintf is the only thing that will convert a digit to a string? ok <2> nickg: itoa <2> for windows and unsigned ints you can use _ui64toa or something like that <4> itoa is not standard C. <2> and the point is..? <1> to provide additional information. <4> the point is that it's not standard C. it's unclear why you'd want to use it. <2> you could always implement it yourself :) <2> evilgeek: "standard" is less important if you already have a solution to the platform you need. it saves time and money which is the most important thing in the industry. <5> can i get yalls opinion on something
<2> go ahead. <5> i am making a forum about irc, and i have some topics, but i dont know what else to make <5> can you look at www.ircops.net and give me some feedback <2> it seems you cover everything related :) <5> ok cool <5> i am thinking about making different programming languages forums <6> JLM`! <6> sup :) <5> whats up man, how have things been? <6> good! <7> Are forums more popular than irc ? Peolpe do more forums about irc, that irc channels about forums. <8> you need a job <7> who, me ? <8> yes! <7> not at 1am <8> :P <8> night shift <7> in daytmie, i'm employed, thanks <8> oh <8> :P <8> not that i'm one to speak, i'm at work and on irc <7> why not <8> :P <8> i should be working! <7> as long as you're on the territory, you're working <7> right ? <9> if gfp->flags is 0x0B and I have #define SOMEFLAG (1U << 1) <9> why won't (gfp->flags & SOMEFLAG) evaluate to true for this if() ? <9> FARK, it is....my brain was inserted backwards today <10> 802.11g and 802.11b can use the same antenna, can't they? <10> I mean if an antenna was made for b, could it be used for g instead? <11> should do, dunno if it'd get full speeds <12> no <12> arent they different frequencies? <11> probably <12> http://en.wikipedia.org/wiki/IEEE_802.11 <12> nevermind <12> they probably will be interchangeable then ;) <13> god the internet is getting so commercialized <14> on the heels of yet another serious antitrust ruling against MS, i am curious: <14> is there ever a time when microsoft has operated itself in a legal manner? <13> i wouldnt be surprised if ipv6 is modified to have a credit card number field in it's header so they can do things like charge for access to sites easily <14> with vista, im sure they won't have to.. it will probably advertise your CC to everyone on its own. <13> heh <14> and another thing.. is there a serious competitor that microsoft has NOT tried to kill by bundling its own alternative to the competitor's product with windows? <14> niv_, main problem i have, is when im searching for good narrative information about X, and all i can get is pages of websites offering to sell me X <15> hey <15> http://www.pscode.com/vb/scripts/ShowCodeAsText.asp?txtCodeId=9749&lngWId=3 <15> I want to port this to MVC++ win32 <15> I used vector<string>& returnvalue; else I cant pushback <15> but didnt work <16> You're more likely to get an answer in #winprog or #c++ <14> Kastro, you need to be more specific. <14> thats also some seriously weird code. <15> oki <15> sorry <14> theres at at least one missing ; <14> and random {}'s <15> I am realy tired sorry isnt there a past site ? <14> or something <14> calc paste
<17> Please paste your code (or a complete example that demonstrates your problem) here: http://rafb.net/paste/ <14> Kastro, the usual technique here, if you have not done it already, is to compile with full warnings on, and then fix the very first warning, then recompile. <15> I did... <15> I though I fix'd them but I get more <15> hmm let me google <14> right, keep repeating htat process. if you have problems, paste the very first error to us, and what line number it goes with. <15> http://rafb.net/paste/results/V6iJQ652.html <15> ok thanks <15> I couldnt find the answer on google <14> try vector<char> instead of vector<string> <14> string (also called basic_string<char>) is the equivilent of vector<char>, with slightly different members. <14> traditionally, basic_string and vector were almost identical. <15> if I remove the & of vector<char>& I get 2 errors <15> http://rafb.net/paste/results/iZwRTk82.html <15> I realy dunno maybe I must take a nap <14> what line number? <15> on the lines with return returnvalue; <18> where's the code? <15> http://www.pscode.com/vb/scripts/ShowCodeAsText.asp?txtCodeId=9749&lngWId=3 <15> sorry moment <14> i dont see where its coming from, since you're not explicitly naming allocator. <15> I make new p*** <15> http://rafb.net/paste/results/vbTZZ734.html <14> Kastro, you need to convert your return value explicitly from vector to string <14> you could do, for eg: return string(returnvalue.begin(), returnvalue.end()); <19> http://rafb.net/paste/results/vbTZZ734.html <19> sorry <19> I got disconnected <14> Castro, you need to convert your return value explicitly from vector to string <14> you could do, for eg: return string(returnvalue.begin(), returnvalue.end()); <15> :) <15> works bro <14> cool <15> man thanks alot good night <20> I feel so used <20> they come in. ask a question. get an answer. then leave. <20> don't they wanna hang out with us? <21> they're ungrateful <22> i at least sit around somewhere and idle for a day or two after factual satiation <20> see. that's the proper thing to do. <20> hehe <21> if i initialize data in a multithreaded app and the rest of the time (after threads are spawned), the data is only being read, never ***igned, do i have to use a mutex? <20> no <21> ok good. <21> that'll save a bit of time <20> cycles, too <20> unless that's what you meant <21> it is ;P <21> thanks. much appreciated. <20> np <14> just make sure the data has been written before the threads are created <14> you may need to use a memory barrier or something <21> also, if i'm writing a tiny template engine and i need my template script to be compiled to something that can be directly ran via my system (something like perl or php's on-the-fly compiling), would dragonbook be something that would help me with that? <21> cause i understand how to write a basic scripting engine to parse on the fly, but i don't want on the fly. i want it to parse once, load to something a bit faster and then use the intermediate code on a page request <21> obviously i'm not familiar on how to get it to the point of intermediate code ;D <23> Very carefully :-) <21> haha <21> that i'm ***uming ;P <23> You should use brain**** as your intermediate code. <21> i'm grabbing a lex/yacc book too since i can't find any exceptionally good tutorials on either from google <21> aside from the flex manual <21> which is pretty good, but still lacks a bit <23> Brain****! :-P <24> brain**** for the win <25> i love how its called that heh <24> ... though making a compiler, or rather a preprocessor for it to work with gcc is more of an "introduction to sed" then writing a compiler <24> since it maps onto C rather nicely <15> sorry I go sleep last question <15> error C2664: 'strlen' : cannot convert parameter 1 from 'cl*** std::basic_string<char,struct std::char_traits<char>,cl*** std::allocator<char> >' to <15> 'const char *' <15> damn <15> but I get that sorry for con+v <21> just hang around for a while, show some gratitude ;P
Return to
#c or Go to some related
logs:
load ballance ISP #debian #freebsd ben je heet? #solaris #computers #politics #worldcup iefix syntax d3dxsprite shaders
|
|