Wrox Programmer Forums
Go Back   Wrox Programmer Forums > C# and C > C# 2005 > C# 2005
|
C# 2005 For discussion of Visual C# 2005.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the C# 2005 section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old March 24th, 2008, 12:19 AM
Friend of Wrox
 
Join Date: Mar 2008
Posts: 133
Thanks: 15
Thanked 1 Time in 1 Post
Send a message via ICQ to iceman90289 Send a message via AIM to iceman90289
Default Basic Architecture

okay, i am learning directX and i was wondering, if anyone is familiar with DX can they give me a lil pseudocode so i can see (in english not C#) where to implement which chunks of code? kinda type it in this format, this is what i know so far...

// class Form
    private vars that create null instances of DirecX devices

    Form() {} // if anything should go here let me know

    void InitializeDirectX() // initialize devices with flags here.

***********************
// In the Main part of my program
there is a using loop that keeps running the application while the form exist.
// It looks something like this
using(Form Form1 = new Form())
{
     application.run(Form1);
     InitializeDirectX;
}

my problem is i do not really understand where to go from there.


 
Old March 24th, 2008, 03:34 AM
Friend of Wrox
 
Join Date: Mar 2007
Posts: 432
Thanks: 0
Thanked 1 Time in 1 Post
Default

Hi iceman,

Based on your post, it seems you are pretty new to C# yes?

And a very short answer to your question, I would recommend a step-by-step book, they will take you through your "baby steps" to get you up and running so you can continue on and start getting creative! :)

Also - just as a side point, if you are doing heavy DirectX stuff (such as games), it may be worth doing it in C++, especially if you are looking to work with them..

Rob
The Developing Developer
Currently Working Towards: MCAD C#
My Blog: http://www.robzyc.spaces.live.com
<center>"Nothing can stop the man with the right mental attitude from achieving his goal;
nothing on earth can help the man with the wrong mental attitude".

Thomas Jefferson</center>
 
Old March 24th, 2008, 02:13 PM
Friend of Wrox
 
Join Date: Mar 2008
Posts: 133
Thanks: 15
Thanked 1 Time in 1 Post
Send a message via ICQ to iceman90289 Send a message via AIM to iceman90289
Default

do you think C# will be used for game development? Where do people see major applications of C#?

 
Old March 24th, 2008, 10:53 PM
planoie's Avatar
Friend of Wrox
 
Join Date: Aug 2003
Posts: 5,407
Thanks: 0
Thanked 16 Times in 16 Posts
Default

http://www.google.com/search?q=xna+c

Asking what programmers see as the major [software] applications of C# is like asking a carpenter what the major building applications are of wood. Nearly whatever you can dream up in software can be built with C#, it is but a fundamental build block of .NET development. I use it for web and desktop applications, the compact framework can be used for mobile apps, I've seen a guy use it to make a Wiimote controlled R/C car and companies are building enterprise solutions with .NET. The possibilities are limited only by your imagination and the desire to learn how to do it.

-Peter
peterlanoie.blog





Similar Threads
Thread Thread Starter Forum Replies Last Post
Need help with 3-teir architecture chobo2 C# 2008 aka C# 3.0 1 September 12th, 2008 01:39 PM
architecture of project MunishBhatia ASP.NET 2.0 Professional 1 October 22nd, 2007 09:11 AM
architecture MunishBhatia ASP.NET 2.0 Professional 3 October 6th, 2007 05:24 AM
3 tire architecture rajdotnet ASP.NET 1.x and 2.0 Application Design 1 October 19th, 2006 01:54 PM
Grid Architecture GibiJ SQL Server 2000 3 January 5th, 2006 03:06 AM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.