Description A subreddit for students of the Oregon State Online Computer Science BS program by the students. Find yourself another classmate to study with, get help, or ask questions:) Posting guidelines If you are discussing a specific class use a class tag in your title and Quarter to help with organizing. Ex:CS 161 WI'15 How do you make a class tag? Please refrain from asking about your admission result status - this sub does not know whether you will get in, or why you didn't get in. These sort of questions are best suited for the admission office of the program.
All questions with the tone of 'Why didn't I get in.' Or 'Am I getting in with these stats.' Will be removed going forward.
Sophisticated students with refined palates may find themselves using Apple Macintoshes, and wish to compile and run C++ programs on their machines. Because Microsoft's Visual Studio only runs in the Windows environment, however, it is impossible to use Visual C++ directly on a Macintosh.
![]()
Prospects, see. Additionally, current students are encouraged to search the sub for information about exams for specific classes. As of, further threads seeking this information will be removed. Sub Stats If you're a newly admitted student to the program, please contribute to the student profile stats by filling out the.
If you have completed some courses and would like to share some feedback please fill out the following survey so that we can start accumulating firsthand data!. Flairs To use flairs, please use the table below.
You may edit the inside of the bracket, but please leave the 'Lv.#' alone. Due to the nature of this flair, the mods reserve the right to ban those who enters offensive text in their flair. Credits Accumulated Prospect 0, Accepted 12 28 44 60 Note: if you hover over someone's flair, and you don't want to see the default tooltip, just do a left-click and it will disappear. Helpful Resources. Popular Threads. Filters. Hey there, I'm starting winter 2018 with cs161 and cs225.
The only programming I've done so far is the CodeAcademy Python course and afterwards programmed a Hangman game in Python. I see that cs161 is C and I'm wondering what other MAC users have used for a text editor and how they went about compiling it and running it on their machines? From reading this forum and others, I've concluded MacVim should be a solid text editor so that's what I'm using. So once I finish typing some C in MacVim and I'm ready to run it/check it, how do I do that? From searching it looks like people do it directly from Terminal. Is this the best option?
Do I need to install a compiler through terminal? I also have xCode downloaded but I'm not familiar with it at all. Thanks for any tips you can provide!! I am also on a mac and I used an IDE called CLion from JetBrains. I decided to go with it after reading many positive reviews from others.
My process was to write my code on CLion, running/testing it as I went along. I found it very useful to be able to quickly test my program and see the output right away without having to be in the terminal. During 162, when programs become more complex, I often used the debugger tools that are built into the IDE to find the specific points in my code that were causing issues. When I had a working program, I then used fileZilla to transfer the files to the school server to compile and test.
If you want to use your own editor that's fine. A lot of people go for Visual Studio but YMMV. It's really just a preference. Regardless of how write your code, you still should compile your programs on flip (the school server) because that is the environment in which the professor or TAs will test it. It says in the syllabus that if even if it compiles on your machine but fails to compile on flip then you will receive a 0. So in essence: write your code - transfer to flip (I'm on windows and I used filezilla, idk about mac) - compile/test - submit. However, I think getting your editor setup is low priority at this point.
At the least you should write a couple programs on the command line using vim. You don't have to go gung-ho and become an expert but the ability to do some basic things is worth the investment and really isn't that hard. Your time will be best spent learning the basics of the command line and vim.
To do that I would read the first chapter of or find some other resource to learn from. When you feel comfortable with basic commands type 'vimtutor' on the command line and go from there! These things are not something you memorize or learn passively. You must practice them until they become second nature. The CL and vim aren't intuitive at first so practice a little each day and it won't be arcane for long. The class will teach you everything else you need to know!
Honestly, if you're already using Vim, there's no reason to not just write your code on Flip. The big plus of terminal-based text editors is that they make it easy to work on remote devices. Basically, you use a terminal program called SSH (short for Secure SHell) to connect to Flip. Once connected, all the commands you enter in that terminal window run on Flip instead of your local machine. That includes Vim and g, so once you SSH in, you can use Vim to write your programs, compile right there, and rest easy that you're working with the same environment you'll be graded in.
Frankly, a lot of the editors and IDEs that other people are suggesting will be easier for you to get started with than using Vim on Flip. Getting comfortable working with the terminal is a valuable skill in its own right, though, and something you're extremely likely to come across on the job eventually. It's your call in the end! I hate Vim passionately, so I started using Sublime Text 2 early on and never went back.
In order to actually test C code, it has to be compiled before it can be executed. The compiler of choice in this program is g (or gcc for C code) along with Make once you get to 162; that's what you'll be taught how to use, but any decent IDE such as XCode will almost certainly have a C compiler.
Just know that your graders will be using g (and that that will be your only option for compiling your code on Flip, so you'll have to learn it eventually). Know also that IDE's come with a vast array of features that a) you don't yet need, b) can be overwhelming to a novice, and c) may actually hinder your education to the extent that they become crutches that substitute for actual understanding. G can be invoked from Terminal's command line. Unfortunately the documentation for g isn't very beginner-friendly, but if you search the net I'm sure you can find some decent tutorials or examples. The resulting executable can then be run directly from Terminal. That's how I've done 95% of my C/C coding for this program. You do lose out on some of the nicer features of IDE's, but on the plus side your code is virtually guaranteed to work on Flip if it works on your local machine, and the lack of built-in syntax checking will force you to be both careful and to look up and learn how library functions and basic control structures actually work (as opposed to letting your IDE auto-complete stuff for you).
You will also avoid issues some people can run into in becoming overly reliant on an IDE's syntax checking and auto-completion features. When I was in 162 someone posted code on Piazza that, when I tried to compile it with g, generated a wall of errors (they had serious pointer problems, type mismatches, the works), but they were somehow compiling it just fine in whatever IDE they were using. It crashed of course, but the point is that their compiler wasn't giving them important information and it was clear from the code they wrote that they were struggling to actually understand the material.
So, while some might disagree with me about the relative virtues of IDE's, my advice is to stick to a text editor and learn g and Make. I will say that I have not personally used the following as I usually program on my Windows machine, but Microsoft Visual Studio is a complete (though not necessarily universally loved) IDE and as of May of last year is now supported on the Mac. It is a complete text editor, compiler and linker for C. You can download it for free here: If you're not sure on how to do the install/setup there are some bare bones instructions provided here: Again, can't personally speak to VS on Mac (though I'm tempted to run home and install it tonight now), but I use Visual Studio for my development on Windows machine and find it fine for everything a student would need to do. I love the portability of 'low-tech'. Vim will let you go back and forth between a mac, a pc and flip (linux) without having to worry about much except the complier (gnu vs clang).
Git will keep you in sync on whatever platform you're on at the moment. This has worked for 10 out of 11 classes I've taken in the program so far. CS271 is the lone exception.
You'll need bootcamp as the assembly course requires the use of an IDE (Visual Studio). This last year, I've only extended my setup by using Visual Studio Code as it's also available everywhere and it's a little more pleasant to look at than the terminal.
Still using vim extensions, etc. I would suggest not using a text editor and instead use an IDE like Clion or Xcode. If you get to used to CLion using other Jetbrains IDEs will be an ease.
The benefits of an IDE are: you can produce things much faster, because of autocomplete, and whole bunch of keyboard shortcuts to generate boilerplate, syntax highlighting, etc. Debugging is superior: GDB is a major pain in the ass to use vs the debugging tools that are available in an IDE, specifically you can check the state of objects much more easily than with a terminal debugger. Plus Github integration is super easy (you need to get comfortable with version control as soon as you can). With that said you do not need to install anything on your computer besides the Xcode developer tools-this will include the necessary compilers, debuggers, and terminal based editors like Vim, Emacs, and Nano. If you installed Xcode you already have everything you need besides an ssh client.
After spending months in, Microsoft today is officially launching its (via ). Visual Studio allows developers to code applications using Microsoft's integrated development environment (IDE) on Apple's macOS platform, which they can sync across both Windows and Mac devices. Thanks to integration with Xamarin, a cross-platform software development company that Microsoft acquired last year, Visual Studio encourages macOS and iOS developers 'to use Microsoft’s development tools, since they will no longer need a Windows computer or virtual machine to do so.' Xamarin Studio is expected to eventually close for good following a full integration into Microsoft. “Developers get a great IDE and a single environment to not only work on end-to-end solutions — from mobile and web apps to games — but also to integrate with and deploy to Azure,” Scott Guthrie, executive vice president of the Microsoft Cloud and Enterprise group, said in a statement.
“Whether you use C#, F#,.NET Core, ASP.NET Core, Xamarin or Unity, you’ll get a best-in-class development environment, natively designed for the Mac.” Visual Studio has been designed natively for macOS, according to Microsoft, letting developers manage their code hosted by any provider, including GitHub and Visual Studio Team Services. Developers can build, connect, and tune native mobile apps for iOS, macOS, and Android while also having the ability to create web applications thanks to support for ASP.NET Core. In terms of programming languages, the C# and F# languages are supported. There are of that users can download, including Visual Studio Community, Visual Studio Professional, and Visual Studio Enterprise. Microsoft markets Community as its free, but 'fully-featured,' IDE for students and individual developers. Professional targets small teams with subscription benefits, while more 'demanding' users and projects with larger scale are suggested to look into Enterprise.
For its, there are yearly and monthly options available to users interested in the higher-tier Visual Studio plans. An annual subscription to Visual Studio Professional costs $539/year while a monthly subscription costs $45/month. For Visual Studio Enterprise, users will pay $2,999/year or $250/month. Subscribers will be able to earn small credits back each month for the yearly tiers, contingent on their. For a detailed breakdown of the differences between each Visual Studio subscription, including individual licenses, check out the app's new. Currently use VS on win to develop unity apps across web, android, and ios. Wanted to do some dev on my mac at home but would prefer to use a dev env and editor same like what i use at work if possible.
Will download the community edition and see how it goes. Does it support the same plug-ins as the win version? Need the Unity plug-in and resharper. Update: launches incredibly slowly and i don't see any plugins for unity or resharper.
The default empty project they created for cross platform dev when i try running it doesn't seem to work either.
Comments are closed.
|
Details
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |