@# Quotes DB     useful, funny, interesting





Google
 
Web www.quotesdb.info
Undernet  |  EFnet  |  Quakenet  |  Freenode  |  Dalnet  |  Ircnet  |  Galaxynet
Page: 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15



Comments:

<0> khan = mort
<1> what does * mean in "new Ship*[r]". when Ship is an enum
<2> pointer
<1> i know
<2> like it normally does
<1> ok
<1> i dont know what is this pointing to...
<2> why would anyone be allocating an array of pointers to Ship?
<1> mm
<1> i am creating a grid for the ships' ocean. in each ocean cell i have create an ocean status. I have to use dinamically alocation of a 2dimensional array
<1> but it is making me crazy
<2> 2d arrays aren't C++'s strong suit
<1> anyways youve helped me explaining what is new Shipe*[r]
<2> it still seems odd to make an array of pointers instead of an array of Ship
<3> mmm, that's good vector
<3> jinkies JBlitzen ****s



<4> gotta agree with peterhu
<4> he's like my brother
<4> we share roots now ;)
<3> pfft
<3> get out of seattle!
<4> haha
<4> i'm in bellevue now
<4> just off of 405
<3> and i'm more like your daddy
<4> hehe
<3> at the mall?
<3> or did you change hotels
<4> changed hotels
<4> near the mall though
<4> only geeks go to the mall to chat on irc
<3> well
<3> that'd be you
<4> except
<4> it's not
<2> rdragon you at your hotel? or did you find a wifi hotspot?
<4> hotel
<2> rdragon does your irc client allow multiple server connections?
<4> yes
<2> log onto efnet and come to #boost
<4> k
<5> I have an error I have never seen before
<5> c:\source\saving\techcenter\elements.h(37) : error C2248: 'CObject::CObject' : cannot access private member declared in cl*** 'CObject'
<5> I'm using MFC's CObject for my Element cl*** which holds all the info for each item I'm drawing to the screen
<1> vawjr check this out http://www.noidea128.org/sourcefiles/16167.html
<2> I understand the game battleship
<1> if somebody reads it and knows how to allocate columns dont tell me sollution
<1> the concept
<6> im writing a plugin dll for pGina on dev-c++. i cant find where to make a gui dialog where users can enter info like a standard windows form
<1> do you see the funciton allocmem
<7> why not use vecto<Ship> ?
<7> vector
<2> are you going to have your program play a person? or just "keep the ocean" ?
<7> and stop farting about with 2 arrays...
<1> i can't i have to do it this way, and i want to understand it
<7> have to ?
<2> demianxyz who says you "have to do it this way" ?
<1> yes, it is what i have to do for a project
<1> for my cl***
<1> but i want to understand it
<2> someone is teaching you C++ and insists you use arrays?
<1> yes, he is mr pointer
<7> i dont see what there is to understand
<7> as such
<7> its an array of pointers (and it ****s)
<2> I'll bet they don't even play the game by the original rules
<1> if you check it out. I see that he first uses "players[i].m_gameGrid[0]=new Ship *[r];
<1> and then players[i].m_gameGrid[0][j][k] = NOSHIP;
<1> why now m_gameGrid is a multidimensional array..
<2> demianxyz we can see, your prof is an idjit
<7> vector<Ship*> then :)
<1> i dont know anything about vectors yet
<1> mmmm
<2> vector<vector<Ship> >
<7> aye
<5> hello
<2> yeah, stupid ****ing profs wanna show off w/ all the memory allocation details



<8> Hey vawjr weren't you on vacation?
<2> not that I know of
<8> heh.. its Easter
<9> so can someone help with this problem?
<9> I will show the code now
<2> yes, tomorrow is Easter
<1> mmm look, the only thing i have to do in this function is fill the part that says ///////////////allocate columns////////// with some code
<1> my problem is that i dont know what to use there
<9> http://www.noidea128.org/sourcefiles/16168.html
<1> i must be blind, ive been trying to understand the thing and i dont get it
<9> problem is the else I added on line 617
<8> Profs 'teach', students 'study'
<8> Its a conspiracy vawjr
<2> replace lines 72 through 79 with atime.minutes = chartime[2] == '5';
<8> What did you study for undergrad vawjr?
<7> some profs teach nonsense...
<9> ok lemmie see
<8> bealtine I thought all did, but like vawjr said, all generalisations are wrong
<8> (Do you see the irony)
<1> ok, this is not working. Thanks for your help. If I discover how to solve this, Ill tell you
<7> thanks
<7> we need that like a hole in the head
<3> that is, JBlitzen needs it badly
<8> be polite
<2> IRR math (CS didn't exist back then)
<8> vawjr yes thats true
<8> Must have been difficult to learn programming at the start no?
<7> http://www.unitedmedia.com/comics/dilbert/archive/dilbert-20060408.html
<9> lol vaw
<2> and I don't recall ever saying all generalizations are false
<9> awesome
<3> all JBlitzen's are stupid
<3> that's at least one true generalization
<10> what'd you say about us
<8> omg...
<10> ?
<11> hi
<8> Hello tobor
<8> How can we help you?
<11> I have a design question, hopefully there is someone who can guide me in the right direction
<8> Ofcourse tobor ask away
<12> anyone see a problem with my else statement?
<11> I want to design an app where users drag objects onto a canvas, and those objects become controls which allow the user to do something. The controls return data in a predefined format, and then I do something with that data which is particular to the object they decided to use.
<11> But I want the selection of objects available to the user to be flexible and determined at runtime, is there a UI scripting language I should look at for this?
<12> I have a main cl*** CElement, and I derived CCl*** from it
<11> Or is there a better place to ask this question?
<8> tobor use flash
<12> I know that my pElement needs to be a new object and not a pointer but I'm still stuck
<11> and embed the flash into my app?
<8> tobor sure, or you can use it on the web. There are flash embedded desktop solutions available already.
<11> That's a pretty good idea IRR
<8> And flash gives you form controls
<8> You might want to couple flash with PHP or asp
<12> this is from the definition of my Dialog cl***
<12> http://www.noidea128.org/sourcefiles/16168.html
<11> At this point I'm pretty committed to making a desktop app, but embedding flash controls which are generated from .swf's on disk is interesting
<12> I have a main cl*** CElement, and I derived CCl*** from it
<8> You can publish your flash movie as a desktop executable as well.
<11> so the idea is this: if a user wants to make an ordered list, he drags out the appropriate control which allows him to order and arrange and style etc
<8> Or you can use director shockwave
<8> In principle yes
<11> but if tomorrow I decide that he needs to be able to make a "diagonal list" then I want to just add a .swf that is ***ociated with those
<13> that's a question of choosing a graphics toolkit, it could be flash, it could be Qt, it could be anything
<11> melfar: I agree, it's not specific to a programming language
<11> so IRR, if I agreed ahead of time that all these controls had to return to me an XML document or an array or something which was of a predetermined format, you would call this doable?
<13> but if you plan to use flash, I think you would extend flash (having a need in its API, which is not free), because otherwise (if you only plan to create .swf files and open them with a viewer), your objects will be limited with the functionality provided by flash
<8> tobor sure
<8> I think there is some xml support stuff in flash as well
<11> yeah
<11> at least enough to create an xml doc
<11> i was thinking i would have to use xaml


Name:

Comments:

Please enter the result of the sum 63 + 46 (to avoid spam):






Return to #c++
or
Go to some related logs:

undernet rock trivia
techraven
declaring char*** in C++
500 Can't read entity body
#AllNiteCafe
gatirta
linky kuto
geodesic sphere^code
What was unsuccessfully laid as a trail by Hansel ?
#java



Home  |  disclaimer  |  contact  |  submit quotes