Search:

Type: Posts; User: daisy244

Page 1 of 2 1 2

Search: Search took 0.01 seconds.

  1. Replies
    13
    Views
    2,105

    no, I understood your code and it was a help but...

    no, I understood your code and it was a help but not on this particular project. I need mine to just rollover the year, month and day like it is supposed to. our chapter is on referencing and not so...
  2. Replies
    13
    Views
    2,105

    Thanks for the help but my assignment was to...

    Thanks for the help but my assignment was to modify, actually my first post above to do this. I dont even know for sure that I am supposed to have a separate header file, but i learned it on my last...
  3. Replies
    13
    Views
    2,105

    New attempt

    ok, i took it on myself to do some changes to the program and I do get output now. I have a cpp. file and a headerfile. If anyone has a compliler and can run this and tell me what I am doing wrong, I...
  4. Replies
    13
    Views
    2,105

    Theres not going to be any errors with this, this...

    Theres not going to be any errors with this, this is the code straight out of the book, that I have to modify. It has to increment,(which I thought I had done) and it has to perform an error check on...
  5. Replies
    13
    Views
    2,105

    When I remove it, I get 15 errors saying all of...

    When I remove it, I get 15 errors saying all of the functions are not part of Date. How do I make them part of date?
  6. Replies
    13
    Views
    2,105

    ONE ERROR IN C++ Program

    I am trying to increment the days to change over to the next day and year. Here is my code so far, but I keep getting one error.



    #include <iostream>

    using std::cout;
    using std::endl;

    //...
  7. Replies
    36
    Views
    4,403

    The code is compiling fine and here is the...

    The code is compiling fine and here is the time3h.


    #ifndef TIME3_H
    #define TIME3_H

    class Time {

    public:
    Time( int = 0, int = 0, int = 0 ); // default constructor
  8. Replies
    36
    Views
    4,403

    Yea, I just noticed that too......what I dont...

    Yea, I just noticed that too......what I dont understand is why the problem is asking me to change the header file to include Tick. should I just change the word "seconds" to "tick" throughout the...
  9. Replies
    36
    Views
    4,403

    Right, this is what I want it to do. I want to...

    Right, this is what I want it to do. I want to modify the first part (header) to include a TICK member function that increments the time tored in a Time object by one second. As it is now the output...
  10. Replies
    36
    Views
    4,403

    Are you through with helping me? Let me know?

    Are you through with helping me? Let me know?
  11. Replies
    36
    Views
    4,403

    Ive got to change time.h to increment with a tick...

    Ive got to change time.h to increment with a tick command to make the output increment in seconds.
  12. Replies
    36
    Views
    4,403

    This program is referencing this header file: ...

    This program is referencing this header file:

    Fig. 6.18: time3.h
    // Declaration of class Time.
    // Member functions defined in time3.cpp

    // prevent multiple inclusions of header file ...
  13. Replies
    36
    Views
    4,403

    what do you mean by definitions?

    what do you mean by definitions?
  14. Replies
    36
    Views
    4,403

    With the header file already stored in its...

    With the header file already stored in its directory: I put this in the cpp source file built it and it gave me the output I was searching for:


    // Fig. 6.19: time3.cpp
    // Member-function...
  15. Replies
    36
    Views
    4,403

    Ok I figured it out and got it to work. Now I...

    Ok I figured it out and got it to work. Now I have to change this code in the header to include a tick memeber function that increments the time stored in the time object by one second any...
  16. Replies
    36
    Views
    4,403

    ok I think I got it. thanks alot

    ok I think I got it. thanks alot
  17. Replies
    36
    Views
    4,403

    Duh, that makes sense....its pointing to the...

    Duh, that makes sense....its pointing to the file. Well bad news I got these 10 errors.

    Linking...
    test.obj : error LNK2001: unresolved external symbol "public: void __thiscall...
  18. Replies
    36
    Views
    4,403

    this is a beginning c++ course. deitel vsn. 4 it...

    this is a beginning c++ course. deitel vsn. 4 it came with the visual c++ compiler
  19. Replies
    36
    Views
    4,403

    c:\program files\microsoft visual...

    c:\program files\microsoft visual studio\myprojects\test\test.cpp(9) : fatal error C1083: Cannot open include file: 'time3.h': No such file or directory
    Error executing cl.exe.

    test.exe - 1...
  20. Replies
    36
    Views
    4,403

    did it......got the same message

    did it......got the same message
  21. Replies
    36
    Views
    4,403

    I guess I dont understand directories. Ive tried...

    I guess I dont understand directories. Ive tried it with the whole program in one C++ Source File...Build....same message. I have also tried it by putting the first part in a C++ Header File and then...
  22. Replies
    36
    Views
    4,403

    when running the program this is the error...

    when running the program this is the error message I get

    c:\program files\microsoft visual studio\myprojects\pooeo\hss.cpp(43) : fatal error C1083: Cannot open include file: 'time3.h': No such...
  23. Replies
    36
    Views
    4,403

    Hold on. Now when I tried to restart my program I...

    Hold on. Now when I tried to restart my program I saw the choice of a file that supports MSC. What is MSC and could this be the problem?
  24. Replies
    36
    Views
    4,403

    I got the linker errors also at first because I...

    I got the linker errors also at first because I didnt open the c++ program as a Windows 32 Console application. When I closed it and reopened it it only gave me my above error.
  25. Replies
    36
    Views
    4,403

    These are two examples out of my textbook that...

    These are two examples out of my textbook that produce output. For my homework I have to change the first part to do something else, so I figured I would see how the example works from the book.
    ...
Results 1 to 25 of 26
Page 1 of 2 1 2