Quantcast
Channel: Active questions tagged header - Stack Overflow
Viewing all articles
Browse latest Browse all 707

Issue with Header file in Visual Studio (C++), very stuck [closed]

$
0
0

I'm a beginner creating a clock project with C++ in Visual Studio. I created a header file, a cpp file for function definitions, and a main file. I declared the function names in the header file and used the format suggested by VS for the definitions in the cpp file.

However, after adding definitions there's a green squiggly line under the String function declarations in the header file saying "Function definition for 'stringFunctionName' not found" when I hover over it. This is only for the string functions.

enter image description hereenter image description hereenter image description hereenter image description hereHow can this be fixed? I'm not able to pass any arguments into the functions within the main file. Please help!!

Tried looking everywhere for a fix but couldn't find.


Viewing all articles
Browse latest Browse all 707

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>