Closed Thread
Results 1 to 4 of 4

Thread: Visual Studio Broken...Again

  1. #1
    Join Date
    Oct 2007
    Location
    /dev/null
    Posts
    4,513
    Blog Entries
    8
    Rep Power
    59

    Visual Studio Broken...Again

    I tried compiling a C++ project on Microsoft Visual C++ 2008 Express, and for some bizarre reason it keeps trying to compile my code as pure C code. I checked the project settings and it says "Compile as C++ Code", but I keep getting compilation errors that could only be caused by compiling in C mode.

    For example:
    1) It sees class as a function
    2) None of the standard C++ headers will compile, like iostream
    3) It chokes on ::

    Creating a new project doesn't do anything. Can anyone help?
    Attached Files Attached Files
    Last edited by dargueta; 11-24-2008 at 06:08 PM. Reason: Attached source code

  2. CODECALL Circuit advertisement
    Join Date
    Always
    Location
    Advertising world
    Posts
    Many

     
  3. #2
    Join Date
    Jul 2008
    Location
    Somewhere that is shorter to write than "In the gloomy shadows of my personal namespace"
    Posts
    10,725
    Blog Entries
    2
    Rep Power
    90

    Re: Visual Studio Broken...Again

    I'm not really into VS, but I noticed your source files had the *.c extension?
    Hey! Check out my new Toyota keyboaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa

  4. #3
    Join Date
    Oct 2007
    Location
    /dev/null
    Posts
    4,513
    Blog Entries
    8
    Rep Power
    59

    Re: Visual Studio Broken...Again

    Aw, ****. Thanks.

  5. #4
    Join Date
    Jul 2008
    Location
    Somewhere that is shorter to write than "In the gloomy shadows of my personal namespace"
    Posts
    10,725
    Blog Entries
    2
    Rep Power
    90

    Re: Visual Studio Broken...Again

    lol, ok
    Hey! Check out my new Toyota keyboaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa

Closed Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Intermediate Visual Studio - C# Making Use of Visual Basic Namespace
    By chili5 in forum CSharp Tutorials
    Replies: 0
    Last Post: 08-26-2011, 01:53 PM
  2. Few questions on Visual studio ultimate 2010 and visual basic
    By Steamsteam in forum Visual Basic Programming
    Replies: 0
    Last Post: 10-26-2010, 05:14 PM
  3. GMP with Visual Studio?
    By FakeRobotGymnast in forum C and C++
    Replies: 4
    Last Post: 03-12-2009, 05:54 PM
  4. Visual Studio C# vs C++ .NET
    By Lop in forum C# Programming
    Replies: 1
    Last Post: 06-15-2006, 02:55 PM

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts