🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: gnu.gcc.help
Article #49497

Automatic translate C code to C++

#49497
From: Yong Liu
Date: Wed, 19 Jan 1994 00:49
26 lines
1336 bytes
There exist some small differences between C code and C++ code. For example,
in C we write
	double g(x,y)
		double x,y;
	{
	.........
	} 
	
while in C++ the above code is writen as
	double g(double x,double y)
	{
	.........
	} 

If I want to reuse my old C codes with my new C++ codes, an automatic 
translator from C to C++ would be very useful.

Is there such a nice translator around? 

Thanks in advance.
--
Yong Liu
yongliu@bnr.ca
**********************************************************************
I speak for myself, not for the Bell Northern Research.
**********************************************************************
Technical Details
Message-ID: <1994Jan19.004931.2532@bnrmtl.bnr.ca>
Path: arc1-ca.pugleaf.net!gmd.de!newsserver.jvnc.net!howland.reston.ans.net!pipex!bnr.co.uk!corpgate!bnrgate!scrumpy!yongliu
References: <Jan.18.15.27.51.1994.2912@remus.rutgers.edu>

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 11318c,b791bfb1a70a6bc7
X-Google-Attributes: gid11318c,public
X-Google-ArrivalTime: 1994-01-19 01:43:01 PST
Newsgroups: gnu.gcc.help
Path: arc1-ca.pugleaf.net!gmd.de!newsserver.jvnc.net!howland.reston.ans.net!pipex!bnr.co.uk!corpgate!bnrgate!scrumpy!yongliu
From: yongliu@NTPSERVER (Yong Liu)
Subject: Automatic translate C code to C++
Message-ID: <1994Jan19.004931.2532@bnrmtl.bnr.ca>
Sender: news@bnrmtl.bnr.ca (USENET NEWS KJ)
Organization: Bell-Northern Research Montreal, Canada.
X-Newsreader: TIN [version 1.1 PL8]
References: <Jan.18.15.27.51.1994.2912@remus.rutgers.edu>
Date: Wed, 19 Jan 94 00:49:31 GMT
Lines: 26