Search:

Type: Posts; User: Mr.Pink

Page 1 of 2 1 2

Search: Search took 0.01 seconds.

  1. Thread: Class question

    by Mr.Pink
    Replies
    5
    Views
    885

    well the example is not what I'm realy trying to...

    well the example is not what I'm realy trying to do. Basically I want to be able to create a class name by whatever input the user has given me.
  2. Thread: Class question

    by Mr.Pink
    Replies
    5
    Views
    885

    Class question

    hi,
    I am working with simple classes. When setting a class for an animal I use this code:



    animal someName;
    someName.info();


    So basically this creates a new animal class by the name of...
  3. Replies
    26
    Views
    3,362

    yea, I've heard that about gotos why is that?

    yea, I've heard that about gotos
    why is that?
  4. Replies
    26
    Views
    3,362

    thanks

    thanks
  5. Replies
    26
    Views
    3,362

    problem with class

    hey,
    I'm making a crappy little rpg text game. Anyway I set it up so that the player stats are all saved into a class. I have a function which creates the class when a new game is started. The...
  6. Thread: interrupts

    by Mr.Pink
    Replies
    2
    Views
    1,044

    thanks

    thanks
  7. Thread: interrupts

    by Mr.Pink
    Replies
    2
    Views
    1,044

    interrupts

    hey,
    I'm interested in learning about interrupts. I looked at some tutorials but they were very confusing. Please post any good tutorials
    thanks
  8. Thread: c++ strings

    by Mr.Pink
    Replies
    2
    Views
    891

    I just didn't include the right header, thanks

    I just didn't include the right header, thanks
  9. Thread: c++ strings

    by Mr.Pink
    Replies
    2
    Views
    891

    c++ strings

    hey,
    I'm trying to do the c++ style strings tutorial on this site but it's not working. Could it be because I'm using Dev c++?

    here's my code:



    #include <iostream.h>
    #include <stdlib.h>...
  10. Thread: Windows

    by Mr.Pink
    Replies
    6
    Views
    859

    Windows

    hey,
    I've pretty much done all the tutorials for c++ on this site and have a pretty good understanding of file manipulation and what not. I want to get into windows programming.

    I looked at the...
  11. Thread: char function

    by Mr.Pink
    Replies
    4
    Views
    960

    ok, I learned pointers. I still have the same...

    ok,
    I learned pointers.
    I still have the same problem though.
    I can only return one array
    so I used this code:




    #include <fstream>
  12. Thread: char function

    by Mr.Pink
    Replies
    4
    Views
    960

    char function

    hey,
    This should be pretty simple:

    I need to make a function which returns a person's name from a file




    #include <fstream>
    #include <iostream>
  13. Thread: graphics stuff

    by Mr.Pink
    Replies
    9
    Views
    1,135

    console application

    console application
  14. Thread: graphics stuff

    by Mr.Pink
    Replies
    9
    Views
    1,135

    I am using dev c++ with windows XP I want to...

    I am using dev c++ with windows XP

    I want to be able to do graphs which are
    y=mx+b

    so curves and such.
  15. Thread: graphics stuff

    by Mr.Pink
    Replies
    9
    Views
    1,135

    graphics stuff

    I want to do very simple graphs.
    Basically I want to be able to create dots where I need to. How do I go about graphics with c++?
    (do I have to use openGL?)
  16. Replies
    4
    Views
    1,091

    where do I put it?

    where do I put it?
  17. Replies
    4
    Views
    1,091

    classes won't execute

    hey,
    I just did the tutorial on classes.
    when I compile it says 0 errors, but the button to execute the program is disabled.



    #include <stdio.h>
    #include <iostream>
    #include <string>...
  18. Replies
    9
    Views
    5,776

    yea, but that's an unlikely situation. I wrote it...

    yea, but that's an unlikely situation. I wrote it mostly for when I'm doing physics stuff on the computer and don't want to use windows calc
  19. Replies
    3
    Views
    1,421

    ok, so how could I use this in my programs?

    ok,
    so how could I use this in my programs?
  20. Replies
    3
    Views
    1,421

    command line arguments

    hey,
    I am pretty new to c++ and just going through tutorials on this site. I am on the one which talks about accepting command line arguments.

    I don't completly understand what command line...
  21. Replies
    16
    Views
    2,188

    try this: #include #include...

    try this:



    #include <stdio.h>
    #include <iostream>
    #include <fstream>
    #include <string>
    void genLife();
    void showLife();
  22. Replies
    16
    Views
    2,188

    try this: #include #include...

    try this:



    #include <stdio.h>
    #include <iostream>
    #include <fstream>
    #include <string>
    void genLife();
    void showLife();
  23. Replies
    16
    Views
    2,188

    as I understand your problem is that you can't...

    as I understand your problem is that you can't realy access the arrays from the function?

    You can solve this by making the arrays global by declaring them outside of the main function. Get my...
  24. Replies
    9
    Views
    5,776

    trig calculator

    just finished my first program which is actually usefull to me.
    It just figures out right angle triangles



    #include <stdio.h>
    #include <string>
    #include <iostream>
    #include <cmath>...
  25. Replies
    8
    Views
    7,672

    and if there isn't, how can I use PI in c++?...

    and if there isn't, how can I use PI in c++?
    (what's the word so that it recognizes it)
Results 1 to 25 of 32
Page 1 of 2 1 2