- Viewing Profile: Topics: Huwtrosky
Community Stats
- Group Members
- Active Posts 23
- Profile Views 785
- Member Title Member
- Age Age Unknown
- Birthday Birthday Unknown
-
Gender
Male
-
Location
South Wales
100
Neutral
User Tools
Contacts
Huwtrosky hasn't added any contacts yet.
Topics I've Started
C, C# or C++?
10 April 2011 - 08:04 AM
Okay I want to learn a few game programming languages to get a head start in Uni but I'm not sure which of the three in the topic is best to start out with. Once I have a good knowledge of one or two of the above languages I will move onto Python and Java to cover all the bases
Problem writing string array's to text file.
03 April 2011 - 09:48 AM
Okay then basically I'm making a low grade character sheet for the game Elder Scrolls IV: Oblivion. I have text boxes to fill out name, race etc and a text box to input the directory for the .txt file to be written to. It worked fine till I decided to change it to a string array. Now when I want to write the contents of the whole string array to .txt format it will write it but the only text in the file is System.String[]
Here is the full code:
Here is the full code:
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Windows.Forms;
using System.IO;
namespace Oblivion_Character_Sheet
{
public partial class Form1 : Form
{
public Form1()
{
InitializeComponent();
}
private void btnProcess_Click(object sender, EventArgs e)
{
string[] contents = new string[5];
contents[0] = "Name: " + txtBoxName.Text;
contents[1] = "Race: " + txtBoxRace.Text;
contents[2] = "Birthsign: " + txtBoxBirth.Text;
contents[3] = "Class: " + txtBoxClass.Text;
contents[4] = "Other info: " + rchtxtBoxOther.Text;
File.WriteAllText(txtBoxPath.Text, contents.ToString());
}
}
}
Planning for the future
31 March 2011 - 10:01 AM
Okay so I'm currently 15 (soon to be 16 ^^) and am looking at taking a degree in Computer Games Programming. So planning ahead I have researched job oppourtunites and University's etc. So far I think this is the right course for me. I love how they make games and will take a look at learning a few of the basics of C#, Java, Python and maybe C++ to get a head start at uni. I've basically trimmed the uni options down to 2 or 3 based on how close they are (3 hours and 30 mins away from me max) so here they are
. If you have any feedback for me please say so
.
Thanks in advance.
- Staffordshire University (has the highest rating out of 3 on thecompleteuniversityguide.com)
- De Montfort University (has the lowest " ")
- Derby University (has the second best " ")
Thanks in advance.
- Home
- » Viewing Profile: Topics: Huwtrosky

Find content