can any one please identify the mistake in my code???
my code is::
my code is::
- This modified text is an extract of the original Stack Overflow Documentation created by following contributors and released under CC BY-SA 3.0.
- But that does nothing. I have no idea what command-line arguments I'm supposed to type and what the syntax of them is. This is just a program that I got from the book and I'm learning C, can you please help me with this.
SFINAE (Substitution Failure Is Not An Error) Side by Side Comparisons of classic C examples solved via C vs C11 vs C14 vs C17 Singleton Design Pattern. Home topics c / c questions 'endl' was not declared in this scope + Ask a Question. Post your question and get tips & solutions from a community of 449,354 IT Pros & Developers. Newby - error: 'rint' was not declared in this scope; iomanip: setwidth was not declared in this scope 'was not declared in this scope' Browse.
when i compiled it the following error is exhibited:
$g++ -o try tryone.cpp
tryone.cpp: In constructor ‘Stack::Stack(int)’:
tryone.cpp:14: error: ‘exit’ was not declared in this scope
$g++ -o try tryone.cpp
tryone.cpp: In constructor ‘Stack::Stack(int)’:
tryone.cpp:14: error: ‘exit’ was not declared in this scope
- 3 Contributors
- forum 3 Replies
- 7,188 Views
- 17 Hours Discussion Span
- commentLatest Postby StinomusLatest Post
![Scope Scope](https://pbs.twimg.com/media/Dxf6gYMUcAEl-UX.png:large)
Dev C Not In Scope Error 10
csurfer422
Mistake 1 : Put your codes inside code tags or else no one will care to look at it.
Dev C Not In Scope Error List
Mistake 2 : exit() is a function and it is defined inside cstdlib header with respect to c++ and you haven't included it in the headers so the error not defined in this scope.