| |
| |
| |
|
Page: 1 2 3 4 5 6 7 8 9
Comments:
<0> it works fine but gives warning <1> But you've not defined it. If it's a library function, include the header for that library <0> hmm in which library it can be in? <1> No idea - I don't know the function <1> Doesn't seem to be part of the c stdlib <0> io.h of course ;P 10x <2> i found this code online http://www.noidea128.org/sourcefiles/15808.html <2> and i dont what to use CFile, how else can i write that? <2> i want to use, say fstream <3> you might want to use my bfstream which is posted at noidea128.org <4> shameless plug :P <3> no, not really <3> it's "toy" code but for simple things it works <3> http://noidea128.org/sourcefiles/853.html <3> and what he's doing is simple <4> so i'm going to evaluate the performance of neural network generalization versus bilinear interpolation.
<3> cool <3> KBM did you find my code? <4> i might try writing it up and submitting to ieee <3> better yet <2> yeah i found it <3> you get to use << and >> instead of read <3> your stuff should look like if (!(file >> bmfHeader)) cout << "****"; and so on <3> btw, you really should probably stop precessing if the read fails <5> hola <3> lo, Quantum`` <2> question, why shouldnt i use read? <3> and I don't think you need all that crap with WORD(......) <3> 'AB' works <3> using the operators in bfstream is easier <3> but do whatever the hell you want <3> if you LIKE writing .read(reinterpret_cast<char*>(&something) ..... <6> hi all) <3> lots of times, be my guest <3> I wrote bfstream so that you _wouldn't_ have to <6> does anybody know how to appropriate the ASCII code of char to variable? <3> dj_Benzin huh? <6> vawjr whats huh mean? <3> if's very short for "what the hell you talking about" <3> also far more polite <6> vawjr oh, i didnt know. so i mean how to give the ASCII code of symbol to int varyable <3> int varyable = 'a'; <3> what are you going to do with it that you need it's integer value? <6> yeah, i need integer value) <6> so, how could i do that? <3> I just showed you <3> and WHY do you think you need the integer value? <3> Quantum`` what's up? <6> vawjr i tried that, but it doesnt work. I need integer value to write transliterator <3> dj_Benzin "doesn't work" is a lousy bug report <3> and it's very unlikely that you really nead the integer value.... but if you'll post some code (see the topic) maybe we can figure out what's wrong <6> numb = "a"; <6> printf("%d",numb) <6> i determined value numb <6> before <3> not "a" <3> printf is very Cish, this is a C++ channel <7> ask on #C <6> oh, yeah, i forgot) <3> and you hvaen't explained WHY you _need_ the integer value... it's quite imporbable <7> i think he wants to determine the ascii code for a certain letter <6> yes, i need it to know the ascii code <4> umm. <4> it's stored as the ascii code. <8> what for? <4> char c='X'; cout<<int(c)<<endl; <7> maybe for school stuff(homework) <4> the only reason you use int() is to display it as numeric data instead of character data. <4> but it's already stored as the ascii code. you don't need to determine the code, you don't need to convert it to ascii or anything. <4> i've noticed programming novices have a hard time understanding that concept correctly. <4> you should take a break to learn about using a binary memory system to store information. <4> i.e. how chars, ints, and floats are stored in memory. <7> well i had a homework once in witch i was asked to encript a text like this: we take the ascii code of the text, convert it in bynary(0and 1 i dunno the word) and then store it in a file <4> heh <4> see, what i would do for that ***ignment is just store the character data straight to a file. <4> because that's what it gets stored as. 0s and 1s. <4> mainly because that's the only thing a computer can store. 0s and 1s.
<4> and character data defaults to ascii encoding. <7> in the text file you should have something like this 011110111010101010101 <3> I know what he SAYS he wants <3> I don't belive he really _needs_ it <3> and he refuses to say why <4> so if you store "test" in a file, the file actually contains 01110100011001010111001101110100 <4> there is no need for converting to ascii and then converting to binary. <4> it's already in ascii and binary. <3> and you can output the binary string using bitset <3> though it's kind of a silly exercise <4> the only reason it shows up as "test" if you open it in a text editor is because text editors automatically read the binary and display it as though it were ascii-encoded. <4> that's what i'm talking about, many programming novices don't correctly understand the mechanism through which computers store information. <7> i know...but the exercise was like that <7> i know how data is stored <7> but the teacher told us <7> when we open the file <7> i want to see there <7> 101010101 stuff <4> you shoulda told them to open it with the right program then :P <7> :)) <7> yeah :)) <4> a hex editor with a binary mode would've been fine. <4> then you could just write "test" in notepad <4> and open it in your hex/binary editor :P <3> so why do you need to do this again _today_ <7> :P <8> undernet is going down the tubes <3> huh? <4> it's been down the tubes :P <8> netsplits seem to be occuring more frequently heh <3> what specifically is the problem lately, rdragon ? <4> *cough* romanians *cough* <5> poor CD <3> until the US gets off its ****ing high horse and allows us regular folks to solve the problem, it will continue <8> I've no idea what the cause is... but netsplits seem to be more frequent and such <3> but a US citizen can be charged with terrorism for taking the offending systems offline <3> then "W" get's to have you tossed in confinement w/ no access to lawyers or anyone <4> i plan on it myself./ <3> to where? <4> good question. <4> i'm looking at canada and nz. <3> Canada's already disarmed their citizens <4> i have EU citizenship though, so that's always an option also. <3> nz the same <5> pff <5> all so unhappy where you live... <4> i'm not really a gun nut. <5> you dont know how good you have it <3> interesting choice of words <4> if anything there's always switzerland. <5> you people really dont know what you are saying... <3> you presume anyone who owns a gun is a "nut" <4> i do? <4> that would be a contradiction, as i own two. <4> and i just said i'm not a gun nut :P <3> it was in response to not being allows to own guns that you made the comment <3> I don't know how to interpret it <4> indeed. i own them, but i wouldn't base my country of residence around being able to own them. <4> i'd rather not have guns and not have W. <5> pff <5> you talk of W as if he is saddam <3> we can get rid of W...it they take the guns, we'll never get them back <4> no i don't. <3> Quantum`` two words "Jose Padilla" <4> saddam was a democratically elected leader who was deposed by an invading force. <3> we haven't been invaded <7> yeah but he was a lil crazy(saddam) :P <4> bush was... "elected"... and he hasn't suffered nearly as unfortunate a fate as saddam. <3> how does one determine "lil crazy" ? <6> little maybe <4> i mean look at it this way. saddam killed a lot of people in iraq, right? <4> but look at iraq under his rule. it was a somewhat reasonable place.
Return to
#c++ or Go to some related
logs:
#asm yum install libevent scrambled screen upon ubuntu install #AllNiteCafe #chatzone #php criminalcountry THE SERVICES RESOLVED THE BALCOMBE STREET SIEGE
nicoon quotes, stupiditi
|
|