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.

×

1 Suggested Answer

6ya6ya
  • 2 Answers

SOURCE: I have freestanding Series 8 dishwasher. Lately during the filling cycle water hammer is occurring. How can this be resolved

Hi,
a 6ya expert can help you resolve that issue over the phone in a minute or two.
best thing about this new service is that you are never placed on hold and get to talk to real repairmen in the US.
the service is completely free and covers almost anything you can think of (from cars to computers, handyman, and even drones).
click here to download the app (for users in the US for now) and get all the help you need.
goodluck!

Posted on Jan 02, 2017

Add Your Answer

Uploading: 0%

my-video-file.mp4

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

×

Loading...
Loading...

Related Questions:

1 Answer

Write a program that accept a number and output its equivalent in word


Use the value that will be printed by the keyboar.
After you enter the value.
You have to cast the type you have used as integer or float into string or character type.
So here the type casting of the datatype will be used.

Oct 10, 2011 | Borland Turbo C++ 4.5 Full Version for PC

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 transfer a program written in c++ language in microsoft word to turbo c++ what I have to do?


You have to copy and paste the program in new file in turbo c++.Compile it and correct errors and run it.

Nov 30, 2010 | Borland Turbo C++ Suite 1.0...

1 Answer

I have a windows 7 or windows xp both in one computer . when i am install turbo C soft ware in window 7 it doesent open full screen in window 7


turbo c will not open in full screen on windows 7 neither graphics will work
so either u have to use dos box and mount turbo c on it or use some other compiler

Nov 20, 2010 | Computers & Internet

1 Answer

Please write a java program to print my full name dhanalakshmi in a single line.


place the below code in a text file dhana.txt and compile it.

class dhana {
public static void main(String[] args) {
System.out.println("dhanalakshmi"); // Display the string.
}
}

regards
harit

Jul 07, 2010 | Sun Java Programming Language (cdj-275)

1 Answer

How to write a c progaram without using semicolon


The semi colon is a required element. C and C++ will not work without them. Depending on your compiler you may be able to set a compiling setting to use a different symbol to use instead of the ; but that is the default Language required end of statement symbol. Without it or something to replace it that the compiler understands there is no way for the program to know where 1 statement or command ends and the next begins.

Jun 30, 2010 | Computers & Internet

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

2 Answers

What is a compiler and ite story


A compiler takes code that you have writin, and 'compiles' it into machine language code ex.10010011, a language that your computer can understand and execute.

Jan 15, 2009 | Computers & Internet

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:

73 people viewed this question

Ask a Question

Usually answered in minutes!

Top Microsoft Computers & Internet Experts

micky dee

Level 3 Expert

2642 Answers

Les Dickinson
Les Dickinson

Level 3 Expert

18344 Answers

Brian Sullivan
Brian Sullivan

Level 3 Expert

27725 Answers

Are you a Microsoft Computer and Internet Expert? Answer questions, earn points and help others

Answer questions

Manuals & User Guides

Loading...