Code Newbie
News     Forums     Search     Members     Sign Up    

My Code Newbie
Username

Password

Articles/Snippets
ASP Classic
ASP.NET
C
C#
C++
HTML / CSS
Java
Javascript
Linux / BSD
Perl
PHP
Python
Ruby
SQL
VB 6
VB.NET

C.N. Friends
  Planet Rome

Link to Us!
Code Newbie
  Code Newbie
    forums
Old 05-13-2008, 03:01 AM   #1 (permalink)
ludask
Recruit
 
Join Date: May 2008
Posts: 3
ludask is on a distinguished road
ASP.NET help with writing array to a file

hi,

i would like to write the following into a file call shareprice.txt but i keep on getting 0 0 0 0 0 0 0

For 10 types of shares for a period from 1 to 365 should become available in a file called shareprice.txt

the 10 types of share should generate random numbers from 50 to 150
it should look like this in the file:

1 25 12 56.....etc (generating random numbers from 50 to 150)
2
3
4
5
6
7
.
.
.
etc up to 365
ludask is offline   Reply With Quote
Old 05-15-2008, 10:08 AM   #2 (permalink)
DJMaze
Senior Contributor
 
DJMaze's Avatar
 
Join Date: Mar 2005
Posts: 678
DJMaze is on a distinguished road
Your code?
__________________

UT: Ultra-kill... God like!
DJMaze is offline   Reply With Quote
Reply

Bookmarks

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
file types: reading and writing pre_wreck Standard C, C++ 2 09-26-2005 05:49 AM
Text file input to an array letsC Standard C, C++ 9 03-06-2005 09:30 AM
having trouble with writing to file philthee Java 2 11-09-2004 05:32 AM


All times are GMT -8. The time now is 04:08 AM.


Powered by vBulletin® Version 3.7.0
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.0.0 RC8





Copyright © 2000-2008, Milano Interactive
Web Hosting provided by Portal 360 Web Hosting