Jump to content

Recommended Posts

Posted

Hi,

im new to C++ and need a bit of help.

i want to make a program that open's a new

each time you tell it to. For example...

#include <iostream.h>

#include <stdlib.h>

int main(void)

{

int A=0;

if (A==1) "Open window"; <-------------------------------+

system("PAUSE");

return 0;

}

What code do i put in the "Open window" space? --+

Thanks.


Posted

What kind of window are you trying to open? An internet explorer window? A Windows explorer window? A new program window? Please elaborate.

Posted

Im trying to open a Windows Explorer type of window, I want the program to make it itself.

For example...

A score board for a game every time you score it opens a window saying "SCORE!"

I only need the "make new window" code, from there ill be fine.

Thanks for your help. :)

  • 2 weeks later...
Posted

i havent touched it in a long time.. but im pretty sure theres a wizard that makes MDI windows and looking at the code you be able to find out how to spawn a window .. if not *Finds his box* i'll install visual C++ and give u the answer

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...