weird error squiggle #6857
deepanshumishra
started this conversation in
General
Replies: 2 comments 3 replies
-
I don't repro the issue. What compilerPath and cppStandard are you using? What version of the C/C++ extension are you using? |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Today I configured vs code to compile and run C++,
I was working with vectors in my code:
`#include <bits/stdc++.h>
using namespace std;
int main()
{
}`
and I don't know why but
error squiggle came up just below
{
before 10 in vector declaration line, and when I hover over that it shows:no instance of constructor "std::vector<_Tp, _Alloc>::vector [with _Tp=int, _Alloc=std::allocator<int>]" matches the argument list -- argument types are: (int, int, int)
but my code ran successfully.
but after disabling C/C++ extension red line(error squiggle) goes away, and everything is fine.
is that the issue with extension?
I've attached the screenshot.
Beta Was this translation helpful? Give feedback.
All reactions