C Error C4013
Contents |
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 printf undefined; assuming extern returning int more about Stack Overflow the company Business Learn more about hiring developers or
C4013: 'printf' Undefined; Assuming Extern Returning Int
posting ads with us Stack Overflow Questions Jobs Documentation Tags Users Badges Ask Question x Dismiss Join the Stack Overflow Community
Extern In C
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 Warning: C4013 in C lang up vote 0 down vote favorite #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 Compiler gives - warning C4013: 'getche' undefined; assuming extern returning http://stackoverflow.com/questions/3313671/warning-c4013-in-c-lang int up vote -4 down vote favorite I'm using Visual studio for my code development and when I used the function getche() The compiler gave me this warning warning C4013: 'getche' undefined; assuming extern returning int But the getche() function is working just as expected , why compiler is showing such a warning , and How can I eliminate this warning? c getch share|improve this question edited Jan http://stackoverflow.com/questions/28170800/compiler-gives-warning-c4013-getche-undefined-assuming-extern-returning-in 27 '15 at 13:06 unwind 253k38330460 asked Jan 27 '15 at 12:42 Sorcrer 983515 2 Include conio.h. –Sadiq Jan 27 '15 at 12:44 add a comment| 2 Answers 2 active oldest votes up vote 3 down vote accepted As your compiler is telling you, getche has not been defined. Usually, you would include a header (e.g. #include
Programming Boards C Programming warning C4013...errrrrr! Getting started with C or C++ | C Tutorial | C++ Tutorial | C http://cboard.cprogramming.com/c-programming/100619-warning-c4013-errrrrr.html and C++ FAQ | Get a compiler | Fixes for common problems Thread: warning C4013...errrrrr! Thread Tools Show Printable Version Email this Page… Subscribe to this Thread… Display Linear Mode Switch to Hybrid Mode Switch to Threaded Mode 03-20-2008 #1 IndioDoido View Profile View Forum Posts Visit Homepage Registered User Join Date Apr 2007 Posts 194 warning C4013...errrrrr! hi! warning undefined; assuming C4013: 'printf' undefined; assuming extern returning int warning C4013: 'gets' undefined; assuming extern returning int i'm getting tierd of seeing these warnings, can anyone help me? here's the code where the warnings link to... Code: #include "medico.h" #include "estruturas.h" Medico inserirMedico() { Medico temp; int i; printf("\nNome: "); //<-- warning C4013 gets(temp.nome); //<-- warning C4013 printf("\nMorada: "); //<-- warning C4013 gets(temp.morada); undefined; assuming extern //<-- warning C4013 printf("\nContacto: "); //<-- warning C4013 gets(temp.contacto); //<-- warning C4013 printf("\nEspecialidade: "); //<-- warning C4013 gets(temp.especialidade); //<-- warning C4013 printf("\nID de Medico: "); //<-- warning C4013 gets(temp.idMedico); //<-- warning C4013 temp.numPacientes = 0; return temp; } "Artificial Intelligence usually beats natural stupidity." 03-20-2008 #2 Dino View Profile View Forum Posts Jack of many languages Join Date Nov 2007 Location Katy, Texas Posts 2,309 #include