| |
| |
| |
|
Page: 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17
Comments:
<0> well <0> my manager asked what hours I'm willing to work <1> 7 <1> Per month <0> I said I'm willing to do 9am-5:30pm <0> he said he doesn't know what Paul will think, but, he's going to tell him <0> so, I imagine if it's going to be an issue I'm going to find out soon. <2> is that with lunch break or wihtout <0> with lunch, geeze, I have to eat sometime in 8.5 hours. <1> I wonder if they'll come back and try to haggle <1> What about 8:30 to 6? <1> What about 9-6:15? <1> Etc. <0> and, to be fair, after I come home from the gym I usually sign in and check e-mails <0> and whatever sims I was running <0> etc...
<1> That'd be a great way to say "I have no idea what the hell you do, but it doesn't seem like you're suffering enough" <0> Not tons of extra time, but 30 minutes or so. <1> Dilbert school of management <0> heh, yeah JB <3> have a question. lets say i have an iterator going threw a list, and i wanna search to see if it contains a instance of something like if the input is a name, id, etc as one string can i do *iter == item.substr <3> ? <1> Gosh, the apprentice is on NBC <1> I thought that crap went off the air years ago <0> what's really disturbing is, what about the people with families? <3> only wish they did <4> nope, still a good show <0> I mean, if you start adding this up <0> there are only 168 hours in a week <0> or 24 hours in a day <5> if the object has an overloaded == poperator, yes <0> if you work 12 a day <0> then take another 8 for sleep <0> you've got 4 free hours for everything else. <1> Hour for morning and evening routines <1> Plus a commute <0> that includes commuting, eating, and bathing <0> so you get like a full 30 minutes of time with your family. <3> twister if the list? <3> i'm using the stl list <4> damn, hate to be that person <1> Maybe they'll offer you a hosing off when you get in in the morning <5> list is not the object in question. <5> List of what? <3> what it is is supposed to be chaining. on a hash table <3> strings <3> i'm just hashing the name <3> so i can just search by the name <3> but i'm holding name, id ,dept <5> then if you iterate the list looking for a string, you can do if *iter == aString <5> eh? <1> Just think what kind of hell would break loose if they tried that **** on an elephant in California, ni <1> Haha <5> then you have a List of Objects? <3> well no i'm just converting the object to 1 string in the main <5> Code? <0> actually <0> you're laughing <0> but <0> seriously <3> hold uplemme <0> imagine if they had a circus elephant actually performing 60 hours a week <0> there would be an uproar. <1> I know, I'm telling you <1> This is why I found that law so funny the other day <5> yes, but the Elephant is not getting paid. And when the elephant wants to sit, it sits. <3> http://www.noidea128.org/sourcefiles/16121.html <5> geezus <5> why not have a vector of Lists? <5> thats how hash tables usually work iirc <5> and like 1/3 the size of the number of elements you want to store or less. <5> or something reasonable like that <5> oh <5> I misread. <5> if(*iter == item) <=== that should work <5> whats it doing wrong? <3> well item
<3> is the whole string <3> i want to search just by name <3> like i want to find the name within the 'item' <5> well, what is the format of the string? <5> maybe you should store objects in the table, not strings. <3> yeah that's what i'm thinking <3> but for the itertator would it be the same <3> for(iter = hashTable[i].begin(); iter != hashTable[i].end(); ++iter) <3> cout<<*iter<<endl; <5> *iter.member_ == <3> if hashtable was a list<employee> <5> you need a serialization function / member <5> for output. or overload << <5> not difficult at all. <3> how would i go about doing that? <3> cuz i'm having problems wehre i used all the .end <3> .begin <5> I usually p*** non-mutable strings as const string &blah; too <5> that part does not change. <5> You need to specialization for the hash function, and << operator <5> and == operator too depending on how you do it <5> and < would be nice. <3> what's a specializatin? <5> just a function that has to change so that you can use your exisiting code setup <3> what's it changing <5> more specifically, you need to overload any of the operators that you use. Meaning <<, and == for starters <2> dur, wasn't supoposed to hit enter <3> i still don't get how the << should be overloaded :/ <6> ostream& operator <<(ostream& to, yourcl*** const& us) <3> yes, but i don't know what Twister74 was suggesting i do in it <5> output your serialized string <6> probably output a formatted flavor of an instance of yourcl*** <5> Jazy84, you either re-write your current code a bit, or overload any operators you are currently using <3> i'm probably just going to rewrite <5> generally, overloading operators can give a 'cleaner' coding style. <5> but, whatever floats your boat. <6> i tend to write operator >> and << whenever I write a new cl*** <7> s'pose no-one knows anything about the midpoint algorithm here? <6> what's it supposed to be? <3> it's supposed to be a chain hashtable <3> with an employee cl*** <3> but.. i dunno <3> i'm confused with the overloading <5> for == overload for instance, all you are doing is saying for instance... if obj.member1 == p***edobj.member1 && obj.member2 == p***edobj.member2 ... yada yada return true; return false; <6> I was asking Graveling waht the midpoint algorithm is supposed to be <5> lol <7> vawjr, sorry, I thought you were talking to someone here before I asked <6> np <7> it's to plot a line from a to b <7> opengl <7> I've got the function written, I just cant figure out how to use it <7> opengl does, but not when the lecturer wants you do re-create the wheel <6> lecturers can't think of anything original, so they have students re-invent wheels <5> how hard is it to find a slope line from coordinate a to coordinate b? <7> its a little disapointing, I had the app compiling and working perfectly, then I see in the fine print that this algorithm has to be used <6> diff of y's over diff of x's <1> http://www.wififreespot.com/ <7> the midpoint algorithm just increments bit by bit, finding the best fit line for the points <5> oh, a bunch of points? <7> pretty much <6> well, you could plot all the midpoints untill you've filled in the line <5> thats more beginner graph theory. <7> thats what it does... <5> I am confused :) <5> oh well. <5> oh.. getting the ideal increment... <5> ic. <6> Jazy84 what about writing operator overloads is confusing you? it's pretty much like writing any other methods <7> http://pastebin.ca/48057 <8> drawDot... <8> are you trying to make a line drawing function? <7> rdragon yep
Return to
#c++ or Go to some related
logs:
#squid #squid #london denying phpinfo #java source crackme asm #javascript #linux #MissKitten #linuxhelp
|
|