Posts
 
Reputation
Joined
Last Seen
Ranked #36
Strength to Increase Rep
+14
Strength to Decrease Rep
-3
85% Quality Score
Upvotes Received
296
Posts with Upvotes
210
Upvoting Members
78
Downvotes Received
53
Posts with Downvotes
34
Downvoting Members
19
139 Commented Posts
~686.43K People Reached
Favorite Tags

921 Posted Topics

Member Avatar for vegaseat

"When the last tree is cut, the last river is poisoned, and the last fish is dead, we will discover that we can't eat money..."

Member Avatar for Reverend Jim
15
13K
Member Avatar for samaru
Member Avatar for The Dude
Member Avatar for Duki
Member Avatar for mattyd
Member Avatar for Firestone

Its possible to do, ive never tried this but I think it should work. [CODE=CPP] SendMessage(hwnd, WM_SETICON, ICON_SMALL, (LPARAM)LoadIcon(NULL, MAKEINTRESOURCE(ICON_ID))); [/CODE]

Member Avatar for Amina_6
0
955
Member Avatar for TheBeast32

not sure, but for doing clicks, you can just do: [CODE] mouse_event(MOUSEEVENTF_RIGHTDOWN | MOUSEEVENTF_RIGHTUP, x, y, 0, 0);[/CODE] for a right click

Member Avatar for Oliver _2
1
540
Member Avatar for ShadowScripter

I remember having problems with the wheel scroll, I think the return value is [B]WHEEL_DELTA[/B] if the scroll is up, and [B]-WHEEL_DELTA[/B] if the scroll is down. Hope this helps.

Member Avatar for SHA1962
0
2K
Member Avatar for Jiwe

I prefer mine :) Never quite finished it, but I think it was going pretty well.

Member Avatar for Dwi_3
0
3K
Member Avatar for samaru

My favourites have to be: - Chrno Crusade - Vampire Knight - Hantsuki - Kanokon (friend showed me it, found it funny) - Basilisk - Dragon Ball Z ;D (used to watch it when I was a kid) - Vampire Princess Miyu All I can think of at the moment.

Member Avatar for thompsonmax
1
3K
Member Avatar for evilguyme

This code is confusing, that's your main problem. I don't understand the need for [ICODE]POINT lame;[/ICODE] Also, line 40 is useless as [B]i[/B] will never be equal to 1280 (only ever < than 1280). If you want to loop through every pixel from point (0,0) and (1280,801) to find a …

Member Avatar for toneewa
0
7K
Member Avatar for iamsibi
Member Avatar for Alex Edwards
Member Avatar for William Hemsworth

Hi all, I'm a very early user of Daniweb, and after a long break, and I'm hoping to participate a bit more in this forum again. I'm here specifically for some advice before starting a new project of mine. I'm an experienced C++ / Win32 developer, but seem to be …

Member Avatar for rproffitt
0
437
Member Avatar for Good Bye

This is quite sad.. You want to learn a programming language just to cheat on games like runescape. First of all these kinds of games will trace it unless you have good enough programming skills to make in untraceable, and theres no easy way to do it unless you learn …

Member Avatar for Nihat_1
0
3K
Member Avatar for William Hemsworth
Member Avatar for Uchenna_1
0
9K
Member Avatar for William Hemsworth

I'm working on a program that requires some very low level optimization. My question is, when precision isn't an important factor, how can I automatically use the most efficient floating point type for whatever architecture the program is being run on? As far as I'm aware, floats are more efficient …

0
198
Member Avatar for Narue

Nice work :), This looks like a good tutorial and Ive never really managed to get the hang of asm, Thanks!

Member Avatar for The Old Man
19
2K
Member Avatar for vegaseat

I was amazed by some of the things I saw on this site. [URL="http://www.topfive.com/arcs/t5050302.shtml"]http://www.topfive.com/arcs/t5050302.shtml[/URL] but I especially found these ones to be the weirdest :) [LIST] [*]Male [URL="http://i202.photobucket.com/albums/aa144/Primate_bucket/070824-monkey-babytalk_big.jpg"]rhesus monkeys[/URL] often hang from tree branches by their amazing prehensile penises. [*]SCUBA divers cannot pass gas at depths of 33 feet or …

Member Avatar for vegaseat
11
9K
Member Avatar for William Hemsworth

Quite a while ago, I made [URL="http://www.daniweb.com/code/snippet217147.html"][B]this[/B][/URL] snippet. This code is basically the same, except that it adds animation. This method of blitting is very fast assuming you don't use a surface that's too large. On a 500 x 500 surface, I managed 350fps using only 0-1% of the cpu. …

Member Avatar for thetukiet
1
7K
Member Avatar for christina>you
Member Avatar for jephthah
Member Avatar for William Hemsworth

Hi, thanks for any help in advance. I was hoping to get some guidance for getting started with connecting to an SQL database online. I'm writing an application in Win32 which needs to be able to read/write to a database. I have plenty of experience with C++, but almost no …

Member Avatar for William Hemsworth
0
357
Member Avatar for gretty

Your code runs without a problem for me, maybe it's a compiler setting? Also, you can use the GetWindowText and SetWindowText to make life simpler.

Member Avatar for malcolmsand
1
2K
Member Avatar for The Mad Hatter

I'd stay with Windows 7 until it becomes out-of-date enough to need a different OS such as Linux (which would probably greatly increase in popularity).

Member Avatar for ZZucker
-2
309
Member Avatar for jephthah
Member Avatar for William Hemsworth

Saw [this](http://www.daniweb.com/software-development/cpp/code/216430/add-a-little-graphics-to-your-console) and decided to make a little spinoff with some physics of mine. Enjoy!

Member Avatar for YassinTAH
1
448
Member Avatar for debasisdas

"When you have eliminated the impossible, whatever remains, however improbable, must be the truth"

Member Avatar for James_28
8
17K
Member Avatar for POW
Member Avatar for William Hemsworth
Member Avatar for cam875

>can you call a function inside that same function If I understood that correctly then.. If you call a function while your already in it, you have recursion. Take this as an example. [CODE=CPLUSPLUS]#include <iostream> using namespace std; void CountDown(int number) { if (number != 0) { cout << number …

Member Avatar for akshaykeerthi.srikanth
0
286
Member Avatar for Doctor Inferno
Member Avatar for sk8ndestroy14
Member Avatar for programmingme

Perhaps a class like this might help.. Ive done abit for you. [CODE] #include<iostream> using namespace std; class fraction { public: int Numerator; int Denominator; fraction(int n, int d) { Numerator = n; Denominator = d; } bool Shrink() { bool sucessful = 0; for (int i = min(Numerator, Denominator); …

Member Avatar for irum.nageen.3
0
3K
Member Avatar for steven woodman

>Isn't making a smoking section in a restaurant like making a peeing section in a swimming pool? Not really. >Why do croutons come in airtight packages? Aren't they just stale bread to begin with? Nope, croutons are not stale, they are just rebaked bread. >If Fed Ex and UPS were …

Member Avatar for stultuske
4
399
Member Avatar for hahanottelling

Add this message handler to your windows proc:[CODE=CPLUSPLUS]case WM_PAINT: { PAINTSTRUCT ps; HDC hdc = BeginPaint( hwnd, &ps ); TextOut( hdc, 0 /* X */, 0 /* Y */, "Blah de blah de blah", 20 /* Number of chars */); EndPaint( hwnd, &ps ); } break;[/CODE]Should be enough to get …

Member Avatar for Nick_3
0
5K
Member Avatar for SWAT

Uhm, I think its quite obvious what my name is supposed to be, would you mind changing it to [B]WilliamHemsworth[/B] please :) ?? It was the worst possible mistake I could do when making this account :D

Member Avatar for <M/>
0
1K
Member Avatar for The Dude

"Doctor Doctor!, I only have 50 seconds to live!" -"Go over there and i will see you in a minute.."

Member Avatar for Ene Uran
9
4K
Member Avatar for >shadow<

[QUOTE=Ancient Dragon]zero -- I don't listen to music on the internet. [/QUOTE]This doesn't really have anything to do with the internet :) My winamp says: "4538 items [11 days+22:01:52][24.26gb]" But I like most of what I have, and never seem to get bored of my music.

Member Avatar for stultuske
0
453
Member Avatar for Lardmeister

[QUOTE]Has anybody seen that 2012 movie? [/QUOTE]Yep, it's pretty good, quite long though.

Member Avatar for sneekula
2
2K
Member Avatar for dumbncool

I don't think you are going to have much luck with this. The animation on that page was made using flash (which is designed for easy animation) and is still very hard to make, this would be even more complex in C++. You are best just using a C++ graphics …

Member Avatar for anuj.juthani
0
825
Member Avatar for savinki

[QUOTE] int getNumDecimalDigits(int value) { char myString[16]; sprintf(myString,"%d",value); return strlen(myString); } [/QUOTE] That is not the best way to do it, heres a better way: [CODE=CPP] // Will work with negative numbers int CountDidgets(int val) { int d = 1, c; if (val >= 0) for (c = 10; c …

Member Avatar for Shahzad Ahmad
0
320
Member Avatar for ThirdChaosSaint

Control a PC from a cell phone? I highly doubt that's something you could manage even with the help here. The only way I can think of doing that is sending emails from your phone, having a program on your PC to recieve them and follow instructions. Even if you …

Member Avatar for 716151
0
2K
Member Avatar for tux4life
Member Avatar for delta_frost
0
795
Member Avatar for sillyboy

Ahh, chillin' to some Jack Johnson :) [url]http://www.youtube.com/watch?v=pNlmn7vbXBQ[/url]

Member Avatar for Helianthus
0
5K
Member Avatar for sneekula

I would definetely say Flash AS2. The absolute most important part is that the students are motivated, and flash allows you to be very creative with just a basic knowledge of math. I got into programming through AS2 when I was about 12, and then started C++ a year later, …

Member Avatar for Sanchixx
0
482
Member Avatar for rhoit

Nice snippet, works perfectly. The only thing I could complain about (other than the formatting) is the fact that you included [b]conio.h[/b].

Member Avatar for rhoit
0
369
Member Avatar for linux

this must be the absolute geekiest thread in existence :P oh oh i mean: 0111010001101000011010010111001100100000011011010111010101110011 0111010000100000011000100110010100100000011101000110100001100101 0010000001100001011000100111001101101111011011000111010101110100 0110010100100000011001110110010101100101011010110110100101100101 0111001101110100001000000111010001101000011100100110010101100001 0110010000100000011010010110111000100000011001010111100001101001 0111001101110100011001010110111001100011011001010010000000111010 01010000

Member Avatar for vinnitro
2
1K
Member Avatar for johndorward

Most probably you're just missing a codec, try installing this codec pack [URL="http://filehippo.com/download_codec_pack/"][link][/URL], or try using VLC Player.

Member Avatar for Rednaxella
0
426
Member Avatar for sknake

Well, something's sure happened to AD. [URL="http://www.daniweb.com/forums/member46588.html"][link][/URL] There's no way he deserved 6506 downvotes :P

Member Avatar for pseudorandom21
2
964

The End.