So I was just messing around to day as I usually do, when my console started looking a bit... strange.
For some reason my cout in this code:
Shortened it up, Frex's answer worked.
I have attached a example of what the error looks like below. You can see what I mean hopefully. The strings that its showing at random are in my main class, and they are never even called, so thats why I'm thinking it may be memory related.
I really look forward to some guidance on this issue. ....I'm lost.
EDIT
Also, it will print "Printing the DevHud Data" Every time it goes through the loop. That was intentionally done so I could keep track and see how much was being printed out per loop.
EDIT
Also those strings its showing are declared here:
void Genesis::ValidateFlags()
{
if((Genesis::WindowX > 0 && Genesis::WindowY <= 0) || (Genesis::WindowY > 0 && Genesis::WindowX <= 0)) //Checks to make sure both X and Y are correct.
{
ConsoleLog.error("\"-X\" and \"-Y\" must be used at the same time, have a value greater than 0, and be proper integers!");
ConsoleLog.error("\"-X\" and \"-Y\" will be ignored.");
if(Windowed)
{
ConsoleLog.error("\"-WM\" Was dected but due to argument errors will be disabled.");
Windowed = false;
}
}
if((Genesis::WindowX>0)&&(Genesis::WindowY>0)&&(Genesis::Windowed==false)) //Makes sure that windowed mode is enabled when X and Y are correct.
{
ConsoleLog.error("\"-X\" and \"-Y\" were declared but windowed mode was never set! Did you forget a \"-WM\" ?");
ConsoleLog.error("\"-X\" and \"-Y\" will be ignored.");
}
if((Genesis::WindowX<=0)&&(Genesis::WindowY<=0)&&(Genesis::Windowed==true)) //Make sure that -WM is not missing a X/Y variable!
{
ConsoleLog.error("Windowed mode was declared but X and Y are invalid or missing!");
ConsoleLog.error("-WM will be ignored.");
Genesis::Windowed=false;
}
}
[/spoiler]
But it can pretty much show anything I think, but it usually shows that stuff.
[attachment deleted by admin]