15,912,082 members
Sign in
Sign in
Email
Password
Forgot your password?
Sign in with
home
articles
Browse Topics
>
Latest Articles
Top Articles
Posting/Update Guidelines
Article Help Forum
Submit an article or tip
Import GitHub Project
Import your Blog
quick answers
Q&A
Ask a Question
View Unanswered Questions
View All Questions
View C# questions
View C++ questions
View Javascript questions
View Visual Basic questions
View Python questions
discussions
forums
CodeProject.AI Server
All Message Boards...
Application Lifecycle
>
Running a Business
Sales / Marketing
Collaboration / Beta Testing
Work Issues
Design and Architecture
Artificial Intelligence
ASP.NET
JavaScript
Internet of Things
C / C++ / MFC
>
ATL / WTL / STL
Managed C++/CLI
C#
Free Tools
Objective-C and Swift
Database
Hardware & Devices
>
System Admin
Hosting and Servers
Java
Linux Programming
Python
.NET (Core and Framework)
Android
iOS
Mobile
WPF
Visual Basic
Web Development
Site Bugs / Suggestions
Spam and Abuse Watch
features
features
Competitions
News
The Insider Newsletter
The Daily Build Newsletter
Newsletter archive
Surveys
CodeProject Stuff
community
lounge
Who's Who
Most Valuable Professionals
The Lounge
The CodeProject Blog
Where I Am: Member Photos
The Insider News
The Weird & The Wonderful
help
?
What is 'CodeProject'?
General FAQ
Ask a Question
Bugs and Suggestions
Article Help Forum
About Us
Search within:
Articles
Quick Answers
Messages
Comments by Amy Zhou (Top 8 by date)
Amy Zhou
17-Sep-20 4:20am
View
https://leetcode.com/problems/next-greater-node-in-linked-list/
This is the input and output required by this question.
Amy Zhou
17-Sep-20 4:18am
View
I know this, but how to match the title requirements is presented in "vector<int> nextLargerNodes(ListNode* head)" I don't understand...
Amy Zhou
17-Sep-20 4:16am
View
Like the example input and output of Leetcode's official website.
Example 1:
Input: [2,1,5]
Output: [5,5,0]
Example 2:
Input: [2,7,4,3,5]
Output: [7,0,5,5,0]
Amy Zhou
2-Sep-20 3:59am
View
I'm sorry, I would like to ask about the place to determine the change. Is it under my project workspace, and then in the task.json below, the place corresponding to "args" is changed to "-std=c++latest"?
Amy Zhou
1-Sep-20 23:12pm
View
Thank you very much. The current situation is that the print result problem has been solved. I can use the online compiler to execute it, but the Visual Studio 2019 for Mac I use has the following problems:
warning: generalized initializer lists are a C++11 extension [-Wc++11-extensions]
return {i,indies[left]};
error: non-aggregate type 'vector<int>' cannot be initialized with an initializer list
return {i,indies[left]};
warning: generalized initializer lists are a C++11 extension [-Wc++11-extensions]
return {};
error: non-aggregate type 'vector<int>' cannot be initialized with an initializer list
return {};
error: non-aggregate type 'vector<int>' cannot be initialized with an initializer list
vector<int> number = {2, 7, 11, 15};
I had read many related solutions, such as changing to "-std=c++11" and so on, but there is still no way to solve the error. Could you please teach me how to solve it...
Amy Zhou
1-Sep-20 23:12pm
View
Thank you very much. The current situation is that the print result problem has been solved. I can use the online compiler to execute it, but the Visual Studio 2019 for Mac I use has the following problems:
warning: generalized initializer lists are a C++11 extension [-Wc++11-extensions]
return {i,indies[left]};
error: non-aggregate type 'vector<int>' cannot be initialized with an initializer list
return {i,indies[left]};
warning: generalized initializer lists are a C++11 extension [-Wc++11-extensions]
return {};
error: non-aggregate type 'vector<int>' cannot be initialized with an initializer list
return {};
error: non-aggregate type 'vector<int>' cannot be initialized with an initializer list
vector<int> number = {2, 7, 11, 15};
I had read many related solutions, such as changing to "-std=c++11" and so on, but there is still no way to solve the error. Could you please teach me how to solve it...
Amy Zhou
31-Aug-20 6:49am
View
1. My question is to send the string that I want back to class.
2. String reversal.
The problem has been resolved, thank you very much for your answer!
Amy Zhou
31-Aug-20 6:16am
View
I got it, thanks for your help!
Show More