No one has voted on any posts yet. Votes from other community members are used to determine a member's reputation amongst their peers.
23 Posted Topics
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% cpu [code=c] // crt_clock.c // This example …
Hi, Is possible to load a .NET v3.5 assembly into a .NET v2.0 application? For example my application (written in delphi.NET) only supports .NET v2.0 and I would like to know can I load .NET assemblies compiled in .NET3.5 or greater? Regards, Braden Murphy
Hi, I was hoping someone knew a good 2d graphical library for .NET that can: -draw objects (lines, bmps, shapes etc) -these objects can be moved around and resized -this component allows for zooming in on objects -the library must be open source -I am willing to pay for it …
Heya, I would like to know how to pass a packed record in delphi into a C# dll procedure. Any ideas?
Hey, I would like to know how to only allowing one instance of a program to run at once. Ie: You can't run the application multiple times creating multiple processes. I only want to allow one instance of that application to be running at any given time.
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 you alt tab. So when the user drags the mouse to …
Hi, I'm using CodeGear RAD Studio for compiling a delphi.NET application. Is there anyway to check what .NET version is being used to compile the application and how would you set the .NET version for compiling?
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?
Hi, Does anyone know of some source code or methods that can be used to monitor the CPU utilization in Delphi?
Just a short question.. Does declaring your program as "unsafe" mean your program's memory is no longer managed?
Hi, I would like to know how to port this code in Delphi [CODE] a : Word; b : ^Word; implementation {$R *.dfm} procedure TForm1.Button1Click(Sender: TObject); begin b := @a; Inc(b^); //Display a end; [/CODE] To code in .NET, The problem is converting the pointer. The Migrating Pointer Types section …
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 my PC sends across the network to my internet …
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. So if someone cud tell me how to …
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++ [CODE=syntax]#include <windows.h> #include <stdio.h> #include <string.h> #include <odbcinst.h> #include <sql.h> #include <sqlext.h> #include …
system("pause"); return 0; use that at the end of ur main method should work:)
Hi i've got a problem. I keep getting this awesome error "[Build Error] [Project1.exe] Error 1" I copied this source code from [url]http://www.daniweb.com/forums/thread56924.html[/url] I just can't seem to get it to work. can someone pls help [CODE]#include <windows.h> #include <stdio.h> #include <string.h> #include <odbcinst.h> #include <sql.h> #include <sqlext.h> #include <sqltypes.h> …
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 display the client's IP address in this while loop but how:/ …
[CODE] string hello; cin>>hello; sprintf(buf, "This server has been contacted time%s\n", hello); [/CODE] I'm making a simple client-server program. I just want to know how do I get to print out the hello string inside the sprintf() >.< soz might be a very dumb question.... The error i keep getting …
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 display in it. [CODE] vector<Hardware> hardware_stock; Hardware record; record.read(cin); hardware_stock.push_back(record); for(vector<Hardware>::size_type i = 0; i!= …
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]; <<<< ?
well... we did java at school and it was rly easy..just did basic stuff tho like hsa console, bit of GUI, sort methods, for loops etc..also connecting to a microsoft DB.. also imo after starting to program in C++, java is so much more fun!!;)
hey all This would be my 1st year out of school and into college woohoo! My course is for one year and it is just based on programming... the languages i've chosen to do are C++ as my primary and Java as my secondary. My course has also included SQL …
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 assignment says upper and lower case should be treated as equal eg …
The End.
BradenMurphy