Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8372189
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 9, 20262026-06-09T14:21:46+00:00 2026-06-09T14:21:46+00:00

Im using net-beans 7.2 if i run helloworld.cpp its showing error that cannot find

  • 0

Im using net-beans 7.2 if i run helloworld.cpp its showing error that cannot find include file (IDE cannot able to recognize any .h files ). i installed gcc, im useing Fedora 16, im trying to use CUDA plugin.

#include <cuda_runtime.h>
#include <cutil.h>
# include <iostream.h>

int main(int argc, char **argv)
{
    prithf("Hii");
    return 0;
}

Hope someone help me.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-09T14:21:48+00:00Added an answer on June 9, 2026 at 2:21 pm

    In C++, you usually dont use the .h extension for header files. For C++ header files, directly use the filename which in this case would be

    #include<iostream>
    

    Using iostream.h is deprecated.

    Also write

    using namespace std;
    

    preferably after decalring all header files to import all symbols in the standard namespace into your code. That way, you wont have to write std:: everytime you want to use one. If you’re not getting what im talking about, please refer this link – http://www.cplusplus.com/doc/tutorial/namespaces/. Understanding this is important.

    For your usual C header files, usually you have to prefix a ‘c’ before the filename and remove the .h extension. For example,

    #include<math.h>
    

    becomes

    #include<cmath>
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I am using Net beans drag and drop GUI and in that i am
What is the event handler in Java (using net beans, Swing) that resembles the
What is the event handler in Java (using net beans) that resembles the From_Load
I made a swing GUI using net beans, When I run the main project,
I'm using NetBeans IDE 7.1 From this IDE I run first build and wait
I'm using NetBeans IDE to code a java program. When I run the program
Hey I'm using Netbeans for my IDE and I'm getting an error when I
I'm using Netbeans, and trying to get a program Rational to run, so that
i'm using a IDE netbeans to run a java testing program to load a
I'm using NetBeans 6.1 as my primary IDE, in there I can't run this

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.