🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: comp.os.ms-windows.programmer.win32
2 messages
2 total messages Started by Steve Howard Fri, 23 Feb 1996 14:11
.cc files in MS VC++
#2109
Author: Steve Howard
Date: Fri, 23 Feb 1996 14:11
13 lines
1053 bytes
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?

Thanks in advance.....
Steve  
-- 
E. Steve Howard                | Lockheed Martin
                               | Ocean, Radar, & Sensor Systems        
mailto:howard@mtm.syr.ge.com   | Syracuse, NY
Re: .cc files in MS VC++
#2110
Author: 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
Thread Navigation

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads