Search:

Type: Posts; User: jlmac2001

Page 1 of 2 1 2

Search: Search took 0.01 seconds.

  1. it's not homework

    This isn't homework thank you. It's a test question that I did horrible on and just want to know how to approach it if it's one like this on the final. thanks. I'll get help elsewhere.
  2. reviewing for final exam, need help with this question

    Final exams are a couple of weeks away and I'm studying early because I need to past my c++ final with an 85 or higher. We recently had a test and the following question is one that I got most of it...
  3. can someone check my code and tell me what I'm doing wrong

    I hd to write a total of 4 small programs that deal with writing function. I have two of them that i need to have checked because they are not working correctly and I dont know whatI'm doing wrong....
  4. Replies
    5
    Views
    3,736

    writing functions

    I have two small programs dealing with writing functions. I'm not not skilled at writing functions. for the second assignment, what type of recursive function can i use? Can someone give me an...
  5. Replies
    1
    Views
    2,587

    help writing a function definition

    I have to write a square root function but I'm stuck on the definition. Can I have an example of a function definition dealing with math functions?

    Here's the program:

    Write a function called...
  6. Replies
    7
    Views
    1,163

    i did it myself

    I figured out how to get the average and my program is working great. Thanks.
  7. Replies
    7
    Views
    1,163

    one more question

    If I don't know how many numbers that I will use, how will I know what number to divide the average by? The loop is infinite!
  8. Replies
    7
    Views
    1,163

    what am i doing wrong?

    This program is suppose to :

    Prompt the user to enter any number of integers. Keep prompting the user to input integers until the input is 0, which is the signal to stop entering numbers. After...
  9. Replies
    8
    Views
    1,653

    need help

    I started the two programs but am still unsure how to do the sum for the first one and how to sort the second one. I don't think we can use functions or strings because we haven't gotten that far in...
  10. Replies
    8
    Views
    1,653

    three questions about hw assignment

    I have to do three small programs that use loops. I know how to do the loops but am unsure about how to do the rest for exercises 1 and 2. I think that I can do exercise 3 fully on my own.

    For...
  11. Replies
    2
    Views
    2,996

    help writing function definitions

    I tried writing most of my program but I'm stuck on the definitions. Can someone show me an example of a definition? Here's my program:



    #ifdef MYINT1_H
    #define MYINT1_H

    class MyInt

    {
  12. operator overloading and dynamic memory program

    I started writing the class for the program but am unsure if I'm doing it correctly. Can someone look at it and give me some advice and examples? Also, how would I define an operator overload? Is my...
  13. Replies
    3
    Views
    2,588

    i need help badly

    Okay, i tried going through class by class and cpp file by cpp file to catch errors but i'm still geting a few and i don't know what to do. the book.h file was given my the professor so it should be...
  14. Replies
    3
    Views
    2,588

    getting massive compile errors, need help

    I need help getting my program to work.. When i compile, i get over 102 errors. I don't know why.
    Can someone look over what I have and give me some feedback as of what looks wrong so that I can ...
  15. Replies
    9
    Views
    1,159

    Okay, I change that but what else do i need to...

    Okay, I change that but what else do i need to do? Don't i need function definitions for the other functions? I tried compiling it and I got an error saying that lotto wasn't a function. i don't know...
  16. Replies
    9
    Views
    1,159

    i started it

    #include <stdio.h>
    #include <stdlib.h>
    #include <time.h>

    int lotto [6];
    int getNumber(void);
    int duplicate (int);
    void clearLotto(void);
    void newline(int);
    void srand (unsigned int seed);
  17. Replies
    9
    Views
    1,159

    sorry

    i won't use the boards again. i just want some help. i didnt want u to write it for me.
  18. Replies
    9
    Views
    1,159

    can someone help me get started?

    I need help getting started with this program. It uses the random generator and I don't have much experience with that. Can someone help me get start? Point me in the right direction and I'll do it...
  19. Replies
    1
    Views
    1,420

    can i have an example, please?

    I have to write classes to implement an inventory list simulation for a bookstore. i don't really know how to start the store class. can some give me an example of a store class and types of...
  20. Replies
    5
    Views
    3,037

    here's what i have thus far

    I got two errors that are as a result of the bool statements. Howdo I get them to go away? How would I set up the SetFormat function? Would I leave the Show function blank?





    #include...
  21. Replies
    5
    Views
    3,037

    i'm still lost

    I still don't understand how to start the cpp file. Can I hve an example?
  22. Replies
    5
    Views
    3,037

    i do i get started on cpp file

    I need a quick explanation of how to write the cpp file for my program. I have the class written below. I don't know how to use
    the code tags that you guys like. Sorry. Can someone help me get...
  23. Replies
    5
    Views
    1,456

    question

    One of the requirements is that all of the member data ofthe Date class be private. What does that mean? Does it meanthat I did it right by making everything private? Or should I make the...
  24. Replies
    5
    Views
    1,456

    building a class

    Is this the correct way to build a class for Date?

    #ifndef date_H
    #define date_H

    class date
    {
    private:

    date(); //default constructor
  25. Replies
    5
    Views
    1,646

    i'm totally lost

    I wrote some of the program but I know it incomplete and wrong. It's suppose to be roulette but the random generator isn't working. Wheredo I put that? What do I need to do to make my program...
Results 1 to 25 of 42
Page 1 of 2 1 2