Thread: Is it possible to program on Unix without an internet connection?

  1. #1
    Registered User
    Join Date
    Oct 2014
    Posts
    9

    Is it possible to program on Unix without an internet connection?

    I often find myself without an internet connection, but want to program, but can't because I have to connect to my school's server. But I shouldn't have to always be tied to my school, or even the internet, for that matter.

    If I can't program on Unix, what can I program on that doesn't require internet connection?

    And why should an internet connection even be necessary?

  2. #2
    Registered User
    Join Date
    Apr 2013
    Posts
    1,658
    It shouldn't be required. There are tool sets (compiler, linker, debugger, editor, ...) that do not require internet connection.

  3. #3
    Registered User
    Join Date
    Oct 2014
    Posts
    9
    So then why does it always ask for "remote host"?

  4. #4
    Registered User MutantJohn's Avatar
    Join Date
    Feb 2013
    Posts
    2,665
    If you're trying to program on a remote host (for example, your school's Unix servers) then you will require an internet connection there is no getting around that.

    However, you don't need a remote host to program C++. If you're on Windows, get Code::Blocks (the IDE) and install MinGW with it. If you're on Linux or Mac, you can just download gcc and use it on your home machine.

  5. #5
    Registered User
    Join Date
    May 2009
    Posts
    4,183
    How To Ask Questions The Smart Way

    It is likely asking because you set it up to ask.

    But, since I have no idea what "it" you are talking about; there is little I can do to help.

    Do you know what a Compiler is? If yes, do you have one installed on your computer?

    Tim S.
    "...a computer is a stupid machine with the ability to do incredibly smart things, while computer programmers are smart people with the ability to do incredibly stupid things. They are,in short, a perfect match.." Bill Bryson

  6. #6
    Registered User
    Join Date
    Oct 2014
    Posts
    9
    I know what a compiler is....kinda?

    I type g++ and the compiler goes....I don't know if that means I have one or not. Probably not.

    I have mobaxtern. I open it up, and it comes to this weird place, with the date and time in yellow then underneath that the name of my computer in teal-blue.

    I want to open a "session" but I need to connect to my school's server for that. I want to open the exact session I'd have, but without using connecting through my school. I want to use vim and g++ and all that stuff.

    And sorry if I'm confusing....I really have no idea what I'm doing with this stuff so I really appreciate the help.

    And I just downloaded that codeblock thing and I'm trying to see if I can make it work.

  7. #7
    Registered User
    Join Date
    Jun 2005
    Posts
    6,815
    Refer to Tim's post. If persist in asking questions that are not comprehensible, you will be unlikely to get any useful answer.
    Right 98% of the time, and don't care about the other 3%.

    If I seem grumpy or unhelpful in reply to you, or tell you you need to demonstrate more effort before you can expect help, it is likely you deserve it. Suck it up, Buttercup, and read this, this, and this before posting again.

  8. #8
    Registered User
    Join Date
    Oct 2014
    Posts
    9
    Yeah, seems like this isn't the right place for this kind of question. I'll try figuring it out on my own.

    Thanks to everyone who replied

  9. #9
    Registered User Alpo's Avatar
    Join Date
    Apr 2014
    Posts
    877
    Quote Originally Posted by needhelp171 View Post
    Yeah, seems like this isn't the right place for this kind of question. I'll try figuring it out on my own.

    Thanks to everyone who replied
    Just setup Codeblocks ( Code::Blocks ). It should come with a compiler compatible with your system. It's a good idea to get one of your own to practice on, and your school definitely doesn't have control of all compilers in the world .
    WndProc = (2[b] || !(2[b])) ? SufferNobly : TakeArms;

  10. #10
    C++まいる!Cをこわせ!
    Join Date
    Oct 2007
    Location
    Inside my computer
    Posts
    24,654
    Using MobaXTerm implies you are connecting to another server somewhere. Of course that requires an internet connection.
    However, you could likely as well just take the source and compile and run it locally. This requires no internet connection.
    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.

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Internet Connection
    By earth_angel in forum C++ Programming
    Replies: 1
    Last Post: 08-16-2005, 07:43 AM
  2. Internet Connection
    By Stan100 in forum Windows Programming
    Replies: 2
    Last Post: 04-28-2004, 09:49 AM
  3. internet connection
    By onurak in forum Linux Programming
    Replies: 3
    Last Post: 10-02-2002, 08:48 AM
  4. Windows Internet Connection...
    By Sebastiani in forum C++ Programming
    Replies: 5
    Last Post: 06-21-2002, 02:41 PM
  5. checking for an internet connection
    By canine in forum C Programming
    Replies: 6
    Last Post: 10-26-2001, 07:33 PM