Results 1 to 10 of 10
  1. #1
    execution of c and c++ programs on mac x

    Member Since
    Aug 22, 2012
    Posts
    6
    execution of c and c++ programs on mac x
    hi,,,,,,
    i m very new to the mac x,,,,,,,i m studying engineering,,,,i need info about how to execute c and c++ programs????????plz someone help me
    and one more query about how to install the files which are .msi formats?????

  2. #2
    execution of c and c++ programs on mac x
    Raz0rEdge's Avatar
    Member Since
    Jul 17, 2009
    Location
    MA
    Posts
    8,188
    Specs:
    27" i7 iMac, 24" iMac, 13" Macbook Air, iPhone 5 & 5S, iPod Nano 7th Gen, iPad 2 16GB WiFi, iPad 3
    You cannot use MSI files,those are Windows installation files..

    If you have the c/c++ sources, you can use Xcode to compile it. Otherwise, you need to be given a Mac binary to execute..
    --
    Regards
    ...Ashwin



    Be sure to read the Community Guidelines | The more information you provide, the better answers you get, remember GIGO.

  3. #3
    execution of c and c++ programs on mac x
    vansmith's Avatar
    Member Since
    Oct 19, 2008
    Location
    Toronto
    Posts
    19,396
    Specs:
    2012 13" MBP (2.5 i5, 8GB)
    Are you trying to execute a program built in C/C++ or compile one? There's a difference here.
    Important Links: Community Guidelines : Use the reputation system if you've been helped.
    M-F Blog :: Write for the blog
    Writing a Quality Post

  4. #4
    execution of c and c++ programs on mac x

    Member Since
    Aug 22, 2012
    Posts
    6
    Smile
    Quote Originally Posted by Raz0rEdge View Post
    You cannot use MSI files,those are Windows installation files..

    If you have the c/c++ sources, you can use Xcode to compile it. Otherwise, you need to be given a Mac binary to execute..
    thank u so much,,,,,,
    but can i convert msi files into exe format so that i can run my cd,,,,bez i don't want to switch to windows,,,,

  5. #5
    execution of c and c++ programs on mac x

    Member Since
    Aug 22, 2012
    Posts
    6
    Quote Originally Posted by vansmith View Post
    Are you trying to execute a program built in C/C++ or compile one? There's a difference here.
    thank u for response,,,,,
    for compilation then run,,,,,

  6. #6
    execution of c and c++ programs on mac x
    Raz0rEdge's Avatar
    Member Since
    Jul 17, 2009
    Location
    MA
    Posts
    8,188
    Specs:
    27" i7 iMac, 24" iMac, 13" Macbook Air, iPhone 5 & 5S, iPod Nano 7th Gen, iPad 2 16GB WiFi, iPad 3
    Quote Originally Posted by shashi View Post
    thank u so much,,,,,,
    but can i convert msi files into exe format so that i can run my cd,,,,bez i don't want to switch to windows,,,,
    No, you cannot convert MSI into PKG (the Mac equivalent installer)..besides, if this is a Windows program you are after, then it wouldn't work on a Mac anyway..
    --
    Regards
    ...Ashwin



    Be sure to read the Community Guidelines | The more information you provide, the better answers you get, remember GIGO.

  7. #7
    execution of c and c++ programs on mac x
    Raz0rEdge's Avatar
    Member Since
    Jul 17, 2009
    Location
    MA
    Posts
    8,188
    Specs:
    27" i7 iMac, 24" iMac, 13" Macbook Air, iPhone 5 & 5S, iPod Nano 7th Gen, iPad 2 16GB WiFi, iPad 3
    Quote Originally Posted by shashi View Post
    thank u for response,,,,,
    for compilation then run,,,,,
    Is it a console program or something else? You're not providing nearly enough information for us to be helpful to you..
    --
    Regards
    ...Ashwin



    Be sure to read the Community Guidelines | The more information you provide, the better answers you get, remember GIGO.

  8. #8
    execution of c and c++ programs on mac x
    vansmith's Avatar
    Member Since
    Oct 19, 2008
    Location
    Toronto
    Posts
    19,396
    Specs:
    2012 13" MBP (2.5 i5, 8GB)
    Quote Originally Posted by shashi View Post
    thank u so much,,,,,,
    but can i convert msi files into exe format so that i can run my cd,,,,bez i don't want to switch to windows,,,,
    No, exe files are Windows executables. If you want to manage those, you'll need to run Windows (which you can do on your Mac with either a virtual machine or Boot Camp).

    Quote Originally Posted by shashi View Post
    thank u for response,,,,,
    for compilation then run,,,,,
    You would do it the same way you would on any other platform. You can either install Xcode from the Mac App Store or, if you don't need Xcode, go here, create an account (if you don't already have one) and download the "Command Line Tools" package.
    Important Links: Community Guidelines : Use the reputation system if you've been helped.
    M-F Blog :: Write for the blog
    Writing a Quality Post

  9. #9
    execution of c and c++ programs on mac x

    Member Since
    Aug 22, 2012
    Posts
    6
    Quote Originally Posted by vansmith View Post
    No, exe files are Windows executables. If you want to manage those, you'll need to run Windows (which you can do on your Mac with either a virtual machine or Boot Camp).

    You would do it the same way you would on any other platform. You can either install Xcode from the Mac App Store or, if you don't need Xcode, go here, create an account (if you don't already have one) and download the "Command Line Tools" package.
    thank u so much,,,,now i found Xcode,,,,will install xcode app,,,

  10. #10
    execution of c and c++ programs on mac x

    Member Since
    Aug 22, 2012
    Posts
    6
    Quote Originally Posted by Raz0rEdge View Post
    Is it a console program or something else? You're not providing nearly enough information for us to be helpful to you..
    yes its console program oly

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. execution of c and c++ programs on mac x
    By shashi in forum OS X - Operating System
    Replies: 0
    Last Post: 09-12-2012, 07:28 AM
  2. A question on Carbon Copy Cloner's execution.
    By Ttaylor394 in forum OS X - Apps and Games
    Replies: 7
    Last Post: 07-14-2011, 11:39 PM
  3. Disk Utility-execution and installation
    By brucesmacbook in forum OS X - Operating System
    Replies: 1
    Last Post: 07-06-2009, 07:10 PM
  4. Common Solution, Simple execution?
    By hunkerpularama in forum Switcher Hangout
    Replies: 2
    Last Post: 07-03-2007, 06:23 PM
  5. First Execution of a New Program
    By mac57 in forum OS X - Operating System
    Replies: 5
    Last Post: 06-27-2006, 11:33 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •