POV-Ray : Newsgroups : povray.off-topic : My first C++ program : Re: My first C++ program Server Time
1 Oct 2024 00:05:47 EDT (-0400)
  Re: My first C++ program  
From: Slime
Date: 20 Sep 2008 00:59:53
Message: <48d48349$1@news.povray.org>
> int foo(vector<int>& stack)
> {
>   int x = stack.back();
>   stack.pop_back();
> }
>
> For reasons I can't begin to understand,
>
> 1. This doesn't produce any compile-time error.

What compiler are you using?

If it's possible for you to acquire a copy of Visual Studio (even an oldish 
one), I strongly recommend it.

 - Slime
 [ http://www.slimeland.com/ ]


Post a reply to this message

Copyright 2003-2023 Persistence of Vision Raytracer Pty. Ltd.