| |
| |
| |
|
Page: 1 2 3 4 5 6
Comments:
<0> hello <0> #define LINK_LIBRARY(X) #pragma comment( lib,X) <0> is thiis stement wrong ? <1> not sure why you think making a macro to do that is a grand idea <1> normal people specify libraries to link with in the project settings / makefile <0> _ /makefile ? <1> what's the question? <0> i use visual studio , #pragma comment is legal <0> there <1> yeah, so? <0> but to make <1> "but to make" ?? <0> #define AAA(X) #pragma (AAA) <0> is that legal <0> ? <1> is what legal?
<0> using #define with a compiler derective <1> it's not a compiler directive <1> it's a preprocessor directive <0> ya true <1> and I would imagine it's fine - why don't you just try it? <0> but u understood the question <0> it shows me a bundle of errors <1> well then show us the errors <1> maybe that will tell you what's wrong <1> actually I did just try it - looks like it's not OK to do <0> well i have a german VS <0> but it say <0> Formal parameter is expected <1> apparently it doesn't recursively evaluate the macro <1> or whatever <1> so no, doesn't look like it's valid <1> why don't you just put the libraries to link in the project settings? <1> anyway, i'm outta here <0> well thats a possibility too , but i find it easier with #pragma <0> dont u find ? <0> allo <0> is there an Stl container for 2D arrays ? <0> rdragon: can u help here please <0> ? <0> allo <2> Guns|n|r0s3s: vector<vector<T> > <2> Or just vector<T> <3> hmm, Khan does seem to have disappeared <3> I was wondering why there seemed to be less gaeyness about in the channel <0> when i want to make a virtual parent cl*** <0> should i instanciate the virtual functions inside it ? <0> i made cl*** A{ public : do();}; <0> cl*** B:A { do(){ do sth}}; <0> but i get Linking errors <4> type function_name(string& StringData) { ... <4> it's impossible to use strings as parameters, .. true?? <1> how did you decide that, Max_- ? <1> (you're way wrong, by the way) <1> std::string is no different than any other cl*** <1> Max_- ?? <3> he's dead, doctor <1> but not as we know it <4> oh <4> good... I just can't get it working yet... I'll work a bit more on it.. <1> Max_- - so, what's the proble?? <4> the problem, as borland tells me, is : 'string' cannot start a parameter declaration <1> why would you use borland? <4> what should I use? <1> well, why are you using borland?? <1> you should probably be using vc8 <4> because I got used to it when I was doing delphi things <4> the microsoft thing? <5> this ain't delphi <1> "the microsoft thing", yes <4> okay... <1> that doesn't really address your problem, though <4> well.. one or the other, isnt C++ C++? <4> yeah.. <1> will need to see some code <5> Max_- yes, but borland isn't c++ <1> it is, but some compilers aren't very standard compliant
<4> developer studio using C++ builder/compiler <4> ohhh okay <4> I should then consider trying vc.... <1> i don't think any current compiler is 100% compliant... I think the closest is comeaux (spelling?) <5> no x <4> humm.. hard to get the best out of every kind of softwares... :S <1> comeau <1> yeah <1> get visual c++ 2005 express, Max_- <1> i've never used, and don't know anyone that does use comeau's compiler <4> comeau is unknown to me too.. .. lets try it then... <4> (vc) <5> specifically vc++ 2005 express <5> or vs2005 <4> ok <4> what's the difference between char* and char& ? <6> huge difference <1> one is a pointer, one is a reference <3> too late <1> i'm never too late <1> i'm always exactly on time <3> where did Khan go <1> for whenever I decide on time is <1> so, i caved and bought Oblivion <1> launched it <1> and where do i find myself? <1> a dark dungeon, killing rats, and zombies <1> *sigh* <5> Oblivion has some very nice graphics <1> so i turned it off after a good 20 minutes of slapping rats, and playing janitor in the dungeon, picking up every piece of trash lying around <1> i didn't get to see any nice graphics <5> get out of the dungeon <1> yeah, maybe when I feel like having patience again for that nonsens <1> e <1> back to arcade games ;) <7> Haha <8> will this delete the 11th element of Nth row ?... fscore[row].erase(fscore[row].begin() + 11); <3> yep <3> ***uming fscore is an std::vector? <8> Okay thank you <8> Yes it is <2> 12th <3> er <3> yes 12th <3> dur <8> Yes I wasnt sure about that <3> well, element of index 11 if you meant that? <8> thank you MrAshe <3> oh ok <0> what is the algori0thm of copying a vektor in another <3> there are a million ways of doing it <2> v.***ign( v2.begin(), v2.end() ); <2> Unless vector has an operator =, who knows :p <0> ah <3> :) <3> it does <0> its ***ign not _***ign <0> not _***ign <3> a simply v1 = v2 will do too <3> ple <3> depending on your needs <3> or .insert <3> since .***ign overwrites <0> i need the ***ign one <0> thx <0> i have a vector<vector<T>> and i want to insert a vector but in the Y direction <0> is there any advisable algorithm ? <3> you'd push_back whole vectors <3> or .resize and use operator= for individual components <0> ya <0> but this is possible for only the X direction <0> vector<vector<T>> is 2D array : X*Y <0> pushing back a full vector goes only in one direction <3> yes, you'd have to do some trickery
Return to
#c++ or Go to some related
logs:
#linux sun x4100 conserver www.coolmp3.ro #linuxhelp #linux #AllNiteCafe installshield product.jar download #chatzone #AllNiteCafe #linux
|
|