Language
Platform
Any
License
Any
thanks. it might be helpful. I'll take a look at it.
#include
#include
#include
#define EPS 0.000001
void main()
{
float F(float x);
float x1,x2,x3,x4,f1,f2,f3,f4,h1,h2,d1,d2,a0,a1,a2,h;
clrscr();
printf("\nInput three initial points \n");...
I'll admit right off the bat that I'm an experienced Microsoft Visual Studio developer. I used Turbo C++ many, many years ago. I have no plans to be proficient with Builder and Turbo C++, but only...
PROGRESS;
}
//---------------------------------------------------
//event created
void __fastcall TForm::PROGRESS(TObject *Sender)
{
//my code
}
Hi people,
I am doing a school assignment on LED memory game. Example:
Led 1 light up, the person has to enter A for the answer.
The part that I don't know how to make is this.
When...
12 Aug 09 20:22
I'll start by pointing out I'm very much a self-taught hobbyist programmer, never having had a need to create a library. I also haven't used Builder for about two years so...
I have inherited a c++ builder version 5 project, and there are thousands of unicode-related errors when I try to build it in c++ builder 2009. Is version 5 available for sale or download anywhere?
Another neat little trick is to alter the function with some debug code:
void some_function(int x, int y, void(*caller)(void)
{
...
}
void some_caller_func ()
{
some_function(1, 2,...
Thanks. I know that there are programs which display the relationship of the classes in figures all at the same time. Something like that for member functions and their corresponding callers would be...
You can
- create the arrays dynamically (as shown in other reply)
- use a std::vector (which does the dynamic allocation and deallocation for you)
In C++, prefer a std::vector over an array...
Is there a way to do it?
If you want to know this while debugging, do the following:
- put a breakpoint at the function you are interested in
- let the program run to the breakpoint
- view the...
Hello. I am trying to understand and modify a very complex program written by others. There are many files, classes and member functions within each class. I have found the member function of...
Regarding the optimizing of such functions: If you are writing in C++, make the function "inline". A C++ compiler must support that optimization.
Here is how to avoid 'extern', but still have all variables in one place.
1. Make a large structure with all variables (put it into GLOBALS.H):
typedef struct
{
int iMember1;
long...
Hi ,
My strengths are in OOPS, OOAD, Design Patterns, C++, STL, Visual C++ , MFC, COM.
I have not worked with Java and Tomcat .
I can be reached at sujayghosh@hotmail.com .
Looking...
In 16-bit compiler - use 'long' - it will give the integer range of minus 2147483647 to plus 2147483647. If you need larger values - you need to write the library for it or try to find it on the Web.
Hi friends, there is a project which contains more than 10 small projects. These projects contains their respective exe's. Each project has some dlls to perform particular operation. Each dll is...
hai all
Is there anyone know any library borland c++ builder for interaction with webcam, what you usually use, any recommendation ?? free or Commercial and the most easiest to use with borland c++...