"Mike" <comixnewb@yahoo.com> wrote in message
news:3e700945.0309181708.41d417ac@posting.google.c om...[color=blue]
> Hi, I am new to C++ programming (pg. 154) and I had a question that my
> book has not answered yet ( C++ for dummies).[/color]
Don't allow anyone to call you a 'dummy'. Get
a real textbook. See
www.accu.org for peer reviews.
[color=blue]
> I was wondering how you
> get a program to run "in the background".[/color]
C++ has no concept of 'background', 'multitasking'
'threading' or any other such necessarily platform
specific features.
C++ was intentionally designed to be platform independent,
so does not address things which might exist on some
platforms, and not on others.
What you're asking can indeed be done with platform
specific extensions and/or specialty libraries, if
your target platform supports such things.
Consult a newsgroup which discusses these issues.
But note that when you do these things, you've
departed from the 'official' standard C++ language.
This isn't necessarily a 'bad thing', but moves
things outside the topic here (ISO standard C++).
[color=blue]
>To be perfectly clear about
> what I am asking, I do *not* want it to run "invisibley" or
> "stealthily" I just don't want a window poping up[/color]
C++ knows nothing of 'windows'.
[color=blue]
>every time I run the
> program. I'm sorry if this dosen't make much sense but its the best
> way I can put it.[/color]
Sounds like you want a 'window' (in Microsoft Windows?)
to be 'hidden' (or perhaps not even created) while its
associated program is running.
See
www.msdn.microsoft.com
and/or
visit a Windows programming group such as
microsoft.public.win32.programmer.ui or similar.
-Mike