Welcome to our site! EDAboard.com is an international Electronics Discussion Forum focused on EDA software, circuits, schematics, books, theory, papers, asic, pld, 8051, DSP, Network, RF, Analog Design, PCB, Service Manuals... and a whole lot more! To participate you need to register. Registration is free. Click here to register now.
you can do it the following ways
1) Use a file and map them in both the C++ and C# apps and use sync objects to signalling ( see msdn for file mapping and mutex objects)
2) use pipes at each end and communicate
not sure what kind of help do you want, just make a static library and insert a class and link ZLIB to this project and call the appropriate methods for ZLIB from the new class methods.
can u tell what is the application type (MFC or win32) ?
if i assume you are using MFC, then i think textbox->text should be a CString object, and you can call textbox->text[0], textbox->text[1] etc..., to extract the ascii code of the digits.
here's what you can do
int main()
{
double *dValues = 0;
int iArraySize = 0;
cout << "please enter the size of the array";
cin >> iArraySize;
dValues = new double[iArraySize];
for(int i=0; i < iArraySize;i++)
{
cout << "Please enter the number:";
cin >> dValues[i];
cout << endl;
}...
Hi,
you use %n in scanf for getting the integer equal to the number of characters read so far
eg:
int n = 0;
char str[100]={0};
scanf("%s %n",&str,&n);
if you now input the following to this program
abc<enter>
a<enter>
then
str = "abc"
and n=4, indicating that till now 4...
Hi,
can you try this in the first statement, i think that should do the trick.
hDevInfo =
SetupDiGetClassDevs(&GUID_DEVCLASS_HIDCLASS,
0,
0,
DIGCF_PRESENT | DIGCF_DEVICEINTERFACE);
Hi,
At the high level, the compiler works like this.
1) you write the source code in C++/VB
2) Compiler first parses the source code i,e breaks the code into tokens according to the language grammer
3) if the source code does not confirm to the grammer then you get an error
4) Forms a token...
hi,
being fast
1) VC++
2) delphi, cbuilder
3) c#
being easy to program
1) c#
2) delphi, cbuilder
3) VC++
having sample code on the internet
1) c#, has a lot of backing from microsoft and hence a lot of samples
2) vc++, a majority of c++ on windows program using vc++ and hence a lot of...
help c++
Hi,
what sort of data is this ? do you mean its of the format x+yi, where y is the imaginary part ? in that case use the following
fprintf(fileptr,"%d + %di",x,y)
help2 in c++
Hi,
int N=100;
double H[N];
this will not work, however
const int N=100;
double H[N];
this will work and the difference between
1)
#define N 100
double H[N];
and
2)
const int N=100;
double H[N];
in case 1, the compiler simply replace the N with the number defined...
Hi Lucifre,
i am not exactly sure what you want to do ?,
1) are you writing a console application in winxp ?
2) are you writing unicode app or ansi app ?
let me know the following to help you more ? and what exactly are you trying to do ?
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.