Thursday, July 9, 2009

Does Borland C++ Builder Enterprise 6.0 use different syntax than Microsoft Visual C++?

I've been trying to code the most basic program, "Hello, World", and despite copying word for word from the book, I continue to get errors.

Does Borland C++ Builder Enterprise 6.0 use different syntax than Microsoft Visual C++?
I never used Borland, but Dev C++, gcc 3.x, gcc 4.x, MS Visual 6, and MS visual 8 all have slightly different syntax. Seems some are just more specific.


Try Dev C++, it is free, and works very well, maybe that will work a little easier.
Reply:In VC can be typed cout%26lt;%26lt;"Hello word"


Visual C++ Or C++ Builder, Which is better?

I mean in the use of engineering field.

Visual C++ Or C++ Builder, Which is better?
Visual C++ is used at the University of Missouri Rolla, an engineering school, more than C++ Builder. I suggest Visual C++
Reply:oh i dont do the mens work!
Reply:Visual C++ is pricer.





And in compilers you get what you pay for.
Reply:So borland or microsoft? In my opinion, microsoft's visual studio program(s) is(are) -the- best on the market. Intellisense rocks, I love it. Oh, and there's free versions available now too.

cyclamen

How to get application name in borland C++ builder 6 ?

I'm writing a windows application, and I need to know the application name ... like argv[0] in C language !


How I can find out the application name ?

How to get application name in borland C++ builder 6 ?
The function 'GetModuleFileName()' can be used...





Code:





// With STL string


#include %26lt;string%26gt;





char szAppPath[MAX_PATH] = "";


std::string strAppName;





::GetModuleFileName(0, szAppPath, MAX_PATH);





// Extract name


strAppName = szAppPath;


strAppName = strAppName.substr(strAppName.rfind("\\") + 1);











// With CString


char szAppPath[MAX_PATH] = "";


CString strAppName;





::GetModuleFileName(0, szAppPath, MAX_PATH);





// Extract name


strAppName = szAppPath;


strAppName = strAppName.Right(strAppName.ReverseFind(... + 1);


What is the work of borland c++ builder 6 0 ?

is build own c++ lanuage if not then please tell me its working

What is the work of borland c++ builder 6 0 ?
Um, it probably means "building" your own C++ programs. By the way, you can "create" some additions to the C++ Standard Library by making your own custom libraries. Just read up on functions and basic programming.


Error in borland c++ builder?

[Linker Error] Unresolved external 'hasp_login' referenced from C:\PROGRAM FILES\BORLAND\CBUILDER6\PROJECTS\DONGLEP...

Error in borland c++ builder?
Well to find out the exact problem we'd have to know whats after the ...
Reply:you have to link against the hasp library. look at the hasp samples, they have a borland sample. it comes with a makefile or a batch file, which links the hasp library.
Reply:Maybe your setup of your compiler is wrong. patch up this codes.





#include %26lt;iostream%26gt;


using namespace std;





int main()





{


cout %26lt;%26lt; "Hello World" %26lt;%26lt; endl;





return 0;





}





If you can compile and run this, then your compiler is working properly.


Using communication ports on Windows XP with Borlad Builder C++... Please HELPPPP!!!!!?

I need to be able to control a device via the parallel and the serial port. The platform is Windows XP and the compiler I'm using is Borland Builder C++. How can I do this if importb and outportb are no longer supported? I know I have to use the CreateFile function. How does this work? Any help will be appreciated!!!

Using communication ports on Windows XP with Borlad Builder C++... Please HELPPPP!!!!!?
try searching for some code on http://www.codeproject.com I dont know borland c++, but I found some code for doing it in vc++.

wedding floral centerpieces

Saturday, May 9, 2009

Error in borland c++ builder?

[Linker Error] Unresolved external 'hasp_login' referenced from C:\PROGRAM FILES\BORLAND\CBUILDER6\PROJECTS\DONGLEP...

Error in borland c++ builder?
Well to find out the exact problem we'd have to know whats after the ...
Reply:you have to link against the hasp library. look at the hasp samples, they have a borland sample. it comes with a makefile or a batch file, which links the hasp library.
Reply:Maybe your setup of your compiler is wrong. patch up this codes.





#include %26lt;iostream%26gt;


using namespace std;





int main()





{


cout %26lt;%26lt; "Hello World" %26lt;%26lt; endl;





return 0;





}





If you can compile and run this, then your compiler is working properly.