| |
| |
| |
|
Page: 1 2 3 4 5 6 7 8 9 10 11 12 13
Comments:
<0> with the same clientele <0> this particular purchase came from b***ett <0> they had a leather set my wife really likes <1> Wife's into leather, eh <2> heh <0> and fivesoms with hot chicks, yeah
<0> i can't afford a vowel <1> That's probably why you shop at Ikea <1> HAH HAH <1> HAH <1> :/ <1> Where's that damned bf2 patch <0> indeed <3> how can i express this? int StrToInt(string sSource, int *piErrChk = NULL) <3> something like this? int StrToInt(string, int * = NULL); <1> What? <3> i have this funtion <3> int StrToInt(string sSource, int *piErrChk = NULL) <0> something like this: boost::lexical_cast<int>(string) <3> never mind the funtion <3> how do i put it ontop of main() <3> how can i express that? <3> int StrToInt(string, int * = NULL); i tryed this but gives me an error <3> (funtion prototype) <1> Just int * <3> 10 E:\Misc\Programming\My Progs\CPP\Progs\INI\Uncle\Debug\Multi.cpp too few arguments to function `int StrToInt(std::string, int*)' <1> Paste line 10 <1> oh <1> Well, try giving it a name in the prototype <3> int StrToInt(string, int *); <1> int StrToInt(string, int * whatever = NULL); <3> name? what do u mean? <1> Just make the name match the actual name
<3> 63 E:\Misc\Programming\My Progs\CPP\Progs\INI\Uncle\Debug\Multi.cpp default argument given for parameter 2 of `int StrToInt(std::string, int*)' <1> :| <1> Is it possible that StrToInt is already defined somewhere? <1> What's line 63? <3> 10 E:\Misc\Programming\My Progs\CPP\Progs\INI\Uncle\Debug\Multi.cpp after previous specification in `int StrToInt(std::string, int*)' <3> the funtion its self - line 63 <0> you can only define the default argument once <0> void foo(int bar = 5); void foo(int bar) { } <1> Huh. Thought it was the other way around. <3> perfect <3> ur right peter <3> thanks <4> default goes in the prototype, khan is right <3> hey man <4> yo <3> whats up <4> not all that much here <4> you? <0> vc++ actually accepts it either way <0> but it can't be defined in both locations <1> Ah, that explains it <3> samne <4> hm, I thought it had to be in the prototype <0> it would make more sense, to me, to be in the prototype <0> ok, need to get ready for dinner <3> http://www.noidea128.org/sourcefiles/15850.html <3> ok another problem <3> in devc++ i do strtoint("123") and gives me 122 <3> in vc++ it does it right - 123 <3> why is this?
Return to
#c++ or Go to some related
logs:
friendster overley #chatzone etoya undernet
fdreopen madsheep efnet
Ubuntu nofile #networking halini kwieta #javascript #MissKitten
|
|