[an error occurred while processing this directive] [an error occurred while processing this directive][an error occurred while processing this directive] [an error occurred while processing this directive] [an error occurred while processing this directive] [an error occurred while processing this directive] (none) [an error occurred while processing this directive] [an error occurred while processing this directive] [an error occurred while processing this directive] [an error occurred while processing this directive] [an error occurred while processing this directive][an error occurred while processing this directive] [an error occurred while processing this directive][an error occurred while processing this directive] [an error occurred while processing this directive][an error occurred while processing this directive] [an error occurred while processing this directive] [an error occurred while processing this directive] [an error occurred while processing this directive] (none) [an error occurred while processing this directive] [an error occurred while processing this directive] [an error occurred while processing this directive][an error occurred while processing this directive]
 
[an error occurred while processing this directive] [an error occurred while processing this directive]
Skåne Sjælland Linux User Group - http://www.sslug.dk Home   Subscribe   Mail Archive   Forum   Calendar   Search
MhonArc Date: [Date Prev] [Date Index] [Date Next]   Thread: [Date Prev] [Thread Index] [Date Next]   MhonArc
 

Re: [PROGRAMMERING] kdevelop3nybegynderspørgsmål. [SOLVED]



Hej

On Sun, 2004-10-17 at 12:02, Michael Berhard Sørensen wrote:
> >Har du husket 'using namespace std;'?
> >  
> >
> Jeg satte den linie ind i starten af de cpp-filer jeg har i projektet, 
> og så virker det.
> 
> Men hvorfor virker det? Jeg spurgte min lærer på skolen tidligere på 
> ugen og han gav ikke noget brugbar svar.

cin og cout er defineret i namespace std. Du kan enten vælge at tilgå
dem som std::cin og std::cout eller erklære at du bruger namespace std
og tilgå dem som cin og cout.

Mvh
Brix
-- 
Henrik Brix Andersen <sslug@sslug>
Gentoo Linux


 
Home   Subscribe   Mail Archive   Index   Calendar   Search

 
 
Questions about the web-pages to <www_admin>. Last modified 2005-08-10, 22:44 CEST [an error occurred while processing this directive]
This page is maintained by [an error occurred while processing this directive]MHonArc [an error occurred while processing this directive] # [an error occurred while processing this directive] *