Jump to content

Can you help with my C++ problem?


Recommended Posts

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.

Link to comment
Share on other sites


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. :)

Link to comment
Share on other sites

  • 2 weeks later...

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

Link to comment
Share on other sites

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...