| |
| |
| |
|
Page: 1 2 3 4 5 6 7 8 9
Comments:
<0> i knew that was coming... <1> I'm reading from a windows bitmap <1> getting every thing ok <1> but I'm bits per plane is always zero :S <2> yeah...but how would i differentiate? delimitator(suggestion) ? <3> use commas? <1> any hint? <3> Fma, bits per plane? I'm not sure taht is normally used <1> its actually bits per pixel I think <1> can be 1,4,8,24,256.... <3> did you check the MSDN docs on bitmaps? <1> not yet <3> that and wotsit.org are your best bets <2> OKay. I know the line will be readed. it will be blablabalabal 1x1 ... i want to throw away the blablabalabal , and get only 1x1. <4> http://www.dilbert.com/comics/dilbert/archive/dilbert-20060605.html
<1> ok i've an unsigned short <1> I want to display this short as character <1> but when I'm casting it in char Obviouly I'm loosing 'M' <4> There you go <5> senate rejects gay marriage ban <5> well done bush, wasting senates time <5> that would never in a billion years p*** unless the rest of the country was as stupid as alabama <5> it's close, but not quite that stupid <4> So gay marriages are allowed all over the US? <6> IRR: no, they are just not globally banned. <5> basically it's still a state issue <4> I see <5> rather than ratified in a constitutional amendment that takes away rights <4> Well if 2 people are gay, why would they want to marry? <3> there are only a few states that allow it iirc <5> who knows <5> i don't know why straight people do it <4> Can't they just live together (not that I approve of it) <3> California decided to annull all its gay marriages a while back <6> IRR: why not? <4> I mean, the institution of marriage is often treated pointless in american and similiar societies. <6> That's a different issue. <4> So why would, of all the people, the gay croud want to sanctify their relationship? <5> that's likely because it is pointless <6> But if a hetero couple can marry then a homo couple should be allowed to marry, too. <5> you know, little thing called not being discriminated against <6> "You're gay, so you're not allowed to believe in symbolic acts." <5> "you're gay, so you don't get the same benefits provided by marriage" <6> That too. <5> it's a legal contract that only certain people are allowed to enter into <5> it's stupid <4> Well, even from a strictly secular point of view, the primary benifit of marriage is that to the kids. <5> how so? <4> They get to have a mother and a father. <5> they get that biologically <4> But the parents are committed to them as well as to each other. <4> Biologically, maybe not. <5> except, marriage doesn't commit anyone <4> urm.. that didn't come out right <6> IRR: it's quite difficult for a person that not formally belongs to another persons family to make decissions on behalf of that other person. <4> I mean, if its just the biological relation without marriage or even consent, then its not as good. <5> "goog" <6> (turning off the machines, doing any banking business while someone is ill, etc) <0> shoot all the gays <5> erm <5> "good" <0> that way there'd be no issue <0> :) <5> that sounds like a statement only a religion person might say <5> religious <4> We'll miss jblitzen :( <0> i've seen the light man <4> bealtine switch it off. Electricity is expensive. <0> i have to wait until the batteries wear out <4> Hell, even potatoes are expensive in Ireland <0> uh uh <4> Remember the potatoe famine? <5> yeah, he was alive then <0> not really i'm ot that old <2> Hello. The link to my program is this: http://www.noidea128.org/sourcefiles/16326.html - I am tryng to get only the numbers from a file that i read , but...i've tried to read the file into a buffer and search only for the numbers and it haven't worked. Can someone give me an idea ? Thanks
<5> even vic wasn't <5> even my father wasn't <0> that was 1840 - 1845 <6> Shortage on potatoes causes forgetfulness. <0> thats carrots :) <6> that's seeing. <6> see? <5> at any rate, my position on gay marriage that if a gay couple wants to be as stupid as a straight couple and get married, then let them <0> see caustic remark above... <4> peterhu from your own experience, would you say that you enjoyed family life more, and would treat it as a luxury as compared to having a single parent? <5> it would be impossible for me to make the comparison <0> indeed only if they are treated as abysmally as husbands/men in general should they be allowed to marry <5> the problem with marriage is that it's a legal entity and not solely some construct some stupid religion believes in <5> therefore, it needs to provide access to all people <0> i love marrying...i do it regularly <6> pabloBHZ: without looking closely at your code (spanish identifiers don't improve readability), use std::getline with ':' as delimiter to read until the ':'. Then read the number. <0> hate being married tho <2> I'm brazilian :P <2> Thx <6> Well, portuguese would be even worse :P <2> i used to insert a comment in english to explain my problem. <2> and i speak portuguese =] <6> Yes, I understood that part. But to properly help you, one needs to read the code, too. <2> hmm...translate the whole code to english would be hard. <6> while(!x.eof()) is usually a bad idiom. <2> damn <2> they teach it lol <6> (it's commented out) <6> while (!file.eof()) { file >> x; process(x); } // WRONG. file.eof() indicates FAILURE due to EOF. If file >> x fails due to EOF, process(x) won't have an x to process. And if it fails for some other reason (e.g. bad input), this loop may never end. Try { while (file >> x) process(x); } instead. See also: http://www.gnomesane.net/code/doc/noteof/ <5> heh my network admin just wanted to talk to me <5> apparently, they were seeing a lot of FTP traffic coming from my box <2> hmm...but what i have to do is arq2.getline(buffer,255,':'); <2> to store in a buffer what i've readed <5> i told him i circumvented the firewall for RDP traffic by using that port <6> Also, you should #include <fstream>, not <fstream.h> <5> luckily, he likes me, so he'll allow it <6> pabloBHZ: yes. <2> then,in this buffer(a string,sure), i will look what is after ':' right ? <5> bealtine: yeah, marriage is a drag <6> pabloBHZ: or you use the .ignore() member function of std::istream. <5> it really makes no sense why people would want to get married; my guess is that they're just ignorant <6> No, buffer will contain the stuff before the ':'. <6> getline treats the ':' as the end of line character in this case. <5> Asriel: how are things in your country? i need a new one <7> erm, not tooooooo bad <6> (you should read about std::getline) <7> we still have a reasonably effective opposition and 3 party system <4> peterhu what about your marriage? <6> So you use getline to read the stuff you want to ignore :) (yes, it sounds odd) <7> terrorism crap is still being peddled though <5> irr, it's a sham <5> ok time for lunch <2> i used to do arq2 >> buffer <2> and got only the scores <2> what i needed =] <2> hmmm...i see <2> i read what i want to ignore(discard), then i can put in a buffer what i need...as each part of the buffer will have only three characters,i can analyze better =] <6> getline(input, buffer, ':'); /* reads the junk at the start of the line, then: */ input >> buffer; /* reads the interesting part */ <6> I guess you don't have much time left for that program. <6> Otherwise, that soccer thingie will be over. <8> hi! does anyone know how I can disable trigraphs in vc++? <7> ? <8> the text ????==? gets converted to ..?#=?.. <8> gcc does the same thing unless you turn this off <7> so use \? <7> designed specifcally for this purpose <7> ???\?==? <6> trigraph = Sequence of three characters that stands for a single character: ??= for #, ??/ for \, ??' for ^, ??( for [, ??) for ], ??! for |, ??< for {, ??> for }, ??- for ~. Introduced for systems supporting ISO 646 but not ASCII. Trigraphs get replaced by the preprocessor. The introducing digraph-sequence (??) can be escaped (?\?) for not introducing a trigraph. <8> ok thanks! <8> I just remembered that stuff from unix coding <8> fell over that topic too once <9> anyone know of a machine to throttle bandwidth on a single machine so we can test what "slow connections" behave as
Return to
#c++ or Go to some related
logs:
#linux uninstall autoconf #linux #linux #linux Moter Baick yum install php5 fc4 UseCanonicalNames pizda d #linux
|
|