Welcome, Guest 3:40 AM
U:
P:


Marsol0x's Profiles


Marsol0x


 

Quack Quack Moo




Files

Newest File


Random File


More files

View all files


Latest Blog Entries
Marsol0x's In-World Profile

In-world Profile




In-World Friends


Duck
TheLaw
  




In-World Biography


I play Half-Life 2, Counter Strike, and Team Fortress 2 under the name PCL0adL7r.

I also play World of Warcraft!


Zuild Information


This profile is not a member of a zuild.



Marsol0x's Real-Life Profile
RL Photo
RL Interests
Computers, programming, video games, roleplaying, etc.
RL Stats
NameMarshel
GenderMale
Age37
LocationRiverside, CA

RL Biography
Currently I am working in IT as a PC Tech, though that doesn't keep me from my hobby: programming. I have several project in mind, mostly re-inventing the wheel, but that's just leading to something great.

Spawnzone Wall
Leave This User a Message
Duck
Duklord
  



Posted 8/28/2007.


sup dude. long time no see. hope classes and whatnot are going well :).

in other news, zuild public beta in just over 1 month... wooo!

anyways, ill ttylz
- Duck

caustic
Caustic
  



Posted 5/8/2007.


Yarrrr Matey.
Hope your arm is better today =D

Duck
Duklord
  



Posted 5/8/2007.


ah. well if unsigned int* pBuffer is a pointer to a graphics buffer, and unsigned int pitch is the width, you can access a 32-bit color pixel at location (i,j) using

pBuffer[ i + j*pitch ]

Duck
TheLaw
  



Posted 5/8/2007.


cool. ill find a good sample and send it your way in a few days.

and yea pointers are great in C++... especially the ability to use array[ ] notation on a pointer for easy pointer math. Personally i dont use multi-dimensional arrays in C++ and instead use single-dimension array notation and additional pointer math inside the [ ]. works hella nice/elegant, especially for stuff like graphics buffers.

Duck
Duklord
  



Posted 5/8/2007.


and yea :) current plan is to allow posting comments to self... but that may change if there is popular demand for otherwise.

Duck
TheLaw
  



Posted 5/8/2007.


ah. well having no pointers usually implies that memory management is handled automatically, which can save alot of development time and hair-pulling. C# has auto-memory management like java, but you can also add an unsafe{ } block of C# code which lets you use pointers. Personally it's because of that and other features that i would say C# is probably the best language out right now.. it borrows heavily from C++ but also borrows some good ideas from other languages.

And yea .net (and asp.net) is great cause you're programming in a low-level language (not like a javascript or php) and you can mix languages too... you can build a .net library in C++ and use it in C# code. really nicely done. Thus far we've only needed C# but i imagine in the future some of our backend code may be written in a mix of C# and C++.

If you're interested in how C#/.net plays out for web development i can send you a sample page from our codebase...

Marsol0x
Marsol0x
  



Posted 5/8/2007.


Should I be able to post a comment to myself?

Duck
TheLaw
  



Posted 5/8/2007.


saw your bio. you should check out some ASP.Net and C# =D. I'm in your camp when you say php is teh suq, but web programming is actually pretty enjoyable with C#. A fair bit of the tools are available for free now @ the ms website...

http://msdn.microsoft.com/...

How do you like java so far?