Click here to Skip to main content
15,915,324 members
Home / Discussions / Managed C++/CLI
   

Managed C++/CLI

 
GeneralRe: Instantiating Windows Form Pin
Saksida Bojan15-Mar-06 8:54
Saksida Bojan15-Mar-06 8:54 
GeneralRe: Instantiating Windows Form Pin
John L. DeVito15-Mar-06 10:58
professionalJohn L. DeVito15-Mar-06 10:58 
Questionrunning C++ trouble Pin
pete014-Mar-06 0:10
pete014-Mar-06 0:10 
AnswerRe: running C++ trouble Pin
Cedric Moonen14-Mar-06 0:44
Cedric Moonen14-Mar-06 0:44 
QuestionRe: running C++ trouble Pin
pete014-Mar-06 1:22
pete014-Mar-06 1:22 
GeneralRe: running C++ trouble Pin
pete014-Mar-06 1:29
pete014-Mar-06 1:29 
GeneralRe: running C++ trouble Pin
Cedric Moonen14-Mar-06 1:30
Cedric Moonen14-Mar-06 1:30 
QuestionRe: running C++ trouble Pin
pete014-Mar-06 3:38
pete014-Mar-06 3:38 
this program accept user input like an app-oin-tment book, at the moment can only take one date. i am just learning the programming ,it wil be great
the prog. is as follows:


#include "stdafx.h"

#using <mscorlib.dll>
using namespace std;

class Day{
private:
int day,month,year;//Date

public:
Day(int,int,int);//Constructor
~Day();//Destructor

void display();
};

Day::Day(int d,int m,int y){//Pass date to constructor
day=d;month=m;year=y;//Set the date

}

Day::~Day(){}


void Day::display(){
std::cout<<day<<' '<<month<<'="" '<<year<<std::endl;="" display="" day
=""
}

int="" main(){
="" int="" d,m,y;
="" std::cout<<"please="" input="" the="" date="" :\n";
="" std::cin="">>d>>m>>y;
Day MyDay(d,m,y);//Create a day

do{

MyDay.display();
}
}
GeneralRe: running C++ trouble (more info) Pin
pete014-Mar-06 3:41
pete014-Mar-06 3:41 
AnswerRe: running C++ trouble Pin
Cedric Moonen14-Mar-06 3:43
Cedric Moonen14-Mar-06 3:43 
GeneralRe: running C++ trouble Pin
pete014-Mar-06 3:50
pete014-Mar-06 3:50 
GeneralRe: running C++ trouble Pin
Cedric Moonen14-Mar-06 3:54
Cedric Moonen14-Mar-06 3:54 
QuestionRe: running C++ trouble Pin
pete014-Mar-06 4:01
pete014-Mar-06 4:01 
QuestionRe: running C++ trouble Pin
pete014-Mar-06 3:56
pete014-Mar-06 3:56 
AnswerRe: running C++ trouble Pin
2bee 14-Mar-06 5:11
2bee 14-Mar-06 5:11 
AnswerRe: running C++ trouble Pin
Saksida Bojan14-Mar-06 19:02
Saksida Bojan14-Mar-06 19:02 
QuestionHow to build 2 projects using "devenv.exe" with different project directory settings Pin
Rafferty Uy13-Mar-06 13:18
Rafferty Uy13-Mar-06 13:18 
AnswerRe: How to build 2 projects using "devenv.exe" with different project directory settings Pin
Rafferty Uy14-Mar-06 14:52
Rafferty Uy14-Mar-06 14:52 
GeneralRe: How to build 2 projects using "devenv.exe" with different project directory settings Pin
Saksida Bojan14-Mar-06 18:57
Saksida Bojan14-Mar-06 18:57 
QuestionError Message Pin
John L. DeVito13-Mar-06 10:28
professionalJohn L. DeVito13-Mar-06 10:28 
AnswerRe: Error Message Pin
George L. Jackson13-Mar-06 10:40
George L. Jackson13-Mar-06 10:40 
GeneralRe: Error Message Pin
John L. DeVito13-Mar-06 10:43
professionalJohn L. DeVito13-Mar-06 10:43 
Questionparse XML problem Pin
alaa2213-Mar-06 9:52
alaa2213-Mar-06 9:52 
AnswerRe: parse XML problem Pin
George L. Jackson13-Mar-06 10:44
George L. Jackson13-Mar-06 10:44 
AnswerRe: parse XML problem Pin
alaa2213-Mar-06 20:25
alaa2213-Mar-06 20:25 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.