921 Posted Topics
Heres a code that allows you to manually change the sensitivity of the mouse by using windows hooks. | |
Re: When you get into problems with resources like this, just start over, it saves yourself trouble in the long run. Also, use a resource Viewer/Editor if possible, it prevents these sort of problems. | |
Re: A friend showed me this :) [URL="http://www.funatiq.com/images/tits-t-shirt.jpg"][link][/URL] | |
[URL="http://www.cleverbot.com/"]http://www.cleverbot.com/[/URL] Here's a fun and interesting site I found, I'm curious to know how exactly it 'learns' from the user. This is how my chat went :D[QUOTE]User: How are you? Cleverbot: Quite good, thank you. How are you? User: I am terrible. Cleverbot: Why is that? User: Because you hate … | |
Re: Don't use Turbo C, I would go for Microsoft Visual C++. Tutorial to get you started on windows programming. [URL="http://winprog.org/tutorial/"][link][/URL] | |
Hi, I've been working on a sudoku game, which seems to be working pretty well so far. I've managed to make a basic solver, and the interface is pretty nice :icon_cheesygrin: But i'm having problems trying generate a random unique sudoku. I need to be able to create 3 different … | |
Re: First, try:[CODE]textBox9->Lines[0]="Succes";[/CODE]If that doesn't work, post the rest of the code/function. | |
Re: I don't think arithmetic exceptions are caught, if somewhere in the code you 'throw' and exception, then it will catch it.[CODE]#include <iostream> #include <exception> #include <string> using namespace std; int main () { int num1, num2; float resul; cout << "Introduce a number: "; cin >> num1; //any number cout … | |
Re: Let Windows handle all that (:[CODE=CPLUSPLUS]#include <windows.h> #include <shlobj.h> #include <iostream> int main() { char appDataPath[MAX_PATH] = { 0 }; SHGetFolderPath(NULL, CSIDL_APPDATA, NULL, 0, appDataPath); std::cout << appDataPath; }[/CODE] | |
Re: I've started mixing words together that i can easily remember for my passwords. Pretend my house alarm code is 7142, and my college username is WILLH, mix them together and:[CODE]7 1 4 3 W I L L H --------------- 7W1I4L3LH [/CODE]It looks pretty secure, and if you ever forget it, … | |
Re: Welcome back Serkan :icon_lol: [QUOTE]Sounds more If a hot girl hit on me, then I would be dating, but since I do not have the courage to hit on hot girls[/QUOTE]I got myself one :D But it's not exactly bad you found a hobby instead, it also means you're less … | |
Re: If it didn't allow you, that's because its probably already been taken. Try the same name slightly changed, for example, you would probably find [B]Assim2[/B] works, but be creative. | |
Re: [QUOTE]Really? After implementing the buttons I asked if people noticed a difference and everyone said they did :([/QUOTE]I notice a difference, now some people actually use it on their first post, before almost no-one did, so don't worry, your efforts there haven't gone to waste :icon_cool: I think it also … | |
Re: I think it's fine and very easy to navigate. I also just saw that you made threads with [B][COLOR="Red"]0[/COLOR][/B] posts red, that will make life [I]ever[/I] so slightly easier for me :) [QUOTE=beeerlover]I am a fan of dark themes[/QUOTE]The yellow orange and purple isn't quite my favourite either, but it … ![]() | |
Re: You know you are a geek when you can say your name in binary without having to think twice. 01110111011010010110110001101100011010010110000101101101 :P | |
Re: I've never really got the hang of Assembly language, knowing that would be nice, can't be bothered though. | |
Re: Find out how to create shortcuts. Off 5 second of googling [URL="http://www.codeproject.com/KB/shell/create_shortcut.aspx"][link][/URL] | |
Re: Here the statement finishes with a comma, not a semicolon:[CODE]#include <iostream> int main() { printf("Hello"), getchar(); return 0; }[/CODE] | |
Re: Nice. Although it's already been mentioned on that page, this one makes great use of the piano, despite it having something to do with Twilight apparently. [URL="http://www.youtube.com/watch?v=ZOqUFqF_ZwM"][link][/URL] | |
Re: [QUOTE=cwarn23;1054285]Has anybody seen the video linked to in the first post?[/QUOTE]Yep, that's obviously how it happened :icon_razz: | |
| |
Re: I'm surprised the guy even had the ability to sign up. | |
Re: And if you include 'resource files' to your application, the size will go up about the size of the files you include in it. As AD said, it's very often different because of the compiler and settings. | |
Re: Use windows hooks, look at my code snippets for examples. [URL="http://www.daniweb.com/forums/search2238504.html"][link][/URL] | |
Re: [URL="http://lmgtfy.com/?q=C%2B%2B+tutorial"][link][/URL] First link on google. The lack of effort is just disappointing. | |
Re: I could swear there was a similar thread about this somewhere, I'm up for idea though (: | |
Re: I knew I bookmarked this somewhere, try [B][URL="http://www.codeproject.com/KB/shell/shellextguide1.aspx"]this link[/URL][/B]. | |
Re: On holiday, so I don't have many decent photos, just this crappy one I took on my phone before going out ;P go ahead, throw your insults. | |
Re: Loop through the characters until you find your first delimiter, save the index of that character, loop through the characters from the first index, and when you find the second delimiter, save the index of that too. Then pull out the characters between the two indicies. | |
Re: Why do you have a [B]ptr[/B] variable if you're doing nothing with it? Try changing your code to:[code]#include <iostream> using namespace std; int main (void) { cout << "This is a sample text." << endl; return 0; }[/code] | |
Re: Show us what you've done so far. | |
Re: [QUOTE]Another question, I have a dialog using OPENFILENAME that closes when I select a file. Is there a way to make the dialog close when I select a folder instead of a file?[/QUOTE]Try using a folder browsing dialog instead:[CODE]#define ID3LIB_LINKOPTION 1 #pragma comment(lib, "id3lib.lib") #include <windows.h> #include <shlobj.h> bool BrowseFolder(char … | |
Re: Not possible to use in-browser, the user has to download and execute it. | |
Re: [URL="http://www.thesuperheroquiz.com/result.htm?a=55&b=95&c=35&d=48&e=33&f=50&g=55&h=70&i=75&j=45&k=30"][link][/URL] :P | |
Re: 1) mostly work, not much free time for much else thanks to taking an extra A-level 2) something arty, i do love photography - though i'm currently lacking a camera until christmas :P 3) Go iceskating whenever I can, or an icehockey session whenever there's one on 4) Coding, only … | |
Re: Instead of the [B]WM_TRAYICON[/B] message, try [B]WM_USER_SHELLICON[/B]. | |
Re: Well, you should get started, the function should start off looking something like:[CODE]bool isSymmetric(int *matrix[], int width, int height) { // Code here }[/CODE]The rest is up to you. | |
On [URL="http://www.daniweb.com/forums/thread245377.html"]this[/URL] thread, everything appears to be okay until you click Toggle Plain Text, I found that on line 89, this appears:[CODE]switch(LOWORD(wParam)) { case IDD_ABOUT[COLOR="Red"][B]<b></b>[/B][/COLOR]: {[/CODE]Instead of:[CODE]switch(LOWORD(wParam)) { case IDD_ABOUT: {[/CODE] | |
Re: I don't see your point, (2 / (2 + 1)) = 0.75, which is correct [I](edit, or not..)[/I]. Or, (Number of up-votes / Total number of votes) ![]() | |
Re: [QUOTE]Where I live, 16 is the age when you're legally allowed to drink alcohol. So when I turned 16, I went to a bar with friends and got wasted on beer and cheap vodka.[/QUOTE]It's not legal here, but that didn't stop me :D Usually I just watch a movie with … | |
Re: This [URL="http://www.canon.co.uk/For_Home/Product_Finder/Cameras/Digital_SLR/EOS_500D/index.asp"][link][/URL] :icon_razz: Already been ordered I think. | |
Re: If you're using windows then it's easy :)[CODE]void gotoxy(int x, int y) { static HANDLE hConsole = GetStdHandle( STD_OUTPUT_HANDLE ); COORD c = {x, y}; SetConsoleCursorPosition( hConsole, c ); }[/CODE] | |
Re: Sure, but I get the feeling you didn't search first. Try this:[CODE]#include <iostream> #include <direct.h> using namespace std; int main() { _mkdir("C:\\My Directory"); }[/CODE] | |
Re: Someone asked the exact same vague question not long ago. Go and look for it. | |
Re: [QUOTE]C++ is my language of choice, with Java second. The language I dislike since "hate" is such a strong word would be VB. It just takes longer to write an application.[/QUOTE]I agree with you there, VB in my opinion goes overboard with simplicity, removing line breaks, brackets, and curly braces … | |
The End.