| |
| |
| |
|
Page: 1 2 3 4 5 6 7 8 9 10 11
Comments:
<0> I dont even use error names <1> one must master the english language <0> I use strings :) <1> Tamama, haha #define <int> <name> <1> Tamama, one header full of htat **** <2> I've written code that was TOTALLY non understandable (after some time)... then I only *renamed* a few things to the right name... and suddenly I didn't even understand it again, but I noticed errors in the code that were there! <2> Good naming is VERY crucial. <1> Wait, so this line says that you add apples to oranges to get the total number of apples... <3> SB_ there are even solutions to keep you from doing that <1> vawjrwrk, haha <4> haha SB_, nice analogy <3> gotta run... some errands to run <1> vawjrwrk, i do something until I get yelled at, then I change it. <1> Cantide, why thank you sir. <3> SB_ fool <3> do it right to start
<1> vawjrwrk, i mean there is a lot of stuff that i don't know how to do right, or if it's right <1> lol <5> brb <1> peace all <6> i think people that stay in this industry as long as vic has deserve some sort of award <6> after 5 years, i'm ready to consider alternatives <7> hehe <2> You don't know C++ after 5 years. <6> did you see c++ in my statement? <8> hello all <7> hello... hello again <9> how do you consider alternatives without knowing the current? <8> any student out there? <7> nvito just ask <2> for (Hello::iterator iter = hellos.begin(); iter != hellos.end(); ++iter) std::cout << *iter << '\n'; <8> a said to be good college is proposing turbo pascal as programming language? Isn't that a bit too old? <7> hellos.push_back("just ask"); <2> just ask <7> nvito i'd say so <6> nvito: is it in a comparative languages course? <8> ok thanks <6> (pascal that is, turbo pascal is a product, afair) <8> no, I've just checked the installed software on their computers in the lab <8> in a directory called programming <8> they have turbo pascal <0> pascal is a nice learning language if you cut out all the Turbo-Pascal DOS extensions <2> nvito: turbo pascal will be totally 100% useless for you to learn imho. <7> well what's wrong with them having a pascal compiler installed? <7> i thought you meant they were proposing a pascal course <10> how can I convert a std::string to std::wstring? <8> no not turbo pascal course <2> sk8ing: depends on the encoding <8> but if they have this compiler it's sure that their course will be base on it <7> nvito what course?? <8> I mean exemples <10> Run: what do you mean? <8> computer science <7> nvito what does them having the compiler installed have to do with anything? <2> sk8ing: What is the encoding of the string in the std::string ? <7> in an academic setting, someone might want to play with it <8> ah ok <7> 'computer science' probably isn't the title to an actual course <7> but 'pascal programming' might be <8> rdragon, would you mind giving advice? <10> Run: I don't know... but all the special chars inside it are displayed ok <7> but i don't know what you're worried about <7> advice? don't eat yellow snow <6> the only thing we used pascal for in my CS curriculum was in comparative languages as an example of a (relatively simple) procedural language <7> talk to your kids about drugs <8> rdragon: the programming field is moving so fast that I don't want to do a 4 year study just to realize that what I've learned is too old to be applied nowadays <6> had to write a pascal tokenizer, if i remember <7> nvito it probably will be, but you still should get that 4 year degree <2> skizo: that only means the encoding is the same as your terminal thinks it is. You should use some library to convert strings. Don't ask me how, I never do/support that kind of thing; I think everyone should learn English and if they don't they I don't want them to use my program, heheh ;) }:-) <6> nvito, one rarely learns trade at a university. you're there to learn theory <11> nvito: if you start a 4 year program what they teach you will have been obsolete years before you even began <2> s/skizo/sk8ing/ <8> Asmodee: +) <10> :)) <0> sk8ing: I usually just cut off all >127 value characters and just do a char->wchar_t cast :P <8> that's why I'll do an accelerated course <0> unless of course i know the input is utf-8
<2> I don't need wchat_t ... I just firewalled ALL of china the other day. (getting 90% less spam now) <2> wchar_t <10> heh, the problem is that I have a sprintf(tbuf, "%%%02x", buf[i]); and buf is now char <10> so it won't encode as it should <7> meh <8> thx anyway <7> why use sprintf? <7> nvito - go to school. <0> sk8ing: make buf a wchar_t then <8> I'll take the college that propose many course <7> nvito - don't go to a trade school <2> lets put that differently: don't use sprintf <10> hmm.. what should I use? <2> stringstream <8> no problem bout that rdragon <0> let the compiler convert your local charset to unicode :P <8> +) <0> Run: I rather like wchar_t stuff <10> ss << std::hex << s[i]; ? <3> the problem is that you have sprintf at all <3> hex is sticky <0> btw, is there some switch to have "blah" become L"blah" by default so that i dont need to type so many L's ? heh <3> Tamama apparently not, IMO a HUGE ****UP on the part of the committee <2> Tamama: you should use a library <2> _("blah") <10> brb, I don't eaven know if urldecode() from php will decode a longer hex value... <3> yeah the _() is a LOT easier to type than L <2> heheh <6> it's slightly more efficient than _T("") <3> it's still, IMO, a error on the part of the committee <0> well it is a good way to promote that static text is read from a config file (improving the possibility of internationalisation) <0> but it still ****s donkey balls <0> at least we dont have $var() around our variables yet <0> or something <6> we should all just use wcs-4 anyway, screw it! <6> ucs-4 <3> the language should accept _some_ syntax to say what the default character set for "blah" is <3> geezus, we did that back in the 1960's in our macro ***emblers <2> I didn't <2> Wasn't born yet then <6> also: whomever invented #region for the Visual Studio editor is the devil <3> wtf is #region ? <6> it automatically collapses a block of code when the file is opened, so you can't see it <7> heh <6> in previous versions, it went around generated code <6> so the poor developer wouldn't get confused <6> unfortunately, some developers think it's good for *their* code <4> so... i thought it was meant to make it neater and more readable/user friendly <6> more readable would suggest you could *read* the code <4> oh... i guess it could get annoying then... <3> e:\dev\projects\programming\personal\metalib\findfiles.cpp(91) : fatal error C1021: invalid preprocessor command 'region' <4> you can... just expand the region <7> so it makes it unreadable, then <6> it's /clr <6> hiding code is anti-productive <6> sorry, in C++ it's #pragma region <6> in C# it's #region <6> ("in C++" = microsoft's compiler) <7> ah, lunch time <6> i just think the very notion of it is insulting <7> of lunch? <6> "this area of code you don't care about" <6> how the hell would they know i don't care about it? <6> mmm lunch <7> yeah, i've seen others' code that uses #region... it's annoying <7> hmm, i guess I should shower before i go out <6> well, it has been a month <6> aretina sounds like a girl's name <4> o_O <10> stringstream ss; string s; ss << std::hex << str[i]; ss >> s; will push in s str[i]; not the hex value... what am I doing wrong? <2> Ali sounds like a boys name <2> str[i] is a string, not an int <2> or char* <6> yes, except for two things 1) that user's registered, 2) the name doesn't have a numerical suffix. conclusion: likely not a spam bot
Return to
#c++ or Go to some related
logs:
#windows #linux #chatzone #c++ #squid voyagepictures.com what is compat20 #chatzone #linuxhelp #linux
|
|