Thread 16 of 16 | | Thread Starter | | |  brian | C++, Java and Simple StuffI am contemplating learning Java. I have exposure to C++, and a registered owner of CBuilder 3.0 Pro. But my exposure is barely past following examples in C++Builder Unleashed. Kind of like "I know how to turn it on and do seven things.", , If I want to stay simple and do discrete stuff on Win 98 where the data sources are everyday Win Office-like apps (includes HTML and XML docs), then C++Builder or JBuilder?, , Over the years, I have mainly "programmed" near the user interface levels. Ie. Lotus 123 macros, Torbo Pascal 3.0 matrixes (only for string manipulation, no numerical analysis involved), {Paradox, Lotus 123, Quattro Pro, WordPerfect} homomorphic transformations (I moved data between the applications - not always exact, but close enough to fix easily), Excel VBA, Crystal Reports on SQL 7.0, and even octal-based translations of dates, number, and strings on a HP 48SX (my favorite computer!). , , So I'm a generalist. I played with different projects of my own design at home, and ... | 8 replies. Last post: |  Scott | [QUOTE]I seem to spend a lot of time with file management. I was hoping to carry plain text routines around with me on 3-1/2" disks. [/QUOTE]Reminds me of my early tech support days, when I routinely carried around a 5-disk set of floppies with Norton Commander and my PC Magazine bag-o-tricks utilities. [i](This would be a good place to put a [b]dinosaur[/b] or [b]Rip Van Winkle[/b] graemlin... |
|
 1978 Hits | |
Thread 15 of 16 | | Thread Starter | | |  prez | please helpI need some code to build a login function. Can anyone help as I am completely new to C? | 3 replies. Last post: |  Scott | And if you are working in an all-MS shop, I would also highly recomment [b]Visual Studio.Net[/b]. The new version of Visual C++ is astoundingly similar to Borland's C++Builder, and just as easy and enjoyable to work with! |
|
 1854 Hits | |
Thread 14 of 16 | | Thread Starter | | |  helloworld02 | Borland C++ Builder questionsI have several questions, if you could answer even one of them (and preferably more if possible) that would be much appreciated. My questions are for an MDI application (Windows type, using mostly MDI parent and children) made in Borland C++ Builder (version 6, Pro.), using a combination of C and C++ code (about 15,000+ lines), , 1. How can I change the Main (parent) formÆs menu bar (which has File, Edit, Window, etc)? Please answer for changing both File and the stuff under it (e.g. Close, Save, etc)., , 2. How can I create the HELP menu for my program? Ideally, IÆd like to have a Help menu item similar to that which BCB itself has, but would like to at least has some sort of text searching capability for the user, , 3. How can I check if the user entered a file of type .txt or .log, or of another type?, , 4. How can I add the standard MS Windows upper RH-corner stuff (the minimize, maximize, and close buttons like in Word) to a form that doesnÆt seem to automatically have them? (all ... | 2 replies. Last post: |  Scott | {Too Long} |
|
 7538 Hits | |
Thread 13 of 16 | | Thread Starter | | |  ataber | Java//Delphi/C++I am interested in creating a commercial application where performance is of the utmost. Having developed in Java for a while, I realize its limitations in that arena. However, this application will have to initially run on both a Windows and Linux platform with possible ports to other OS's in the future., , If anyone could suggest a development platform that provides a robust threading model, collection classes, sockets and database connectivity, is fast and will be supported in the future, I would greatly appreciate your input., , Andreas | 1 Reply: |  mprestwood | Andreas,, Take a look at Borland's Delphi, Kylix, and C++Builder solutions. With Delphi and Kylix, you can build your application for Windows using Delphi and for Linux using Kylix from THE SAME SOURCE CODE. I would also recommend using ADS as the database backend. When you stick with the included CLX library and use ADS for data storage, you have an application that is easy to create and maintain., , C++Builder is just like Delpi/Kylix but is C+... |
|
 2320 Hits | |
Thread 12 of 16 | | Thread Starter | | |  Johan | Exception HandleHi Moderator,, , I am developing database (ORACLE) application using C++Builder with TADO Component (TADOConnection & TADOQuery)., , Why if I put try and catch exception, when my application got error occur didn't entering catch block., , ie:, my syntax is TADOConnection->Open();, When this syntax not working properly, such as broken connection to database("ORA-12560"), didn't coming in catch block., , How to handle about that?, , Thanks a lot, , regards,, , Johan | 1 Reply: |  adamlum | It's been a little while since I had the privilege of programming in C++ but if I remember correctly you have to explicitly throw an exception rather than the runtime throwing it automatically like Java or .NET... |
|
 2313 Hits | |
Thread 11 of 16 | | Thread Starter | | |  Ania Thatcher | How much knowledge would I need to......right a program with the purpose of balancing simple chemistry equations? I am in credibly new to C++ and know only the basics. | 1 Reply: |  mprestwood | Ania:, , I want to encourage you to keep going. It shouldn't be too difficult to gain enough knowledge for that type of programming. Read one or two introductory books on the tool of your choice and you're there. C++Builder is an excellant choice., , By the way, have you looked at mathmatica? If I were needing to do what you need to do I would 'first' look at Mathmatica to see if it could handle the type of equations I needed to set up. |
|
 1710 Hits | |
Thread 10 of 16 | | Thread Starter | | |  dogs_heir | Visuall C++I have just recently started programming., So I am very green., I am buiding an app for someone to calculate specific equations., Everything works great except, when i press enter when in an edit box.. bam...it ends the program., what is going on???, There must be a very simple explanation for this...right????, Any help would be greatly appreciated., Thx | 1 Reply: |  adamst | I'm not sure what components you have on your form, but if you have a button designated to close your app and it is set to be the default button then this may be what is causing your program to end when you press the enter key. If you have a different button to do a calculation then I suggest you set this button to be the default, then when you press the enter key it will do the calculation for you., , Hope this helps... |
|
 2169 Hits | |
Thread 9 of 16 | | Thread Starter | | |  Arrummzen | error C2106: '=' : left operand must be l-I am writing a program and get a error on this line, -------------------------------------------- , hold + KEY = sum;, --------------------------------------------, hold is a char that = 0, KEY is a char that = 0, sum is a long that = 0, --------------------------------------------, i tryed using a char and int for sum alredy, --------------------------------------------, Thank you and please no flame...  | 1 Reply: |  ghicks | Hi Arrummzen,, , The problem stems from the fact that the compiler sees the '=' and looks to the Right Hand side (r-value) to assign into the Left Hand Side (l-value), , basicakky you have the equation backward, so you should... |
|
 3742 Hits | |
Thread 8 of 16 | | Thread Starter | | |  shoto516 | C - Sorting a data file - Need Help !!!I have a small C program that reads in a file and prints out the contents fine. The problem is with sorting that data and getting it to print. What prints out is garbage information, but what numbers of garbage that are printed are sorted, if that helps. Please let me know what I'm missing. I'm using a simple bubble sort and the code is roughly 50 lines. I'm not sure where the data being sorted is coming from, but basically, I need to know how to read in from a file and sort that information to print/or write to another file. Please help !! | 1 Reply: |  adamlum | How is the data in the first file formatted, are they character strings, numbers, what?What are you using to store the inputted data in, just an array? A little more information I think is needed if we are going to be able to help you out... |
|
 2630 Hits | |
Thread 7 of 16 | | Thread Starter | | |  Daydreamer | C Chat Server for Borland?I have been looking for a few weeks now for a chatserver example in C and can't find one that works for BCB 5.5. I can find C++ servers but none that are in C that actually works for BCB. Can someone point me in the right direction? I wish to connect a database to a console program, but would like the code to be C based and not C++ ( I hear it is faster in regular ansi C). Thank you in advance! | 1 Reply: |  mprestwood | Did you ever find a chat server? If not, how did you work around that. Are you porting one of the C++ ones or still looking? |
|
 2748 Hits | |
Thread 6 of 16 | | Thread Starter | | |  Alagu_Sundari | class that should not be inherited.How to write the class such that it should not be inherited by other class. | 1 Reply: |  mprestwood | For C++, to prevent derivation make the constructor a private member of the class.
In .Net you use the keyword sealed and in java you use a final class. |
|
 2935 Hits | |
Thread 5 of 16 | | Thread Starter | | |  raynerson | MainMenu item chosenHello Mike I do need your help!!!!!! pleeeease!! I have a lot of forms in my program and one depends on one another. Form1 has a mainmenu whose items are: viga, trelica, portico and grelha(from civil engineering). In Form5 i need to know the item chosen before in Form1, but i don't know how to do it. I do'nt know the syntax Example (in Form5) if (Form1->Viga1.OnClick) or if (Form1->Viga1-> Clicked == true) { Do something......... } Please, help me! It's my graduation paper and i need to finish it as soon as possible |
 1730 Hits | |
Thread 4 of 16 | | Thread Starter | | |  jrshedden | BDE GetConfigParams Block SizeHi All,
I've been having some fun trying to change the BDE 'block size' during run time. I need to generate large answer tables and I don't want to drag every user though the BDE Administrator. I have no access to their machines other than my software. I like the idea of only modifying the settings when my program is running instead of changing their idapi.cfg file.
"rptSession" is a TSession component in the below example.
TStringList* tsl = new TStringList();
rptSession->GetConfigParams("\CONFIGURATION\DRIVERS\NATIVE\PARADOX\%s","BLOCK SIZE",tsl);,
I can compile, and no matter what permutation of path I dictate, the engine can't find the parameter that I specify.
I want to read the current block size, then modify it while the session is active.
Thanks in Advance!
Jim Shedden |
 2030 Hits | |
Thread 3 of 16 | | Thread Starter | | |  icono | PLS HELP A NEW MEMBER -- DECLARATION SYNTAX ERROR DECLARATION SYNTAX ERROR (for bc 31 user) , , --------------------------------------------------------------------------------, , I am novice, and I am working now in a proyect with the vga colour palette, over DOS with borland c 3.1., The project include cpp.h and asm files. Sintactically I checked that is ok, BUT when I do the link tell me DECLARATION SYNTAX ERROR , in the first clase declared in the first h file in the project, I changed the place of the file but still continue give me the same error., , I send here one of the h files in which you can see that it is ok., , //MOUSE256.H, , #ifndef __DOS_H, #include , #endif, #ifndef __STDLIB_H, #include , #endif, #ifndef _MOUSE256_H, #define _MOUSE256_H, #endif, , , // **************************************************, **************, // Class TMouse, //, // This class defines a group of functions and data structures, // which allow a DOS-based program to set up mouse-operated, // controls. A call-back mechanism all... |
 2117 Hits | |
Thread 2 of 16 | | Thread Starter | | |  emrecandan | How can i download a file from http protocholI use Borland C++ Builder 6.0, , I want to download source code of a page. But page needs some request first., For example one page has an area to enter a value i.e login name and a button for send., I want send this data (login name) to another page and view its source how can i do this? |
 1666 Hits | |
Thread 1 of 16 | | Thread Starter | | |  phaseivrep | C++BuilderX and CIs there any way to make the TogetherSoft package take C instead of C++? If not is there any other package I can get that builds UML diagrams and so forth for C? |
 1889 Hits | |
|