Menu
Menu
DaniWeb
Log In
Sign Up
Read
Contribute
Meet
Search
Search
About 1,000 results for
train
- Page 1
Evaluating OpenAI GPT 4.1 for Text Summarization and Classification Tasks
Programming
Computer Science
2 Weeks Ago
by usmanmalik57
….com/datasets/shivanandmn/multilabel-classification-dataset?select=
train
.csv dataset = pd.read_csv(r"/content/
train
.csv", encoding= 'utf-8') print…
Train simulator - Threading
Programming
Software Development
13 Years Ago
by bangor_boy
…; + e); } } // Only allows a
train
to leave in the opposite direction public synchronized void … { System.out.println(e); } } else { System.out.println("
Train
" + id + " entered track, going " + …
Online train ticket booking
Programming
Software Development
14 Years Ago
by anony
Hello everyone I was just wondering how these online
train
ticket booking sites in particular work. Do they link to … private travel agency websites as i came across some online
train
ticket booking site which had bus, flight as well as…
Blue passenger train help
Programming
Software Development
11 Years Ago
by Wilfred_2
A blue passenger
train
moves southwards at a speed of 120km/hr. Unfortunately as it enters a junction it collides with a brown goods
train
moving northwards. The collision happened 50 minutes after the goods
train
takes off. Using a Java program illustrate the answer.
Matlab impulse train
Programming
Software Development
18 Years Ago
by Angiana
Hello every1.. Does any1 know how to generate a unit-strength impulse
train
using Matlab? i have been trying hard and still cannot get it and i forcefully plot out the impulse
train
using "stem" function.
Impulse train generation in matlab
Programming
Software Development
17 Years Ago
by obs6
anyone help me generate an IMPUSLE impulse
train
with Matlab??? use the Difference Equation to generate a 80-120Hz impulse
train
with a 8k Hz sampling frequency: y[n]=D[n]+y[n-k] p.s. any value for k is fine. Thanks!
How do i show train stations on Combo box using C#
Programming
Software Development
12 Years Ago
by siralv1
i am trying to put
train
stations on the combo box in order for when the system is run using c# i will be able to pick which
train
station i want..can anybody help?
Re: How do i show train stations on Combo box using C#
Programming
Software Development
12 Years Ago
by ChrisHunter
Are you going to type the names of the
train
station into code or are they retrieved from a database ?
Musical train platforms
Community Center
Geeks' Lounge
15 Years Ago
by Mushy-pea
… Tokyo, although only for a few more weeks. Before a
train
's doors close here, a jingley little tune gets played…
Re: Train simulator - Threading
Programming
Software Development
13 Years Ago
by NormR1
Could you post a version of your code that will compile and execute and demo your problem?
Re: Is anyone else going to watch the train-wreck?
Community Center
Geeks' Lounge
16 Years Ago
by Dave Sinkula
…. [B]These are the political rubber-neckers looking for a
train
wreck.[/B] Sadly, there are quite a voters in this…
Re: Is anyone else going to watch the train-wreck?
Community Center
Geeks' Lounge
16 Years Ago
by Lardmeister
… you intend to do about it. If you see a
train
wreck coming, you ought to be saying, what are you…
Re: UML Diagram Help - Train Reservation & Ticketing System
Programming
Software Development
11 Years Ago
by rubberman
That's a good start on the Use-Case diagram. It still isn't complete. For example, in item #3, "Passenger seeks information on fare,
train
timings, and availability of tickets.", you only have one use-case, that of availability. So, go back through all of the points and make sure you cover all contingencies.
vb.net
Programming
Software Development
10 Years Ago
by marylw24
train
travels 40 miles .per hour for 3 hours, the distance …
Re: Blue passenger train help
Programming
Software Development
11 Years Ago
by JamesCherrill
Hello Wilfred, welcome to DaniWeb. We don't do people's homework for them. If you have a specific problem with some aspect of Java then we're glad to help, but simply copy/pasting your assignment and waiting for an answer is just insulting. DaniWeb Member Rules (which you agreed to when you signed up) include: "Do provide evidence of having …
Re: Blue passenger train help
Programming
Software Development
11 Years Ago
by Wilfred_2
Thanks, the question was submitted in error. I have already done it on my own.
Re: Blue passenger train help
Programming
Software Development
11 Years Ago
by Wilfred_2
Thanks for the reponse, the question was submitted in error, just needed to verify my answers with the community. I had already done it.
Re: Blue passenger train help
Programming
Software Development
11 Years Ago
by JamesCherrill
OK, that's ok. If there is anything you still want to verify or discuss please feel free to ask.
Re: Matlab impulse train
Programming
Software Development
18 Years Ago
by voltaire022
The Matlab command 'pulsetran' is your best bet. Check this out: [code] [COLOR=#228b22]% Set up the pulses[/COLOR] TrainLength = PulseWidth + PulsePeriod(NumPulses - 1); Spacing = 0 : PulsePeriod : TrainLength; SampleTimes = 0 : 1/SampleRate: TrainLength; PulseTrain = pulstran(SampleTimes , Spacing ,[COLOR=#a020f0]'rectpuls'[/COLOR] ,…
Re: How do i show train stations on Combo box using C#
Programming
Software Development
12 Years Ago
by james6754
private void button1_Click(object sender, EventArgs e) { string[] arr = new string[10]; for (int i = 0; i < arr.Length; i++) { arr[i] = "String: " + i; comboBox1.Items.Add(arr[i]); } } You …
Re: How do i show train stations on Combo box using C#
Programming
Software Development
12 Years Ago
by siralv1
public partial class Form1 : Form { String[] stations = { "Manchester Victoria", "Rochdale", "Smithy Bridge", "Littleborough", "Walsden", "Todmorden", "Hebden Bridge", "Mytholmroyd", "Sowerby Bridge", "Halifax", "…
Re: How do i show train stations on Combo box using C#
Programming
Software Development
12 Years Ago
by james6754
Well you need to give some more info about how you want to calculate the price...the price is £3.00 for example..right, so what are you calculating from that?? As for the string to it's floating point equivalent... public void convert() { string s = "1.60"; float val; …
Re: How do i show train stations on Combo box using C#
Programming
Software Development
12 Years Ago
by siralv1
i want to calculate how much it will cost for example from manchester victoria to hebden bridge i want the code to add up the prices for example £3.00 + 0.60p + 0.45p + 0.75p + 0.45p + 0.90 = price..if you know what i mean... for a single ticket.....and how much it will cost for a return ticket.
Re: How do i show train stations on Combo box using C#
Programming
Software Development
12 Years Ago
by castajiz_2
If I understood correctly all these stations are on the same route and Manchester Victoria is the one where the trip would eventually start so you gave it a value of 0 pounds but you can select another station and define it as a starting point. First of all fill populate the combobox List<string> _items = new List<string>();…
Re: How do i show train stations on Combo box using C#
Programming
Software Development
12 Years Ago
by siralv1
public partial class Form1 : Form { String[] stations = { "Manchester Victoria", "Rochdale", "Smithy Bridge", "Littleborough", "Walsden", "Todmorden", "Hebden Bridge", "Mytholmroyd", "Sowerby Bridge", "Halifax", "…
Re: How do i show train stations on Combo box using C#
Programming
Software Development
12 Years Ago
by tinstaafl
it looks like most of your variables are there, the values in your comboboxes should still be there, date and time you can get from your datetime picker, the return status from the checkbox. Looks like all you need is a variable to combine all the different fare variables. Considering the number of variables you're juggling you might want to …
Re: How do i show train stations on Combo box using C#
Programming
Software Development
12 Years Ago
by james6754
You could simply create a form that will show when the user requests it. Create it and pass your values in to it's constructor and change your labels or whatever you have on your form within it.
Re: Musical train platforms
Community Center
Geeks' Lounge
15 Years Ago
by Will Gresham
Possibly the most useless idea since the pizza fork ([url]http://www.kitchencontraptions.com/archives/004593.php[/url])... What happened to wallboards displaying the latest trains and clocks hung around platforms...
Re: Musical train platforms
Community Center
Geeks' Lounge
15 Years Ago
by WaltP
Gee. You just aren't into progress, are you? :icon_twisted:
Re: Musical train platforms
Community Center
Geeks' Lounge
15 Years Ago
by Will Gresham
[QUOTE=WaltP;1155189]Gee. You just aren't into progress, are you? :icon_twisted:[/QUOTE] Not for the sake of it :P But then being in the UK, the trains where I am are late so often, that if you miss it it's your own fault :D
1
2
3
17
Next
Last
Search
Search
Forums
Forum Index
Hardware/Software
Recommended Topics
Programming
Recommended Topics
Digital Media
Recommended Topics
Community Center
Recommended Topics
Latest Content
Newest Topics
Latest Topics
Latest Posts
Latest Comments
Top Tags
Topics Feed
Social
Top Members
Meet People
Community Functions
DaniWeb Premium
Newsletter Archive
Markdown Syntax
Community Rules
Developer APIs
Connect API
Forum API Docs
Tools
SEO Backlink Checker
Legal
Terms of Service
Privacy Policy
FAQ
About Us
Advertise
Contact Us
© 2025 DaniWeb® LLC