I am trying to get number from a file and use the quad formula to get the positive value and the negative value. I think I need to pass them by reference but I am not sure what I am doing wrong.... I get the error
1>------ Build started: Project: homework4, Configuration: Debug Win32 ------
1> Homework 4.cpp
1>v:\compsci\homework4\homework4\homework4\homework 4.cpp(84): warning C4715: 'value_x_positive' : not all control paths return a value
1>v:\compsci\homework4\homework4\homework4\homework 4.cpp(120): warning C4715: 'value_x_negative' : not all control paths return a value
========== Build: 1 succeeded, 0 failed, 0 up-to-date, 0 skipped ==========
1>v:\compsci\homework4\homework4\homework4\homework 4.cpp(84): warning C4715: 'value_x_positive' : not all control paths return a value
1>v:\compsci\homework4\homework4\homework4\homework 4.cpp(120): warning C4715: 'value_x_negative' : not all control paths return a value
move return x_negative; and return x_positive; to just above the ending right bracket of each function.