Homework Statement
This is from an online answer, and I don't understand the steps that it took. How did they go from the first red box to the second red box?
Homework Equations
L'Hopital's rule
Laws of exponents
The Attempt at a Solution
I am really really confused. It...
Homework Statement
Use fundamental identities to simplify the expression:
(sinx)^2 - (cosx)^2
____________________
(sinx)^2 - (sinx cosx)*note: it's a numerator and denominator. The underscore line is the fraction line.
*note: The answer in the back of the book is "1 + cotx" but I would...
Thanks for your post. Could you elaborate what you mean here, maybe with an example? I don't think I quite understand. Thanks!
edit:
So, here's what I'm thinking so far. Maybe the preprocessor makes main.cpp look like this:
#include <iostream> //Except this would be expanded a whole lot...
Thanks so much for telling me about the One Definition Rule. I hadn't heard of it before, and I tried reading that article but it was hard to understand. From what I can understand from that article, it looks like I was doing things right by putting
"ifndef NAME
def NAME
endif"
How is...
Homework Statement
I can't understand what's causing this bug.
I'm not trying to actually use this program, but it's just something I made up to learn how it works, and understand why things don't work, while I'm learning C++. So my question is, what's causing this program to get this error...