Results 1 to 4 of 4
  1. #1
    PlSlYlClHlO's Avatar
    Join Date
    Jun 2009
    Gender
    male
    Posts
    52
    Reputation
    10
    Thanks
    2

    A Bit of trouble/Can this be done?

    I'm having trouble..

    I Have a windows form.. and a button, when the button is pressed, it changes the text in the label that i have..

    I want it to wait for a keypress (enter) for it to continue, and change the label again..

    system ("pause");

    does NOT work.

    Neither does getch();

    or std::cin.get()

    Please help. someone?

    *Bangs Head*

  2. #2
    Toymaker's Avatar
    Join Date
    Feb 2008
    Gender
    male
    Location
    Hannah, Montana
    Posts
    659
    Reputation
    14
    Thanks
    193
    My Mood
    Amused
    Press enter key to continue, in C++, is always system("Pause"); man. The other two you used are silent. You usually a real compiler and including iostream? xD

  3. #3
    PlSlYlClHlO's Avatar
    Join Date
    Jun 2009
    Gender
    male
    Posts
    52
    Reputation
    10
    Thanks
    2
    Its not lol.. i'm running winxp Professional, using VC++08..

    No idea what's wrong.

    and yea, at the top i have:

    Code:
    #include <iostream>
    #include <stdlib> // <-- My friend said that should work.. and it didn't.
    Anyways.. i think i found what might have been the problem.. i was trying to do it in a (name).h file.. that might be it.

    Anyways, if that was my problem.. how do i do it in the .cpp, and make it link to the Windows Form?

  4. #4
    Kuro Tenshi's Avatar
    Join Date
    Jan 2009
    Gender
    male
    Location
    Where arth thou be
    Posts
    3,635
    Reputation
    70
    Thanks
    746
    My Mood
    Blah
    <stdlib> needs to be renamed to <stdlib.h> but youll have to look for stdlib and you also need to look for stdlib.cpp try to search the file on google
    DigiDrawing|+ ( (Elfen Archer) )
    Link:
    https://www.mpgh.net/forum/148-showro...en-archer.html


    @ Anime Section,Otaku/weeabo (orz.) @Graphics Section, Novice DigiArtist


    neuest gift from Yura~Chan:
    https://bakyurayuu.deviantar*****m/#/d372taw
    2nd Place MOTM#9 Theme: CharMods - Combat Arms [No - Thanks] button
    come on you know that don't want to push that ordinary button

Similar Threads

  1. [Request] Can This be done (Picture editing)?
    By miksa555 in forum Visual Basic Programming
    Replies: 0
    Last Post: 10-02-2011, 01:45 PM
  2. [Request] Can this be done (TCP Client/Server)? [solved]
    By miksa555 in forum Visual Basic Programming
    Replies: 23
    Last Post: 08-23-2011, 02:12 PM
  3. Can you get in trouble for this?
    By aanthonyz in forum General
    Replies: 25
    Last Post: 04-04-2011, 02:58 PM
  4. Having Trouble Running This Program
    By Orteez in forum Homework & Learning Section
    Replies: 7
    Last Post: 11-06-2010, 09:19 PM
  5. what can be done to this sig
    By Gourav2122 in forum Showroom
    Replies: 18
    Last Post: 01-24-2009, 10:08 AM

Tags for this Thread