Programming Forums
User Name Password Register
 

RSS Feed
FORUM INDEX | TODAY'S POSTS | UNANSWERED THREADS | ADVANCED SEARCH

Reply
 
Thread Tools Display Modes
Old Jan 17th, 2005, 10:02 AM   #11
Ooble
I eat cake for breakfast.
 
Ooble's Avatar
 
Join Date: Jul 2004
Location: In my box.
Posts: 4,434
Rep Power: 9 Ooble is on a distinguished road
Sounds good. Skim through the posts (especially the IRC logs), let me know what you want to work on so I can add you to the website, and if you can, turn up to the next meeting at Sunday 8pm CST.
__________________
Me :: You :: Them
Ooble is offline   Reply With Quote
Old Jan 17th, 2005, 10:33 AM   #12
dark_omen
Hobbyist Programmer
 
Join Date: Dec 2004
Posts: 125
Rep Power: 4 dark_omen is on a distinguished road
Send a message via AIM to dark_omen
I tried the Hello, World program that tama wrote in sharpdevelop, and I got an error that said ReadKey() was not in System. I took it out and it worked fine. But what do I need to make ReadKey work?
dark_omen is offline   Reply With Quote
Old Jan 17th, 2005, 5:34 PM   #13
Tama
Programmer
 
Join Date: Dec 2004
Posts: 35
Rep Power: 0 Tama is on a distinguished road
>I got an error that said ReadKey() was not in System.
ReadKey is new with C# 2.0. Get the latest version of the .NET framework and C# compiler and things will work nicely. That's why I suggested that you get Visual C# 2005 Express to get you started. It would save you the trouble of versioning source code. That's a big problem with C++ and Java. I would love to avoid it with C#.
Tama is offline   Reply With Quote
Old Jan 17th, 2005, 6:08 PM   #14
dark_omen
Hobbyist Programmer
 
Join Date: Dec 2004
Posts: 125
Rep Power: 4 dark_omen is on a distinguished road
Send a message via AIM to dark_omen
I downloaded visual c# express and it took forever. Then after it was done installing everything it didn't work, so i downloaded #develop. Is there any other program besides vc#express and #develop that it will work on?
dark_omen is offline   Reply With Quote
Old Jan 18th, 2005, 8:11 AM   #15
Infinite Recursion
Programming Guru
 
Infinite Recursion's Avatar
 
Join Date: Jul 2004
Location: United States
Posts: 3,467
Rep Power: 8 Infinite Recursion is on a distinguished road
Send a message via MSN to Infinite Recursion Send a message via Yahoo to Infinite Recursion
Try my code below... It was coded in MS Studio .NET but should also work in #Develop, MCS/Mono also... Good to see you are interested in the project. I have a bit of network code (to support multiple clients) that you can take a stab at if you are interested.


using System;

namespace test
{
	class Class1
	{
		[STAThread]
		static void Main(string[] args)
		{
			Console.Write("Enter your name: ");
			string name = Console.ReadLine();
			Console.WriteLine("Hello {0}!",name);
		}
	}
}
__________________
http://jasonpowers.net

"There are a thousand hacking at the branches of evil to one who is striking at the root."
Infinite Recursion is offline   Reply With Quote
Old Jan 18th, 2005, 4:45 PM   #16
dark_omen
Hobbyist Programmer
 
Join Date: Dec 2004
Posts: 125
Rep Power: 4 dark_omen is on a distinguished road
Send a message via AIM to dark_omen
What does [STATread] mean?
dark_omen is offline   Reply With Quote
Old Jan 18th, 2005, 9:28 PM   #17
BlazingWolf
Hobbyist Programmer
 
Join Date: Sep 2004
Posts: 207
Rep Power: 4 BlazingWolf is on a distinguished road
I know I'm kind of floating you off topic but I have a bit of advice.

Before you dive right into C# get a thorough understanding of OOP(Object-Oriented Programming). I found trying to learn OOP in C# very difficult. However I went also programmed some PHP at the time and found that programming PHP with OOP help me understand how I could use C# and OOP.

Thats just my word of advice. As far as what other langauge to learn first. I would recommend PHP but you may have no use for that.
__________________
_______________________________
BlazingWolf
BlazingWolf is offline   Reply With Quote
Old Jan 18th, 2005, 9:46 PM   #18
Pizentios
Programming Guru
 
Pizentios's Avatar
 
Join Date: May 2004
Location: Brandon, Manitoba, Canada
Posts: 2,023
Rep Power: 7 Pizentios is on a distinguished road
Send a message via ICQ to Pizentios Send a message via MSN to Pizentios
Mono/mcs also runs on Winblows if anybody cares :-)

however, linux is far supreme :-P
__________________
Profanity is the one language that all programmers understand.

Check out my Blog <---updated Nov 30 2007!
Pizentios is offline   Reply With Quote
Old Jan 18th, 2005, 10:04 PM   #19
Infinite Recursion
Programming Guru
 
Infinite Recursion's Avatar
 
Join Date: Jul 2004
Location: United States
Posts: 3,467
Rep Power: 8 Infinite Recursion is on a distinguished road
Send a message via MSN to Infinite Recursion Send a message via Yahoo to Infinite Recursion
[StatThread] is not really needed in that example, just some extra stuff that my compiler threw in. Its a marker of sorts that indicates when the execution starts.
__________________
http://jasonpowers.net

"There are a thousand hacking at the branches of evil to one who is striking at the root."
Infinite Recursion is offline   Reply With Quote
Old Jan 20th, 2005, 12:18 PM   #20
dark_omen
Hobbyist Programmer
 
Join Date: Dec 2004
Posts: 125
Rep Power: 4 dark_omen is on a distinguished road
Send a message via AIM to dark_omen
I already know the basics of oop. I know c++ and that uses oop.

So, [STAThread] is not really important or necessary, and if I were to leave it out it would still compile?
dark_omen is offline   Reply With Quote
Reply

Bookmarks

« Previous Thread in Forum | Next Thread in Forum »

Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
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 On
HTML code is Off
Forum Jump




DaniWeb IT Discussion Community
All times are GMT -5. The time now is 6:47 PM.

Powered by vBulletin® Version 3.7.0, Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Copyright ©2007 DaniWeb® LLC