15,908,843 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 Member 12371341 (Top 8 by date)
Member 12371341
24-Apr-16 8:05am
View
Look my code was correct, i just wrote it wrong on the post
If you check my question again, that wasn't even the problem i had.
I didn't know how to get an object from an iterator...
My bad is that i typed the vector.size()-1, but i had it correct in my code.
I rejected the advice because it wasn't solving my problem.
Member 12371341
24-Apr-16 3:50am
View
Deleted
Thanks, this notation worked!
Member 12371341
24-Apr-16 3:42am
View
So i checked my code infact i had a regular for without -1 at the size, so thing worked.
"Learn C++ better before saying incorrect things"
I am a novice programmer and i agree i have a lot to learn, but why pointing it out.
Obviously i'm trying to learn by posting a question,
What's the point of being offensive?
Member 12371341
28-Mar-16 7:27am
View
Isn't my solution also a valid and balanced binary tree?
Given the definition : A tree is balanced if the distance from root to each node is equal or not greater then 1.
I think both of them look balanced.
I know we should try to balance them whenever we can since It allows faster times
at various operations on the tree.
Member 12371341
28-Mar-16 7:03am
View
I'm glad i's fine, regarding the reordering..
No bounds were written.
Guess I better do them the way they were given, but my solution at least from my point of view seemed a little bit more natural.
Thanks once again!
Member 12371341
6-Mar-16 8:13am
View
Nope it's not a wrong name you can call it circular buffer, ring buffer, circular queue, you can google the "circular queue" and you'll get exactly what i'm referring to.
Member 12371341
5-Mar-16 10:45am
View
Apsolutely, i have no problem anyone checking the topic and if it's even a bit useful to someone else, that's great after all such discussion are probably meant for people to share their knowledge.
Code can be written in many different ways!
Member 12371341
5-Mar-16 8:41am
View
In that case we are definitely talking about the "ring buffer" the one with the head and tail.
Thanks for the post
Show More