@# Quotes DB     useful, funny, interesting





Google
 
Web www.quotesdb.info
Undernet  |  EFnet  |  Quakenet  |  Freenode  |  Dalnet  |  Ircnet  |  Galaxynet
Page: 1 2 3 4 5 6 7 8 9 10 11 12 13 14



Comments:

<0> error: storage size of 'data' isn't constant
<0> wtf!
<1> how is GSL compared to LAPACK and BOOST's uBLAS?
<2> threat: paste the line of code
<2> But you probably did
<2> int i = 5;
<2> int arr[5];
<2> eh
<2> int i = 5;
<2> int arr[i];
<2> (hey I just woke up)
<0> hehe
<0> good morning MrAshe :)
<0> MrAshe, http://www.noidea128.org/sourcefiles/16140.html



<2> That const it not that much const
<2> It's const as in read-only ;)
<0> yeah
<0> how should I go about this then ?
<0> use new ?
<2> vector
<0> I cant use vectors
<0> (dont sak why)
<0> sak = ask
<2> Well, then new
<0> ok :)
<2> (and hopefully delete)
<0> and how do I delete a [][] ?
<2> You don't
<0> oh
<2> T ** p;
<2> p = new T*[xx];
<2> for (...) p[i] = new T[yy];
<2> ...
<2> for (...) delete [] p[i];
<2> delete [] p;
<0> so I cant do p = new T[xx][yy]; ?
<2> vector<vector<T> > p( xx, vector<T>(yy) ); // and there you're done in one line, w00t
<0> MrAshe, yeah I know
<2> No you can't, unless one of those is constant
<0> MrAshe, ok
<0> MrAshe, thanx :)
<2> Like T (*p)[50] = new T[xx][50];
<2> Anyway, gotta go "work"
<0> ok
<0> ok bye bye! and thanx!
<0> Eugen-ON, ?
<3> Noidea128, hey you?
<4> Hey, is there any function in the C standard library that converts a string to a double? similar to how atoi() converts a string to an int?
<5> this is C++
<5> #C++
<5> #c is that way -->
<3> jauncie, do a /j #c and you should be set ;)
<6> you go up the cannel list a bit and make a left
<6> channel too
<7> guys, can someone tell me under what circumstances can the STL vector's push_back() function call crash?
<7> i'm trying to debug my code and I have no idea why my program is crashing on the push_back() call
<7> this is my code
<7> snNode *_temp_node = NULL; _temp_node = new snNode(node_type,node_id);
<7> if(_temp_node==NULL) cout << "WTF" << endl;
<7> this->nodes.push_back(_temp_node);
<7> t doesn't output WTF, and it crashes on the last line
<8> erm
<8> Unless your C++ compiler is broken, the if (_temp_node==0) check is useless.
<8> The crashing of push_back likely is caused by other code that incorectly deals with memory (array bounds overrun, double deleting, following dangling pointers, uninitialized pointers etc)
<4> Hey, can someone help me out a bit with the stringstream cl***? I understand everything in the outline of the cl*** at cplusplus.com, I've just never had to use stringstream before.
<9> sal all
<9> e cineva ?
<9> care stie cum scriu in root colorat la full name de ex sa scrie colorat cand intra
<10> Try in English.
<9> don`t know speak english :(
<11> when should the main() function return , and when not ?
<12> int main() always returns
<12> something



<11> ok, so why should the main() return something ? how does it help me if it returns ?
<12> because the standard says so
<11> well, that's not a good reason for me :)
<11> it must be some logical reason
<11> isn;t it ?
<12> sure there is...and it will be explained in your reference book
<11> ?
<11> what book ?
<12> your book
<11> so you honestly believe there's no reason for the main() function to return something ? and it's just that "because the standard says so" ?
<12> eh? did i say that?
<11> where can I read that ?, I wanna be sure of that thing :) .. with the standard thing ..
<12> a book
<11> yes you did a couple of rows above : <12> because the standard says so
<13> I have an xml file that contain image as text ... I have been told that the text is a base64 string... I dont even know what is base 64 string!
<14> google
<13> already google... not much help ... I am googling while asking here...
<14> doubt you did, since it should pop up as first or 2nd hit
<13> the first ten entry is about encoding and decoding ... they dont explain what is it
<13> I can encode and decode ... I know how to do that... but I really dont know what is it
<13> let say ... char is 1 byte
<14> http://en.wikipedia.org/wiki/Base64
<13> base 64 string, is it 4 time char?
<14> ehm... yeah, sure
<13> thanks anyway...
<14> 'lo SalieriM
<11> this is funny :) : - > http://cboard.cprogramming.com/archive/index.php/t-66606.html
<11> does someone know something about communication oriented , what it is ? found nothing on google, hopefully it's c++ related .
<0> hmmm why doesn't static_cast<>() like this? --> struct my_struct_t {int i; int j;}; return static_cast<my_struct_t>(1, 2); ?
<14> maybe becuase a static cast doesnt contstruct...
<0> oh yeah
<13> I still don't know wtf is base64 ...
<14> i bet you dont know what base8 and base10 is either
<14> or base16
<13> correction than... I know what is base64 ... I just have no idea what is base 64 string
<15> whats the difference between a BSTR and a string ?
<15> only typecast is allowed into a BSTR
<15> strange
<13> Nowadays, I dont even know what is string :D
<13> I suspect that BSTR is unicode or wide string something
<14> base64 string.. a string consisting of base64's
<15> what do you mean you don't know ?
<14> char string... a string consisting of chars
<14> he isnt a geek... he is just a noob :P
<13> so how about CString , std::string
<15> IC thanks Tamama
<13> oh and string and String
<15> CString str = (CString)(bstrString);
<15> hmmm
<13> I love char... all those string just confuse me
<14> BSTR would be byte-string
<16> mmm? BSTR is just binary string. Pointer to a wide character string
<16> platform dependent character width, I believe
<16> should be 2 bytes per char on windows
<16> for other platforms supported by the automation frameworks, ymmv
<13> hmm... is unicode string 64bit or 32 bit?
<14> 128bit
<14> -.-
<16> depends on what you mean by unicode
<13> whaaaa!
<16> mostly, people won't use actual raw unicode character representations, they're too verbose. An encoding like UTF-8 or UTF-16 is more common
<16> you'd normally expect a "wide" string to be 2 bytes per character. 4 under some circumstances
<14> actually, i only use raw unicode... if output or input is utf-x, i convert
<14> 2 bytes in windows, 4 by default under linux
<13> Quiz of the day: Why Convert.FromBase64String("abcd") = {105, 183, 29}
<12> technically a BSTR is a length prefixed array of OLECHARs
<13> the result is byte array with 3 element
<14> NoobsGeek: read the bsae64 faq
<14> *bsae64 even
<14> og ffs
<14> *base64 even
<0> yaya base64


Name:

Comments:

Please enter the result of the sum 63 + 46 (to avoid spam):






Return to #c++
or
Go to some related logs:

#php
chitralchat.com
kernel panic not syncing snmpd
witckacy
cherche channel ccpower
anjiz babe
#MissKitten
#linux
Mennonite where is the shit
macbook debian i686 amd64



Home  |  disclaimer  |  contact  |  submit quotes