PDA

View Full Version : C++ Project




Mantis
Nov 16, 2007, 01:11 PM
I have to do a C++ project for school... But since im using a mac i wanted to do it in Xcode... I researched for this and found Carbon can use some C++ standard coding... But i dont even know how to start... I was hoping one of you can help me start.

The project is making a ~question-answer game. A .dat file with the questions and call that from the program. It has to have different categories of questions and allow the user to make new questions. The program gives points per question answered correctly.

I know how to do it in Turbo C++ in Windows... With the blue screen. But as i stated up here i want to try Xcode for this one.

ANY help is RLLY appreciated



Cromulent
Nov 17, 2007, 12:43 AM
Why not just look into using Curses and make the application command line based? There is no need to use Carbon or Cocoa for such an application.

Mantis
Nov 17, 2007, 12:48 PM
Using what? So there is a C++ command line editor for mac?

pilotError
Nov 17, 2007, 02:38 PM
sure... ever heard of vi

vi myfile.c

do a google search on vi and you'll get all the keyboard commands you could ever need!

Cromulent
Nov 17, 2007, 07:35 PM
Using what? So there is a C++ command line editor for mac?

Vi, Pico, Emacs. The list goes on. Personally I use Xcode though.

Mantis
Nov 18, 2007, 03:23 AM
I did try to use Xcode... But the thing always gives me an error when i try usinig libraries... like conio, string, stdio, iostream...