Forum: C++ Jun 18th, 2009 |
| Replies: 10 Views: 517 Works like a charm. Thanks for your time:) |
Forum: C++ Jun 17th, 2009 |
| Replies: 10 Views: 517 Just something i found out....If the user resizes the window and the rect is not updated to the correct size the clipcursor will no longer function properly. So yes I think you do need to keep... |
Forum: C++ Jun 17th, 2009 |
| Replies: 10 Views: 517 Ah there we go, is working now^^ thx dude |
Forum: C++ Jun 15th, 2009 |
| Replies: 10 Views: 517 Also for anyone reading this post. You will need to set the ClipCursor inside a loop to constantly update that cursor is infact still inside the window |
Forum: C++ Jun 15th, 2009 |
| Replies: 10 Views: 517 |
Forum: C++ Jun 11th, 2009 |
| Replies: 10 Views: 517 I'm not thinking like that at all!:P "malicious purposes"
I'm thinking gaming....I don't know if you have ever played baldur's gate1 or 2...when you move the mouse to the side of the screen it will... |
Forum: C++ Jun 11th, 2009 |
| Replies: 10 Views: 517 Hey:)
I'm not actually sure what it's called..so just calling it "mouse window locking" - What i mean by this is how do you lock the mouse to a window ie: The mouse can not leave the window unless... |
Forum: C++ Mar 10th, 2009 |
| Replies: 4 Views: 1,008 I understand a map with 2 keys being a 2d map array?
map<Key, Map<Key, Value> > So i suppose you can do that if you want a value that uses two keys to make it unique? |
Forum: C++ Nov 24th, 2008 |
| Replies: 1 Views: 303 Hi I don't know if there is any simple way of doing this but how can I gather how much data has been sent across the network from a certain IP address....for example say i wish to track how much data... |
Forum: C++ Oct 1st, 2008 |
| Replies: 0 Views: 299 Hey, Does anyone know any good packages that include a way to create 2d ghx along with GUI for C++. what I've got atm is wxwidgets for GUI and allegro for 2d ghx. I do not know how to combine the 2.... |
Forum: C++ Sep 10th, 2008 |
| Replies: 2 Views: 1,763 ah awesome it works thx!:) |
Forum: C++ Sep 10th, 2008 |
| Replies: 2 Views: 1,763 I got this info off a website. tells u how to make a clock in C++... can anyone tell me how to make it so the PC doesn't use 100% cpu? if u look in task manager ull see <ProjectName> is using 100%... |
Forum: C++ Sep 6th, 2008 |
| Replies: 0 Views: 511 Hey again. just want to know how to create a query such as an insert query with MS access and C++. this is the code im using to connect to the database and im using Dev C++
#include <windows.h>... |
Forum: C++ Sep 5th, 2008 |
| Replies: 5 Views: 579 system("pause");
return 0;
use that at the end of ur main method should work:) |
Forum: C++ Sep 5th, 2008 |
| Replies: 6 Views: 1,213 i actually just got one last question. how wud i create a query using this method of connecting to a sql db?
ex: SELECT * FROM table1 |
Forum: C++ Sep 5th, 2008 |
| Replies: 6 Views: 1,213 oh ffs im an idiot:) u gotta include the whole pathname in the linker
C:\Dev-Cpp\lib\libodbc32.a
C:\Dev-Cpp\lib\libodbccp32.a
thx anyway soz for bothering:P |
Forum: C++ Sep 5th, 2008 |
| Replies: 6 Views: 1,213 Compiler: Default compiler
Building Makefile: "C:\Documents and Settings\BradenMurphy\Desktop\DB\Makefile.win"
Executing make...
make.exe -f "C:\Documents and... |
Forum: C++ Sep 5th, 2008 |
| Replies: 6 Views: 1,213 im using dev C++ 4.9.9.2 btw |
Forum: C++ Sep 5th, 2008 |
| Replies: 6 Views: 1,213 Hi i've got a problem. I keep getting this awesome error "[Build Error] [Project1.exe] Error 1"
I copied this source code from http://www.daniweb.com/forums/thread56924.html
I just can't seem to... |
Forum: C++ Aug 26th, 2008 |
| Replies: 2 Views: 506 string ip = inet_ntoa(cad.sin_addr);
thx:) |
Forum: C++ Aug 25th, 2008 |
| Replies: 2 Views: 506 Hi i would just like to know how wud u display the client's IP address when the client connects to the server.
This is found on the servers side while waiting for a connect. now i just need to... |
Forum: C++ Aug 16th, 2008 |
| Replies: 3 Views: 478 ah awesome got it to work thx guys:D |
Forum: C++ Aug 16th, 2008 |
| Replies: 3 Views: 478 string hello;
cin>>hello;
sprintf(buf, "This server has been contacted time%s\n", hello);
I'm making a simple client-server program. I just want to know how do I get to print out... |
Forum: C++ Aug 14th, 2008 |
| Replies: 2 Views: 445 |
Forum: C++ Aug 12th, 2008 |
| Replies: 2 Views: 445 I've got 3 classes 2 subclasses that link to a main class. (electric tools, fuel tools connect to Core tools). What i've done is made a handler class(Hardware) from these classes which has a void... |
Forum: C++ Aug 8th, 2008 |
| Replies: 10 Views: 916 hehe noob question:P
what does it mean when u declare variables outside of the struct?
struct data
{
int x,y;
double s,w,e,d;
}d[5000],f[5000]; <<<< ? |
Forum: C++ Aug 3rd, 2008 |
| Replies: 3 Views: 738 tyvm i got it working yay:) |
Forum: C++ Aug 2nd, 2008 |
| Replies: 3 Views: 738 Hi for my assignment i have to create my own greater than operator for a string class. Basically the class acts as the std string class library but i gotta edit the greater than operator in it. The... |