Ca Ca Ca Ca Code

This is a discussion on Ca Ca Ca Ca Code within the C++ Programming forums, part of the General Programming Boards category; i need someone to help me find a compiler that can compile the kind of code like clrscr(); and getch(); ...

  1. #1
    Registered User
    Join Date
    Nov 2002
    Posts
    28

    Exclamation Ca Ca Ca Ca Code

    i need someone to help me find a compiler that can compile the kind of code like clrscr(); and getch(); and uses the kind of other functions like borland turbo c++. i would really perfer it to be free but unfree ones are still nice!

    thaks in advice!

  2. #2
    ATH0 quzah's Avatar
    Join Date
    Oct 2001
    Posts
    14,826

    Re: Ca Ca Ca Ca Code

    Originally posted by loki_cmr
    i need someone to help me find a compiler that can compile the kind of code like clrscr(); and getch(); and uses the kind of other functions like borland turbo c++. i would really perfer it to be free but unfree ones are still nice!

    thaks in advice!
    Here's a novel idea! How about Borland Turbo C++? Sounds like you've just answered your own question.

    Quzah.
    Hope is the first step on the road to disappointment.

  3. #3
    RoD
    RoD is offline
    Redundantly Redundant RoD's Avatar
    Join Date
    Sep 2002
    Location
    Missouri
    Posts
    6,331
    Microsoft Visual Studio.

  4. #4
    the hat of redundancy hat nvoigt's Avatar
    Join Date
    Aug 2001
    Location
    Hannover, Germany
    Posts
    3,139
    >Microsoft Visual Studio.

    VS does not compile DOS apps, which the original poster probably was referring to.

    Borland has a free commandline compiler for download.
    hth
    -nv

    She was so Blonde, she spent 20 minutes looking at the orange juice can because it said "Concentrate."

    When in doubt, read the FAQ.
    Then ask a smart question.

  5. #5
    still a n00b Jaguar's Avatar
    Join Date
    Jun 2002
    Posts
    187
    printf("%c[2J%c[H",27,27);
    or
    cout<<char(27)<<"[2J"<<char(27)<<"[H";

    acts clrscr(), I tested on GNU C/C++(gcc).

    getch() or getche() is available with curses.h in gcc(linux), but curses.h has something different from conio.h.
    I think you may want Dev-C++, conio.h provided and it is free.
    slackware 10.0; kernel 2.6.7
    gcc 3.4.0; glibc 2.3.2; vim editor
    migrating to freebsd 5.4

  6. #6
    Code Goddess Prelude's Avatar
    Join Date
    Sep 2001
    Posts
    9,796
    >acts clrscr(), I tested on GNU C/C++(gcc).
    And where else did you test it? Just because it works on the one OS and compiler that you tested it with doesn't mean that it will work for everyone else.

    >i need someone to help me find a compiler that can compile the kind of code like clrscr(); and getch(); and uses the
    >kind of other functions like borland turbo c++.
    You're talking about nonstandard extensions. If you want them then you had best stick with a Borland compiler that does what you want or find ways to simulate the functionality in another compiler.

    -Prelude
    My best code is written with the delete key.

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Extended ASCII Characters in an RTF Control
    By JustMax in forum C Programming
    Replies: 18
    Last Post: 04-03-2009, 09:20 PM
  2. Enforcing Machine Code Restrictions?
    By SMurf in forum Tech Board
    Replies: 21
    Last Post: 03-30-2009, 08:34 AM
  3. Proposal: Code colouring
    By Perspective in forum A Brief History of Cprogramming.com
    Replies: 28
    Last Post: 05-14-2007, 08:23 AM
  4. Values changing without reason?
    By subtled in forum C Programming
    Replies: 2
    Last Post: 04-19-2007, 11:20 AM
  5. Replies: 4
    Last Post: 01-16-2002, 12:04 AM

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21