Error C4430 Visual Studio 2010
Contents |
SQL Server 2014 Express resources Windows Server 2012 resources Programs MSDN subscriptions Overview Benefits Administrators Students Microsoft Imagine Microsoft Student Partners ISV Startups TechRewards Events Community Magazine Forums Blogs Channel 9 Documentation APIs and error c4430 visual c++ reference Dev centers Retired content Samples We’re sorry. The content you requested error c4430 missing type specifier has been removed. You’ll be auto redirected in 1 second. Ask a question Quick access Forums home Browse forums
Error C4430 Missing Type Specifier - Int Assumed
users FAQ Search related threads Remove From My Forums Answered by: error C4430 - can someone help? Archived Forums V > Visual C++ Express Edition Question 0 Sign in to vote
Error C4430 C++
Error reads: "error C4430: missing type specifier - int assumed. Note: C++ does not support default-int" I am completely new to C++. I'd appreciate if could help me spot the source of my error in the following program: #include
my code, it's still missing c++ does not support default-int c4430 the calculations to find the average. #include
here for a quick overview of the site Help Center Detailed answers to any questions you might have Meta Discuss the workings and policies of this site About Us Learn more about http://stackoverflow.com/questions/16615310/error-c4430-visual-studio-2012 Stack Overflow the company Business Learn more about hiring developers or posting ads with us Stack Overflow Questions Jobs Documentation Tags Users Badges Ask Question x Dismiss Join the Stack Overflow Community Stack Overflow is a http://stackoverflow.com/questions/2916691/visual-c-compiler-error-c4430 community of 4.7 million programmers, just like you, helping each other. Join them; it only takes a minute: Sign up Error c4430 ? visual studio 2012 [closed] up vote -8 down vote favorite I am error c4430 new to creating and i try to use visual studio 2012 #include #include main() { printf("MY NAME"); getch(); } Error 1 error C4430: missing type specifier - int assumed. Note: C++ does not support default-int c:\users\baya\documents\visual studio 2012\projects\baya_pj\baya_pj\source.cpp 5 1 Baya_PJ c++ visual-studio-2012 share|improve this question asked May 17 '13 at 18:05 user2394984 12 closed as not a real question by Bill the Lizard May 18 '13 at 15:04 It's missing type specifier difficult to tell what is being asked here. This question is ambiguous, vague, incomplete, overly broad, or rhetorical and cannot be reasonably answered in its current form. For help clarifying this question so that it can be reopened, visit the help center.If this question can be reworded to fit the rules in the help center, please edit the question. Did you really not have complete includes? #include is not valid, it should be something like #include
here for a quick overview of the site Help Center Detailed answers to any questions you might have Meta Discuss the workings and policies of this site About Us Learn more about Stack Overflow the company Business Learn more about hiring developers or posting ads with us Stack Overflow Questions Jobs Documentation Tags Users Badges Ask Question x Dismiss Join the Stack Overflow Community Stack Overflow is a community of 4.7 million programmers, just like you, helping each other. Join them; it only takes a minute: Sign up Visual C++: Compiler Error C4430 up vote 2 down vote favorite The code of Game.h: #ifndef GAME_H #define GAME_H class Game { public: const static string QUIT_GAME; // line 8 virtual void playGame() = 0; }; #endif The error: game.h(8): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int game.h(8): error C2146: syntax error : missing ';' before identifier 'QUIT_GAME' game.h(8): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int What am I doing wrong? c++ visual-c++ syntax-error share|improve this question edited May 26 '10 at 20:53 Alan 26.6k1280113 asked May 26 '10 at 20:49 Nick Heiner 35.9k113366616 add a comment| 5 Answers 5 active oldest votes up vote 5 down vote accepted Here is what you need to fix your issues: 1. Include the string header file: #include