xcode for windows?

  • Serac
  • Novice
  • Novice
  • No Avatar
  • Joined: Jan 26, 2006
  • Posts: 18
  • Status: Offline

Post January 26th, 2006, 2:47 pm

With a semester of c++, I have learned enough that I want to code at my house. At school we use macs and xcode, and I'm very accustomed to the interface. However, with windows at home, I'm wondering if anybody knows of an interface similar to xcode except for windows? I installed something wierd and I didn't get it at all, the least to say that I couldn't program.

I'd greatly appreciate it if anbody could help me.
  • Anonymous
  • Bot
  • No Avatar
  • Joined: 25 Feb 2008
  • Posts: ?
  • Loc: Ozzuland
  • Status: Online

Post January 26th, 2006, 2:47 pm

  • Tchuki
  • Mastermind
  • Mastermind
  • No Avatar
  • Joined: Sep 30, 2004
  • Posts: 1774
  • Loc: Edinburgh
  • Status: Offline

Post January 27th, 2006, 3:39 pm

The program(s) I use for coding in VB.Net/C/C++ etc are all from Visual Studio.

Being a student I don't have alot of money to throw around on fancy software such as professional editions of Visual Studio 2005 or whatever, so I use the Express Version.

http://msdn.microsoft.com/vstudio/express/default.aspx

From what I have been told its pretty similar to the pro version of VS2005 only it doesn't have all the features but theres only a few missing.

Its free to download and free to use for as long as you need. I beleive it is a student/developer based program which is why its free.

So far I love it and have nothing bad to say about it. I've tried things like Borland compiler but found this easier and nicer to use.

/* This is a GUI based compiler, not command line */

Hope that helps.
  • Serac
  • Novice
  • Novice
  • No Avatar
  • Joined: Jan 26, 2006
  • Posts: 18
  • Status: Offline

Post January 28th, 2006, 10:35 am

Thank you for the help, but what exactly is GUI, and a commandline?

Which one was Xcode? :)
  • Tchuki
  • Mastermind
  • Mastermind
  • No Avatar
  • Joined: Sep 30, 2004
  • Posts: 1774
  • Loc: Edinburgh
  • Status: Offline

Post January 28th, 2006, 1:47 pm

GUI is Graphic User Interface, lke the Windows operating system.

Command line is basicaly like DOS, you do all your work in text form including compiling and adding things.

xCode is GUI based program so you will be fine with the Express Versions :D
  • Serac
  • Novice
  • Novice
  • No Avatar
  • Joined: Jan 26, 2006
  • Posts: 18
  • Status: Offline

Post January 28th, 2006, 3:55 pm

This is very frustrating.

I downloaded it form the site fine, but then it said I needed to install Windows service pack 2, which required me to go on internet explorer on windows update. For some reason it won't load. :(
  • Tchuki
  • Mastermind
  • Mastermind
  • No Avatar
  • Joined: Sep 30, 2004
  • Posts: 1774
  • Loc: Edinburgh
  • Status: Offline

Post January 28th, 2006, 4:05 pm

Visual Studio Express runs off Windows and requires SP2 to be installed before it will work or even install completely in some cases.

You can download SP2 off a third party site rather than going to Micro$oft for the update. The only reason it may not install is if your running a copied version of XP. You will also need SP1a installed before SP2 will install.
  • Serac
  • Novice
  • Novice
  • No Avatar
  • Joined: Jan 26, 2006
  • Posts: 18
  • Status: Offline

Post January 28th, 2006, 5:03 pm

I see. For some reason I still kept getting errors. So I recently downloaded Dev-c++, it's interface kind of reminds me of xcode. I don't know if you've had experience with this program before, but for some reason it'll compile fine but it messes up when trying to run... When I click "run" a black box pops up but then instantaneously dissapears... what to do?
  • Tchuki
  • Mastermind
  • Mastermind
  • No Avatar
  • Joined: Sep 30, 2004
  • Posts: 1774
  • Loc: Edinburgh
  • Status: Offline

Post January 28th, 2006, 5:06 pm

Yeah I have used Dec C++ before and didnt really like it for the reason you are experiencing.

There is a way to enable to command box to stay focused [ the command box is what displays the output of your code in windows ] but I don't remeber what it is.

There should be a support forum for Dev C++ somewhere, and someone on there should know.

Personally I would keep trying with SP1a/SP2 to get Visual Studio Express as they are great programs to work with.

What type of error message are you getting ?
  • Serac
  • Novice
  • Novice
  • No Avatar
  • Joined: Jan 26, 2006
  • Posts: 18
  • Status: Offline

Post January 28th, 2006, 5:30 pm

When I try to go to the page it suggests to download it, it gives me errors.

In firefox it tells me I need to use Explorer v. 5 or more.

In IE it just doesn't load.

I kind of got Dev-c++ to work.
  • Tchuki
  • Mastermind
  • Mastermind
  • No Avatar
  • Joined: Sep 30, 2004
  • Posts: 1774
  • Loc: Edinburgh
  • Status: Offline

Post January 28th, 2006, 5:32 pm

What is the actual error message you are given ? It may be a small problem that can be resolved easily.
  • Mas Sehguh
  • Mastermind
  • Mastermind
  • User avatar
  • Joined: Aug 07, 2004
  • Posts: 1849
  • Status: Offline

Post January 28th, 2006, 6:37 pm

Enigmatic wrote:
There is a way to enable to command box to stay focused [ the command box is what displays the output of your code in windows ] but I don't remeber what it is.

There should be a support forum for Dev C++ somewhere, and someone on there should know.


This is how command line programs should run -- once they're done, they should end. I recommend opening a command line and running your program from the command line. But if you want to ignore my opinion, you can add a line to wait for user input, or add a system("PAUSE"); statement at the end of your code.
  • Serac
  • Novice
  • Novice
  • No Avatar
  • Joined: Jan 26, 2006
  • Posts: 18
  • Status: Offline

Post January 29th, 2006, 11:46 am

Enigmatic wrote:
What is the actual error message you are given ? It may be a small problem that can be resolved easily.


Well, the error depends on which browser I use to open the link it gives me.

In firefox it tells me I need to use Explorer v. 5 or more.

In IE it just doesn't load.

Thanks for the other tip.
  • Tchuki
  • Mastermind
  • Mastermind
  • No Avatar
  • Joined: Sep 30, 2004
  • Posts: 1774
  • Loc: Edinburgh
  • Status: Offline

Post January 29th, 2006, 1:02 pm

If its just downloading the install files your having trouble doing, I have the C++ and VB.Net installation packages saved on my HDD.

If you want I can upload them to my server and give you a dircet URL to a directory for you to download them.
  • Serac
  • Novice
  • Novice
  • No Avatar
  • Joined: Jan 26, 2006
  • Posts: 18
  • Status: Offline

Post January 30th, 2006, 3:20 pm

Thanks, but I got it successively installed on my comp by looking for the upgrade on google.

...


Hmm... I opened/created a new project, then with a blank file I wrote this very simple c++ thing to test it out.

Code: [ Download ] [ Select ]
#include <iostream>

main()
{
int a;
a=1;
std::cout<<1;
}
  1. #include <iostream>
  2. main()
  3. {
  4. int a;
  5. a=1;
  6. std::cout<<1;
  7. }



then in the "output" box below:

Code: [ Download ] [ Select ]
------ Build started: Project: First Project, Configuration: Debug Win32 ------
Compiling...
Stdafx.cpp
Compiling...
First Project.cpp
AssemblyInfo.cpp
Generating Code...
Compiling resources...
Linking...
Embedding manifest...
Build log was saved at "file:/.... blah blah blah"
First Project - 0 error(s), 0 warning(s)
========== Build: 1 succeeded, 0 failed, 0 up-to-date, 0 skipped ==========
  1. ------ Build started: Project: First Project, Configuration: Debug Win32 ------
  2. Compiling...
  3. Stdafx.cpp
  4. Compiling...
  5. First Project.cpp
  6. AssemblyInfo.cpp
  7. Generating Code...
  8. Compiling resources...
  9. Linking...
  10. Embedding manifest...
  11. Build log was saved at "file:/.... blah blah blah"
  12. First Project - 0 error(s), 0 warning(s)
  13. ========== Build: 1 succeeded, 0 failed, 0 up-to-date, 0 skipped ==========


I can't figure this out, this is a bit confusing. Help please? :)
  • Tchuki
  • Mastermind
  • Mastermind
  • No Avatar
  • Joined: Sep 30, 2004
  • Posts: 1774
  • Loc: Edinburgh
  • Status: Offline

Post January 30th, 2006, 3:26 pm

Your code has no output therefore nothing is displayed, all that your code does is a simple increment.

Try doing the usual "Hello World!" script to test the program.

Code: [ Download ] [ Select ]
#include<stdio.h>

int main()
{
    printf("\n Hello World !");
}
  1. #include<stdio.h>
  2. int main()
  3. {
  4.     printf("\n Hello World !");
  5. }


The ouput window just shows what the compiler is doing, any errors that occur in your code is shown there or in your case, 1 build completed with no errors.
  • Anonymous
  • Bot
  • No Avatar
  • Joined: 25 Feb 2008
  • Posts: ?
  • Loc: Ozzuland
  • Status: Online

Post January 30th, 2006, 3:26 pm

Post Information

  • Total Posts in this topic: 31 posts
  • Users browsing this forum: No registered users and 357 guests
  • You cannot post new topics in this forum
  • You cannot reply to topics in this forum
  • You cannot edit your posts in this forum
  • You cannot delete your posts in this forum
  • You cannot post attachments in this forum
 
 

© Unmelted Enterprises 1998-2009. Driven by phpBB © 2001-2009 phpBB Group.