Computer Programming - Seneca Polytechnic College

CPS

Computer Programming - Seneca Polytechnic College

Welcome to Seneca Polytech's Programming Community! 🚀 Whether you're into CPA or CPP, all programs are welcome!

Join

Can Seneca CPA be taken completely online?

I'm applying for the 2023 September semester and I was wondering if the program can be taken completely online to save travel time (1 hour both way).

Professor Recommendations for Semester 3?

Hello! Since early enrolment is next week I would like to know which profs are good to take. I took Fardad as well as Humphrey in Sem 2 so I would take them again in Sem 3 if they teach. Is there any other professor I should look out for?

How do you call the overloaded index operator from a derived class?

I have a based class text with an overloaded index operator my dervied class HtmlText does not have an overloaded index operator. How do i call the operator from my derived class? I tried using this[i] but it doesn't work

Why is my program saying I don't have an overloaded operator but I implemented one.

my program is saying that theres no << operator that matches. But I implemented two << helper functions for two classes (one inherits the other).

I don't know why my program is saying I inputed the value 1 when I didn't

i have a program that takes in user inputs and whenever i select option 3, its supposed to open a sub menu but instead this shows up saying i entered in the number 1. I'm not sure why. I also used cin.ignore to clear my input buffer so im not sure why im still running into this problem.

Why is my program jumping into the copy constructor and wiping out my data?

I found a bug where when a function called Displaylist(N) is called it wipes goes into the copy constructor and wipes out my data. How would i change my copy constructor to not do that?

Is this the proper way to count the number of newlines in a file?

I feel like there is a better way to read the newline and count it instead of using .get(), but im not sure

What does it mean by sets the Object to not be original?

in this function what does it mean by setting the object to not be original? like do i set it to an empty set or somethiing?

Why does ensuring a minimum bit-size matter?

I was reading through the notes and I'm learning about the different data-types and their size specifiers. I understand that these specifiers, as the notes say, just ensure that the type you're specifying (short/long) contains a minimum # of bits. I just don't understand why having a certain # of bits matters. Does It not have the same storage capability and type? What does doing this provide?...

What happens if you fail a professional course?

I was checking the website and it says that we'll be withdrawn from the program if we fail a "required" course three times, but what if it's a professional? Also, does the "three" implies to failing a single course three times, or is it a combination of failures from different courses?

Propositions and truth tables`

Hi, Im doing an assignment and I really dont know if i am doing it right, please help!

Need help with hw

Please help with this questions: Write a program to initialize a string (large string e.g. 500 characters), compute the frequency of each English letter and draw the bar chart of it. Ignore any special or numeric characters....

Should I be using the results variable any where in my code?

for web222 im getting an Eslint warning saying that results is declared but not used in my code. Am I supposed to use results anywhere? I thought this was just used to check if the data.js file is in the same directory as my solutions file. My code works fine no errors but i just get this styling warning

question about operator bool() const

when checking if an object has valid data do we need to check every private member of the class or only one? For example: ```class Student { int no; float grade[NG];...

Broadcast Domain Testing

Hello, So I am having an issue with a broadcast domain. I have the gre tap tunnel set up but the additional entries from the other side do not show up on the ARP table. I cannot use ping or ping variations due to ICMP not being allowed through the firewall. I need to be able to actively prove that it exists. If anyone has any ideas on how to dynamically add the neighbors to the ARP table (can't be static) or something else that I missed that would be great ...

can anyone explain to me why this is wrong?

i tried cin >> passName however that gave me error as well

function return..

im not sure what to return for this function? TourBus& TourBus::startTheTour() const { if (busSizeNumber != 4)...

Why does my program say my class doesn't have a member function?

I declared everything in the header file and defined it in the cpp file. Not sure why the main program file is saying this member does not exists...

Why is my cout formating not working?

for some reason my cout is not filling with periods . but the three underscores still show up. Not sure why the program is skipping fill.