simplecpp | C++ preprocessor
kandi X-RAY | simplecpp Summary
kandi X-RAY | simplecpp Summary
C++ preprocessor
Support
Quality
Security
License
Reuse
Top functions reviewed by kandi - BETA
Currently covering the most popular Java, JavaScript and Python libraries. See a Sample of simplecpp
simplecpp Key Features
simplecpp Examples and Code Snippets
Community Discussions
Trending Discussions on simplecpp
QUESTION
I'm sorry to be taking up some of your valuable time. I'm just a beginner programmer and was trying to compile a relatively simple code (for you guys). In my opinion, I have got my functions right, but my function 'output' 's declaration is causing some issues and I'm finding it difficult to find out what did I do wrong. There is a warning indicated by the compiler in lines 41 and 50 and I have highlighted it in my program. I'd really appreciate it if you could point out my error.
...ANSWER
Answered 2020-May-08 at 14:26There are several issues in your code. First of all, main program { ... }
is not a valid entry to a C++ program (which I assume you meant to use as the main function). Every C++ program must contain an int main() { }
function which is the start point. So you would have to rewrite it as following:
Community Discussions, Code Snippets contain sources that include Stack Exchange Network
Vulnerabilities
No vulnerabilities reported
Install simplecpp
Support
Reuse Trending Solutions
Find, review, and download reusable Libraries, Code Snippets, Cloud APIs from over 650 million Knowledge Items
Find more librariesStay Updated
Subscribe to our newsletter for trending solutions and developer bootcamps
Share this Page