You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In C++ code, even with "using namespace std", code still sometimes shows "cout is ambiguous" error message. When clicking to run code it runs fine. Also if window is reopened error message disappears.
EDIT: For some reason Github is not properly displaying pasted code. And thus it is missing the iostream header. Make sure to include that when copying/pasting the code.
VS Code version: Code - Insiders 1.80.0-insider (636dbcf, 2023-06-21T08:21:53.800Z)
OS version: Darwin arm64 21.6.0
Modes:
@vitorfff This was from the cpptools extension -- it's fixed with the latest 1.16.3 release.
@roblourens This was an important regression caused by the 1.16.0/1.16.1 (pre-release) of our cpptools extension. If any C++ issues from users with the cpptools extension installed could be moved to https://github.com/Microsoft/vscode-cpptools/issues that would be great.
Type: Bug
Error from Closed Issue #184167 still persists.
In C++ code, even with "using namespace std", code still sometimes shows "cout is ambiguous" error message. When clicking to run code it runs fine. Also if window is reopened error message disappears.
Code:
`#include
using namespace std;
int main()
{
cout << "test string" << endl;
cout << "another string";
}`
EDIT: For some reason Github is not properly displaying pasted code. And thus it is missing the iostream header. Make sure to include that when copying/pasting the code.
VS Code version: Code - Insiders 1.80.0-insider (636dbcf, 2023-06-21T08:21:53.800Z)
OS version: Darwin arm64 21.6.0
Modes:
System Info
canvas_oop_rasterization: disabled_off
direct_rendering_display_compositor: disabled_off_ok
gpu_compositing: enabled
metal: disabled_off
multiple_raster_threads: enabled_on
opengl: enabled_on
rasterization: enabled
raw_draw: disabled_off_ok
video_decode: enabled
video_encode: enabled
vulkan: disabled_off
webgl: enabled
webgl2: enabled
webgpu: enabled
Extensions (4)
A/B Experiments
The text was updated successfully, but these errors were encountered: