Click here to Skip to main content
14,660,349 members

Welcome to the Lounge

   

For discussing anything related to a software developer's life but is not for programming questions. Got a programming question?

The Lounge is rated Safe For Work. If you're about to post something inappropriate for a shared office environment, then don't post it. No ads, no abuse, and no programming questions. Trolling, (political, climate, religious or whatever) will result in your account being removed.
 
GeneralRe: Why VS2017 does not suck today either Pin
Mark_Wallace6-Feb-19 21:10
MemberMark_Wallace6-Feb-19 21:10 
GeneralRe: Why VS2017 does not suck today either Pin
Kevin McFarlane6-Feb-19 22:39
MemberKevin McFarlane6-Feb-19 22:39 
GeneralMarbleLympics Pin
Jacquers6-Feb-19 0:12
MemberJacquers6-Feb-19 0:12 
General:doh: Pin
Nelek5-Feb-19 23:46
protectorNelek5-Feb-19 23:46 
GeneralRe: VS2017... :doh: Pin
RickZeeland6-Feb-19 0:39
mveRickZeeland6-Feb-19 0:39 
GeneralRe: VS2017... :doh: Pin
Nelek6-Feb-19 1:15
protectorNelek6-Feb-19 1:15 
GeneralRe: VS2017... :doh: Pin
CPallini6-Feb-19 0:40
mveCPallini6-Feb-19 0:40 
GeneralRe: VS2017... :doh: Pin
Richard MacCutchan6-Feb-19 1:27
mveRichard MacCutchan6-Feb-19 1:27 
This is nothing to do with Visual Studio, it is purely down to the way the compiler reads the sources, possibly because you are effectively including foo.h twice in coo.cpp. Try adding the following line to all your header files:
#pragma once

GeneralRe: VS2017... :doh: Pin
Nelek6-Feb-19 1:44
protectorNelek6-Feb-19 1:44 
GeneralRe: VS2017... :doh: Pin
Richard MacCutchan6-Feb-19 2:11
mveRichard MacCutchan6-Feb-19 2:11 
GeneralRe: VS2017... :doh: Pin
Nelek6-Feb-19 2:46
protectorNelek6-Feb-19 2:46 
GeneralRe: VS2017... :doh: Pin
megaadam6-Feb-19 2:22
professionalmegaadam6-Feb-19 2:22 
GeneralRe: VS2017... :doh: Pin
Nelek6-Feb-19 2:40
protectorNelek6-Feb-19 2:40 
GeneralRe: VS2017... :doh: Pin
Nelek6-Feb-19 2:50
protectorNelek6-Feb-19 2:50 
GeneralRe: VS2017... :doh: Pin
megaadam6-Feb-19 3:00
professionalmegaadam6-Feb-19 3:00 
GeneralRe: VS2017... :doh: Pin
Rick York6-Feb-19 4:36
mveRick York6-Feb-19 4:36 
GeneralRe: VS2017... :doh: Pin
Nelek6-Feb-19 10:24
protectorNelek6-Feb-19 10:24 
GeneralRe: VS2017... :doh: Pin
Nelek6-Feb-19 10:27
protectorNelek6-Feb-19 10:27 
GeneralRe: :doh: Pin
CPallini6-Feb-19 3:20
mveCPallini6-Feb-19 3:20 
GeneralRe: :doh: Pin
Nelek6-Feb-19 10:29
protectorNelek6-Feb-19 10:29 
GeneralRe: :doh: Pin
Kornfeld Eliyahu Peter6-Feb-19 4:02
mveKornfeld Eliyahu Peter6-Feb-19 4:02 
GeneralRe: :doh: Pin
Nelek6-Feb-19 10:33
protectorNelek6-Feb-19 10:33 
GeneralI was sent this, and... PinPopular
OriginalGriff5-Feb-19 22:26
mveOriginalGriff5-Feb-19 22:26 
GeneralRe: I was sent this, and... Pin
megaadam5-Feb-19 22:31
professionalmegaadam5-Feb-19 22:31 
GeneralRe: I was sent this, and... Pin
digimanus5-Feb-19 22:33
Memberdigimanus5-Feb-19 22:33 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.