| |
| |
| |
|
Page: 1 2 3 4 5 6 7 8 9 10 11 12
Comments:
<0> yay, refund check <1> well, I checked, but no refund <2> How is this software called, for enterprise finance accounting, resources management and stuff. SimpleBooks .. no.. the second word is Books. can't remember the first? <1> Quickbooks <2> ah, got it! thx, Asriel! <3> anyone familiar with Remote Desktop running on a tablet PC? <4> shouldn't be any different from it running on a regular system <3> clsk, when I try to remote into another xp box from the tablet pc.. it pops up a login on my other xp box. <1> The RD client on XP Pro only allows one login <3> I'm ***uming now that XP does this to limit the number of sessions.. <3> is there a way around this? <1> Buy Terminal services <3> yep. <1> Or use something else for remote desktop, like VNC <3> that's what we were just talking about.. <3> vnc.
<3> cool thx. <1> Which is basically a "screen over network" process <1> so you can't use it to have 2 users on one machine, but it's enough <5> Off to office <6> OK, I need to check and see if a sring contains a certain word, but == does not work since its not a number. What would I use o do this? <6> if ((month == "april") || month == 4 ){ <7> huh?? <7> how is month defined? <6> i am in an a begining OOP cl***, and i have a console program, that asks for the month <7> how is month defined? <6> string = month; <6> sring month; <8> heh <7> you're using std::string? <6> string month; <6> yeah <7> and how do you read the month? <8> Case-senstivity, perhaps? <9> well you can't compare a string and an integer <8> Heh... duh' <7> right, let's find out how he reads <6> i have this: <8> No, vic, he's comparing month to "april" and 4 <6> cout << "Now I need to know what month you were born in." << endl; <6> cout << "(ex. November would be \"11\", or just \"November\".) "; <6> cin >> month; <7> month == "4" <7> is what you want <6> and i want them to be able to input april or 4 <9> if( month == "april" || month == "4" ) <6> wow...no errors... hehe <10> bye all <6> ok... no errors, but it dont work.... <9> "dont work" ? <6> if ((month == "november") || month == "11" ) <6> this works when month = "11" but not when month = "november" <9> I don't know what in hell you might be talking about when you say "dont work" <6> ahhh!!! it's case synsitive <11> heheh <6> is there some kinda str_lowercase function of something? <6> or* <7> no <9> no <7> if you want to downcase an entire std::string you might want to do transform(s.begin(), s.end(), s.begin(), tolower); <6> so i would just have to use: <6> if ((month == "november") || (month == "November") || (month == "11") ) <7> your way won't find NOVEMBER <12> or nov <6> would that mess up if they put "11" though? <7> would what mess up? <6> would that transform mess up a number? <7> <sigh> no <0> I can't believe Madagascar won't let me DVD shrink it <13> i know this is a c++ channel, but i figure one of you guys is in imaging development ... my problem is I am trying to convert a raw signed 16-bit image to an 8 bit image... <13> any takers? <0> you need to set up a pallette <13> oh, and it's grayscale <0> oh <13> i've read so many things on how to do this but i can't seem to get the correct result
<0> try averaging the RGB values <0> (r + g + b) / 3 <13> nah, the rgb values for grayscale are equal <0> for each pixel <13> R[i] = G[i] = B[i] = ConvertedSignedShortValue <13> that is the idea <0> nr = ng = ng = (r + g + b) / 3; <0> nr = ng = nb = (r + g + b) / 3; <13> jsaacmk, it is grayscale... that would produce a color <0> how? <13> i'm going from 16bit (1 scale gray) -> 24bit rgb <14> is there any software out there that can divide an existing primary partition into 2 primary partitions without losing the data on the original partition? <0> I guess I have no idea what you're talking about <13> jsaacmk: where are you getting the rgb values from? <13> (r + g + b) <0> from the original image <0> at the specified location <13> the original image is grayscale <13> lol <13> there are no rgb values <13> it's 16 bit <13> rgb = 24bit <13> 8 + 8 + 8 = r + g + b <13> = 24 <0> yeah, I know how that works <13> heh <0> trying to convert a raw signed 16-bit image to an 8 bit image... sounds like you either want a grayscale or ****ty DOS color <13> yes, i do want grayscale <9> r+g+b ? huh? <9> in grayscale, r==g==b <13> rdragon, i know <13> i was just saying each of the bytes in rgb <13> = 8 bits <9> 8 bit usually comes with a palette <9> ah <9> jsaacmk what format of 16-bit is it in? <7> Apocal` if the's a greyscale image, just use one of the , g, or b values <9> 565? 555? <0> 565 or 555 with 1 bit unused <9> well it's one or the other, which is it? <13> why does it have to be one or the other? <0> hmm... I can honestly say that I've never had to tinker with 16 bit graphics <9> one uses all 16 bits, one doesn't <7> because those are the most common ones found <9> the bit layout is different between the two <9> rrrrrggggggbbbbb or 0rrrrrgggggbbbbb <9> (I think) <13> i'm talking about rgb24 <7> I thought you had 16bits <9> Apocal`: <0> trying to convert a raw signed 16-bit image to ... <13> the original image is 16bits i have no idea which it is (565 or 555) <15> Lotus: you can only have one primary partition per drive <0> I read something about it a long time ago, but it was a Andre Lamothe book <13> ::fjear:: <9> Apocal` well you'll need to find out <7> rdragon if you just take the value & 0x1f it wont' matter <9> what kind of image is it? bmp? png? something else? <14> I know, but I already have a partition on that drive, so there is no way to divide it? <13> it's actually a dicom image <13> (medical image) <9> well the image header probably tells you what format it's in <15> um yeah lotus you can do it, use a program like for example Partition Magic ... hmm there's a norton program which does it too <15> *however* it's risky <13> that would be nice, but i don't think it does... it just says the precision (bit) <14> but am i going to lose the data that is on this big partition? <13> though, i'm not too sure on that one... <13> (if it's 555 or 565) <15> defrag the drive first would be a good idea, but make sure you have a backup of anything you can't afford to lose! <9> Apocal` then it might only support one of the two <15> It does work, most of the time.......... <13> lemme experiment a bit with 555/565 <14> so you think it is possible to divide an existing primary partition without losing data? <13> all this time i kept trying to map it to a rgb24 <9> 565 format: RRRR RGGG GGGB BBBB
Return to
#c++ or Go to some related
logs:
a #MissKitten #php that makes my dick shrink #linux #c++ #squid geekbox howto chmod #MissKitten #windows
|
|