15,903,685 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 John Bob 2021 (Top 11 by date)
John Bob 2021
25-Sep-22 1:11am
View
yes, it should be done like that, but im a little bit confused on how to go about doing it, can you draw a short flow chat or pseudo code as example?
John Bob 2021
24-Sep-22 23:09pm
View
well the assignment question says, Read this data in your Java program by creating a Book class and storing it into a linked list and array list separately. Now do the following:
1. Using polymorphism technique with list data structure as the super class wherever applicable, create the following sorting algorithms:
a. Insertion Sort with a linked list and array list.
b. Exchange sort or Bubble sort with a linked list and array list
John Bob 2021
22-Sep-22 4:00am
View
thank you, the first issue has been resolved, however there's another issue that came up from inside the insertionSort "For loop" and another error is at the main class when calling the insertion sort function. Exception in thread "main" java.lang.ClassCastException: class books.BookList cannot be cast to class java.lang.String (books.BookList is in unnamed module of loader 'app'; java.lang.String is in module java.base of loader 'bootstrap')
John Bob 2021
21-Sep-22 22:51pm
View
Error says non static variable cannot be referenced from a static context, the error is at main function, the line where it's calling the insertion sort function
John Bob 2021
21-Sep-22 22:48pm
View
The question asked me to read a CSV file into a array list and then sort the file. The error occurs at the main function while calling the insertion sort function, it says non static variable cannot be referenced from a static context
John Bob 2021
21-Sep-22 22:44pm
View
The error says non static variable cannot be referenced from a static context
John Bob 2021
25-Nov-21 2:18am
View
Deleted
the actual results from printusers function gave me only half of the data and some have gone missing whereas the print contacts functions outputed nothing.
John Bob 2021
25-Nov-21 2:18am
View
the actual results from printusers function gave me only half of the data and some have gone missing whereas the print contacts functions outputed nothing.
John Bob 2021
25-Nov-21 2:15am
View
the program is supposed to read the users and contacts txt files into two seperate linked list and print the informations extracted from both files using the print functions
John Bob 2021
24-Nov-21 11:46am
View
one more thing, when i change the data type for id, age & phone to int, it gives me this message:[Error] no matching function for call to 'getline(std::ifstream&, int&)'
John Bob 2021
24-Nov-21 11:17am
View
okay got it.. thank you.. :)
Show More