Thursday, July 9, 2009

Where can I download C++ Builder 4 IDE ???

I have looked on the Borland web page but cant find a free download for the above. Does anyone know a website that I can download from???

Where can I download C++ Builder 4 IDE ???
have you checked http://www.programmersheaven.com

wisteria

I am compiling a C++ builder file and i have some errors in include files.they dont include correctly.?

i need some one who knows how to help me to solve the prob.if there is any body may he/she tell me and i send her /him the errors or take his/her ID and ask her/him directly?

I am compiling a C++ builder file and i have some errors in include files.they dont include correctly.?
make sure you have the #include %26lt;WHATEVER%26gt; statements at the beginning. The "whatever" should be replaced with something like "stdio.h" or "math.h" depending on what libraries and include files you need.





Also make sure the include files are in the same directory you are working in.





Hard to help without more info. I'm certainly not an expert, but I have used C++ a bit.


Which is better? Broadland C++ builder Or Visual Basic?? and why??

C++ will allow you to build much more robust applications. Visual Basic is good for more simple programs and even learning the fundamentals of programming logic.

Which is better? Broadland C++ builder Or Visual Basic?? and why??
It depends on how experienced you are in programming - Visual BASIC is a great beginner's language. BASIC stands for Beginner's All-purpose Symbolic Instructions Code
Reply:broadland C++ is much better than basic...but V.b is eaay..
Reply:You always get the answers from people dogging visual basic because they read that in a magazine 10 years ago and have never actually used it. I use both vb and c#. I personally prefer VB. It is easier to learn, easier to use, and does just as much.
Reply:Visual Basic - has broader application appeal, newer technology.
Reply:apples and oranges.


Borland is an IDE/compiler...VB is a (bad) language.





C++ is better, though you may want to start with c.
Reply:I use both on a fairly regular basis. It depends on what I need, how long I want to take, and the desired end result.
Reply:Everyone is talking about the "language"; what is really important is the compiler. If you are programming in any high level language you must rely on the complier to convert it to machine code(The language your platform(OS) can understand). Most people who bash basic do so based on the fact that the complier wasn't very good in its infancy. Now when you compile either a VB or a C++ program you have written, they end up virtually being the same entity. Actually, VB probably does a better job at memory managment than many intermediate C++ programmers.
Reply:first of all there are now two vb's. VB6 %26amp; VB.Net, they are two completly different languages all together.





vb6 in my oppinion is good for prototyping applications or writing non graphic intense programs like database programs. Vb6's language is very sloppy in my opinion, the only thing that keeps it going is it's IDE (Intergrated Development Enviroment) basicaly you can do most of the work by dragging object onto your form.





vb.net has very good syntax. It is an interprated language so it will never be as fast as a well writen c++ program. If you only want to write software for windows and you aren't writing very complex games I would sugest ussing vb.net.





c++ is the hardest to learn. It have many difernt librarys and they all use differnt naming conventions which makes a fairly difficult language just that more difficult. But once you master it you are capable of writing very fast and robust programs. You can also write programs for nearly all types of computers is c++.


I program using c++builder and have created a form with an smtp module on it. i am having trouble sending emai

The module is provided by ICS. I cannot get it to connect correctly. what i am trying to do is embed an emailer on a form so that users can send an email thru my program rather than having to open up outlook and do the same thing. in my program, most of the text and address is automatically put on the email, saving time. however, i can't seem to get the component or module to connect using the command smtp-%26gt;connect() as well as putting in server and port info

I program using c++builder and have created a form with an smtp module on it. i am having trouble sending emai
I believe the file maybe to large to send over the internet. Zip the file using a software such as Winzip.


Error message in C++ Builder?

int i;


long lx,ly, lz;


float fz,x,y;


void cordic();





x=1.0;


for (i=0; i%26lt;CBIT; i++)


{


lx = x*MBIT;


ly = y*MBIT;


lz = 0;


cordic(lx,ly,lz);


fz = (float)lz/MBIT;








/* CORDIC m=1, y--%26gt;0 */





void cordic(x,y,z)


long *x, *y, *z;


{


int i;


long xx, yy, zz;





for(i=0; i%26lt;CBIT ; i++)


{





if( *y%26gt;=0)


{


xx = *x + (*y%26gt;%26gt;i);


yy = *y - (*x%26gt;%26gt;i);


zz = *z + constbl[i];





}


else


{


xx = *x - (*y%26gt;%26gt;i);


yy = *y + (*x%26gt;%26gt;i);


zz = *z - constbl[i];


}


*x = xx;


*y = yy;


*z = zz;





}





}





i keep getting error message that`s said "There`s an extra parameters when calling CORDIC function

Error message in C++ Builder?
This isn't the entire program, and due to that fact I cannot compile it and run it for you since there numerious amounts of syntax errors such as the one where CBIT and MBIt are not declared...anyway, personally what I belive the problem is...





here is your function prototype





void cordic();





Here is your function call


cordic(lx,ly,lz);





here is your function definition


void cordic(x,y,z)





If you don't know what is going on, you seriously need to read a chapter on functions, not to be mean but this is somewhat of a simple thing to fix. You need to have the SAME number and SAME order and SAME parameters in the function call, function call, and function definition. here is an example of the 3 above





//function prototype


void cordic(x,y,z);


//function call


cordic(x,y,z);


//function definition


void cordic(x,y,z)


{


//code here


}





Since I am unable to compile the program as you wrote it, I cannot tell you if there are any more logic or syntax errors.








P.S. its called a compiler, not a builder.

anemone

Using C++Builder, how do I send a Word document to the printer after calling PrintDialog or PrinterSetupDialog

search on planetsourcecode.com c++ catagorie


In C++ Builder: How can I accept amounts in a control or cell?

I want a cell in a grid or an edit control to accept real numbers like -543.674, 0.024, 156743.001, -3.142, but I don't find a direct way to do it. I've tried masks like ######0.000 or #9999.999 but they work funny. Masks seem suitable for phone numbers, area codes, but not for money amounts or other quantities... weird!!! Thank you for your help...

In C++ Builder: How can I accept amounts in a control or cell?
Ask a C++ expert at http://askexpert.info/
Reply:You want to make sure that input is set to decimal/double.