Search:

Type: Posts; User: Nicknameguy

Search: Search took 0.01 seconds.

  1. Thread: Fraction

    by Nicknameguy
    Replies
    5
    Views
    1,116

    Fraction Find

    Okay I understand that you have to declare whatever the user inputs as a string but what I am confused about is how to find. I have tried your "find" code but it justs messes up everything. It...
  2. Thread: Fraction

    by Nicknameguy
    Replies
    5
    Views
    1,116

    okay

    that's what i thought u needed to do but how do you search through a string?
  3. Thread: Fraction

    by Nicknameguy
    Replies
    5
    Views
    1,116

    Fraction

    If someone enters 2/3 how do you figure out which is the numerator and the denominator? I know the numerator is 2 and the denominator is 3 but how do you find that out when ur given 2/3?
  4. Replies
    13
    Views
    3,301

    New

    OKay want to know if this could be right for the isEqual.



    bool set::isEqual(set object)
    {
    bool answer = false;
    int number = 0;
    if(size == object.getSize() )
    {
  5. Thread: Set Theory

    by Nicknameguy
    Replies
    3
    Views
    2,500

    Set Theory

    How do I draw two logic circuits to show that a + a' = 1?

    I know how to do one


    a -|\
    | |-
    a'-|/
  6. Replies
    13
    Views
    3,301

    Ha Ha Okay

    Yeah I see your point. What I would like help with is isEqual, setIntersection, and setUnion. I know in setEqual you have to like declare another set (i think) but I don't know how to do that. ...
  7. Replies
    13
    Views
    3,301

    Please help finish

    #include <iostream.h>
    #include "set.h"

    //constructor
    set::set()
    {
    size=0;
    }
    //==============================================================================
    void set::printSet()
  8. Replies
    13
    Views
    3,301

    If

    Lets say I wanted to put an error message if there is no set. Like if there isn't a set you can't delete from it. Um, in the addition one i could find where to put it. Where do i put it in the...
  9. Replies
    13
    Views
    3,301

    Similar to Borland

    Are any of those similar to Borland 5.6? I think that is what version it is. It is the Borland that is not the DOS version.

    Okay, still abit confused on the deleteElement:



    void...
  10. Replies
    13
    Views
    3,301

    Thanks

    Thanks for the program and it turns out that Turbo C++ does not have Bool.
  11. Replies
    13
    Views
    3,301

    Turbo C++

    Okay I am using turbo C++ and I am trying to use bool but it keeps saying like "type name expected" or "multiple declaration of bool" or "declaration missing ;"

    here is my code.



    #ifndef...
  12. Replies
    13
    Views
    3,301

    Thanks

    Thank you so much for your help. It really does help me out a lot. I know this is a lot but cand you tell me how to finish the Delete Element?
  13. Replies
    13
    Views
    3,301

    Didn't I post code?

    Didn't I post code in my letter? I wrote out the beginning of each function? I am so confused on how to write the functions, I have started to write the begining but I am so confused on the rest....
  14. Replies
    13
    Views
    3,301

    Set Classes

    Blue ink means it is on the worksheet
    Red ink means the teacher told us that it is right or it is on the worksheet as an output.
    Black ink means it is me!

    I need help with writing functions in...
  15. Replies
    3
    Views
    2,368

    Problem II

    I am mostly interested in the programming of the functions for Problem II. I don't know how to start any of the functions.
  16. Replies
    3
    Views
    2,368

    Thanks

    Hey! Thanks but do you like no how to do what you said? I am soo confused. Like what should I do for the delete element and functions like that?
  17. Replies
    3
    Views
    2,368

    Set Classes

    Blue ink means it is on the worksheet
    Red ink means the teacher told us that it is right or it is on the worksheet as an output.
    Black ink means it is me!

    I need help with writing functions in...
  18. Replies
    8
    Views
    1,664

    Problem

    Okay but how do I finish the functions? That is what I am confused about.
  19. Replies
    8
    Views
    1,664

    More information on Problem Two

    Be sure to check for boundary cases, i.e. cases that may cause some problems. For instance, what happens when you try to add an element to a set that already has 100 elements in it? The cumputer...
  20. Replies
    8
    Views
    1,664

    Problem Two (CPP File)

    This is what I have for the CPP File. I am so confused on some of the functions.


    #include <iostream.h>
    #include "set.h"

    //constructor
    set::set()
    {
    size=0;
  21. Replies
    8
    Views
    1,664

    Problem One (header file)

    Hey this is what I have for the header file. I don't know if it is all correct. I can't use const because I don't know what it is (We haven't gone over it)

    #indef SET_H
    #define SET_H

    class...
  22. Replies
    8
    Views
    1,664

    Hey! Thanks. I will have the source code for...

    Hey! Thanks. I will have the source code for the set.h file and I really need to know how to finish the set.cpp file. I will have the answers tomorrow
  23. Replies
    8
    Views
    1,664

    C++ Programming Set Class (Problem One)

    I need help with writing functions in C++. The C++ class I am in is going like way too fast and it's like the basic (not BASIC) class. First of all I would like to know what I am doing is correct. ...
Results 1 to 23 of 23