Strcmp Was Not Declared In This Scope Dev C++
This modified text is an extract of the original Stack Overflow Documentation created by following contributors and released under CC BY-SA 3.0. Apr 20, 2013 Using did not work, I doubled checked and the library is named 'STRING.h'. And STRING is a thing when its a class name, the command 'STRING string;' simply makes a class of my STRING library called string for use in the program.
Strcmp Was Not Declared In This Scope Dev C 5
Join GitHub today
I am trying to compile my program and I got an error: 'string' was not declared in this scope Even if I put in the file #include What is happing?
GitHub is home to over 40 million developers working together to host and review code, manage projects, and build software together.
Sign upHave a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
commented Jul 18, 2016 •
vulkan, glfw and glm installed from a package: adding This is on ArchLinux, gcc-6.1.1, vulkan-headers-1.0.21, vulkan-intel 12.0.1 (mesa), glfw-x11 3.2-4, glm 0.9.7.5-1 |
commented Jul 18, 2016
Better use |
fd59d89
Variable Was Not Declared In This Scope
Strcmp Was Not Declared In This Scope Dev C 4
can any one please identify the mistake in my code???
my code is::
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
- 3 Contributors
- forum 3 Replies
- 7,258 Views
- 17 Hours Discussion Span
- commentLatest Postby StinomusLatest Post
Strcmp Was Not Declared In This Scope Dev C System
csurfer422
Mistake 1 : Put your codes inside code tags or else no one will care to look at it.
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.