473,387 Members | 3,750 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,387 software developers and data experts.

Migrate VC++ code onto Linux

Hi,

I am a Windows VC++.net newbie, and do not have much experience on
standard C++. Right now, there is a VC++ code which needs to be ported
onto Linux for some reason. The code is mainly for scientific
computing, and includes lots of GUI dealing with parameters. The plan
is to eliminate GUI and use files for parameter setting, and the
computing part will remain the same. I really do not have idea on how
to migrate the code. Can anybody give some suggestions?

Thanks in advance.
Jul 22 '05 #1
3 1651
"Nick" <ni******@yahoo.com> wrote in message
news:c7**************************@posting.google.c om...
Hi,

I am a Windows VC++.net newbie, and do not have much experience on
standard C++. Right now, there is a VC++ code which needs to be ported
onto Linux for some reason. The code is mainly for scientific
computing, and includes lots of GUI dealing with parameters. The plan
is to eliminate GUI and use files for parameter setting, and the
computing part will remain the same. I really do not have idea on how
to migrate the code. Can anybody give some suggestions?

Thanks in advance.


Hello,

Basically, if you know C++ you should be able to locate the code dealing w/
GUI and the code dealing w/ computations.

Later you would want to refer to the GUI programming documentation (that was
used) in order to understand how the GUI was used to extract input
information from user so that you can translate the input to be from files.

In case you have questions regarding the GUI you would want to ask in
appropriate newsgroups such as microsoft.public.vc.mfc

--
Elias
Jul 22 '05 #2

"Nick" <ni******@yahoo.com> wrote in message
news:c7**************************@posting.google.c om...
Hi,

I am a Windows VC++.net newbie, and do not have much experience on
standard C++. Right now, there is a VC++ code which needs to be ported
onto Linux for some reason. The code is mainly for scientific
computing, and includes lots of GUI dealing with parameters. The plan
is to eliminate GUI and use files for parameter setting, and the
computing part will remain the same. I really do not have idea on how
to migrate the code. Can anybody give some suggestions?

Thanks in advance.


I totally agree with the things Elias answered to your post. Still, you need
to make sure the those parts taking care of the computations do not use any
VC specific extensions (like MFC collections for example). These of course
need to be replaced by appropriate solutions supplied by the standard
library.

HTH
Chris
Jul 22 '05 #3
Thank you Elias and Chris.

"Chris Theis" <Ch*************@nospam.cern.ch> wrote in message news:<bu**********@sunnews.cern.ch>...
"Nick" <ni******@yahoo.com> wrote in message
news:c7**************************@posting.google.c om...
Hi,

I am a Windows VC++.net newbie, and do not have much experience on
standard C++. Right now, there is a VC++ code which needs to be ported
onto Linux for some reason. The code is mainly for scientific
computing, and includes lots of GUI dealing with parameters. The plan
is to eliminate GUI and use files for parameter setting, and the
computing part will remain the same. I really do not have idea on how
to migrate the code. Can anybody give some suggestions?

Thanks in advance.


I totally agree with the things Elias answered to your post. Still, you need
to make sure the those parts taking care of the computations do not use any
VC specific extensions (like MFC collections for example). These of course
need to be replaced by appropriate solutions supplied by the standard
library.

HTH
Chris

Jul 22 '05 #4

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

6
by: Abubakar | last post by:
Hi, we are finding out ways in which we could develop libraries that could be written in c++ in a way that we can use them in windows, linux, and mac os. We want to write portable code, so that it...
8
by: ramu | last post by:
Hi, I want to call a vc++ function from a c program on linux. So when I do this dosen't the VC++ datatypes differ with c datatypes. Because we don't have some vc++ data types in c. I have to...
14
by: John | last post by:
My friend told me that his company will migrate the VC++ win32 applications to C++ .NET windows applications. I don't understand why since currently Microsoft only supports .NET on windows...
1
by: akjohn | last post by:
My code compiles fine using VC++ 2005 and also with g++/gcc 3.4.2 (mingw...which came with the bloodshed dev c++ ide). But it only the vc++ build works correctly, the gcc exe starts but...
3
by: kim.ruhl | last post by:
I've been coding in visual C++ but am migrating to linux + gnu. I'm not an expert, but my programs seemed to work fine. When I take all the junk out of the VC++ codes and try to run them on my...
6
by: =?Utf-8?B?Tm90Q3BpUA==?= | last post by:
Hi, Can anyone tell me if it is possible to make the following function work under VC++.NET 2005 – x64 platform? How? Originally it works under VC++6. Thanks a lot! static PTIB GetTIB ( void...
2
by: hebollozos | last post by:
Can anyone help me by giving me instructions how to migrate my MySQL Data for Windows to MySQL for Linux. I tried to find Sqlporter software by Realsoft Studio, but I failed. Hope somebody out can...
2
by: dipak kumar | last post by:
Hi i am using oracle 8.0.6 on hp unix server my database size is 60 GB. i want to migrate this database (using cold backup) to oracle 9i on linux please tell me how i can migrate it. Thanks ...
7
by: Norman Diamond | last post by:
A project depends on VC runtime from Visual Studio 2005 SP1, and DotNet Framework 2. Options are set in the setup project properties, so if these two dependencies are not already installed then...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.