Thread: Function Not Acepted

  1. #16
    Frequently Quite Prolix dwks's Avatar
    Join Date
    Apr 2005
    Location
    Canada
    Posts
    8,057
    g++ isn't necessarily better than MS Visual Studio 2005, I just like it better, that's all.

    I've never used NetBeans before, so I can't suggest anything besides Google, which I'm sure you've already tried. http://www.google.ca/search?hl=en&q=...G=Search&meta=

    Are you using Vista?
    dwk

    Seek and ye shall find. quaere et invenies.

    "Simplicity does not precede complexity, but follows it." -- Alan Perlis
    "Testing can only prove the presence of bugs, not their absence." -- Edsger Dijkstra
    "The only real mistake is the one from which we learn nothing." -- John Powell


    Other boards: DaniWeb, TPS
    Unofficial Wiki FAQ: cpwiki.sf.net

    My website: http://dwks.theprogrammingsite.com/
    Projects: codeform, xuni, atlantis, nort, etc.

  2. #17
    Registered User
    Join Date
    Dec 2007
    Posts
    11
    Yes, they do have a very good tutorial. Is just that for an unknown reason, the settings don't stay in place. Once the suite is open, the settings changed back to nothing. It could be something on the Windows environment.

    Well, I will try eclipse and see the difference.
    Last edited by telepatico; 12-15-2007 at 05:42 PM.

  3. #18
    C++まいる!Cをこわせ!
    Join Date
    Oct 2007
    Location
    Inside my computer
    Posts
    24,654
    You don't have to be ashamed to use Visual Studio. In fact, it's a very good compiler + IDE in one package. Just be sure to turn warnings up to max (under Compiler -> General).
    Quote Originally Posted by Adak View Post
    io.h certainly IS included in some modern compilers. It is no longer part of the standard for C, but it is nevertheless, included in the very latest Pelles C versions.
    Quote Originally Posted by Salem View Post
    You mean it's included as a crutch to help ancient programmers limp along without them having to relearn too much.

    Outside of your DOS world, your header file is meaningless.

  4. #19
    C++ Witch laserlight's Avatar
    Join Date
    Oct 2003
    Location
    Singapore
    Posts
    28,413
    I wish I could get my netbeans 6 to work well when compiling with g++, but even when the system variables are set to cygwin/bin, and selected on the options in netbeans, still does not work.
    You may find it easier to use the MinGW port of g++ with Netbeans instead of Cygwin. I relied on the article Introducing Netbeans C/C++ Pack when I configured Netbeans to work with my existing MinGW installation.

    Yes, they do have a very good tutorial. Is just that for an unknown reason, the settings don't stay in place. Once the suite is open, the settings changed back to nothing. It could be something on the Windows environment.
    I have not had this problem. In fact, my first change was to change the default .cc extension for C++ source files to .cpp, and this has not mysteriously changed back between projects.
    Quote Originally Posted by Bjarne Stroustrup (2000-10-14)
    I get maybe two dozen requests for help with some sort of programming or design problem every day. Most have more sense than to send me hundreds of lines of code. If they do, I ask them to find the smallest example that exhibits the problem and send me that. Mostly, they then find the error themselves. "Finding the smallest program that demonstrates the error" is a powerful debugging tool.
    Look up a C++ Reference and learn How To Ask Questions The Smart Way

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Compiling sample DarkGDK Program
    By Phyxashun in forum Game Programming
    Replies: 6
    Last Post: 01-27-2009, 03:07 AM
  2. Seg Fault in Compare Function
    By tytelizgal in forum C Programming
    Replies: 1
    Last Post: 10-25-2008, 03:06 PM
  3. Another syntax error
    By caldeira in forum C Programming
    Replies: 31
    Last Post: 09-05-2008, 01:01 AM
  4. Replies: 28
    Last Post: 07-16-2006, 11:35 PM
  5. const at the end of a sub routine?
    By Kleid-0 in forum C++ Programming
    Replies: 14
    Last Post: 10-23-2005, 06:44 PM