Skip to content

Conversation

@Chau-Nguyen-Developer
Copy link
Owner

Figured out why cannot print out vector 4. Forgot to use the push_back function to put new data into the new vectors. Fixed it.

…red out cannot move forward. Fixed the bugs.

for(size_t i = 1; i < vector3.size(); ++i)
{
std::cout << (vector3[i] - vector3[i-1]) / (vector1[i+1] - vector1[i-1]) << std::endl;
Copy link
Owner Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Will try to create a private function to make the code cleaner and less repetitive. Good job, though.

Copy link
Owner Author

@Chau-Nguyen-Developer Chau-Nguyen-Developer left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

On the right track. 👍

@Chau-Nguyen-Developer Chau-Nguyen-Developer merged commit a548c23 into main Apr 27, 2025
@Chau-Nguyen-Developer Chau-Nguyen-Developer deleted the readFile branch April 27, 2025 06:05
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants