Continue to Site

Welcome to EDAboard.com

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.

Recent content by sshahid47

  1. S

    C# and C++, Reading and writing from Text File

    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
  2. S

    How to embedded a hex file into a exe file with Visual C++?

    include the hex file as a binary resource in the resource editor ( easiest way) and read it during run time and use it
  3. S

    How to create wrapper class for ZLIB software library?

    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.
  4. S

    Visual C++ 2008 Question: How to read a text box into an array

    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.
  5. S

    C++ code - Calculate Average Scores Using Array

    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; }...
  6. S

    What is the best C++ book

    herbert schildt is the best. he provides high to very low level details such as segmentation.
  7. S

    scanf formatted input %nand %p specifiers

    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...
  8. S

    GetLastError() error code 1784

    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);
  9. S

    Socket Programming pls help

    read the below link, it uses vc++ https://www.codeproject.com/KB/IP/beginningtcp_cpp.aspx
  10. S

    how do compilers work please ?

    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...
  11. S

    I want to learn visual basic

    try this link https://msdn.microsoft.com/en-us/vbasic/default.aspx points to VB on MSDN hope that helps.
  12. S

    delphi, cbuilder or vc++ or c#

    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...
  13. S

    How to use fprintf function in C++ to send complex data?

    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)
  14. S

    What is the difference between #define n 100 and int n=100 ?

    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...
  15. S

    ASCII escape sequences in C++ for windows XP help!

    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 ?

Part and Inventory Search

Back
Top