Thread: Basic Programming Reqs

  1. #1
    Registered User
    Join Date
    Aug 2011
    Posts
    10

    Exclamation Basic Programming Reqs

    Hi, I'm a beginner at C++ programming and at school we use Ubuntu to make and compile files. I want to practice at home but my laptop uses Windows 7 OS. I don't want to make my laptop a dual OS just for programming.

    So what programs can I use to emulate the effect of the 'terminal' in Ubuntu? I use Notepad++ to create files but if anyone can suggest something better that'd be cool.

    I need help please, I have a project due in 3 days.

  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
    You could install VmWare player, and run an ubuntu inside that.

    You can do the same thing with virtualbox. You only then need your favourite distro .iso image, and you can create a VM running your second OS, as just an application under your first OS.

    Both allow files to be shared quite easily.
    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
    Registered User
    Join Date
    Aug 2011
    Posts
    10
    Okay thankyou. But is there really no way to do those stuff while using Windows?
    Last edited by Kipper DeVera; 08-05-2011 at 07:48 AM.

  4. #4
    C++まいる!Cをこわせ!
    Join Date
    Oct 2007
    Location
    Inside my computer
    Posts
    24,654
    Of course there is!
    If you want an IDE to automate the whole process, look at Code::Blocks or Visual Studio.
    If you want to call the compiler via the command line, I'd suggest MinGW for Windows.
    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.

  5. #5
    Registered User
    Join Date
    Mar 2009
    Posts
    344
    Install cygwin. You'll get what's basically a full Unix-like development environment under windows.

  6. #6
    Registered User
    Join Date
    Apr 2010
    Posts
    88
    I've used Codeblocks on windows and in various Linux distros, I quite like it and also reccomend it.

    I have used Cygwin at a summer school / conference on HPC on their windows machines. No complaints with that either.

  7. #7
    [](){}(); manasij7479's Avatar
    Join Date
    Feb 2011
    Location
    *nullptr
    Posts
    2,657
    You could also...very easily...wipe the Windows installation and install Ubuntu !

  8. #8
    Registered User
    Join Date
    Apr 2010
    Posts
    88
    Quote Originally Posted by manasij7479 View Post
    You could also...very easily...wipe the Windows installation and install Ubuntu !
    Lol let's not start that here. I wouldn't reccomend getting rid of a familiar OS entirely, and I do like W7 in general. I was going to suggest to the OP that he try a dual boot (if only to get the experience of setting up a dual boot laptop [can be a pain]), but I sensed he just wants utility and not ideology. That said all of my machines have (or have had) some form of Linux on them.

  9. #9
    [](){}(); manasij7479's Avatar
    Join Date
    Feb 2011
    Location
    *nullptr
    Posts
    2,657
    (if only to get the experience of setting up a dual boot laptop [can be a pain])
    It is not much pain nowadays....
    The only painful part was once the partitioning.

    But I was rather surprised that Fedora's Automatic options managed the partitioning for a dual boot system much more sensibly than I'd have done manually.

  10. #10
    Registered User
    Join Date
    Apr 2010
    Posts
    88
    I suppose there is a continuum of "painful". I'm fairly comfortable with partitioning software, having learnt from mistakes along with the way. I remember that when I popped in an Ubuntu LiveCD on my laptop to show a buddy the process of letting it partition for you, it wasn't liking that my laptop with W7 had already used up 4 primary partitions (and this is before I any other OSs had been installed), had to do some fiddling.

    That's all I meant. It's definitely worthwhile to learn to use partition managers, but I have no idea if the OP has the inclination or time to try.

    EDIT: and I guess that's not so much a problem with partition wizards on the various Linux liveCDs, but the fact that my HP laptop actually came using up 4 primary partitions because they're too G-D cheap to give me windows CDs.

    2nd EDIT: Lol at your sig, manasij
    Last edited by Ocifer; 08-06-2011 at 02:21 PM.

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Basic Programming Reqs
    By Kipper DeVera in forum Windows Programming
    Replies: 2
    Last Post: 08-05-2011, 07:31 AM
  2. basic C programming help
    By helfone in forum C Programming
    Replies: 3
    Last Post: 10-22-2007, 09:54 AM
  3. Need a 2D graphics library with following reqs
    By bigdreamer in forum Game Programming
    Replies: 19
    Last Post: 12-01-2005, 06:17 AM
  4. Basic Programming
    By plexy1 in forum C Programming
    Replies: 2
    Last Post: 09-05-2001, 02:03 PM