CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com

Search:

Type: Posts; User: sundar0206

Search: Search took 0.23 seconds.

  1. Replies
    5
    Views
    4,350

    Help with nan

    Hi all

    Yet another question from me and hope some one shoots the answer immediately.. very simple though

    I have been tryin to do a rigid body simulation ... things work fine until i hit a nan...
  2. Thread: Text parser

    by sundar0206
    Replies
    3
    Views
    3,281

    Re: Text parser

    Ya i was doing just about the same thin .. reading it into the memory before the execution of the program and then manipulating the values there on.. Jus wanted to make sure if there was any other...
  3. Thread: Text parser

    by sundar0206
    Replies
    3
    Views
    3,281

    Text parser

    Hi Guys,

    Just a quick question. I need to write a text parser which basically reads in data from the file.. The would basically define all the objects on my screen. and will have elements like...
  4. Re: error: expected constructor, destructor, or type conversion before '&' token

    Thanks guys...

    Will have a look at creating a smaller version of the code.... and try posting it in a bit if I still have the problem
  5. Re: error: expected constructor, destructor, or type conversion before '&' token

    Ya its a huge file dunno if you guys would need to see the whole file.... But ya one part of the code is this





    Quat& operator *= (const Quat& q){
    setValue(
    m_w*q.get4d_X()...
  6. error: expected constructor, destructor, or type conversion before '&' token

    I am getting the above error when ever i try to write somethin in my cpp file.. if I have the same code inlined in my header file it compiles and works fine.. I am using the g++ compiler for...
  7. Replies
    6
    Views
    3,436

    Re: Forward Declaration error

    Sorry fellas,

    Think i am jus running high on adrenalin today... I was wrong.. that was not the mistake.. well I thought it did fix it but then it throws up errors again..
    ...
  8. Replies
    6
    Views
    3,436

    Re: Forward Declaration error

    Thanks fellas,

    Thanks for the reply but as i told it was jus a snippet .. and i forgot to write the inclusion i had made in the post... silly of me.. someone could have spot the error if i had...
  9. Replies
    6
    Views
    3,436

    Forward Declaration error

    Hi guys

    I had a post going sometime before this error .. But could nt follow up on it.. Pardon me for that.. I am trying to do a bit of forward declarations in my program and wrote a couple of...
  10. Replies
    2
    Views
    2,283

    Re: Help need with c++ forward declarations

    It seems I have given exactly the same format in the header file and the cpp file as told above.. But still i get the same error

    src/BaseBodyDynamics.cpp:15: error: invalid use of incomplete type...
  11. Replies
    2
    Views
    2,283

    Help need with c++ forward declarations

    I am new to using forward declarations. I thought I had understood quite a bit of it until I got this error. Seems there is something really really basic that I miss. can some one of you help me with...
  12. Replies
    4
    Views
    3,605

    help with my file parser

    Hi Guys,
    I am writing a file parser for one of my code projects.. I have attached the code for my project


    namespace Xlib {
    /*!Templating the class */
    template <class T>
    class Parser;
    ...
  13. Replies
    5
    Views
    592

    Re: Array of pointers

    Thanks for the reply...
    works great
  14. Replies
    5
    Views
    592

    Array of pointers

    Hi
    I am current ly using dynamically allocated pointers in a little simulation I am coding .


    pos.Initialize(3,0,3);
    TEnt* a=new TEnt(pos);


    What it does is initialize a position...
  15. Replies
    9
    Views
    6,685

    Re: A question on Pointers.

    Thanks a lot Kurt...

    Works great now ;))

    Is it fine if I ask you some thing else??

    This is another problem I have.
    I got a following inheritance hierarchy.

    TEnt, Male and Female...
  16. Replies
    9
    Views
    6,685

    Re: A question on Pointers.

    Can you please give me a example of as to how I should be doing it?
  17. Replies
    9
    Views
    6,685

    Re: A question on Pointers.

    I seem to have gone wrong with the pointing but I think what you said is probably the cause of the problem.

    This is from a a level editor class that I use to register the entities on to the...
  18. Replies
    9
    Views
    6,685

    Re: A question on Pointers.

    I am not exactly sure as to what you mean by going out of scope!! ;)
    But it seems to register it because when I test the size of the vector from the screen class I dont get a error and it says the...
  19. Replies
    9
    Views
    6,685

    A question on Pointers.

    I am not pretty sure if I should post this here.

    Well another query for the day. A bit long post this time. Please bear with me and help me

    I have a class called TEnt which basically defines a...
  20. Replies
    2
    Views
    4,323

    A question on Pointers and inheritance

    Hi guys,

    I am doing a project for my mid term and I am held up with this doubt. I might have misunderstood something all together or it might be a small mistake. Please point it out:

    I have a...
Results 1 to 20 of 20





Click Here to Expand Forum to Full Width

Featured