| |
| |
| |
|
Page: 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19
Comments:
<0> what is the proper code for WHAT not using casts? <1> I'll try to be prompt now! <1> bmp file header is like <1> typedef struct { <1> unsigned short int type; /* Magic identifier */ <1> unsigned int size; /* File size in bytes */ <1> unsigned short int reserved1, reserved2; <1> unsigned int offset; /* Offset to image data, bytes */ <1> } HEADER; <1> ooops! <1> all of them total is 14 byte ... <1> using cast I can get those bytes and write em ti file to make a valid BMP file <1> ti=to <1> alternative to that is to (as far as i know) manually set each of the 14 header byte and then write the file <0> given that the function you're using to write insists on having a char* as the buffer address (legacy code) you don't have a lot of choices. I gave you some code (well a link to it) so that YOU wouldn't have to worry about it <1> thanks.... I already have a working code... I'm just curious
<0> then why the question? <1> just curious if there is other way <0> btw, in C++ you don't have to do the typdef **** <1> ohmmm what is the alternative... <1> I'm beginning to ffel like I'm not doing the right thing <0> struct HEADER{.....................}; <0> in your case <1> I see... <1> I really have to relearn c++ then :D <0> you've been doing too much C a language that isn't nearly as good <2> what you guys talking 'bout? <0> LU&E <2> lu&e?! <2> not familiar with that name <2> is it bigger than a breadbox? <0> Life, the Universe, & Everything <2> that certainly is a tad bigger than a breadbox <2> so, come to any grande realisations? <0> 42 <2> douglas adams <2> rest his soul <0> indeed <2> read that book when i was like 13.. great book.. never read the followups though.. i ought to get them <0> get the collection...it may still be in print... around US$20 leather bound, gilt edge pages .. 5 books of the trilogy <1> ... and watch the movie :) <0> I liked the movie <1> make people wonder why the answer is 42 <0> I thought the "factory floor" was expecially well done <1> through <1> true ... the way they move around in the factory is also something very creative <1> when i read the book I cant imagine thit will be that way in the movie <0> I was wondering how they were going to be able to do that at all in the movie <3> Is it possible to do something like that in c++? typedef LRESULT (T::*)( UINT, WPARAM, LPARAM ) MemFun; <3> I know it's not working like that <4> sup noobs <4> :D <0> T::* ?? <4> anyone miss me? <3> It's templated <4> guess not <4> its ok. i still love each and every one of you fags <0> no templated typedefs <3> Oh, it's working like that <3> typedef LRESULT ( T::*MemFunction )( UINT, WPARAM, LPARAM ); <3> i know <3> the typedef is in a cl*** <3> template<cl*** T> <3> cl*** Message: public MessageBase <4> anyone know anything about lisp? <4> except for the fact that its gay <3> It's #C++ here :) <4> yeah.. not many lisp channels around you see <0> Debugger I don't think it matters how you write it, you're not gonna get the system to "callback" a member function <0> I should say a non-static member function <3> i know ;) I found some kind of workaround <0> what did you "find" ? <4> LISP began as a pure functional language but gradually acquired more and more imperative features. Why? <5> Because it ****ed <4> i dont think i'll get much credit for that answer <0> JBlitzen that's "thucked" <3> I found nothing, was just searching on google and found this http://www.gamedev.net/reference/articles/article1810.asp, i'm trying to improve that system
<5> Hehe vic <5> lithp <0> I got to "play" with Lithp 1.5, and we built a lithp machine emulator on the system we were using <5> Heh <6> care`i ala ? <6> ioah :) <6> ii trecut`n lista ;) <7> hey JB have you checked this out: http://www.amazon.com/gp/product/159698001X/ref=pd_kar_gw_2/102-1753817-6274511?%5Fencoding=UTF8%2CUTF8&v=glance&n=283155 <7> if you're even interested <5> Interesting <5> I've come to the conclusion, though, that those sorts of analyses tend to vary <7> as in, a bias? <5> Well <5> Yes <5> The constitution very much speaks for itself <7> well I ordered it anyway... I heard about it from conservative talk radio - they interviewed the author <5> I get a little nervous any time someone decides that it needs 200 pages of their explanation <5> Even if I agree with their explanation <5> nod <7> aye <5> You are turning into a dittohead <5> Which is not a bad thing, heh <7> lol <7> actually i'm considering going back to school full time to finish my degree <5> What in? <7> well i'm most of the way through a CS degree <7> so I would finish that up, but I would consider going to law school afterwards <5> Cool, finish that puppy up <5> Maybe they can figure out a way to let you do it part time or at night or with transfer credit or something <5> Law school's a tough ride <5> So is a career in law <7> yeah it'll be at least a year before I can finish up though, so there's time to ponder and such <5> nod <5> Not the worst of plans <7> i'm taking a business law and a US government course right now <5> nod <7> admittedly i've really never cared for politics / law / any of that 'crap' but lately it's been growing on me <5> It's perhaps an acquired taste <5> One thing to note is that it absolutely ruins TV for you <5> I critique the nightly news in front of relatives the way some gun nuts critique action movies <7> I never cared for tv <5> nod <7> i mean, aside from dull shows <5> And you get a lot of flack from kids <7> I stirred up some trouble tonight in cl***, lol <5> What'd you do <7> some kid made a comment, and I came back saying 'well, you can only say that it's negative if you don't support the war in iraq' <5> mmmmmmmmmmmmmmmmmmmmmmmmmmmmmm <7> apparently, everyone in the cl***room except me doesn't support the war ;) <5> Yeah, welcome to American academia <5> I woulda warned you but I thought you knew, heh <7> heh <7> I love it, going to have a lot of fun arguing in there, heh <5> What's sad is that the stupidity of the kids is rivalled by the stupidity of the professors <5> Just be careful, nobody ever got a higher grade for espousing a conservative idea in school <5> I've taken a few people apart but it's always a risk <7> yeah the professor is an admitted liberal, but has lived around the world (in some asian and latin american countries) enough to understand some views from the rest of the world <8> JBlitzen: You can say that again. I had a history professor give me a zero for "not being compliant with the cl***." <5> Yeah, then he gives you a D and you say JB, wtf <5> And I say I told ya so <7> hmm <7> we'll see I guess, heh <5> nod <5> Just be careful to not allow a discussion you start or escalate to detract from the cl*** <7> I certainly wouldn't silence myself just because of some grading threat <7> aye <5> Well <5> That's a noble idea <8> "You seem shady, Lateralus. I know you're not shady, so I'll only give you a zero and make you write the next paper twice as long." <5> And it lasts a few cl***es <5> Then you realize that they're ****ing idiots <7> yeah, I see what you're getting at hehe <8> "Next time, talk more about what I said in the cl***."
Return to
#c++ or Go to some related
logs:
#skype #MissKitten #mysql #teens #java #linux emerlads streak
#c nice_cam #linuxhelp
|
|