hi guys,
i see this alot, but i've never used it in a program, and i dont know whats it used for, so if someone can help me i'll be thankful.
I am using alarm() to time a process.
Is there something with which i can measure by milliseconds ?
The alarm() in C++ allows only seconds and not anything lesser than that.
I did try...
Hey all,
I'm pretty new to C++ so forgive how simple this question probably will be.
I'm creating a class which performs operations on instances of another class which it stores in memor...
I am using the method get from the indy9 component. In some computers in the same network it's working. But in one computer when i am try using the get method i have the following error:
S...
hi
I am working on a samll project of mine.
all i want to do is that i want to create an exe file of the project.
I have C++ builder 6 . i think the compiler is missing for the making of ex...
Hi All,
Can someone please give me an "Example" of how to use EnumWindows and EnumChildWindows in Borland C++ Builder?
I looked in MSDN but I couldn't understand much :( Also please note...
I was making a little app that acts as a server and i borrowed code from one I allready had, made on MFC though, that creates a thread that executes the server code. So, although everything (e...
I am trying to read an Excel file, I was provided the following code but I can not make it compile. Can you provide name of book(s) that explain how to use these components. I have placed the ...
Polynomial: x16 + x12 + x5 + 1
Start Value: 0xFFFF
CRC_POLYNOM = 0x8408;
CRC_PRESET = 0xFFFF;
C-Example:
unsigned internal CRC = CRC_PRESET;
for (i = 0; i < cnt; i++) /* cnt = nu...
Hello,
I have rencently read the article "Programming Parallel Port in Win2k an XP Problem" and that's the same question I am facing right now.
Can anybody please tell me what to do to build...
I wanted to truncate a decimal no in c++
e.g
#include <iostream>
using namespace std;
int main()
{
float b;
b = 4.34534;
.I wanted to truncate b to "4".
Here's an interesting little thingsthat I came across in CPP Builder 5. I'm sharing because it caused me considerable grief and maybe I can spare someone else. (Either that or someone can po...
Hi,
I need to know how can I detect a unique serial number from some components of a PC (like motherboard, CPU, HD, video card,...). The MAC Address is not a solution, because some PCs don'...
I have a project that I have been developing in C++ Builder 5 and I use the Crystal Reports VCL to view/print reports. I would like to finally upgrade C++ Builder so I downloaded the trial ve...
Hi all,
I'm trying to create a TXMLDocument at runtime. I don't know what I'm doing wrong, but I get an access violation when I try to access the root element. Here's my code:
xmldoc = n...
I need to get a replacement copy of BCB version 5 in order to support existing code.
I have lost the original installation CDs and am vulnerable to critical system failure.
Does anyone know...
Hi, so far I have written a simple program that opens a udp socket to another computer and sends some data. What I would really like to do is, open, let's say 25 different socket connections ...
How to make an apllicatio blink in the taskbar and show a hint or tooltip, or better, show a window like MSN Messenger alert to notify that a contact is online, when my application is minimize...
Hi,
All right, I'm stumped on this one. I am using C++ Builder 6, and I keep getting the 'Invalid floating point operation' exception when I execute a certain line of code.
I am calli...
I am attempting to upgrade from C++Builder 5 to C++Builder 2007 and I have run into problems re-building a component. I am getting the error:
[ILINK32 Error] Fatal: Unable to open file 'DBTA...
// Temperature calculation with functions
#include <iostream> //Opening libraries
using namespace std;
float TempFtoC(int) ; //Initializing functions and variables
float TempCtoF(int)...
Hi,
[I am using C++ Builder 6]
1) Is a WideString equivalent to a wchar_t?
e.g. can I pass a WideString into a function expecting wchar_t* without worrying about conversion issues?
...
How do I connect to a remote MySQL database using C++ Builder 2007 and loop thru the recordset programmantically of a returned query. For example "SELECT firstname, lastname, options FROM my_t...
HOW TO CONNECT OR ORACLE DATABASE USING BORLAND C++ BUILDER 6
Hi
I am really stuck.
For part of my program I have to code a 3x3 matrix and then find the inverse of it?
Any help will be useful.
Thankyou