🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.os.ms-windows.programmer.tools.mfc
Article #52

Unresolved external "_printf" in Visual C++ 1.52

#52
From: clin
Date: Sat, 10 Feb 1996 21:38
24 lines
857 bytes
Hello there,

This may be a dumb question, but please help.

I pasted some old, tested C codes to my C++ program. I got the following linker error

error L2029: '_printf' : unresolved external

In my program, I have include these libraries:

extern "C" {
#include <dos.h>
#include <conio.h>
#include <ctype.h>
#include <stdlib.h>
#include <string.h>
#include <stdio.h>
#include <bios.h>  
}

I will appreciate your help.

Charles Lin
 
Technical Details
Message-ID: <4fj37r$l54@express2.ior.com>
Path: arc1-ca.pugleaf.net!express2.ior.com!usenet

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!express2.ior.com!usenet
From: clin@xn-tech.com
Newsgroups: comp.os.ms-windows.programmer.tools.mfc,comp.lang.c++
Subject: Unresolved external "_printf" in Visual C++ 1.52
Date: 10 Feb 1996 21:38:03 GMT
Organization: Internet On-Ramp, Inc.
Message-ID: <4fj37r$l54@express2.ior.com>
Reply-To: clin@xn-tech.com
NNTP-Posting-Host: cs3-11.ior.com
X-Newsreader: IBM NewsReader/2 v1.09