|
Is this stuff available in the UK?
My wife is disabled, and among other things has problems with light switches, etc, although she can use a PC, so this would be quite interesting...
Steve S
|
|
|
|
|
I have to impelement my own double pow(double x , double y)
I cannot use of math library any ideas
Ctrl+Alt+Del
|
|
|
|
|
it helps if you understand what POWER means...
in primary school, we learnt that 2^5 = 2*2*2*2*2
so x^y = x1*x2*x3*x4*...*xj where j=y
you don't need any maths libraries...
i hope this helps with you homework...
Nik Vogiatzis
PhD Candidate: University of South Australia
+++++++++++++++++++++++++++
Developing new generation Traffic Micro-simulation Tools for Traffic Engineers
em: nikolaos.vogiatzis@unisa.edu.au
|
|
|
|
|
In high school, we learned that you can raise numbers to non-integer powers. Although your 'algorithm' would be applicable if the request was for double pow(double x, int y), things become more complicated for double y, typically involving logarithms.
|
|
|
|
|
yup...
sounds reasonable... it's been a VERY long time since i was at either primary school or high school, but your response sounds reasonable...
either way, this sounds like a 'homework' question, and i think our friend needs to do their homework by looking up the alorithms either on the net, or in their maths book...
cheers
nik
Nik Vogiatzis
PhD Candidate: University of South Australia
+++++++++++++++++++++++++++
Developing new generation Traffic Micro-simulation Tools for Traffic Engineers
em: nikolaos.vogiatzis@unisa.edu.au
|
|
|
|
|
Mr. Nik,
How with your primary school maths, can you calculate
Pow(1.5, 2.3)
I myself don't know the answer.
But I would give a friendly advice - Give a thought before commeting and telling what is taught in primary schools.
Thanks
Ruchi
|
|
|
|
|
ruchi,
if you had read my previous response to janovetz, you would have realised i had already conceded that point...
i would also like to provide some friendly advice... read *all* the thread before providing friendly advice...
cheers
nik
Nik Vogiatzis
PhD Candidate: University of South Australia
+++++++++++++++++++++++++++
Developing new generation Traffic Micro-simulation Tools for Traffic Engineers
em: nikolaos.vogiatzis@unisa.edu.au
|
|
|
|
|
public double Pow(double a, double b)
{
double temp = 0, final = 0;
temp = b*Math.Log(a);
final = Math.Exp(temp);
return final;
}
Hope this helps
Thanks
Ruchi
|
|
|
|
|
Get it here! Enjoy the reading.
|
|
|
|
|
No text. Well, nothing worth saying, atleast.
<--Signature begins here-->
I am...
Currently: A Programming Student/Intern.
Working on an outside project: A game for the GamePark32 (GP32) portable gaming console.
GamePark32 English(Engrish) site[^]
My new website: www.gp32us.com *Currently Under Construction*
|
|
|
|
|
sorry, replyign to this as a test of my sig I can't find a testing area for this, so, sorry
|
|
|
|
|
nssone wrote:
<img src=http://gp32us.com/images/linkimage.jpg border=0>
Nope - images the traditional way are disabled. If you can find a way to do it anyway, go ahead, but I don't think I'm supposed to tell.
|
|
|
|
|
nssone wrote:
Re: Is there anything on g++ around here?
Is there anything in particular you want to know?
- Mike
|
|
|
|
|
Well, I was kind of looking for some basic ARM based stuff for like pocketpc type applications.
Who am I?
Currently: A Programming Student trying to survive school (especially this semester).
Working on an outside project: A game for the GamePark32 (GP32) portable gaming console.
GamePark32 English(Engrish) site[^]
My website: www.GP32US.com
|
|
|
|
|
i've been searching all over the net for info on how to code USB communication. it seems like people are keeping USB technology under the lid. Surely USB applications are becomming more abundant as we step away from serial comport stuff.
would someone be kind enough to put me out of my misery and tell us all about USB communication. especially how to autorun a USB flash memory stick
thanx in advance
|
|
|
|
|
|
Okay, I get so much SPAM e-mail, I want to do something about it.
So, is there a reliable, configurable program that can help me to eliminate SPAM from my e-mail? I am looking for a recommendation.
Otherwise, I am willing to help code COM objects, C++ classes, whatever, to write a utility to help me do this.
Now, if I have to work on one from scratch, this is what I would like to be able to configure (off the top of my head...).
1. Multiple e-mail sources/services. Each one has its own username and password, etc. for logging in, perhaps.
2. I want some notion of e-mail 'senders' who are automatically considered VALID and those that are automaticlaly considered INVALID.
3. I want to be able to configure text snippets that might be contained in the message subject line, or body text, or both. Those that are considered automatically VALID and those that are considered automatically INVALID.
Ideally, this program would be able to obtain all pending message header data from the server, perform the analysis, and then request the server to delete the invalid items, thus saving me from even downloading the bulk of the spamming e-mail. I am pretty sure this is a specification for the e-mail operations, as I recall Eudora used to have some feature to view e-mail headers, without downloading the entire message. If Microsoft Outlook has such a feature, it is buried under so many layers of dialogs and menus, I have never seen or identified it.
Usage of such a utility:
1. User configures the utility.
2. User runs utility first (assuming it deletes messages at the server source based upon the message header data)
3. User then collect e-mail like normal.
Now, since I primarily use Microsoft Outlook, and it might be compatible with Outlook Express at some level, it would be possible, I think, to write an 'add in' that could also do this same work. However, I can live with a completely stand-alone utility as well.
So, any ideas out there? Does this seem like a worthwhile project?
Is there an inexpensive commercial product that already does this?
Can I perhaps successfully automatically eliminate over 150+ SPAM e-mails per day?
Thanks.
|
|
|
|
|
Where have you been the last year? Bayesian filters are the de facto method for filtering SPAM by classifying spam with a percentile representing the likelyhood that it is spam based on SMTP headers and content. There are already a TON of stuff - both free and not - that do this. One of the most popular is a plug-in for Outlook called SpamBayes.
There are also a lot of articles on Bayesian filters and most of the large ISPs (and many personal sites) use such an algorithm because - after a little training - it can filter about 99% of SPAM with only about 0.1% of false positives - or around there).
-----BEGIN GEEK CODE BLOCK-----
Version: 3.21
GCS/G/MU d- s: a- C++++ UL@ P++(+++) L+(--) E--- W+++ N++ o+ K? w++++ O- M(+) V? PS-- PE Y++ PGP++ t++@ 5 X+++ R+@ tv+ b(-)>b++ DI++++ D+ G e++>+++ h---* r+++ y+++
-----END GEEK CODE BLOCK-----
|
|
|
|
|
Well we ve all seen the multidesk freeware that helps group together windows and hides them suposedly as seperate virtual desktops.
Well it only helps in uncluttering the taskbar and nothing else
and basically all it does is group together window handles to either hide or show right
so i basically thought it as pretty lame
I was trying on how to build an app to indeed create virtual "MULTIPLE DESKTOPS"
where when switching between desktop indeed changes the icons on the desktop themselves
a feature that linux desktops serve
coz my desktop really does get pretty cluttered
----------------
if ive stated my objective clearly enough could anyone give me pointers on how to get the icons/objects in the desktop window
from spy++ ive found that the real desktop window is a SysListview32
so basically its a ListCtrl
thinking abstractly therefore its a ListView window whosn in LARGE ICONic view
so all i need in my program is the group the different icon elements in the list ctrl right
only i cant seem to do this
-----------------------------
any pointers on how i can do this??
or do u have any other ideas
if my basic premise is flawed please correct me
attaching a lame source snippet by which u can RESIZE the desktop window
_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/
HWND hDeskWnd;
hDeskWnd=FindWindowEx(0,0,"Progman",NULL);
hDeskWnd=GetWindow(hTmpWnd,GW_CHILD);
hDeskWnd=GetWindow(hTmpWnd,GW_CHILD);
SetWindowPos(hDeskWnd,NULL,0,0,200,200,SWP_DRAWFRAME);
_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/
|
|
|
|
|
Well, I'm just a humble MCAD, I don't have your impressive list of certifications. But from the courses I've done I can suggest the following....
1. Go back to your course notes for exam 70-310 or 70-320 and look them over - the answer is in there.
2. Your notes for exam 70-229 (as well as some other DB exams that I've not worked towards yet) should point you in the right direction.
3. Definitely your 70-229, 70-305 or 70-315 exam course notes will put you in the right direction there.
--Colin Mackay--
"In the confrontation between the stream and the rock, the stream always wins - not through strength but perseverance." (H. Jackson Brown)
|
|
|
|
|
HI,
I want to run my application at windows startup.
I got the exe path by GetModuleFileName() and I wrote it to the registry(HKEY_CURRENT_USER\Software\Microsoft\Wind
ows\CurrentVersion\Run). But my application has a file read and write in the first module. So this file operation is not working at startup.
Is it possible to do file manipulation at startup?
Or any Other way?
please reply...
collin.
|
|
|
|
|
delay app startup?
Threading.CurrentThread.Sleep()
i wouldn't know what could cause your program to malfunction...
greetz
*Niels Penneman*
Software/Dev Site Personal Site
|
|
|
|
|
I'd like to learn more about EnterpriseServices (no more theory, please... only comprehensive examples):
- How to implement basic distributed "patterns" (like "Stateful" and "Stateless" objects? is asynchronous communication possible?).
- Examples of synchronizations (with activities).
- Security (impersonating, delegating, etc.).
Does anybody has written any article? Or knowns a good book?
Thanks.
|
|
|
|
|
Try this location:
http://www.microsoft.com/downloads/details.aspx?displaylang=en&familyid=3c81c38e-abfc-484f-a076-cf99b3485754
Battles are lost but the war goes on.
|
|
|
|
|
sir i have to hook the keyboard and get keydown event and which key is pressed and then intercept the wm_char message which is generated for that keydown event and change that particular character and translate that to my own character in extended ascii range.
Sir i have designed a font file and i included lot of new characters in the font file to accomadate more characters which Tamil language have.I can easily manage to access the 52 characeters in A_Z and a-z using normal keyboard , but i have included 200 characters .I am not using unicode for i am not using opentype font but only true type font.the remaining characters are in extended ascii range .Is it possibe to display them by changing the wm_char message.?
If possible then please help me how to intercept that wm_char message which is generated for keydown event and change the defualt character for that keydown event and replace that with my own character.
Thanks in advance
|
|
|
|