Thread: My C++ test is COMING!!...

  1. #46
    Its hard... But im here swgh's Avatar
    Join Date
    Apr 2005
    Location
    England
    Posts
    1,688
    >And then you're saying Dev-C++ doesn't work ?

    Blaming the compiler is a good way round a problem. It only understands
    what the programmer types. And it knows the language better than the
    programmer too. But I cant talk, I swear at my compiler somtimes when it
    says iv done somthing wrong I know is right.

    And guess what? Im always wrong
    Double Helix STL

  2. #47
    Registered User [Z-D]'s Avatar
    Join Date
    Oct 2006
    Posts
    37
    Quote Originally Posted by Desolation
    Wait.. you mean you used the same code with the proper modifications, thus getting rid of the bug, and then it worked ? And then you're saying Dev-C++ doesn't work ? Let me tell you, it IS working. I used that IDE for years and you know what ? It works.
    Quote Originally Posted by swgh
    >And then you're saying Dev-C++ doesn't work ?

    Blaming the compiler is a good way round a problem. It only understands
    what the programmer types. And it knows the language better than the
    programmer too. But I cant talk, I swear at my compiler somtimes when it
    says iv done somthing wrong I know is right.

    And guess what? Im always wrong
    Okay,... next time I will be more specific in each and every of my post. Okay the explanation is here

    Sorry.

  3. #48
    Registered User
    Join Date
    May 2006
    Posts
    903
    Your explanation is just as wrong. You are saying it isn't working because it doesn't stop the program before closing it... yet that's the expected effect. Never ever blame a compiler, especially when you are beginning.

  4. #49
    Registered User
    Join Date
    Jun 2004
    Posts
    201

    Thumbs up

    I love these threads.

  5. #50
    Registered User [Z-D]'s Avatar
    Join Date
    Oct 2006
    Posts
    37
    Quote Originally Posted by Desolation
    Never ever blame a compiler, especially when you are beginning.
    EXCUSE ME!?...
    If you read properly, I am not blaming anything nor anyone for anything.

    This:...
    Quote Originally Posted by [Z-D]
    So now I know that my Dev-C++ actually isn't working properly,
    Refers to this:...
    I mannage to download Dev-C++,... I could compile codes and run the programme. But I just realised that It isn't working properly... Codes which work perfectly in Microsoft Visual C++ 6.0 back in my University doesn't work properly here.

    When the output is suppose to come out, the black screen automatically closes... Why is this?... I would assume that I didn't install properly or the right one. And this happens for every code.

    I tried installing it from here: http://sourceforge.net/project/showf... ase_id=307174
    then realised the problem and uninstalled and reinstalled from here: http://prdownloads.sourceforge.net/d....9.2_setup.exe

    Where did I go wrong?
    ...which I later apologize for not specifying....here:
    Quote Originally Posted by [Z-D]
    Okay,... next time I will be more specific in each and every of my post. Okay the explanation is here

    Sorry.
    And read the bolded parts!!! Does it sound like I'm blaming anything?
    I apreciate you helping me out, but don't imply that I'm doing something as stupid as blaming a non-living thing.


    Quote Originally Posted by Desolation
    Your explanation is just as wrong. You are saying it isn't working because it doesn't stop the program before closing it... yet that's the expected effect.
    I don't really understand you here. Whatever it is, I tested a simple code which ran perfectly fine on MV C++ at Com Lab, but doesn't run properly in the DevC++ which I downloaded.
    And what happens is:
    1) I copy&pasted the simple code which works perfectly on MVC++ - nothing wrong here
    2) compile - nothing wrong, with zero errors, zero warnings
    3) I run it - so far going well
    4) Type down my input - still going well
    5) When the output is suppose to appear, it doesn't. But the black screen closes.

    And again,... no I'm not blaming my compiler, nor my computer, nor the rest of the world. I simply made a new thread to ask where I went wrong.

  6. #51
    MFC killed my cat! manutd's Avatar
    Join Date
    Sep 2006
    Location
    Boston, Massachusetts
    Posts
    870
    That is because (I think) Visual C++ (and Code::Blocks) keep the window open after the program has ended, while Dev-C++ does not.
    Silence is better than unmeaning words.
    - Pythagoras
    My blog

  7. #52
    (?<!re)tired Mario F.'s Avatar
    Join Date
    May 2006
    Location
    Ireland
    Posts
    8,446
    I've grown to take Desolation comments with a grain of salt, a couple of beers on my stomach, and very good, sound-proof... earphones.

    I suggest you the same.
    Originally Posted by brewbuck:
    Reimplementing a large system in another language to get a 25% performance boost is nonsense. It would be cheaper to just get a computer which is 25% faster.

  8. #53
    Its hard... But im here swgh's Avatar
    Join Date
    Apr 2005
    Location
    England
    Posts
    1,688
    I've grown to take Desolation comments with a grain of salt, a couple of beers on my stomach, and very good, sound-proof... earphones.
    True, we all make mistakes
    Double Helix STL

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Integer Emulation
    By Elysia in forum C++ Programming
    Replies: 31
    Last Post: 03-18-2008, 01:03 PM
  2. undefined reference
    By 3saul in forum Linux Programming
    Replies: 12
    Last Post: 08-23-2006, 05:28 PM
  3. C++ Operator Overloading help
    By Bartosz in forum C++ Programming
    Replies: 2
    Last Post: 08-17-2005, 12:55 PM
  4. MSVC Template Constructor/Assignment Errors
    By LuckY in forum Windows Programming
    Replies: 3
    Last Post: 07-22-2005, 02:57 PM
  5. Why is my program freezing?
    By ShadowMetis in forum Windows Programming
    Replies: 8
    Last Post: 08-20-2004, 03:20 PM