|
May I politely ask you to read forum guidelines, before spamming this way?
If the Lord God Almighty had consulted me before embarking upon the Creation, I would have recommended something simpler.
-- Alfonso the Wise, 13th Century King of Castile.
This is going on my arrogant assumptions. You may have a superb reason why I'm completely wrong.
-- Iain Clarke
[My articles]
|
|
|
|
|
It is better to do your homework assignments as they are given and to use the computer lab of your college or university. Paying attention in class and listening to the tutors, lab assistants, is also quite helpful. If you aren't willing to do this, perhaps it would be best to try something else for a while until you mature.
|
|
|
|
|
|
Great Job splitting up your homework!
Sometimes I wonder
You have the thought that modern physics just relay on assumptions, that somehow depends on a smile of a cat, which isn’t there.( Albert Einstein)
|
|
|
|
|
Write a calendar program to find out the day of a given date in a particular year.
|
|
|
|
|
Why not just return one of the days of the week? You'd still have a 14% chance of being correct. That's a good return in anyone's ledger.
"Old age is like a bank account. You withdraw later in life what you have deposited along the way." - Unknown
"Fireproof doesn't mean the fire will never come. It means when the fire comes that you will be able to withstand it." - Michael Simmons
|
|
|
|
|
Write a program, which will read a string and rewrite it in the alphabetical order.
|
|
|
|
|
Write a program to encrypt a string and decrypt it using your own method of encryption and decryption.
|
|
|
|
|
Write a program to determine and print the sum of the following harmonic series for a given value if n 1+1/2+1/3+….1/n
|
|
|
|
|
Write a program to print the Pascal triangle for 10 rows.
|
|
|
|
|
Write a program to extract a portion of a character sting and print the extracted string. Assume that m characters are extracted, starting with nth character.
|
|
|
|
|
|
Given an array of sorted list of integer numbers, write a function to search for a particular item using the method of binary search. And also show how this function may be used in a program. Use pointers and pointer arithmetic.
|
|
|
|
|
Using pointers, write a function that receives a character string and a character as argument and
deletes all occurrences of this character in the string. The function should return the corrected string
with no holes.
|
|
|
|
|
We ususally don't do homework. Read carefully forum guidelines before posting.
If the Lord God Almighty had consulted me before embarking upon the Creation, I would have recommended something simpler.
-- Alfonso the Wise, 13th Century King of Castile.
This is going on my arrogant assumptions. You may have a superb reason why I'm completely wrong.
-- Iain Clarke
[My articles]
|
|
|
|
|
|
|
|
thanks for your response... unfortunately those links don't actually help me with what i want to do, but interesting all the same.
I've managed to sort it now anyway, cheers.
|
|
|
|
|
Did you use a lot of swearing and bad language in your original question?
It's bad manners to remove questions - other people might learn from them. We live in hope, anyway.
Iain.
I have now moved to Sweden for love (awwww).
If you're in Scandinavia and want an MVP on the payroll (or happy with a remote worker), or need cotract work done, give me a job! http://cv.imcsoft.co.uk/[ ^]
|
|
|
|
|
I sort of deleted it by mistake to be honest, and didnt know how to undo it.
Sorry.
|
|
|
|
|
As subject, no worries. Glad your problem was resolved.
Iain.
I have now moved to Sweden for love (awwww).
If you're in Scandinavia and want an MVP on the payroll (or happy with a remote worker), or need cotract work done, give me a job! http://cv.imcsoft.co.uk/[ ^]
|
|
|
|
|
Hello,
I tried a lot... but I cannot create a transparent topmost window on a wince based PNA.
SetLayeredWindowAttributes an other stuff were not suported on wince
If I use this
hwnd = CreateWindow(L"testerClass",L"tester Program", WS_OVERLAPPEDWINDOW, -25,-25, 65, 65, NULL, NULL, ghInstance, NULL);
I get a topmost window, titlebar is not visible (thats ok) and a white rectangle....
Is it possible to get the white region transparent?
Thats all I want
Michael
|
|
|
|
|
You can use the AlphaBlend[^] function which is available in Win CE.
Here is an article in CodeProject on Using the AlphaBlend function[^]
«_Superman_»
I love work. It gives me something to do between weekends.
|
|
|
|
|
Hi,
do you mean this works also with a window?
I tried this
BLENDFUNCTION bf;
dcOld = GetDC(NULL);
hwnd = CreateWindow(L"testerClass",L"tester Program", WS_OVERLAPPEDWINDOW, -25,-25, 65, 65, NULL, NULL, ghInstance, NULL);
SetWindowPos(hwnd, HWND_TOPMOST, -25, -25, 65,65,SWP_NOOWNERZORDER| SWP_SHOWWINDOW);
dcNew = GetDC(hwnd);
bf.BlendOp = AC_SRC_OVER;
bf.BlendFlags = 0;
bf.SourceConstantAlpha = 120;
bf.AlphaFormat = AC_SRC_ALPHA;
AlphaBlend(dcOld, -25, -25, 65, 65, dcNew, -25, -25, 65,65, bf);
UpdateWindow(hwnd);
but I allways get the window, like without alphablend.....
It sounds very well, if it will work.....
Any suggestions? Waht I did wrong?
Michael
|
|
|
|