Fatal Error C1016
Contents |
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 reference Dev centers Retired content Samples We’re sorry. The c++ fatal error c1016 content you requested has been removed. You’ll be auto redirected in 1 second. Visual
Fatal Error C1016 #if N Def
C++ Programmer's Guide Build Errors Compiler Fatal Errors C999 through C1999 Compiler Fatal Errors C999 through C1999 Fatal Error C1016 Fatal c1016 #if n def expected an identifier Error C1016 Fatal Error C1016 Fatal Error C999 Fatal Error C1001 Fatal Error C1002 Fatal Error C1003 Fatal Error C1004 Fatal Error C1005 Fatal Error C1006 Fatal Error C1007 Fatal Error C1008 Fatal Error C1009 error i9040 expected an identifier Fatal Error C1010 Fatal Error C1011 Fatal Error C1012 Fatal Error C1013 Fatal Error C1014 Fatal Error C1016 Fatal Error C1017 Fatal Error C1018 Fatal Error C1019 Fatal Error C1020 Fatal Error C1021 Fatal Error C1022 Fatal Error C1023 Fatal Error C1024 Fatal Error C1026 Fatal Error C1031 Fatal Error C1032 Fatal Error C1033 Fatal Error C1034 Fatal Error C1035 Fatal Error C1036 Fatal Error C1037 Fatal Error C1038 Fatal
C1016 Sigma
Error C1039 Fatal Error C1040 Fatal Error C1041 Fatal Error C1042 Fatal Error C1043 Fatal Error C1044 Fatal Error C1045 Fatal Error C1046 Fatal Error C1047 Fatal Error C1048 Fatal Error C1049 Fatal Error C1051 Fatal Error C1052 Fatal Error C1053 Fatal Error C1054 Fatal Error C1055 Fatal Error C1056 Fatal Error C1057 Fatal Error C1058 Fatal Error C1059 Fatal Error C1060 Fatal Error C1061 Fatal Error C1062 Fatal Error C1063 Fatal Error C1064 Fatal Error C1065 Fatal Error C1067 Fatal Error C1068 Fatal Error C1069 Fatal Error C1070 Fatal Error C1071 Fatal Error C1072 Fatal Error C1073 Fatal Error C1074 Fatal Error C1075 Fatal Error C1076 Fatal Error C1077 Fatal Error C1079 Fatal Error C1080 Fatal Error C1081 Fatal Error C1082 Fatal Error C1083 Fatal Error C1084 Fatal Error C1085 Fatal Error C1086 Fatal Error C1087 Fatal Error C1088 Fatal Error C1089 Fatal Error C1090 Fatal Error C1092 Fatal Error C1093 Fatal Error C1094 Fatal Error C1100 Fatal Error C1126 Fatal Error C1189 Fatal Error C1200 Fatal Error C1201 Fatal Error C1202 Fatal Error C1203 Fatal Error C1300 Fatal Error C1301 Fatal Error C1500 Fatal Error C1501 Fatal Error C1502 Fatal Error C1503 Fatal Error C1504 Fatal Error C1505 Fatal Error C1506 Fatal Error C1507 Fatal Error C150
include 2 header files. Page 1 of 1 New Topic/Question Reply 8 Replies - 14951 Views - Last Post: 18 January 2009 - 10:20 AM Rate Topic: #1 canatan New D.I.C Head Reputation: 0 Posts: 12 Joined: 17-January 09 fatal error C1016: #if[n]def expected an identifier Posted 18 January 2009 - 07:18 AM i have 2 header files coursel.h and student.h each file has a functions cpp courself.cpp and studentf.cpp when i compile i get the errors c++\projects\testa\courself.cpp(2) : fatal error C1016: #if[n]def expected an identifier c++\projects\testa\studentf.cpp(5) : fatal error C1016: #if[n]def expected an identifier for coursel.h : i've included https://msdn.microsoft.com/en-us/library/aa228978(v=vs.60).aspx only iostream for student.h: #include
Forum Visual C++ & C++ Programming C++ (Non Visual C++ Issues) fatal error C1016: #if[n]def expected an identifier If this is your first http://forums.codeguru.com/showthread.php?451659-fatal-error-C1016-if-n-def-expected-an-identifier visit, be sure to check out the FAQ by clicking the link above. You may have to register or Login before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below. Results 1 to 2 of 2 Thread: fatal error C1016: #if[n]def expected an identifier Tweet fatal error Thread Tools Show Printable Version Email this Page… Subscribe to this Thread… Display Linear Mode Switch to Hybrid Mode Switch to Threaded Mode April 24th, 2008,06:35 PM #1 Fatboy View Profile View Forum Posts Member Join Date Aug 2004 Posts 138 fatal error C1016: #if[n]def expected an identifier Here is the code: #ifndef 17_1OBJECTS #include "17_1Objects.h" #define 17_1OBJECTS Here is the error: fatal fatal error c1016 error C1016: #if[n]def expected an identifier Very simple. Why? I've used #ifndef loads before and it has never given me this error. Reply With Quote April 24th, 2008,06:37 PM #2 Fatboy View Profile View Forum Posts Member Join Date Aug 2004 Posts 138 Re: fatal error C1016: #if[n]def expected an identifier Oh! OK it's because I can't use numbers. Got it. Reply With Quote Quick Navigation C++ (Non Visual C++ Issues) Top Site Areas Settings Private Messages Subscriptions Who's Online Search Forums Forums Home Forums Visual C++ & C++ Programming Visual C++ Programming Visual C++ FAQs C++ (Non Visual C++ Issues) C++ and WinAPI Managed C++ and C++/CLI Visual C++ Bugs & Fixes Graphics Programming Multithreading Network Programming Driver Development C# Programming C-Sharp Programming Visual Basic Programming Visual Basic 6.0 Programming Visual Basic .NET VBForums Windows 8 and Later Store Development Modern Windows Apps (Metro) Other .NET Programming ASP.NET .NET Framework .NET Installation and Configuration Issues ADO.NET Windows Presentation Foundation (WPF) & XAML forum Java Programming Java Programming Other Programming AJAX Scripting - Client Side Database Crystal Reports XML Wireless/Mobile Development Assembly Scripting - Server Side (PHP,