Security Software review and downloads
  • Home
  • Spyware & Spyware Remover
  • Registry & Registry Cleaner
  • Firewall
  • Hacked
  • Uninstall & Uninstaller
  • Antivirus

Can you write software for windows on a mac?

June 22nd, 2008 · 3 Comments

I'm interested in purchasing a MacBook Air. Basically I would use it for the basic computer functions, as well as a computer to write software code. Is it possible to write programs for windows on a mac? I would use either C++, Java or Visual Basic. Thanks!
So if I can write windows programs on Mac, lets say Java or CSS, what's a place to get started? I suppose I'll have to learn how to make it work on both OSs. Where can I get started?

Related posts:

  • How can I write and execute java programs using only the basic vista tools?
  • I want to write java programs on my computer, and I was able to get the .java extension...
  • how to properly install java compiler for windows vista home basic..?? plz..help.
  • i have downloaded the development kit so called JDK.n also the documention..but still its...
  • programming on a mac?
  • Hi all, I finally got a competent computer (a macbook pro) and now I'd like to get...
  • java for mac?
  • i deleted my java for mac now i cant dl it. which one is for me theres like 20 different...
  • How can i Create or Edit a .dll hack?
  • Hacking today has become a little different. Today, people create hacks inside .dll files...
  • What is a good PHP Password Protection Code?
  • I am trying to write a password protection code, however my knowledge is limited to...
  • How do I run a DLL program (setvb2java)?
  • I downloaded a program that I need tomorrow (setvb2java), and in the description of the...
  • Why am i getting several java virtual machines running in the same process caused an error?
  • I am trying to play games on pogo but keep gettin this message, when I was using java 5.0...
  • i want to learn hacking what all things do i need to learn?
  • do i need to learn languages or htma or java ........plz...
  • how to write a dll file and use it?
  • how can I write a dll and use it in my own programs? if u could give me an example of...

    Tags: Mac


    3 responses so far ↓

    • 1 Nicholas M // Jun 22, 2008

      Sure, but since it is a Mac, it just takes a different code. You gotta look at as another language. English vs. French, for example, but almost all PC programmer and coders do it because usually consumers want software for both computers. PC for all the basic stuff and Mac for the media.

    • 2 darkwind_duck // Jun 22, 2008

      Yes you can write code on a mac for windows use. The only hard part would be for troubleshooting since you cant run it on a windows machine while you code. Sometimes different machines treat the code slightly different. (for instance, unix environments tend to be more picky when it comes to capitalization in directory names) As long as you follow the standards for the language it should work fine however.

      The only requirement would be that you actually compile the final code on a windows machine. (There may be some mac compilers that allow you to compile into a windows executable. I am not sure since I haven't had to do that.) Thats why when you buy software you see different boxes for mac versions and pc versions, since the final compiled exe is machine dependent.

      If you want the easiest route I would go with Java. Java bytecode is independent of the machine since it isn't actually compiled. It is ran by the virtual machine that is installed on each machine instead of being an independent program. Basically it is what they call an interpretive language instead of compiled.

      edit:
      I don't own a mac, but from what I've read mac computers come with a JDK (java development kit - that you use for creating programs) pre installed. You would probably want to go apple's website and update to the latest version. As for writing actual code, the only thing I can say is to buy a nice beginners java book. There are tutorials online if you google, but they never quite come to the quality of a good book.
      (also, css isn't actually used to create software, its used in web page development)

    • 3 Craig R // Jun 22, 2008

      The MacBook Air is a little light-weight for programming.

      The best way to write Windows code on a Mac is to run Parallels or Fusion and actually run Windows XP on the Mac. Then use Windows programming tools like Visual Studio.

      It's possible to write C++ code that runs on both the Mac and Windows. You have to separate any platform dependencies into separate classes so that you can customize them for each platform, but it can be done.

      You can also take the gcc compiler used on the Mac and get it for the PC. The user interface code will be different but the guts of your application should run in both places.

    Leave a Comment

    *
    To prove you're a person (not a spam script), type the security word shown in the picture. Click on the picture to hear an audio file of the word.
    Click to hear an audio file of the anti-spam word

    Tags: Email Spam Uninstall spyware Security Software Trend Micro Registry Cleaner Pc Tools Norton Nod32 Kaspersky Internet Security Hacked Firewall Computer Security Avg Avast Antivirus Ad Aware Monitoring Software Encryption Backup


    A Slow System?
    Harassed by DLL errors?
    Plagued by constant Blue Screens?
    Receiving error messages and don't know why?

     
    • Most popular Software downloads

      • Pctools
      • kaspersky
    About | Contact Us | Old Sitemap Security Software review and download . All rights reserved PoweredBy Yahoo!API.