Do you mean a C structure?
struct DBMS {
char field[16]
};
User Profile
Collapse
-
-
wild guess, on Windows you may create a process and pass the command "cmd java console_app", it should open a new console to run the application.Leave a comment:
-
Leave a comment:
-
Hi,
Very wild guess is you keep invalidating the area where the line is and inside your WM_PAINT handler draw it again at another position. Alternatively you may switch your draw mode, so that when you draw the same line, it is actually erased, and then switch back to normal mode and draw it again at another position.
Once again, just a guess, correct me if I am wrong!
Cheers,
LiniLeave a comment:
-
That would mean, the function requires pointers to VARIANT, currently the r and c are integers. I think you would need to convert them to VARIANT.Leave a comment:
-
hi jainchar,
as far as I understand, NumRows and NumCols in your code are pointers to VARIANT structures.
if NumRows is defined as
VARIANT NumRows;
then you should try:
if (cell.Split(&r, &c))
{
}
As an example of usage, maybe you can take a look here:
IAccessible::ac cHitTest
hope this helps.
Cheers,
LiniLeave a comment:
-
Leave a comment:
-
A header file contains declaration of something (constants, classes, ...), usually ends with a .h or hpp extension.
A DLL (dynamically linked library) is a binary file (with .dll, .ocx, .a, ... extentions), containing functions, resources, ... and can be linked to your program at run-time. In order to use a DLL you need to include the corresponding header file, which declares things in the DLL, so that your program gets compiled. The...Leave a comment:
-
Take a look at this
http://www.dreamincode.net/code/snippet357.htm
suppose you have on Windows a file called openBrowser like this:
#include <windows.h>
void main()
{
ShellExecute(NU LL, "open", "http://dreamincode.net ", NULL, NULL, SW_SHOWNORMAL);
}
compile it by:
cl /EHsc openBrowser.cpp /link shell32.lib
ch33rs,...Leave a comment:
-
cross-platform:
cheers,Code:ifstream is; is.open ("test.txt", ios::binary ); // get length of file: is.seekg (0, ios::end);
liniLeave a comment:
-
check input from standard input stream?
Hello,
I am writing some code in the scenario which can be described as follow:
+ program A which writes to standard output (e.g. cout >> whatever).
+ program B which has GUI and also listens to the standart input regularly (using a timer) if there is no input, it returns to the GUI and does something else.
What I expect is B should work without problem in both cases:
(1) user@host $ A | B
...
No activity results to display
Show More
Leave a comment: