Damn straight I would!
And BTW, it's MisterT, not Mr.T, to avoid certain copyright violations!
Type: Posts; User: MisterT
Damn straight I would!
And BTW, it's MisterT, not Mr.T, to avoid certain copyright violations!
Hey all.
I just wanted some comments on my newest freeware release.
It's called FoxyBox, and it's a frontend for DOSBox, written in C# and .NET 2.0.
All comments, pro's and con's are very...
Thanks a lot!
Sorry about posting in the Windows forum,
I'm kinda new here..
Greetings.
Google wouldn't find me an answear so I thought I'd ask you guys:)
Using c++, i need to get the path my console app runs from.
Now, I know a lot of you are thinking: just supply the...
I know, but consider this:
bool someMethod<T>(T a, T b)
{
if ( a.Equals(b) )
{
Console.Writeline("Hooray!");
return true;
}
Hi all!
Consider the following sample:
public abstract class SomeClass
{
// checks equality of each member in two arrays.
public static bool ArrayEquals<T>(T[] a, T[] b)
That's what I thought too. Just wanted to hear other people's opinions.
Thanks guys! :D
Greeting.
I'm doing a project with a heavy amount of generics, and I was wondering what your opinions were on replacing GetType() on generic classes, like in the following example;
class...
Greetings!
I'm doing a simple game in C# where I'd like to use back buffering with GDI and System.Drawing.Graphics.
I get the Graphics object from Control.CreateGraphics():
Graphics myGFX =...
anywhere I can find a tutorial on how to do this?
in C#, you can import function from DLLs like this
[System.runtime.interopServices.DLLImport("win32.dll")]
public extern int MessageBox(........);
how do I do this in c++?
As far as I can see, c++ does not implement properties... At least not the way c# does?!
//in c# you can define properties like this
int myProp
{
get { return xxx; }
set { xxx = value; }...
use pointers;
#include <cstdlib>
#include <iostream>
using namespace std;
int main()
{
Thanks all.. I've to go to bed now pleasant dreams!! :)
duh
zzzzzzzzzzzzzzzzzzzz
Ok.. Consider this:
class Fun {...............} fun; // <-- this defines a global Fun??
fun.howFun = 10; // this is the global Fun??
Fun fun; // and this creates a freshly baked...
Yes. my face is red. Changed it now
Ok thanks I get it now...
But one more thing;
class Fun {
public:
int howFun;
} fun; //
Ok listen... I guess you all think I'm ignorant because of my question there but you didn't quite get my point;
I've been programming for years and I know what object names are for.. but, however,...
consider the following sample
class CmyClass
{
int someInt, otherInt;
} myClass;
what is the myClass name actually for? does it even serve a function?