Skip to main content
update wording
Source Link

I just finished writing a program that captures temperature information for a patient. I'm looking for suggestions on how to improve the code that I have. Although what I have compiles and does what I want, I wonder if there is anythingany methodology I'm using inappropriately despite it still working.

I just finished writing a program that captures temperature information for a patient. I'm looking for suggestions on how to improve the code that I have. Although what I have compiles and does what I want, I wonder if there is anything methodology I'm using inappropriately despite it still working.

I just finished writing a program that captures temperature information for a patient. I'm looking for suggestions on how to improve the code that I have. Although what I have compiles and does what I want, I wonder if there is any methodology I'm using inappropriately despite it still working.

added 7 characters in body; edited title
Source Link
Jamal
  • 34.9k
  • 13
  • 133
  • 237

C++ Implementation of Classes Capturing temperature information for Temperaturesa patient

Some particular areas I worry about are redundant code and my use of the conversion and fever methods (you can ignore the clearly bad math - i. I just wanted any calculation until I determined functionality).

Temperature.hpp:Temperature.hpp:

Temperature.cpp:Temperature.cpp:

main.cpp:main.cpp:

C++ Implementation of Classes for Temperatures

Some particular areas I worry about are redundant code and my use of the conversion and fever methods (you can ignore the clearly bad math - i just wanted any calculation until I determined functionality).

Temperature.hpp:

Temperature.cpp:

main.cpp:

Capturing temperature information for a patient

Some particular areas I worry about are redundant code and my use of the conversion and fever methods (you can ignore the clearly bad math. I just wanted any calculation until I determined functionality).

Temperature.hpp:

Temperature.cpp:

main.cpp:

added 1 character in body; edited tags
Source Link
Corbin
  • 10.6k
  • 2
  • 30
  • 51

Some particular areas I worry about are redundant codcode and my use of the conversion and fever methods (you can ignore the clearly bad math - i just wanted any calculation until I determined functionality).

Some particular areas I worry about are redundant cod and my use of the conversion and fever methods (you can ignore the clearly bad math - i just wanted any calculation until I determined functionality).

Some particular areas I worry about are redundant code and my use of the conversion and fever methods (you can ignore the clearly bad math - i just wanted any calculation until I determined functionality).

Source Link
Loading