Question about Microsoft Windows Vista Home Premium with Service Pack 1: Windows

2 Answers

Not getting the output on the screen

Hi,
i am just started with the c++ programming. i want the output of my first program but it is not there.....

my program is as follows:
#include
int main()
{
std::cout<<"welcome to the world of c++! ";
return 0;
}

but when i compile it shows me the following error---
"type qualifier 'std' must be a struct or class name."

i am using window vista and through dosbox. kindly suggest me.

Posted by on

  • Shaun Plencner
    Shaun Plencner May 11, 2010

    why are u doing this ?





    Helping u Shsun

×

2 Answers

  • Level 2:

    An expert who has achieved level 2 by getting 100 points

    MVP:

    An expert that got 5 achievements.

    Greenhorn:

    A rookie expert who has answered 20 questions on their first day.

    Cheetah:

    An expert who has answered 20 or more questions within one hour.

  • Expert
  • 76 Answers

Actually your program is spot on keep up the good work. however it appears you forgot to put <iostream> after #include

#include <iostream> //like so

Posted on Oct 05, 2012

  • Level 1:

    An expert who has achieved level 1.

    Hot-Shot:

    An expert who has answered 20 questions.

    Corporal:

    An expert that has over 10 points.

    Mayor:

    An expert whose answer got voted for 2 times.

  • Contributor
  • 27 Answers

Try writing it like this ...


#include <iostream>
using namespace std;

int main ()
{
cout << "welcome to the world of c++! ";
return 0;
}

Posted on Nov 16, 2008

Add Your Answer

Uploading: 0%

my-video-file.mp4

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

×

Loading...
Loading...

Related Questions:

5 Answers

Cannot delete avira antivirus,when i erase in my folder.


You have to delete your antivirus from Add or Remove Programs Section (Start->Control Panel->Add or Remove Programs-> Search for Avira and click on the right button (Remove). Just erasing your folder will not completely delete your Antivirus.

I hope I helped you

May 20, 2011 | Microsoft Windows 7 Home Premium 64BIT...

2 Answers

How can i run add remove program without going to control pannel?


Do START, RUN then type in C:\WINDOWS\system32\appwiz.cpl

Most programs also have a separate uninstall program in their program group - Do START, ALL PROGRAMS, select the program group you want to uninstall and see if there is an uninstall icon.

May 17, 2011 | Microsoft Windows XP Professional

2 Answers

Meaning


The most important program that runs on a computer. Every general-purpose computer must have an operating system to run other programs. Operating systems perform basic tasks, such as recognizing input from the keyboard, sending output to the display screen, keeping track of files and directories on the disk, and controlling peripheral devices such as disk drives and printers. For large systems, the operating system has even greater responsibilities and powers. It is like a traffic cop -- it makes sure that different programs and users running at the same time do not interfere with each other. The operating system is also responsible for security, ensuring that unauthorized users do not access the system.
Operating systems can be classified as follows:
  • multi-user : Allows two or more users to run programs at the same time. Some operating systems permit hundreds or even thousands of concurrent users.
  • multiprocessing : Supports running a program on more than one CPU.
  • multitasking : Allows more than one program to run concurrently.
  • multithreading : Allows different parts of a single program to run concurrently.
  • real time: Responds to input instantly. General-purpose operating systems, such as DOS and UNIX, are not real-time.
  • Operating systems provide a software platform on top of which other programs, called application programs, can run. The application programs must be written to run on top of a particular operating system. Your choice of operating system, therefore, determines to a great extent the applications you can run. For PCs, the most popular operating systems are DOS, OS/2, and Windows, but others are available, such as Linux.
    As a user, you normally interact with the operating system through a set of commands. For example, the DOS operating system contains commands such as COPY and RENAME for copying files and changing the names of files, respectively. The commands are accepted and executed by a part of the operating system called the command processor or command line interpreter. Graphical user interfaces allow you to enter commands by pointing and clicking at objects that appear on the screen.

    Apr 08, 2011 | Operating Systems

    2 Answers

    How do I get a Print out of my Drawing with a Keyboard Print Screen pad?


    pressing the print screen copies the screen to the windows clipboard. You then need to paste the clipboard's contents into a drawing program like microsoft paint

    Jul 23, 2010 | Microsoft Windows XP Professional for PC

    2 Answers

    I have a hp computer with windows vista .Whenever I TYPE IN SOMETHING my windows e-mail comes up covering my screen.Could you tell me how to fix that.


    hi
    i am techbuddies from fixya group .
    i want to give a try to resolve your problem
    first of all follow these steps
    start >in search box type in msconfig and then hit enter then you would be able to logon to the system configuration utility box and then click on the services tab and check the option which says hide all microsoft utility once you do this then click on to apply and okie and then try to restart the computer once the computer is restarted then check that are you getting the same problem if you are getting the same problem then once you get the email screen then dont x out of it then try to open up task manager by pressing ctrl - alt-delete once you do this it will give you a task manager screen and the click on to the email program then give a right click and from the menu click go to process once you do it ,it will highlight the process that helps that email to run on the bottom click on to end process and the email screen would not come

    if you get the problem in doing this please get back to me on my email that is ullekhtandon@gmail.com
    or you can get in touch with me on fixya

    thanks
    techbuddies

    Jan 03, 2010 | Operating Systems

    1 Answer

    To get the code of my program.


    hi here i am to solve ur problem u just logom to the respective website u will come to find out a cheat code at bottom of d page

    Jan 14, 2009 | Operating Systems

    1 Answer

    Sound


    hi dear

    Through the All Programs menu:
    1.
    Click Start.
    2.
    Point to All Programs.
    3.
    Point to Accessories.
    4.
    Point to System Tools.
    5.
    Click System Restore.
    6.
    Follow the instructions on the wizard.
    Creating a restore point can be useful any time you anticipate making changes to your computer that are risky or might make your computer unstable. If something goes wrong, you select the restore point you just created and Windows XP undoes any system changes made since that time.
    Create a Restore Point
    1.
    Open System Restore. (See step-by-step instructions above.)
    2.
    Click Create a restore point, and then click Next.
    3.
    In the Restore point description box, type a name to identify this restore point as seen in Figure 1 below. System Restore automatically adds the date and time that this Restore Point is created.
    3201fb4.gif
    Figure 1. Creating a restore point
    • To finish creating this restore point, click Create.
    • To cancel restore point creation and return to the Welcome to System Restore screen, click Back.
    • To cancel restore point creation and exit the System Restore Wizard, click Cancel.
    To view or to return to this restore point, from the Welcome to System Restore screen of the System Restore Wizard select Restore my computer to an earlier time. Then select the date you created the restore point from the calendar in the Select a Restore Point screen. All of the restore points you created and you computer created on the selected date are listed by name in the list box to the right of the calendar.
    Note System Restore does not replace the process of uninstalling a program. To completely remove the files installed by a program, you must remove the program using Add or Remove Programs in Control Panel or the program's own uninstall program. To open Add or Remove Programs, click Start, click Control Panel, and then click Add or Remove Programs.


    oke



    cropp

    Mar 25, 2008 | Microsoft Windows XP Home Edition

    1 Answer

    Startup problems


    Hi,
    this is telling you that a Scan/checkdisk program is running.
    to get rid of this, run scandisk within windows, also go to Start/all programs/startup and remove from the startup if applicable.
    to bypass on boot-up, simply press enter beefore the program Starts to run.

    Mike @ compurepair.

    Mar 08, 2008 | Operating Systems

    1 Answer

    C Program related to Anagram


    did you find your answer?

    Mar 01, 2008 | Operating Systems

    Not finding what you are looking for?
    Microsoft Windows Vista Home Premium with Service Pack 1: Windows Logo

    Related Topics:

    89 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...