Station

Station - { nom = nouv; } void Station::setMulti(int nouv)...

Info iconThis preview shows pages 1–2. Sign up to view the full content.

View Full Document Right Arrow Icon
#include <string> #include "Station.h" # using namespace std; u Station::Station() { nom = ""; x = 0; y = 0; ligne = 0; id = 0; multi = 100; } void Station::setX(int nouv) { x = nouv; } void Station::setY(int nouv) { y = nouv; } void Station::setLigne(int nouv) { ligne = nouv; } void Station::setId(int nouv) { id = nouv; } void Station::setNom(string nouv)
Background image of page 1

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon
Background image of page 2
This is the end of the preview. Sign up to access the rest of the document.

Unformatted text preview: { nom = nouv; } void Station::setMulti(int nouv) { multi = nouv; } int Station::getId() { return id; } int Station::getY() { return y; } int Station::getX() { return x; } string Station::getNom() { return nom; } int Station::getLigne() { return ligne; } int Station::getMulti() { return multi; }...
View Full Document

Page1 / 2

Station - { nom = nouv; } void Station::setMulti(int nouv)...

This preview shows document pages 1 - 2. Sign up to view the full document.

View Full Document Right Arrow Icon
Ask a homework question - tutors are online