Skip to main content
Code Review

Questions tagged [visual-studio]

Visual Studio is an integrated development environment (IDE) from Microsoft. THIS TAG SHOULD ONLY BE USED FOR CODE INVOLVING THE IDE ITSELF, NOT FOR CODE SIMPLY WRITTEN WITH IT.

Filter by
Sorted by
Tagged with
3 votes
0 answers
42 views

Project of chrono, countdown, interval timer and custom timer

I created a project with visual studio, in V language. Since I am a beginner, I would like to improve the code by making it lighter and less repetitive, and more performing, and suitable to be run ...
1 vote
1 answer
125 views

Number of Islands, C++17, Visual Studio [closed]

I have written a program in C++ to answer the problem of the number of islands. I receive (a path to) a text file that consists of an array where . is water, and ...
MazHoot's user avatar
  • 19
3 votes
2 answers
1k views

Code lines counter

It is a Windows command line utility for counting lines of code in a source code directory. It will count loc and sloc. I read from a file character by character using fgetc in the CountLines(...) ...
mmj's user avatar
mmj
  • 31
3 votes
2 answers
1k views

I made a Simple Score Game in C# Console

I've created a simple score game. The goal is improving my knowledge about OOP. This is my Main method: ...
5 votes
0 answers
115 views

SmartUnit: Unit Testing with DI

I was thinking about how unit tests require you to manually instantiate all your dependencies, even though many of them are the same for every test or don't really matter (such as logging, where ...
5 votes
1 answer
296 views

C++ SDL2 Space Invader C++ questions

The whole project would be a bit much to post, but there were a couple of questions that came up while I worked on this project. This is a fully working space invader game I coded in C++ with SDL2. I ...
t0rb's user avatar
  • 153
2 votes
1 answer
218 views

VB.net SQL match against Excel data to datagridview

I am importing an Excel sheet where the first column will contain product numbers. I match those numbers to my SQL database and display the product number and description of the matching products to a ...
Nick's user avatar
  • 23
-3 votes
1 answer
158 views

how to make 'for loop' short in C? [closed]

I made some code about solar system stimulation in C. It is working, but it looks too long. So, Are there some ways to shorten my code? Also this website told me your code is too full to upload this....
0 votes
1 answer
78 views

Looping through lines of floats/int [closed]

I'm new to programming and started with some tutorials about C++ on YouTube. Now I was wondering how I should continue solving below. It does work but already it has been like a lot of code to write. ...
10 votes
1 answer
265 views

Visual Studio exception visualizer for lengthy exception messages

I use Autofac a lot and for everything and when you make a mistake and forget to register a dependency etc. it'll tell you exaclty what's wrong. Although its ...
11 votes
1 answer
3k views

Using build event to run Powershell script to run built DLL

As a rule, whenever I find myself doing something that nobody else is doing, I have to be quite suspicious about what I'm doing. This is why I want to get code review to verify I'm not doing something ...
2 votes
1 answer
240 views

Automatic Visual Studio Nuget consolidatation

I'm hoping to automate the 'Manage Nuget Packages for Solution' Consolidate User Interface using Powershell in the 'Package Manager Console'. The following script should take ONE of the packages in ...
10 votes
3 answers
1k views

Analyzing naming conventions

I just created a naming convention analyzer + code fix based on the Roslyn platform. The implemented naming conventions are the following: If you're interested in seeing all the test scenarios that ...

15 30 50 per page
1
2

AltStyle によって変換されたページ (->オリジナル) /