Search:

Type: Posts; User: jpipitone

Search: Search took 0.02 seconds.

  1. Replies
    5
    Views
    3,909

    thanks! that worked...

    thanks! that worked...
  2. Replies
    5
    Views
    3,909

    The program runs fine if I compile it with Visual...

    The program runs fine if I compile it with Visual C++ with the new code - but it still closes immediately if I run the executable.
  3. Replies
    5
    Views
    3,909

    Keeping window open

    I have written a very simple app with Visual C++, and when I compile the program, it runs fine. However, the window closes right away when I'd like for it to stay open until I hit a key....
    ...
  4. overloading postfix/prefix operators for a class

    I have a class named "Yen" and I need to overload the prefix and postfix -- operators for that class.

    Any ideas?
  5. Thread: CExeption

    by jpipitone
    Replies
    10
    Views
    2,171

    OK

    Can I use this code to throw an exception using the pre-compiled <exception> header?



    #include <exception>

    void f ( )
    {
    throw exception(42, "Oh no, not again.");
    }
  6. Thread: CExeption

    by jpipitone
    Replies
    10
    Views
    2,171

    CExeption

    Here's some source code that I've written a while back (it's actually the header source code)

    How should I start to test this header file? (in other words, I need a driver to test teh CExeption...
  7. Replies
    2
    Views
    1,061

    thank you sir - i'll let you know how hte program...

    thank you sir - i'll let you know how hte program goes as i'll be needing help thanks!
  8. Replies
    2
    Views
    1,061

    Obtaining array dimension

    What's the easiest way to obtain an array element from a user and placing it into memory? As a result, I need to read double values and call an already written function to read these values.

    Help?
  9. Replies
    12
    Views
    1,509

    OK - I got the print the largest value working,...

    OK - I got the print the largest value working, now I'm confused as to how to print the smaller value....

    help?



    #include <iostream.h>
    void prompt();
    void print(); ...
  10. Replies
    12
    Views
    1,509

    OK - The highest value is being returned...

    OK - The highest value is being returned -1.....how come?

    I'm stuck



    #include <iostream.h>

    //using namespace std;
  11. Replies
    12
    Views
    1,509

    OK - I have it somewhat now... When the...

    OK - I have it somewhat now...

    When the program prints, I wanted it to print all of the items of the array, it prints -858993460 instead of the numbers I've typed in...any ideas?



    #include...
  12. Replies
    12
    Views
    1,509

    syntax

    Thanks - i'm horrible at syntax help!!



    #include <iostream>
    #include <limits>

    using namespace std;

    int main()
  13. Replies
    12
    Views
    1,509

    I do appreciate your help man, believe me!

    I do appreciate your help man, believe me!
  14. Replies
    12
    Views
    1,509

    tha'ts a lot of code for something that seems so...

    tha'ts a lot of code for something that seems so simple....do you have anything else?
  15. Replies
    12
    Views
    1,509

    started...

    OK - i've been working on this for a few minutes, I want this to keep looping until the user has entered 10 items....

    Then i want to start displaying the values i need to:



    #include...
  16. Replies
    12
    Views
    1,509

    Another one..

    I need source code for a program that inputs an int from a user, then I need to allocate an array of doubles on the free store.

    I then need to iterate across the array and display all of the...
  17. Replies
    1
    Views
    971

    Program help!!!

    I'm also required to develop a clock class that represents time using three int variables - hours, minutes, and seconds.

    I need to:

    1) set the time
    2) return the time
    3) print the time
    4)...
  18. Replies
    15
    Views
    1,890

    I've tried that in the past, and it says "Wrong...

    I've tried that in the past, and it says "Wrong input!"

    I've also heard from a few people that I should change it to:



    while((ch == *str))


    I've also corrected the beginning of my...
  19. Replies
    15
    Views
    1,890

    What should top be set to?

    What should top be set to?
  20. Thread: Linked List

    by jpipitone
    Replies
    4
    Views
    4,258

    OK...my function prototypes are now: /*...

    OK...my function prototypes are now:



    /* Function prototypes */
    NODE* init_list(void);
    int insertnode(NODE*, float value, char itemName[]);
    int deletenode(NODE*, float value, char...
  21. Thread: Linked List

    by jpipitone
    Replies
    4
    Views
    4,258

    Linked List

    Ok...I'm trying to grab (scanf) an itemName and a value (price) from the user - this program compiles, but when i try to run the program, it says :

    1) linkList error LNK2019: unresolved external...
  22. Replies
    15
    Views
    1,890

    Evaluating an Expression

    This compiles and runs correctly, but it says "The value is 0" Am I not returning what I should be?

    Thanks for any help



    #include <stdio.h>
    #include <string.h>
    #include <stdlib.h>...
  23. Replies
    3
    Views
    2,423

    The Problem: I need to search and delete...

    The Problem:

    I need to search and delete social security numbers from this already written code that i have. I also have to error check the social security numbers also.
  24. Replies
    3
    Views
    2,423

    Search/Delete records in hash table

    I need to search and delete social security numbers from this already written code that i have. I also have to error check the social security numbers also.

    #include <stdio.h>
    #include...
Results 1 to 24 of 24