1. Hey Guest Did you know you can win an Honor 10 phone worth ₹33,000 and an additional ₹70,000 in paytm vouchers, just by replying to some threads and taking part in the discussions happening in the Honor Hub?

    What are you waiting for? Start commenting and start winning! Remember to read the instructions posted here.

    Dismiss Notice

C++ ed

Discussion in 'Programming' started by rajkumar_personal, Mar 15, 2006.

Thread Status:
Not open for further replies.
  1. rajkumar_personal

    rajkumar_personal Ignorance is BLISS !!

    Joined:
    Oct 30, 2004
    Messages:
    566
    Likes Received:
    0
    Trophy Points:
    0
    Location:
    127.0.0.1
    I have started to program in C++ again ! (teaching students is a hectic job but useful in getting back to basics :wink:)

    I have Borland C++ 5.02 (very old version) and Borland C++ Builder (never installed or used) and Visual Studio 2005 (any programmer is INCOMPLETE without this).

    I wonder what is the the difference if I compiled the same code in these three compilers !
    Would there be any difference ?

    Should I recommend Borland C++ builder to my students instead of Borland C++ 5.02 ?
    If yes, Why ?
    If No, Why ?




    and One more thing./...........

    I made some really cool graphics in my C++ projects when i was in school .
    They work well and compile successfully in Turbo C++ but are unable to do so in Borland (you don't need to tell me the reason why !).
    I wanted to know what do I need to do in order to compile them successfully in the C++ compilers mentioned above !
     
  2. puja399

    puja399 New Member

    Joined:
    Jul 30, 2005
    Messages:
    324
    Likes Received:
    0
    Trophy Points:
    0
    What difference are u referring to?? Difference in compiled code??? I don't think that has got much importance while teaching C++. But if u stick to ANSI C++ coding standard, both borland and M$ version are quite good, and newer version is always recommended. But u should also think about whether ur students will get access to a valid copy of those expensive compilers. If u r planning to teach M$ technology , a.k.a. MFC, ATL etc., then u hve to teach with VStudio.
    Otherwise, u can checkout Dev-C++ which a fully ANSI C++ compliant free IDE.

    U say about ur *cool* grfx projects in TC++ and u know very well why they will not compile in BC........, so u shld also know that what u need to do... u need to recode them, what else!!!!! May be with OpenGL or SDL...that will more than impress ur students. Please do post ur codes here too, there r enough C++ students here in this board who will be glad to see those, including myself.
     
  3. aadipa

    aadipa New Member

    Joined:
    Feb 12, 2004
    Messages:
    997
    Likes Received:
    2
    Trophy Points:
    0
    Location:
    Palghar, Mumbai
    Cool Graphics in C++... Please post the code if you don't mind :)
     
  4. OP
    OP
    rajkumar_personal

    rajkumar_personal Ignorance is BLISS !!

    Joined:
    Oct 30, 2004
    Messages:
    566
    Likes Received:
    0
    Trophy Points:
    0
    Location:
    127.0.0.1
    Sure........

    Please wait while I get them couriered to me from delhi from my daddu's home.
    An uncle of mine is in possession of it !
     
  5. hafees

    hafees New Member

    Joined:
    Feb 25, 2004
    Messages:
    405
    Likes Received:
    0
    Trophy Points:
    0
    Location:
    Kerala
    I think borland c++ 5 is released back in 1995. right? Surely the new compilers would have more options for code optimizations such as for MMX, SSE etc
     
  6. OP
    OP
    rajkumar_personal

    rajkumar_personal Ignorance is BLISS !!

    Joined:
    Oct 30, 2004
    Messages:
    566
    Likes Received:
    0
    Trophy Points:
    0
    Location:
    127.0.0.1
    So......................

    Which new compiler should I settle with ?
    Borland C++ Builder or VC++ will suffice ?
     
  7. sakumar79

    sakumar79 Active Member

    Joined:
    Nov 28, 2004
    Messages:
    2,441
    Likes Received:
    9
    Trophy Points:
    38
    Location:
    Madurai
    Try Dev C++ as it is a free software that is standards compliant. As puja399 pointed out...

    Arun
     
  8. OP
    OP
    rajkumar_personal

    rajkumar_personal Ignorance is BLISS !!

    Joined:
    Oct 30, 2004
    Messages:
    566
    Likes Received:
    0
    Trophy Points:
    0
    Location:
    127.0.0.1
    is it better than Borland C++ builder
     
  9. vinaypatel

    vinaypatel New Member

    Joined:
    Oct 30, 2004
    Messages:
    227
    Likes Received:
    0
    Trophy Points:
    0
    Location:
    Visnagar
    As u use newer version ur minimum requirement increase

    if u use borland C3.0 than it require only 1 MB at the max with dos

    even if u have bootable flopy u can work with TC

    where

    i think that borland 5.02 u r talking is GUI based and it require windows 98 minimum
     
  10. puja399

    puja399 New Member

    Joined:
    Jul 30, 2005
    Messages:
    324
    Likes Received:
    0
    Trophy Points:
    0
    Unless u want to take the facilities such as managed c++, Forms programming and VCL, etc., Borland C++ Builder is not essential. If all u want is to learn and teach coding in ANSI C++ with some Win32 API programming, its better to stick to Dev-C++, as its easier and lightweight.
     
  11. ilugd

    ilugd Beware of the innocent

    Joined:
    Dec 25, 2005
    Messages:
    1,009
    Likes Received:
    3
    Trophy Points:
    0
    Right, Dev CPP is good and free. I have been using it for a long time and it is reliable and good. Your students are also better off learning to use such software instead of them using pirated software at home.

    Do post the code. We are looking forward to it.
     
  12. OP
    OP
    rajkumar_personal

    rajkumar_personal Ignorance is BLISS !!

    Joined:
    Oct 30, 2004
    Messages:
    566
    Likes Received:
    0
    Trophy Points:
    0
    Location:
    127.0.0.1
    Just wait for some time as I'm yet to receive my CD (my uncle is yet to post it.....he said that he had but i believe he forgot and hence I reminded him just a few moments ago !)


    And yes......
    I have settled for Dev C++

    Can any1 point me a direct link to download it !
    It is free....as far as i remember , isn't it ?
     
  13. sakumar79

    sakumar79 Active Member

    Joined:
    Nov 28, 2004
    Messages:
    2,441
    Likes Received:
    9
    Trophy Points:
    38
    Location:
    Madurai
  14. OP
    OP
    rajkumar_personal

    rajkumar_personal Ignorance is BLISS !!

    Joined:
    Oct 30, 2004
    Messages:
    566
    Likes Received:
    0
    Trophy Points:
    0
    Location:
    127.0.0.1
    @saku..........

    Thanks mate !
    Downloading........Complete !
    Locked & Loaded.....Ready to fire !
     
  15. ::vicky::

    ::vicky:: New Member

    Joined:
    Feb 23, 2006
    Messages:
    306
    Likes Received:
    0
    Trophy Points:
    0
    Location:
    0X4B7H
    yes iam also a fan of dev C++ and visual c++ :D :D
     
  16. ilugd

    ilugd Beware of the innocent

    Joined:
    Dec 25, 2005
    Messages:
    1,009
    Likes Received:
    3
    Trophy Points:
    0
    puja, you seem to know your ground. Could you point me to some good sites on network pogramming with winapis? I am trying to make a clone of ipconfig. I will then be adding some more features to it. I am having a hell of a time implementing it in Devcpp. I know i am doing something wrong in using the getcomputernameexa or something, but i am able to get the required documentation anywhere.

    Also devcpp uses mingw compiler right? is there any documentation for the apis??

    (BTW is it ok to post this question in this post??)
     
  17. ilugd

    ilugd Beware of the innocent

    Joined:
    Dec 25, 2005
    Messages:
    1,009
    Likes Received:
    3
    Trophy Points:
    0
    Got the solution to the previous post.

    If anyone is having problems in which though the funciton is declared in the header file and still devcpp says function is undeclared, please change the default _WIN32_WINNT to something greater than 0x0500 in windef.h
     
  18. puja399

    puja399 New Member

    Joined:
    Jul 30, 2005
    Messages:
    324
    Likes Received:
    0
    Trophy Points:
    0
    U can check this out ( EDITED ) for reference of win32 network programming.
     
  19. ilugd

    ilugd Beware of the innocent

    Joined:
    Dec 25, 2005
    Messages:
    1,009
    Likes Received:
    3
    Trophy Points:
    0
    which one was that puja? I couldn't get the link.
     
Thread Status:
Not open for further replies.

Share This Page