473,382 Members | 1,745 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,382 software developers and data experts.

Magic in C++

would any one tell me that how can i hide the output window while
program is executing. I want to make a security program, that i want,
it should run at taskbar, & not visible to anyone. Is there any command
for that.

The output window not contains any message, only blank screen.

Please tell.

Oct 18 '05 #1
11 2186

"ashu" <as*********@gmail.com> wrote in message
news:11**********************@f14g2000cwb.googlegr oups.com...
would any one tell me that how can i hide the output window while
program is executing.
C++ has no notion of 'output window' or 'window' at all.
The nearest equivalent is its 'standard output stream'
(a 'stream of characters'), which a C++ implementor is
free to associate with any apppropriate device for the
host platform -- or not.

Thus your query is not about C++.
I want to make a security program, that i want,
it should run at taskbar, & not visible to anyone. Is there any command
for that.


Your mention of 'taskbar' makes me suspect you're wanting
to do this with Microsoft Windows. Try a Windows newsgroup
such as comp.os.ms-windows.programmer.win32

Purpose of comp.lang.c++ :

http://www.slack.net/~shiva/welcome.txt

-Mike
Oct 18 '05 #2
ashu wrote:
would any one tell me that how can i hide the output window while
program is executing. [...]


That's impossible in C++. C++ does not have "windows". Please ask
in a newsgroup for your operating system.

V
Oct 18 '05 #3
Mike Wahler & Victor Bazarov, you are getting me wrong. I am saying
output window, not window, or I can say dialog box. When we execute a
C++ program, then dos screen comes, the window or dialog box i am
saying is MSDOS - Prompt not in full screen, but in windows desktop.

Please reply, and give a possible solution.

Oct 18 '05 #4
"ashu" <as*********@gmail.com> wrote in message
news:11*********************@g44g2000cwa.googlegro ups.com...
Mike Wahler & Victor Bazarov, you are getting me wrong. I am saying
output window, not window,
There is no output window in C++ either.
or I can say dialog box.
Sorry, no dialog box in C++... :(
When we execute a
C++ program,
Executing your program is the responsibility of its environment.
then dos screen comes, the window or dialog box i am
saying is MSDOS - Prompt not in full screen, but in windows desktop.

Please reply, and give a possible solution.


C++ (and C) define input and output streams. Where those streams are linked
to are determined by the environment and the way you use it. So, the problem
has nothing to do with the C++ language.

You could make API calls that would affect other items in the environment;
but again, C++ has nothing to do with it. You should really ask at a Windows
newsgroup.

Ali

Oct 18 '05 #5
"ashu" <as*********@gmail.com> writes:
Mike Wahler & Victor Bazarov, you are getting me wrong. I am saying
output window, not window, or I can say dialog box. When we execute a
C++ program, then dos screen comes, the window or dialog box i am
saying is MSDOS - Prompt not in full screen, but in windows desktop.


It's not entirely clear to me what you're going on about, but your
mention of "dos", "MSDOS" (and your earlier mention of "taskbar") make
me wonder you're posting to the right newsgroup. When we execute a
C++ program, we DON'T get a dos screen. Your subject line was unhelpful
too. Is Magic a DOS program?


Oct 18 '05 #6
ashu wrote:
Mike Wahler & Victor Bazarov, you are getting me wrong.
No, we are not.
I am saying
output window, not window, or I can say dialog box. When we execute a
C++ program, then dos screen comes, the window or dialog box i am
saying is MSDOS - Prompt not in full screen, but in windows desktop.

Please reply, and give a possible solution.


The only possible solution for you right now is to post to the right
newsgroup. C++ has no windows. No "dos screen", no "dialog box", no
"output window", no any other "window". All those things are features
of your operating system. Read Mike's reply _carefully_ and follow
the link in it. Read all those materials _carefully_. Do not come
back before finishing all of them. Many questions will be answered
there.

V
Oct 18 '05 #7
"ashu" <as*********@gmail.com> wrote in message
news:11*********************@g44g2000cwa.googlegro ups.com...
Mike Wahler & Victor Bazarov, you are getting me wrong.
Not at all.
I am saying
output window, not window,
And I'll say again: C++ has *no* notion of
'output window'. It has 'standard output',
which is nothing more than a 'stream of characters'.
The destination device where these characters might
appear is specific to a C++ implementation. The
language has *nothing* to say about it.
or I can say dialog box.
Nor 'dialog box'. That's a 'GUI' (graphical
user interface) issue. C++ has absolutely
no facilities for such (Although there exist
a plethora of third-party libraries which allow
one to incorporate GUI into a C++ program --
but those are not topical here).
When we execute a
C++ program, then dos screen comes,
That's one of a virtually unlimited number of possibilites,
it depends upon the implementation. A perfectly valid
impelemntation could cause 'standard output' to be simply
e.g. an LED, or some blinking lights, or nothing at all.
the window or dialog box i am
saying is MSDOS -
MSDOS is not topical here. Only the C++ *language*,
which is independent of any particular platform or
operating system. As an aside, note that MSDOS does
not have 'dialog boxes' or any graphical components.
Prompt not in full screen, but in windows desktop.
Windows is an operating system. Not topical here.

Please reply, and give a possible solution.


I did. Did you not read it or understand it?

I gave you very good advice: Ask about Windows issues
in a Windows newsgroup. Had you done this instead
of denying the truth, you'd very likely already have your
answer. (I do read the Windows newsgroup I cited, and know
for a fact that there are many very knowledgable people
there who give very good assistance -- there is indeed
a way to do what you ask, and they'll tell or show you
how -- all you need do is ask. Ask *there*, not *here*.

I also gave the link to the description of what comp.lang.c++
is all about. Had you read it, you'd know that your question
is not topical here, and why.

-Mike
Oct 18 '05 #8
Sorry to all, for my rude behaviour. Yes, i've gone through what mike,
Victor & tim has said. & want to thank you for correcting me.

But please do one thing for me. If you have Turbo C++ compiler &
windows 98/XP, then follow the steps below.
1. Open any C++ program.
2. Execute it, pressing ctrl+F9
3. During execution, please press Alt+Enter.

Now, what you say to this window, dialog box or whatever be it.

Please reply.

Oct 18 '05 #9
ashu wrote:
Sorry to all, for my rude behaviour. Yes, i've gone through what mike,
Victor & tim has said. & want to thank you for correcting me.

But please do one thing for me. If you have Turbo C++ compiler &
windows 98/XP, then follow the steps below.
Please ask in 'borland.public.*' newsgroup. They are much more likely
to have Turbo C++ compiler and be on Windows. If you have a C++ language
question, ask it. If you don't, please find another place to entertain
yourself.
[...]

Oct 18 '05 #10

"ashu" <as*********@gmail.com> wrote in message
news:11**********************@z14g2000cwz.googlegr oups.com...
Sorry to all, for my rude behaviour.
Apology accepted.
Yes, i've gone through what mike,
Victor & tim has said. & want to thank you for correcting me.
You're welcome.

But please do one thing for me. If you have Turbo C++ compiler
I don't, but that doesn't matter.
&
windows 98/XP,
I do, but that doesn't matter.
then follow the steps below.
1. Open any C++ program.
2. Execute it, pressing ctrl+F9
3. During execution, please press Alt+Enter.

Now, what you say to this window, dialog box or whatever be it.


I say that a 'window' or 'dialog box' of any sort is not part of
C++, thus not topical here. I need not create or
see one to know this.

None of your suggested actions are C++ language issues.
They have to do with Windows and the (btw very obsolete)
Turbo C++ compiler, which are not topical for comp.lang.c++

Did you ever take my advice and ask your original question
in a Windows group? I assure you that if you had, you'd have your
answer by now.

-Mike
Oct 18 '05 #11
"ashu" <as*********@gmail.com> wrote in message
news:11**********************@z14g2000cwz.googlegr oups.com...
Sorry to all, for my rude behaviour. Yes, i've gone through what mike,
Victor & tim has said. & want to thank you for correcting me.

But please do one thing for me. If you have Turbo C++ compiler &
windows 98/XP, then follow the steps below.
1. Open any C++ program.
2. Execute it, pressing ctrl+F9
3. During execution, please press Alt+Enter.

Now, what you say to this window, dialog box or whatever be it.

Please reply.


ashu, please understand, operating specific questions are not answered in
the comp.lang.c++ newsgroup, only c++ language questions.

Output screens (dos boxes, windows, etc...) are ALL OS specific, each OS
does it a different way.

So, either ask in a newsgroup relating to the operating system (windows) or
your compiler (borland turbo c++) and you'll get an answer.

Thanks.
Oct 19 '05 #12

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

4
by: Dave Moore | last post by:
Hi All, Can anybody point me to a FAQ or similar that describes what all this stuff is about please?. I'm interfacing with a MySQL database if that's relavent. I've read a couple of books which...
0
by: Nilsson Mats | last post by:
Hi! I have an intresting problem for our programming community on Solaris. I want to develop an environment where: 1) The developers shouldn't need to bother about which Perl version to use....
19
by: youpak2000 | last post by:
Are MAGIC numbers always bad? Using magic numbers (constant numbers) in programs are generally considered a bad programming practice, and it's recommended that to define constants in single,...
51
by: Kuku | last post by:
What is the difference between a reference and a pointer?
0
by: KronicDeth | last post by:
I have a package of python modules deployed on an NFS mount on my network that I use for sysadmin tools. Since some of the machines use different versions of python I've only put the .py files in...
16
by: per9000 | last post by:
Hi, I recently started working a lot more in python than I have done in the past. And I discovered something that totally removed the pretty pink clouds of beautifulness that had surrounded my...
2
by: jyck91 | last post by:
i have done the magic square: #include <stdio.h> #include <stdlib.h> #include <string.h> #define SIZE 13 main() { FILE *fp; int i, j, n, row, column;
1
by: manju01 | last post by:
in the below program we can generate magic square of size 3-160 but i want to print the output like for magic size n ************************ * * * * * * 5 * 8 * 7 *...
6
by: tinman77 | last post by:
Hello, I'm having a terrible time using the functions finfo_open and finfo_file. I'm using PHP 5 on IIS 5.1 and Windows XP. I have enabled php_mime_magic.dll and php_fileinfo.dll and also added...
9
by: Larry Hale | last post by:
I've heard tell of a Python binding for libmagic (file(1) *nixy command; see http://darwinsys.com/file/). Generally, has anybody built this and worked with it under Windows? The only thing I've...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome former...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.