NetBeans Compile Error

  • From: "dsubgai" < >
  • To:
  • Subject: NetBeans Compile Error
  • Date: Mon, 23 Jan 2012 21:47:13 +0000


Hjkop7 wrote:
> New file named main.cpp, in a new project(Because you can't have two files 
> of the same name.), and then you can put a new int main(). main() is the 
> first function called in the program, having multiple of them isn't 
> possible.
> 
> You'll learn later how to use functions from other files. :)


I already have a main.cpp file.

#include <cstdlib>

using namespace std;

/*
 * 
 */
int main(int argc, char** argv) {

    return 0;
}






NetBeans Compile Error

dsubgai 01/23/2012

NetBeans Compile Error

Hjkop7 01/23/2012

NetBeans Compile Error

dsubgai 01/23/2012

NetBeans Compile Error

Hjkop7 01/23/2012

NetBeans Compile Error

dsubgai 01/23/2012

Project Features

About this Project

CND was started in November 2009, is owned by Leonid Lenyashin, and has 130 members.
By use of this website, you agree to the NetBeans Policies and Terms of Use (revision 20140418.2d69abc). © 2013, Oracle Corporation and/or its affiliates. Sponsored by Oracle logo
 
 
Close
loading
Please Confirm
Close