Search:

Type: Posts; User: da_fall_guy

Search: Search took 0.01 seconds.

  1. Replies
    4
    Views
    1,518

    Thanks CornedBee, Is it really that bad? ...

    Thanks CornedBee,

    Is it really that bad?

    Thanks for the reply, I'll read through your solution now.

    M
  2. Replies
    4
    Views
    1,518

    parsing words out to pointer array

    Hello,

    I hope someone can help me, I'm a little bit stuck.
    It's been a while since I did any coding and this project is designed to get me back into it.

    Basically I want to take a string in...
  3. Replies
    5
    Views
    2,355

    Hi Shiro, Thanks for replying. I'm an IT...

    Hi Shiro,

    Thanks for replying.

    I'm an IT journalist at the moment.

    I have a feeling I'm going to have to do a course of some sort just to make it easy for people to judge my ability, and to...
  4. Replies
    5
    Views
    2,355

    Tough decision - help!

    *This isn't a coding question but one about employment prospects*

    Hello,

    I've been learning C and most recently C++ for a couple of years. I'm working on OpenGL and Windows at the moment. I've...
  5. Replies
    0
    Views
    980

    Macintosh troubles

    Help me, I need a compiler for the Mac, a free one.

    I want to practice OpenGL but am working with a Mac.....

    Is there any hope for me?
  6. Thread: Apple Mac

    by da_fall_guy
    Replies
    1
    Views
    875

    Apple Mac

    Can anyone enlighten me about this

    I am working on an Apple power PC and would like to do some coding in my lunch hour. Is this at all possible?

    I seem to recall its not. Are there any...
  7. Replies
    10
    Views
    2,081

    Thanks, I will have to wait to test all this but...

    Thanks, I will have to wait to test all this but it makes at least some sense.

    What I was working towards was some way that objects which encounter eachother could find out stuff about each other...
  8. Replies
    4
    Views
    1,606

    object interaction

    I want to declare two classes, say Cat and Dog, then when they meet in my game I want them to be able to question each other.

    My problem is that if you declare Dog first then it can't ask Cat any...
  9. Replies
    10
    Views
    2,081

    Yes, thats the problem though I want them to...

    Yes, thats the problem though

    I want them to talk to eachother but only one can ask and the other one answer.

    What I am working towards is a kind of security set-up.

    Cat asks Dog its age.
    ...
  10. Replies
    10
    Views
    2,081

    Thanks, those were both very helpful Now, what...

    Thanks, those were both very helpful

    Now, what if I want Dog to respond by checking Cat's age and only answering if its above a certain limit?

    I have been trying to do this but if you compile...
  11. Replies
    10
    Views
    2,081

    A Cat and a Dog

    If I have two objects like the dog and cat below and I wanted a instance of Cat to find out the age of an instance of Dog, how would I do that?

    A function like int AskDogAge(&Dog theDog); // How...
  12. Replies
    11
    Views
    2,297

    hello napKIN I read teach yourself c. I...

    hello napKIN


    I read teach yourself c. I thought it was a fairly good book.

    And I also think that I might prefer C to C++ but since I am nearly finished with C++ in 21 days I will stick with...
  13. Replies
    11
    Views
    2,297

    Thanks guys Its good to know that I am not...

    Thanks guys

    Its good to know that I am not alone in the lonewolf approach to learning, paradoxically.

    Still, win32 looks very tricky. How hard did it seem compared to learning c or c++...
  14. Replies
    11
    Views
    2,297

    Thanks Biosx I want to write games. I have a...

    Thanks Biosx

    I want to write games. I have a book on OpenGL game programming but these things all seem to assume knowledge of windows programming.

    Does that mean I have to learn win32 first...
  15. Replies
    11
    Views
    2,297

    Tell me its okay

    Hello

    I have been learning to program for about a year now. I started with C and moved on to c++ straight away because I thought this would suit my aims best.

    I would like to make a 3d game...
  16. Replies
    3
    Views
    1,236

    Thankyou adrianxw That has cleared that up...

    Thankyou adrianxw

    That has cleared that up for me.

    So with private inheritance the derived class can access all data/methods in the base class via methods of its own. Is that right?
    ...
  17. Replies
    3
    Views
    1,236

    private inheritance

    Hello

    I am having difficulty in getting my head around private inheritance. Can anyone give a simple explanation of what it is and a simple example of when you might need to use it?

    Its...
  18. Replies
    3
    Views
    1,352

    compiler independent programs

    Hello

    Could anyone tell me how you make my programs independent of the compiler?

    I haven't been doing this too long but none of the programs I have made work unless opened with MS Visual C++ 6...
  19. Replies
    4
    Views
    1,167

    Thanks to both of you. The bitwise copy, is...

    Thanks to both of you.

    The bitwise copy, is that just of the object's member variables or is it also a copy of methods and whatnot?
  20. Replies
    4
    Views
    1,167

    This pointers

    Hello,

    Being fairly new to C++ I am having a little trouble with the idea of a this pointer, can anyone enlighten me?

    If you pass a dereferenced this pointer into a copy constructor what...
  21. Replies
    8
    Views
    3,832

    so if fread() goes to the open file and finds...

    so if fread() goes to the open file and finds MAX_LEN number of characters (lets say MAX_LEN=80) it will then copy these 80 characters over to the buffer which is an array like this: Buff[80]

    So...
  22. Replies
    8
    Views
    3,832

    Also, in the code below, how does the function...

    Also, in the code below, how does the function copy its text?

    Does it get a block of text of MAX_LEN and copy it to buff, then append the null character, then print it, then go back and do the...
  23. Replies
    8
    Views
    3,832

    fread() return values

    Hi,

    If you are using fread() to get a block of text from an opened file and you have set MAX_LEN to 80 say, unless the number of characters is exactly divisible by 80 you will not get the...
Results 1 to 23 of 23