Thread: need help about converting

  1. #16
    Registered User VirtualAce's Avatar
    Join Date
    Aug 2001
    Posts
    9,607
    Bubba; if you could and want,it would be awesome that you convert it.I wouldnt lose more time with that....
    And thus the true intent of the thread.

    Bubba; if you could and want,it would be awesome that you convert it....
    Laziness.

    No we won't do your homework for you.

    From the sticky about homework help:
    http://cboard.cprogramming.com/annou...t.php?f=6&a=39

    From the forum guidelines:
    2. Don't ask people to do all your work for you, See the announcement on Homework below; for more info about what is considered acceptable.
    9. Tests/Quizzes and assignments - This board has no way of policing whether people are asking for help on graded assignment. We claim no responsibility for it. However, we discourage people from asking for help on graded work without permission of the instructor.
    Last edited by VirtualAce; 05-26-2008 at 12:20 PM.

  2. #17
    Registered User
    Join Date
    Oct 2001
    Posts
    2,129
    Do you know how to use OpenGL?

  3. #18
    Registered User
    Join Date
    May 2008
    Posts
    9
    Yes Bubba of course my intent is that but Its not my whole project.Thats why I wrote here.if it was my all project I wouldnt write here because I read the message in link you gave before.

    Yes I know robwhit.at least enough for me to do this project...

    And I searched the commands in the code and found out that this code was written with Borland C++.It is the reason that I had problems.Some say that it is also C++,same thing but there is reasonable difference with Visual Studio.

  4. #19
    Kernel hacker
    Join Date
    Jul 2007
    Location
    Farncombe, Surrey, England
    Posts
    15,677
    Quote Originally Posted by mensrea View Post
    And I searched the commands in the code and found out that this code was written with Borland C++.It is the reason that I had problems.Some say that it is also C++,same thing but there is reasonable difference with Visual Studio.
    Obviously, the language C++ is the same whether you compile it with Borland or Visual Studio. The problem comes when programmers make use of the language extensions or library extensions that the different compiler vendor's supply to make life better for the programmer - but most of those extensions are specific to the vendor of the compiler. In most cases, the workaround for this is to provide your own functions to replicate those vendor specific functions.

    --
    Mats
    Compilers can produce warnings - make the compiler programmers happy: Use them!
    Please don't PM me for help - and no, I don't do help over instant messengers.

  5. #20
    Registered User
    Join Date
    May 2008
    Posts
    9
    Quote Originally Posted by matsp View Post
    Obviously, the language C++ is the same whether you compile it with Borland or Visual Studio. The problem comes when programmers make use of the language extensions or library extensions that the different compiler vendor's supply to make life better for the programmer - but most of those extensions are specific to the vendor of the compiler. In most cases, the workaround for this is to provide your own functions to replicate those vendor specific functions.

    --
    Mats
    Yes but there is vcl.h in the code and I think its a unique header for Borland.It cant be compiled in Visual Studio.Is there a way to do that?

  6. #21
    Kernel hacker
    Join Date
    Jul 2007
    Location
    Farncombe, Surrey, England
    Posts
    15,677
    Quote Originally Posted by mensrea View Post
    Yes but there is vcl.h in the code and I think its a unique header for Borland.It cant be compiled in Visual Studio.Is there a way to do that?
    Well, for headers that are not in some other vendor's solution, the first point is to remove the include of that file - or create an empty file of that name. Then you see what errors you get from that, and fix those by implementing whatever it is that is missing. This is not trivial beginner coding - if you want that, then you should probably look at source that compiles in your current compiler without problems.

    --
    Mats
    Compilers can produce warnings - make the compiler programmers happy: Use them!
    Please don't PM me for help - and no, I don't do help over instant messengers.

  7. #22
    l'Anziano DavidP's Avatar
    Join Date
    Aug 2001
    Location
    Plano, Texas, United States
    Posts
    2,743
    Correction: that code you have was written in Borland C++Builder. Link: http://www.codegear.com/products/cppbuilder

    I strongly advise you to start from scratch instead of trying to modify someone else's work which you cannot understand. You keep saying that you want to make a puzzle game, but you don't tell us which puzzle game. Which puzzle game is it that you are trying to make?
    My Website

    "Circular logic is good because it is."

  8. #23
    Registered User VirtualAce's Avatar
    Join Date
    Aug 2001
    Posts
    9,607
    I ditto starting over from scratch.

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Converting 32 bit binary IP to decimal IP (vice-versa)
    By Mankthetank19 in forum C Programming
    Replies: 15
    Last Post: 12-28-2009, 07:17 PM
  2. Tips for converting C prog. to C++?
    By eccles in forum C++ Programming
    Replies: 7
    Last Post: 01-15-2005, 07:38 AM
  3. Converting Sign Magnitude Integer Binary Files
    By Arthur Dent in forum C Programming
    Replies: 7
    Last Post: 09-13-2004, 10:07 AM
  4. Converting from Screen to World Coordinates
    By DavidP in forum Game Programming
    Replies: 9
    Last Post: 05-11-2004, 12:51 PM
  5. converting string to float
    By twhubs in forum C Programming
    Replies: 1
    Last Post: 09-16-2001, 09:02 AM