ACC-100,Basic Accounting,3
ACC-101,Accounting Principles I,3
ACC-102,Accounting Principles II,3
ACC-111,Accounting Concepts,3
ACC-112,Organizational Accounting,3
ACC-124,Individual Tax Procedures,3
ACC-150,Payroll Accounting,3
ACC-201,Intermediate Accounting I,3
ACC-202,Intermediate Accounting II,3
ACC-203,Intermediate Accounting III,3
ACC-221,Corporate Taxation,3
ACC-226,Tax Audit and Research,3
ACC-240,Computerized Accounting,3
ACC-245,Accounting Applications,3
ACC-260,Auditing,3
ACC-265,Not-For-Profit Accounting,3
ACC-275,Selected Topics in Accounting,3
BUS-101,Introduction to Business,3
BUS-112,Service Management Systems,3
BUS-121,Business Law I,3
BUS-136,Compensation and Benefits,3
BUS-176,International Marketing,3
BUS-210,Intro to e-Commerce Business,3
BUS-220,Business Ethics,3
BUS-250,Intro to Int'l Business,3
CPT-101,Introduction to Computers,3
CPT-102,Basic Computer Concepts,3
CPT-114,Computers and Programming,3
CPT-167,Intro to Programming Logic,3
CPT-172,Microcomputer Database,3
CPT-174,Microcomputer Spreadsheets,3
CPT-179,Microcomputer Word Processing,3
CPT-187,Object-Oriented Logic & Design,3
CPT-209,Computer Systems Management,3
CPT-210,Computer Resource Management,3
CPT-220,e-Commerce,3
CPT-237,Advanced Java Programming,3
CPT-238,Internet Scripting,3
CPT-242,Database,3
CPT-244,Data Structures,3
CPT-262,Advanced Web Page Publishing,3
CPT-264,Systems and Procedures,3
CPT-268,Computer End-User Support,3
CPT-270,Advanced Microcomputer Apps,3
CPT-282,Information Systems Security,3
CPT-283,PHP Programming I,3
CPT-290,Multimedia Concepts & Apps,3
IST-161,Intro to Network Administration,3
IST-162,Introduction to Workstation Network,3
IST-163,Internet Server Netwk Config,3
IST-164,Implementing Windows Network,3
IST-165,Implementing Windows Directory,3
IST-166,Network Fundamentals,3
IST-190,LINUX Essentials,3
IST-191,LINUX System Administration,3
IST-192,LINUX Network Applications,3
IST-196,Cloud Storage Fundamentals,3
IST-198,Cloud Essentials,3
IST-201,Cisco Internetworking Concepts,3
IST-202,Cisco Router Configuration,3
IST-203,Advanced Cisco Router Config,3
IST-204,Cisco Troubleshooting,3
IST-205,Cisco Advanced Routing,3
IST-207,Cisco Multilayer Switching,3
IST-220,Data Communications,3
IST-239,Datum and JavaScript,3
IST-250,Network Management,3
IST-253,LAN Service and Support,3
IST-260,Network Design,3
IST-263,Windows Network Security,3
IST-268,Computer Forensics,3
IST-269,Digital Forensics,3
IST-272,Relational Database,3
IST-286,Technical Support Internship I,3
IST-287,Tech Support Internship II,3
IST-291,Fund of Network Security I,3
IST-293,IT and Data Assurance I,3
IST-294,IT and Data Assurance II,3
MAT-110,College Algebra I,3
MAT-120,Probability and Statistics,3
MGT-101,Principles of Management,3
MGT-110,Office Management,3
MGT-120,Small Business Management,3
MGT-121,Small Business Operations,3
MGT-201,Human Resource Management,3
MGT-210,Employee Selection & Retention,3
MGT-230,Managing Information Resources,3
MGT-235,Production Management,3
MGT-240,Management Decision Making,3
MGT-250,Situational Supervision,3
MGT-255,Organizational Behavior,3
MGT-270,Managerial Communication,3
LOG-125,Transportation and Logistics,4
LOG-215,Supply Chain Management,4
LOG-240,Purchasing Logistics,4
ECO-210,Macroeconomics,3
ECO-211,Microeconomics,3
BAF-101,Personal Finance,3
LOG-235,Traffic Management,4
edu.tridenttech.Biggs.Cpt.project1.Course@55f96302edu.tridenttech.Biggs.Cpt.project1.Course@3d4eac69 // etc Deleted because the long line makes the post difficult to read.
Computer Programming, true
Database, false
Accounting, true
Information Systems, true
Supply Chain Management, true
Network Administration, true
A+/Network+ Technician, false
Cody Biggs wrote:Thats why im confused. I was told that in the major class the addRequiredCourse method would take a course as an argument.
So addRequiredCourse(CPT172) or something along those lines. Then in the load major method they said I would use another for loop to walk through everything and call addRequiredCourse
Carey Brown wrote:Can you copy and paste several lines from your text file and post it?
All things are lawful, but not all things are profitable.
Knute Snortum wrote:
Carey Brown wrote:Can you copy and paste several lines from your text file and post it?
I believe the quoted text in the first post is the contents of the file.
Cody Biggs wrote:The text file looks: Computer programming, true, CPT 230, CPT 270...and so on. First index prints major, then prints whether it is a certificate degree or not, then required courses follows that. I have been thinking though...if I did add another for loop in my loadMajor method, but have it start at index 2 where the required courses would be. That way I can walk through the file with the for loop and add the courses to my addRequiredCourse method.
So like
That would follow my code where the first 2 indexes are added to the array list...on my phone
Cody Biggs wrote:SO this would be my new loadMajor..so I called addrequired major, and now I need to put in my requiredCourse array list. How would I do that? addrequiredCourse is just a method not a list or anything...so where did all those courses get stored when I called the addrequiredCourse method?
If you think about it, you just created a new Major object and assigned it to a reference "major". Now "major" has everything it needs except the required courses, so you'll need to add the required courses to that particular Major object referred to by "major".Cody Biggs wrote:thats where im confused. im use to reading from a file, and adding it into the list in all one big thing. Not adding part of the file in one place, and the rest in another.
The majCourse is a another major object I made...I wasnt sure if I used the same major object I did with the split would mess up the for loop in anyway.
Yes, exactly the same, use add().So for my addrequiredcourse method I obviously need to add it to my requirecourses array list, but how? Theres no other list to read in the array list...unless it would be similiar code to that of the for loop in the loadMjaors method
All things are lawful, but not all things are profitable.
Knute Snortum wrote:Let's try this: without using any programming terms, what is it you're trying to do? (So for instance, don't worry about if you have to use a loop or call a certain method.)
All things are lawful, but not all things are profitable.
All things are lawful, but not all things are profitable.
All things are lawful, but not all things are profitable.
All things are lawful, but not all things are profitable.
All things are lawful, but not all things are profitable.
Did you see how Paul cut 87% off of his electric heat bill with 82 watts of micro heaters? |