Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Search results for query: *

  1. mikeol

    Visual C++ Compile error

    Never mind, got it fixed now... What I needed was: typedef short (_stdcall *inpfuncPtr)(short portaddr); typedef void (_stdcall *oupfuncPtr)(short portaddr, short datum);
  2. mikeol

    Visual C++ Compile error

    Thanks for the reply, tried that, but it still didn't work... the error appears to be caused by the opening barcket
  3. mikeol

    Visual C++ Compile error

    Hi, I downloaded some C source code that was written in Borland, which I am now trying to compile in Microsoft Visual C++ #include <stdio.h> #include <conio.h> #include <windows.h> typedef short _stdcall (*inpfuncPtr)(short portaddr); typedef void _stdcall (*oupfuncPtr)(short portaddr, short...
  4. mikeol

    Web page with C functions

    I have written different functions in C which do tasks of taking in data, processing it, and giving the output. I would like to write a web page whereby the user can choose which function they want to use, enter the data and parameters, and then my function will output the results. Could someone...
  5. mikeol

    sizeof

    Just a quick question... As far as I know, the size of a character in C is 1 byte. Can somebody explain why the size of a constant character is 4 bytes? ie: char c; sizeof(c) = 1 sizeof('A') = 4 c = 'A'; sizeof(c) = 1 'A' is acharacter, how come the sizeof 'A' is not 4? - Thanks
  6. mikeol

    Creating A Graph

    I am compiling with Microsoft Visual C++ as a win32 console application, but if necessary I guess I could convert to a full windows application. If there are graphics libraries included in Microsoft Visual C++, I am not familiar with them. There's no real need for anything fancy, but the data in...
  7. mikeol

    Creating A Graph

    Hi, Can anyone help me? I'm looking for a way to draw a trend graph, plotting the integer contents of two buffers against the buffer index. Say I have: int buffA[50], buffB[50]; I want to plot buffA[j] and buffB[j] on the Y-axis against j on the X-axis for j = 0 to 49. Anyone got any ideas? - Thanks
  8. mikeol

    Preventing focus on editbox?

    Is there any way to prevent an editbox from ever getting focus so that the user can never write to it? I only want to use the box strictly to display text so the user can't be alowed write to it. I did it before by keeping it disabled, and only enabling it when the program writes to it. But...

Part and Inventory Search

Back
Top