|
Hi,
I have studied some topics from google.
But now my requirement is to overload all the unary,binary and ternary operators.
Regards,
Salman Khursheed Bhatti
|
|
|
|
|
|
Thanx Bro...
I have jus find my solution...
Once again Thanks...
Regards,
Salman Khursheed Bhatti
|
|
|
|
|
hi freind i need help. i m developing an application and i declare a class and i need the array of the object o that particular class how can i declare it
wasim khan
|
|
|
|
|
List<yourclass> CollectionOfYourClassObjects = new List<yourclass>();
Should do it for you.
--
Cheers,
Gary
http://www.garyshort.org
|
|
|
|
|
You need to check 'Ignore HTML tags in this message (good for code snippets)' if you want to use < or > in your posts.
Christian Graus - Microsoft MVP - C++
"I am working on a project that will convert a FORTRAN code to corresponding C++ code.I am not aware of FORTRAN syntax" ( spotted in the C++/CLI forum )
|
|
|
|
|
Thanks Christian!
--
Cheers,
Gary
http://www.garyshort.org
|
|
|
|
|
*grin* no problem.
Christian Graus - Microsoft MVP - C++
"I am working on a project that will convert a FORTRAN code to corresponding C++ code.I am not aware of FORTRAN syntax" ( spotted in the C++/CLI forum )
|
|
|
|
|
Grr bloody formating...
I'll try again...
List<YourClass> CollectionOfYourClassObjects = new List<YourClass>();
--
Cheers,
Gary
http://www.garyshort.org
|
|
|
|
|
You would do better to use a List, as you can add and remove items from it. List<myClass> Otherwise, you would do myClass[] coll = new myClass[10] ( for example, to create an array of 10 items ).
Christian Graus - Microsoft MVP - C++
"I am working on a project that will convert a FORTRAN code to corresponding C++ code.I am not aware of FORTRAN syntax" ( spotted in the C++/CLI forum )
|
|
|
|
|
use this logic:
ClassName[] obj = null;
obj = new ClassName[size];
|
|
|
|
|
hi,
i have found many of ur articles very helping but i have to make a project on a keylogger in c# that should show the details of the current user including his login/logoff details, screen saver on/off details, application opening and closing details etc. plz reply me as soon as possible with ur helpful assistance.
thank u
|
|
|
|
|
I can't think of any non malicious use for the software you want to write
Christian Graus - Microsoft MVP - C++
"I am working on a project that will convert a FORTRAN code to corresponding C++ code.I am not aware of FORTRAN syntax" ( spotted in the C++/CLI forum )
|
|
|
|
|
Why on earth do you think you'll get help here on an issue that, at first second and third glance, seems to be a malevolent purpose. I can't think of many legitimate uses that you could put keylogging to. Check the site - it's codeproject.com not hackerzrus.
Deja View - the feeling that you've seen this post before.
|
|
|
|
|
how to create custom format validation ?
I want to know about the any converter which can convert validation in to regular expression
|
|
|
|
|
What do you mean ? There are regular expression validators. Are you talking about ASP.NET ?
Christian Graus - Microsoft MVP - C++
"I am working on a project that will convert a FORTRAN code to corresponding C++ code.I am not aware of FORTRAN syntax" ( spotted in the C++/CLI forum )
|
|
|
|
|
Yes I am talking about regular expression. but In my case it is not static. so i can not directly specify regex validation. For this I want one convector which will convert given expression to the regex. so I can set this converted expression as validation.
|
|
|
|
|
You want to set your regex at runtime ? Again, is this ASP.NET ? Where does the regex come from ?
Christian Graus - Microsoft MVP - C++
"I am working on a project that will convert a FORTRAN code to corresponding C++ code.I am not aware of FORTRAN syntax" ( spotted in the C++/CLI forum )
|
|
|
|
|
yes at run time i want to apply regex on text box in asp.net. one expression which is like ##.## (ex 34.56) is stored in database . I need to convert it into regex and want to apply to the text box for that field.
|
|
|
|
|
OK. First of all, we have an ASP.NET forum. If you want to do things dynamically on the client end, then this is vital, b/c you will want jscript, not C# solutions.
you can set the regex applied to a regex validator in your code behind, this is not an issue. Generating regex from a number, is not really possible. I mean, there are tons of different regex which all will match 34.56. If the regex is always a double, and you just want to set the number of significant figures each side of the decimal, that's pretty trivial. \d{2}\.\d{2} will match the above, and you can just change the number to change how many figures there are on either side.
Christian Graus - Microsoft MVP - C++
"I am working on a project that will convert a FORTRAN code to corresponding C++ code.I am not aware of FORTRAN syntax" ( spotted in the C++/CLI forum )
|
|
|
|
|
I want validation in asp.net - textbox but i want to create one function which can take expression from database and convert that expression in to regex. so this will be C# Lib only.
Thanks.
|
|
|
|
|
OK - you didn't add anything to what you told me before, so I have nothing further to add, either.
Christian Graus - Microsoft MVP - C++
"I am working on a project that will convert a FORTRAN code to corresponding C++ code.I am not aware of FORTRAN syntax" ( spotted in the C++/CLI forum )
|
|
|
|
|
i have tried a lot on google and did some coding for saving the form in a access database but it dint work so if u have any clues or suggestion tell me
THANK U
|
|
|
|
|
You can't save a 'form'. You can save the state of a form, and then recreate the form's state from that data.
Christian Graus - Microsoft MVP - C++
"I am working on a project that will convert a FORTRAN code to corresponding C++ code.I am not aware of FORTRAN syntax" ( spotted in the C++/CLI forum )
|
|
|
|
|
Should allow minus sign '-' at first position(index) only
should not allow in between
Thanks in advance
Praveen Kumar palla
|
|
|
|