|
you can't really compare (IMHO) ; there are too many factors involved, libraries used, verbosity of the language, facilities of integration with DB (libraries)... and the maintenance factor.
if you start talking about multiplatforms, then, your choice of language is reduced, I don't think a version of C# exists on linux yet; and you need to get a good enough toolkit for the GUI for both platforms ( windows and linux ), in that case, you choice is reduced to C and C++.
Maximilien Lincourt
Your Head A Splode - Strong Bad
|
|
|
|
|
Yeah, we started doing it in c# then they decided to maybe go to linux. I'm trying to get a feel for how long a write would take in c++. If they do go to linux, it would only have to support linux.
If you had open reign to do this project in c++ on linux, knowing it would take about 1500 hours in c# for Windows, can you give me a general comparison? Would it be 3x as long? 6? etc. I just need general numbers.
|
|
|
|
|
If you want a nice multiplatform C++ toolkit use Qt[^]. The commercial license is a bit pricey (~ $2500 USD) but it is very nice. I would guess the time to be comparable as Qt is a large framework with much of the same functionality as .net, and they have built in database support, which I take it is a big deal for you on a project like this.
I'd like to recommend the VCF[^], but unfortunately it's not completely ported to linux, and it has no database support.
¡El diablo está en mis pantalones! ¡Mire, mire!
Real Mentats use only 100% pure, unfooled around with Sapho Juice(tm)!
SELECT * FROM User WHERE Clue > 0
0 rows returned
|
|
|
|
|
Thanks, I'll check it out. Can you give me any time comparisons? If I used Qt can you give me a very rough estimate compared with 1500 hours in c#?
Thanks!
Price of it doesn't matter...Just roll it over to the client...
|
|
|
|
|
Couldn't tell you. Assuming you learn the Qt API reasonably well (and it looks quite easy and logical, so I can't imagine too many pitfalls in learning it, certainly no more than learning .Net API's), I'd guess the time to roughly equivalent, at least for the GUI implementation.
But I'm completely guessing here, sorry I don't have more info for you!
¡El diablo está en mis pantalones! ¡Mire, mire!
Real Mentats use only 100% pure, unfooled around with Sapho Juice(tm)!
SELECT * FROM User WHERE Clue > 0
0 rows returned
|
|
|
|
|
You don't necessarily have to use C++ for the Linux port; depending on your setup, you may be able to use Mono[^] to compile and run the C# app under Linux for a number of different architectures.
- Mike
|
|
|
|
|
Mono is at 0.3.0 right now. Would you run your production system on a pre-alpha platform?
|
|
|
|
|
Yeah, I looked a Mono also, but it's way to early in the game to use it. Won't be ready in time for us either.
|
|
|
|
|
And lets not forget that they are copying a system that Microsoft has *publicly* stated that they are protecting with patents. I simply cannot imagine MS *not* using these at some point if Mono gets any traction beyond the hobbyist programmer.
¡El diablo está en mis pantalones! ¡Mire, mire!
Real Mentats use only 100% pure, unfooled around with Sapho Juice(tm)!
SELECT * FROM User WHERE Clue > 0
0 rows returned
|
|
|
|
|
A project like that that needs to be cross-platform really should be written in Java. Run the same code on Windows, Linux and most other Unixes. Easier to code than C++ (especially since all the platform-compatibility issues are taken care of), rich, mature libraries and plenty of 3rd-party free and commercial stuff you can build from.
|
|
|
|
|
Java is probably the language I know least about. I only need it to run on Linux right now. Is java capable of doing a high volumn call center app? Will it be fast enough? Most of it won't be web based, but client based with a sql server or db2 backend.
TIA
|
|
|
|
|
This type of application is very typical of what people have been using Java to do. IBM's whole Linux push is based on Java applications.
|
|
|
|
|
hi,
i have created an array
UCHAR * data;
data = new UNCHAR [size]
i saved data in it ,, that PCM data (pulse code modulation)
now i want to send this (array) throught socket.
how can i
CSocket->send ( ...... , .. , ...);
Plz reply me
thanx
|
|
|
|
|
I dont know the exact syntax for CSocket but I use something like the following for sending a struct through a SOCKET..
// where sSend is a struct containing CHAR's and INT's
send(sock,(char FAR*)&sSend, sizeof(sSend), 0);
Rob
Whoever said nothing's impossible never tried slamming a revolving door!
|
|
|
|
|
hello ,
i want to load icon & text string in a combo box, like the following...
-------------------------------
icon1 "text string"
icon2 "text string"
icon3 "text string"
;;;;;;;;
;;;;;;;
like that
------------------------------------
how to do that in run time in a dialog based application and form based application projects ....where these r frequent ?
waiting for reply.....
skpanda
|
|
|
|
|
Can you use CComboBoxEx ?
A rich person is not the one who has the most, but the one that needs the least.
|
|
|
|
|
When creating a standatd multidoc MFC application with class wizard there is a menu that enables the user to hide the toolbar or statusbar i wish to implement something similar in my application however, with multiple toolbars.
i went through the class wizard's code sample and i could not find the implementation of the menu - the MSDN sais that in order to implement the menu one shold override their imlementation but the don't say how.
please help me.
|
|
|
|
|
Hello!
I want to write an object to CArchive. My object is:
typedef struct tMyStructTag
{
long index;
BSTR data;
BSTR description;
} tMyStruct;
To write data to archive I do this:
1. Open the (CFile) file in r/w mode
2. Create an archive using the open file
3. Write the data
tMyStruct myStruct;
pFile->Open(...
pArchive = new CArchive(pFile, CArchive::store);
(*pArchive) << (CString)(myStruct.index);
(*pArchive) << (CString)(myStruct.data);
(*pArchive) << (CString)(myStruct.description);
Is it correct so far?
When I come to read data back, I do the same but call SeekToBegin() function for CFile class, then I read data like this:
tMyStruct myStruct;
CString strData, strDescription;
(*pArchive) >> myStruct.index;
(*pArchive) >> strData;
(*pArchive) >> strDescription;
myStruct.bstrData = strData.AllocSysString();
myStruct.bstrDescription = strDescription.AllocSysString();
::SysFreeString(myStruct.bstrData);
::SysFreeString(myStruct.bstrDescription);
When I do this for more than one object, I get data in wrong fields. I look at resulting file and it looks OK. I just cannot read data back correctly. Any help please?
|
|
|
|
|
Please help ..
I am receiving the following Fatal Linker error on Borland Builder 5 .. "Additional Segments Need To Be Defined in a .def File"
This error has only started to appear since adding some new files to an existing project, prior to that everything was fine.
I have searched the web to no avail regarding this problem ... any help that can be offered would be gratefully received ..
|
|
|
|
|
alien001 wrote:
I am receiving the following Fatal Linker error on Borland Builder 5...I have searched the web to no avail
Have you tried a Borland Builder 5 newsgroup or forum?
What is the linker error number? Have you consulted the docs for that number?
A rich person is not the one who has the most, but the one that needs the least.
|
|
|
|
|
There is no linker error number .. the full statement reads ..
[Linker Fatal Error] Fatal: 'E:\views\view1\Myfolder\base\customer\a\base.C': Additional segments need to be defined in a .def file
|
|
|
|
|
Ok, so have you added additional segments to the .def file?
A rich person is not the one who has the most, but the one that needs the least.
|
|
|
|
|
I have not added any new segments to the .def file .. In fact until the emergence of this problem I was unaware of the existence of the def file and segments .. any explanation would be helpful ..
I simply added some new c files to an existing project .. the project was fine prior to that. The files added have no compilation issues and are used on other projects without any problems ..
|
|
|
|
|
There is a good discussion here.
A rich person is not the one who has the most, but the one that needs the least.
|
|
|
|
|
Hi everyone,
Hi everyone
im very new to visual c++ programming, although i worked on borland c++ before.
i have a problem in controlling some controls according to a certain conditions.
for example;
I have two dialogs:
The first one is to ask the user
How many edit boxes he want to see?
The second dialog should show him the number of edit boxes he entered in the first editbox;
So if the user has entered (2) in the editbox in the first dialog,
he must see two editboxes in the second dialog.
It is very important for me to know this
Please just remember that im very new to MFC programming, so write me a clear code as a beginner.
thank you for reading my messege
F.X
|
|
|
|