Thread: need help with my first program

  1. #1
    Registered User
    Join Date
    Sep 2001

    need help with my first program

    I am auditing a C++ class and the teacher wants me to read in a set of book ISBN numbers (numeric),Author and title which i create, and store them in binary search tree, then read a second set of numbers which i create to look up in the binary search tree and print whether they are in it or not. And at the end print the binary search tree in ascending order.

    I just got in the class and i do not know how or where to get started, so if i can get a little help i would really appreciate it, i know how to do the libraries and int main, but i do not have a clue on what else to do, we do not have a required book in the class, the teacher just teachers us from the board and what he knows. Thank you AW.

  2. #2
    Banned master5001's Avatar
    Join Date
    Aug 2001
    Visalia, CA, USA
    I just thought I'd look at old unanswered posts. I think we left a bad taste in this poor bastard's mouth

  3. #3
    Guest Sebastiani's Avatar
    Join Date
    Aug 2001
    Waterloo, Texas
    C'mon, man, the kid was way out of his league. Some things are better left undone...
    #include <cmath>
    #include <complex>
    bool euler_flip(bool value)
        return std::pow
            std::complex<float>(0, 1) 
            * std::complex<float>(std::atan(1.0)
            *(1 << (value + 2)))
        ).real() < 0;

  4. #4
    Just a Member ammar's Avatar
    Join Date
    Jun 2002
    Since it's a class, I think you'll have a text book or some notes, so you can read them in order to get started and if you are stuck some where, just post here, that's the best way to learn.

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Issue with program that's calling a function and has a loop
    By tigerfansince84 in forum C++ Programming
    Replies: 9
    Last Post: 11-12-2008, 01:38 PM
  2. Need help with a program, theres something in it for you
    By engstudent363 in forum C Programming
    Replies: 1
    Last Post: 02-29-2008, 01:41 PM
  3. Replies: 4
    Last Post: 02-21-2008, 10:39 AM
  4. My program, anyhelp
    By @licomb in forum C Programming
    Replies: 14
    Last Post: 08-14-2001, 10:04 PM