No source file named /home/david/etc... error

I just finished making the compiler happy on a console project and went to run the program, but there's no output and the program exits. The error I get in the console is:

No source file named /home/david/workspace/customerAccounts/customerAccounts.cpp.
No source file named /home/david/workspace/Roster/Roster.cpp.
No source file named /home/david/workspace/customerAccounts/customerAccounts.cpp.
Quit

The funny thing is, the name of the .cpp file is neither customerAccounts nor Roster. Following is the cpp file I'm using:

Variables real_ and imaginary_ are uninitialised pointers to type double.
They will contain some random values which happened to be there already.
Then at lines 13 and 14, an attempt is made to write the value 0.0 to these random areas of memory.

If you are lucky, the program will crash with an exception. If you are unlucky, the program will continue to execute, having corrupted some area of memory which it has no right to access, with unpredictable effects at some later stage.

I don't see any reason why these values are pointers and not just variables of type double. But if you have a valid reason for using a pointer, memory must be allocated and the variable initialised to point to that memory.

Thank you so much. Initializing the double pointers made the weird errors disappear, and everything worked like a clock! And yes, the project was to work around the challenge of the private member variables of Complex being pointers. Thanks again!