🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.os.ms-windows.programmer.win32
Article #2110

Re: .cc files in MS VC++

#2110
From: Andrew Dalgleish
Date: Mon, 26 Feb 1996 09:18
28 lines
1396 bytes
Steve Howard wrote:
> 
> I am trying to include some files generated by a tool into a
> Visual C++ 4.0 project. The tool generates C++ files with the
> .cc extension, which VC++ doesn't recognize as a C++ file. I
> know I could set up custom builds, but they seem to work only on
> a file by file basis.... is there any other way to make VC++
> recognize .cc as C++ files?

I know this is an ugly hack but...
for each foo.cc, create a foo.cpp which contains 
#include "foo.cc"

At least VC4 lets you open included files with a right-click, a feature 
Quick-C had way back when (F2 I think), then it "sort of fell off" for a 
while.

-- 
Andrew Dalgleish
Senior Software Engineer
Axon Research, Pty Ltd
6 Wallace Ave
Toorak, VIC
3142
AUSTRALIA
Tel:	+61-3-9826-5538
Fax:	+61-3-9824-0083
Email:	andrewd@axonet.com.au
Technical Details
Message-ID: <31317AD4.6C9D@axonet.com.au>
Path: arc1-ca.pugleaf.net!yarrina.connect.com.au!usenet
References: <312DCB27.1A65@mtm.syr.ge.com>

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!yarrina.connect.com.au!usenet
From: Andrew Dalgleish <andrewd@axonet.com.au>
Newsgroups: comp.os.ms-windows.programmer.win32,comp.lang.c++
Subject: Re: .cc files in MS VC++
Date: Mon, 26 Feb 1996 19:18:12 +1000
Organization: Axon Research, Pty Ltd
Message-ID: <31317AD4.6C9D@axonet.com.au>
References: <312DCB27.1A65@mtm.syr.ge.com>
NNTP-Posting-Host: 203.63.6.118
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
X-Mailer: Mozilla 2.0 (Win95; I)
To: Steve Howard <howard@mtm.syr.ge.com>