Question about Microsoft Windows XP Professional

1 Answer

In c language can i print my name without using semicolons???

I want to print my name in turbo c++ compiler output screen in c language but the condition is in whole coding of the programme there must not b any semicolon used,,,,,,,,,can anyone help me??????

Posted by on

1 Answer

  • Level 2:

    An expert who has achieved level 2 by getting 100 points

    MVP:

    An expert that gotĀ 5 achievements.

    Governor:

    An expert whose answer gotĀ voted for 20 times.

    Scholar:

    An expert who has written 20 answers of more than 400 characters.

  • Expert
  • 150 Answers

You need to use an endline function when outputting to the screen, example:
cout << "my name" << endl;

Posted on Mar 02, 2009

  • Kurtis Stalnaker
    Kurtis Stalnaker Mar 02, 2009

    This is the only method. It's very odd that you are not allowed to use a semicolon because that is one of the most important parts of the C++ language. Otherwise there is no way to end a program.

×

Add Your Answer

Uploading: 0%

my-video-file.mp4

Complete. Click "Add" to insert your video. Add

×

Loading...
Loading...

Related Questions:

1 Answer

How to pprogram a java language


download java compiler from http://www.oracle.com/technetwork/java/javase/downloads/index.html

Go where you install your java, default Path is "C:\Program Files\Java"
in Java Folder open folder jdk then open bin copy its directory located at the address bar then

Right Click My Comuter > left click Properties > Advance > Environment Variables > on System Variables find Path then click it then click Edit
insert a semicolon " ; " on the end of the textbox (if already have don't add semicolon) then paste the directory you copy...

you can now create your Java Code....

to Compile and Run it...
open command promt ( to open click start > run > type cmd )
go to directory where you save your java code..
(ex. if your Directory is "D:\Java Folder" then type "cd.." press Enter repeat "cd.." until "C:\>" is remaining then type "D:" press enter then type "cd Java Folder" then press Enter type "javac (name of your javacode).java " Press Enter (if there is an error correct your java code) if no type "java (name of your javacode)" there you can run your Java Code

Aug 04, 2011 | Microsoft Windows XP Professional for PC

1 Answer

I want to install c language for practice i want to install it by internet please tell me what should i do


download the version Turbo C++ 3.0 freeware.This is a free C++ compiler from Borland. It comes with an IDE and debugger. It is very easy to access..

Oct 21, 2010 | Operating Systems

2 Answers

HOW TO RUN TURBO C IN 64 BIT WINDOWS 7


Hi,

Turbo C/C++

64 Bit operating systems like Windows Xp64, Windows Vista64, and Window 7 will no longer run 16 bit applications and this includes Turbo C 2.01/Turbo C++ 3.0/3.1 or the programs they produce.
Turbo C 2.0 was first released in 1989, Turbo C++ 3.1 in 1991 making these programs nearly two decades old. They are just too old to run on modern PCs.

Upgrade To Modern Compiler

Note that Turbo C/C++ is very very very very old and produces 16 bit programs which no long run on many modern computers. So the best advice is to upgrade to a new compiler. There are many free compilers out there that you can use.

Free Compilers:
  • Microsoft Express 2008 -- Great compiler and comes with a nice IDE (Visual Studio)
  • MinGW -- Command line compiler but there are many IDEs that use it such as Code::Blocks, Eclipse, Dev-C++
  • Borland C++ 5.5 -- Will compile Turbo C++ programs (including graphics.h) but produces 32bit code (slightly better than Turbo C) Only includes command line tools.
  • DigitalMars -- Its still old but at least it produces 32bit programs (better than Turbo C). You might stumble across D++ which is a very powerful language derivative of C++.
  • OpenWacom -- Again, nearly as old as Turbo C, but it produces more modern 32bit applications! (this project is still active too).
If you are just working with C there is:
  • Pelles -- and excellent modern C compiler and IDE. Pelles also has the new TR1 libraries available so you can use regex and other new features. As well as support for many older libraries.
  • LCC-Win32 -- Used as the basis for many of the research compilers.
  • Tiny C -- is said to produce very fast programs.
.
All of the above are Free and all excellent replacements for Turbo C which is so old it will not even run on your computer.


Regards.

May 24, 2010 | Microsoft Windows Vista Ultimate Edition

6 Answers

How to run turbo c++in vista 64 bit os


You can run Turbo C++ 3.0 on Windows XP 64 bit , Vista 32 bit and 64 bit OS (in full screen)

Install the software DOSBox ver 0.72 (Freeware) from the link below (Direct Link)

http://prdownloads.so urcef orge.net/dosbox/DOSBox0.72-win 32-in staller.exe?download

Before going to the details u have to create a folder (any name will do).

Here we name it as Turbo

Copy the TC into the Turbo folder

Run the DOSBox 0.72 from the icon located on the desktop or from the location of the installation folder

Then u are presented with two screens which look like the command prompt in Windows

Now u are presented with two screens. One with a Z prompt. U can ignore the other screen.

There type the following commands at the command prompt [Z]:

Mount [Type in any alphabet that u wish except z] [Type the source of the turbo C] press enter

For example (Type in the following commands after the Z prompt):

Z: mount d c:\Turbo\ [The folder TC is present inside the folder Turbo]

* Now u should get a message which says: Drive D is mounted as a local directory c:\Turbo\ ***

C:\> cd TC [The contents inside the folder Turbo gets mounted as a virtual drive (Here D drive)

source site :

http://mycomputer.freefor ums.o rg/running-turbo-c-in-full-scr een-m ode-help-t1241.html .

Sep 03, 2009 | Microsoft Windows Vista Ultimate Edition

1 Answer

Turbo-c++ is not installed in full screen


Hi sagar,

Turbo C++ 3.0 is made for MS DOS 6.22 environment. In windows also we can run Turbo C because windows environment provides all native services of DOS. But in Windows VISTA some of the services are revoked. So to enable them either Vista is to be reconfigured or some add-ins are to me installed.

Other versions those can work in Vista are BOROLAND C++ 4.5, VISUAL C++ 6.0, and Visual Studio 2008. But in all these the graphics header file <graphics.h> will not work. Try to find an appropriate graphics header file or copy graphics.h in the cource directory and use #include "graphics.h" command in your C Program.

Please revert to me if having problems.

Zulfikar Ali
ali_zulfikar@yahoo.com
09899780221

Jan 31, 2009 | Microsoft Windows Vista Ultimate Edition

1 Answer

C compiler


lower your screen resolution to the minimum only while using c,c++.

May 20, 2008 | Microsoft Windows Vista Ultimate Edition

3 Answers

Turbo c/c++ not working in full screen mode


go to compiler set it into ur drive where it belong ur C++/ turbo

May 16, 2008 | Microsoft Windows Vista Ultimate Edition

11 Answers

Looking for a vista compatible c/c++ compiler


As 32 bit vista does not support full screen 16 bit plarforms(like c/c++) nd not at all suportable by 64 bit vista. to install u have to install the display drivers of XP, that can be found at the site of the manufacturer of ur Laptop/PC(in some cases graphics card manufacturer). All the best...., further having any query , pLz fell free 2 ask

Mar 05, 2008 | Microsoft Windows Vista Ultimate Edition

Not finding what you are looking for?
Microsoft Windows XP Professional Logo

Related Topics:

72 people viewed this question

Ask a Question

Usually answered in minutes!

Top Microsoft Operating Systems Experts

Brian Sullivan
Brian Sullivan

Level 3 Expert

27725 Answers

Scott Fryer

Level 2 Expert

80 Answers

Alex Krenvalk

Level 2 Expert

401 Answers

Are you a Microsoft Operating System Expert? Answer questions, earn points and help others

Answer questions

Manuals & User Guides

Loading...