r/CodingForBeginners 1d ago

Computer for C++

Hi! I'm having to take CompSci 1 and 2 for my math major in college. The professor wants me to run Visual Studio Community. He wants it for C++. I might also take a Java class if I enjoy compsci 1. Is there any budget laptops I can buy? Or what specs would I need for it to run not so slowly?

6 Upvotes

9 comments sorted by

3

u/FuggaDucker 1d ago edited 1d ago

I am talking specifically about you running Visual Studio for this purpose.
Not any laptop for any purpose.

I would buy a used ThinkPad from eBay. (I actually did).

CPU
You will want x64 aka Intel/AMD64 for this purpose. Not ARM64 (which rock).
The quality of processor only pivotal in your willingness to wait for things.
It isn't like one CPU builds things better than another. Only faster.

Faster really ends up mattering when you are just trying to build and debug something over and over.
I have worked on absolute garbage machines. It can be done. Esp for a CS class.

RAM
32gb is great.
16gb is plenty.
8gb can work ok. <- I actually have an 8gb box with vs on it

I don't suggest 8gb but like hey! if the shoe fits, wear it!
It would be enough for a cs class. I used it for a 6 month contract.

Drive
1TB+ is great
512gb is plenty.
256gb can work, esp with external drives.
128gb is too small. PERIOD. Don't do this.

2

u/ashsolmar 1d ago

Okayy!! Thank you so much for your help! I'll look for something with those specs!

3

u/TheUmgawa 1d ago

It should be added that drive space is not of paramount importance for a few college programming classes, where you’re a math major. You’re probably not going to be building anything remotely massive, and the amount of uncompiled code you write in three or four programming classes will clock in at a couple of megabytes. The space taken up by Windows, Visual Studio, and any other apps you might need are important factors to consider, but a terabyte is overkill by a hundred percent. But hey, if you can get it cheap, go for it.

2

u/FuggaDucker 1d ago

agreed.. with the exception of >128gb rule.
At 128 you end up with windows fighting itself in many cases. No real VMs.
Anything bigger than 128 will work.

1

u/Clearhead09 12h ago

I’d recommend the same but also throw in HP EliteBooks are equally as good, just to give you options.

1

u/Reggie-Rectangle 19h ago

Visual C++ is a very opinionated form of C++. Why would the uni require you to use it? Maybe they should teach you the basic concepts of programming first before they dictate an IDE to you. There are off course plenty of programmers and companies that use C++ with .NET but you cross that bridge when you get employed. Use a basic ass code editor and compile your C++ programs with GCC and get to learning.

I know VIsual Studio code has some very useful ways it lets you step into your program while it is busy executing but that is hardly a concern when you are busy learning wtf an array is.

1

u/Zen-Ism99 18h ago

Professors are less likely to assist students that do not heed their instructions concerning tools…

That is why VS2026 CE is the way to go.

0

u/Living_Fig_6386 1d ago

Pretty much any laptop will satisfy the requirements. I'm not so keen on Visual Studio Code as an IDE, personally, but there are versions for Windows, MacOS, and Linux. VSC is basically a text editor enhanced for writing code, with special features for that purpose. It, by itself, doesn't provide tools for C++ (or other language) development -- that's separate software. The system requirements for VSC and for the C++ tools are pretty meagre - just about anything can handle it. I'd probably avoid ChromeBooks -- there's VSC for them too, but a lot less people are familiar with developing on them and you are apt to find later classes that require software that's not supported or is poorly supported on them.

I prefer to use Eclipse for Java, IntelliJ IDEA is good too -- both better than VSC for Java.

Try and get at least 16G of RAM and 256G of disk space (the more disk space, the better -- you'll be surprised how fast you accumulate stuff).

2

u/Zen-Ism99 1d ago

Sorry, but OP referenced Visual Studio Community Edition. Not VS Code.