User Profile

Collapse

Profile Sidebar

Collapse
tiffrobe
tiffrobe
Last Activity: Dec 3 '07, 10:14 PM
Joined: Nov 19 '07
Location: Michigan
  •  
  • Time
  • Show
  • Source
Clear All
new posts

  • tiffrobe
    started a topic Distance of two points and area of two circles.
    in C

    Distance of two points and area of two circles.

    I'm a little lost on my program. Everything works fine except function 3. It gives out garbage numbers. Its suppose to give the distance between two points and then the area of 2 circles.

    Code:
    #include <cmath>
    #include <string>
    #include <iostream>
    #include <fstream>
    #include <cstdlib>
    using namespace std;
    
    
    
    class Coord
    {
    ...
    See more | Go to post

  • tiffrobe
    replied to C++ help address book
    in C
    ok. Thank you very much! I will try that.
    See more | Go to post

    Leave a comment:


  • tiffrobe
    replied to C++ help address book
    in C
    I went and redid my code using what I learned from class, but my programs keeps saying there is no name that starts with that letter even if there is?


    [code=cpp]
    #include <string>
    #include <iostream>
    #include <fstream>
    #include <cstdlib>
    using namespace std;

    struct adressbook
    {
    string Name; //name of person
    string...
    See more | Go to post

    Leave a comment:


  • tiffrobe
    replied to C++ help address book
    in C
    I had added a structure before you posted but i am little confused on the map. I'm going to research it because i don't think we have learned that yet.


    code: (text)

    1.struct addressbook
    2.{
    3. string Name[45]; //name of person
    4. string Age[2]; //Age
    5. string SSN[9]; //Social Security number
    6. string Ad[40]; // address...
    See more | Go to post

    Leave a comment:


  • tiffrobe
    started a topic C++ help address book
    in C

    C++ help address book

    Hi I am new to C++. I'm trying to figure out how to make an address book that lets you search the contents by the first name. Here is my program. It displays all the names first and then its suppose to search for the a person info by the users input. I'm very confused!
    [code=cpp]
    #include <iostream>
    #include <fstream>
    #include <string>

    using namespace std;

    int main()...
    See more | Go to post
    Last edited by sicarie; Nov 19 '07, 11:04 PM. Reason: Code tags are [code=cpp] and (your code here) [/code]. Please use them.
No activity results to display
Show More
Working...