Thread: Visual studio.net C++ Problem

  1. #1
    Registered User
    Join Date
    Jul 2008
    Posts
    2

    Visual studio.net C++ Problem

    Ok I have the visual studio.net and i'm working through it on C so the problem is I Write the code and then it excutes perfectly but the only problem is if i end the program with a (printf()) i don't see it at the end, the program just terminates quickley. I am used to work on C-free and before it terminartes it always writes "Press any key to continue". So can anyone please help me with the problem as i'm just a beginner.

  2. #2
    and the hat of int overfl Salem's Avatar
    Join Date
    Aug 2001
    Location
    The edge of the known universe
    Posts
    39,660
    Seems familiar, I wonder if there's a FAQ?

    http://faq.cprogramming.com/cgi-bin/...&id=1043284385
    If you dance barefoot on the broken glass of undefined behaviour, you've got to expect the occasional cut.
    If at first you don't succeed, try writing your phone number on the exam paper.

  3. #3
    Ugly C Lover audinue's Avatar
    Join Date
    Jun 2008
    Location
    Indonesia
    Posts
    489
    Btw, why Microsoft allow us to compile C++ code into executeable file, but not for VB?

    *giggle*

    .NET is slow, never use it. (~^_^~)

  4. #4
    and the hat of sweating
    Join Date
    Aug 2007
    Location
    Toronto, ON
    Posts
    3,545
    Quote Originally Posted by audinue View Post
    Btw, why Microsoft allow us to compile C++ code into executeable file, but not for VB?
    It doesn't? What version of VB are you using?
    My VB projects compile into .exe files.

  5. #5
    Ugly C Lover audinue's Avatar
    Join Date
    Jun 2008
    Location
    Indonesia
    Posts
    489
    Express :P

    I've made a mistake: I bought Visual Basic 6 Pro, 8 years ago. After that, I know that VB slow thing down (performance) T_T
    When I tried VB 2005 Express (.NET), it getting worse!

    Delphi had a better speed but incredible strong syntax and BIG exe size. I love it. You write a program looks like writing a novel *giggle*

    Btw, the new GUI, language features, object-oriented style in latest Visual Studio is very-very-very impressive.
    You could make a cool but slow program just in a second.

    But, I still in love with performance

    .NET is slow, never use it (if you love speed).
    Last edited by audinue; 07-19-2008 at 02:35 PM.

  6. #6
    and the hat of sweating
    Join Date
    Aug 2007
    Location
    Toronto, ON
    Posts
    3,545
    Quote Originally Posted by audinue View Post
    Express :P
    The last VB project I wrote was using VB 6.0.
    I just tried it with VB 2008 express and it still makes a .exe, but from what I see in the compile options, it only creates .exe's for the .NET runtime.
    VB sucks anyways. That's why I don't use it anymore.

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Avoiding Global variables
    By csonx_p in forum Windows Programming
    Replies: 32
    Last Post: 05-19-2008, 12:17 AM
  2. Problem Compiling Program
    By wco5002 in forum C++ Programming
    Replies: 13
    Last Post: 11-06-2007, 12:56 PM
  3. SetDialogBkColor( ) Problem in Visual C++.net
    By dhrodrigues in forum Windows Programming
    Replies: 3
    Last Post: 07-28-2004, 08:50 AM
  4. errors in my class....
    By o0obruceleeo0o in forum C++ Programming
    Replies: 9
    Last Post: 04-14-2003, 03:22 AM
  5. Visual Basic Adodc Problem
    By rahat in forum Windows Programming
    Replies: 1
    Last Post: 01-20-2002, 06:55 AM