# Please help, some basic problems of C++

**URL:** <https://forum.juce.com/t/please-help-some-basic-problems-of-c/51620>\
**Category:** General JUCE discussion\
**Created:** [May 27, 2022, 10:21am UTC](https://forum.juce.com/t/please-help-some-basic-problems-of-c/51620 "2022-05-27T10:21:46Z")\
**Posts on this page:** 1\
**Showing post:** 5

<div class="post-metadata">

**Author:** ![StoneyDSP](https://sea2.discourse-cdn.com/flex026/user_avatar/forum.juce.com/stoneydsp/32/13488_2.png) [@StoneyDSP](https://forum.juce.com/u/StoneyDSP)\
**Post date:** [May 27, 2022, 2:42pm UTC](https://forum.juce.com/t/please-help-some-basic-problems-of-c/51620/5 "2022-05-27T14:42:33Z")

</div>

I’d also like to offer my thanks to @daniel and @asimilon for clearing this forward declaration thing up. I´d been trying to implement daniel’s suggested “templated engine class” from here:

[processBlock with float vs double? - Audio Plugins - JUCE](https://forum.juce.com/t/processblock-with-float-vs-double/43595)

But this:

> [@asimilon](#):
>
> If MainComponent.h includes Child.h, and Child.h tries to include MainComponent.h, this causes a circular include and the compiler will bork due to essentially an infinite loop.

I just _knew_ it was the includes, but somehow couldn’t quite find the right combo - so thank you again guys for the extra clarity! 🙂

---

_[View the full topic](https://forum.juce.com/t/please-help-some-basic-problems-of-c/51620)._
