JimmahDean
JimmahDean
CC#
Created by Nicholas on 5/28/2024 in #help
Help with counter
and i'm pretty sure i didn't change the setting?
47 replies
CC#
Created by Nicholas on 5/28/2024 in #help
Help with counter
mine doesn't
47 replies
CC#
Created by Frreiheit on 5/22/2024 in #help
Issue 0x80040402 (VS-Code) by creating a new project
i do not 😦
15 replies
CC#
Created by Frreiheit on 5/22/2024 in #help
Issue 0x80040402 (VS-Code) by creating a new project
not quite sure i understand how any of those relate to ASP.NET
15 replies
CC#
Created by Frreiheit on 5/22/2024 in #help
Issue 0x80040402 (VS-Code) by creating a new project
well, that error code has 3 possibilities, none of which really make sense to me: DIERR_BADINF for dinputd MS_E_PURPOSEID for mmstream DS_E_DATASOURCENOTAVAILABLE for windowssearcherrors
15 replies
CC#
Created by Frreiheit on 5/22/2024 in #help
Issue 0x80040402 (VS-Code) by creating a new project
hm
15 replies
CC#
Created by Frreiheit on 5/22/2024 in #help
Issue 0x80040402 (VS-Code) by creating a new project
is this just a blank console project?
15 replies
CC#
Created by JimmahDean on 1/23/2024 in #help
How can I detect if my app is being run on a VM?
it's generally assumed that the people we're helping are either not smart enough to run a vm, or smart enough to know the potential problems with vm's. it's not very common that people run it on vm's but it's happened enough that it would be helpful for the app to recognize it
8 replies
CC#
Created by JimmahDean on 1/23/2024 in #help
How can I detect if my app is being run on a VM?
thanks 🙂
8 replies
CC#
Created by JimmahDean on 1/23/2024 in #help
How can I detect if my app is being run on a VM?
this is wild and i love it
8 replies
CC#
Created by ok.b00mer on 3/6/2023 in #help
❔ my code keeps on crashing. help me fix the code
else if (choice == 4)
{
Console.WriteLine("Which unit would you like to convert from?");
Console.WriteLine("1. Pounds");
Console.WriteLine("2. Kilograms");

int fromUnit = int.Parse(Console.ReadLine());

Console.WriteLine("Which unit would you like to convert to?");
Console.WriteLine("1. Pounds");
Console.WriteLine("2. Kilograms");

int toUnit = int.Parse(Console.ReadLine());

Console.WriteLine("Enter the value to convert:");

double value = double.Parse(Console.ReadLine());

if (fromUnit == 1 && toUnit == 2)
{
value /= 2.205;
}
else if (choice == 5)
{
else if (choice == 4)
{
Console.WriteLine("Which unit would you like to convert from?");
Console.WriteLine("1. Pounds");
Console.WriteLine("2. Kilograms");

int fromUnit = int.Parse(Console.ReadLine());

Console.WriteLine("Which unit would you like to convert to?");
Console.WriteLine("1. Pounds");
Console.WriteLine("2. Kilograms");

int toUnit = int.Parse(Console.ReadLine());

Console.WriteLine("Enter the value to convert:");

double value = double.Parse(Console.ReadLine());

if (fromUnit == 1 && toUnit == 2)
{
value /= 2.205;
}
else if (choice == 5)
{
you need to add another brace on line 138
11 replies
CC#
Created by ok.b00mer on 3/6/2023 in #help
❔ my code keeps on crashing. help me fix the code
your issue is that else if (choice == 5) is inside else if (choice == 4)
11 replies
CC#
Created by Osteel on 2/21/2023 in #help
❔ Does anyone know this Visual Studio Theme?
can you ping me if you find it? i'm very curious
8 replies
CC#
Created by challee on 2/17/2023 in #help
❔ Issues with for and foreach
you need to instead make the array of random numbers and then check each of those numbers against each of the guesses.
4 replies
CC#
Created by challee on 2/17/2023 in #help
❔ Issues with for and foreach
what you're doing is adding the random number to the array at index i and then checking every one of the random numbers against the guess at index i, so if your guesses are: 1,2,3,4,5 ... then 1 will only be printed if the first random number is 1, 2 will be printed if the first two random numbers are 2, 3 will be printed if the first 3 random numbers are 3, etc.. guesses 6-10 are completely ignored and if the random number generator generates 1 as the fourth random number, it doesn't check the first guess again.
4 replies
CC#
Created by evelyn_2486 on 2/17/2023 in #help
✅ Help me to understand this question
what part of this aren't you understanding?
16 replies
CC#
Created by JimmahDean on 2/9/2023 in #help
❔ P/Invoked DeviceIoControl() works in C++ but does nothing in C#.
distinction without a difference imo
117 replies
CC#
Created by JimmahDean on 2/9/2023 in #help
❔ P/Invoked DeviceIoControl() works in C++ but does nothing in C#.
you don't think there could be an interop bug going on?
117 replies
CC#
Created by JimmahDean on 2/9/2023 in #help
❔ P/Invoked DeviceIoControl() works in C++ but does nothing in C#.
hypothetically it can be extrapolated to get detailed error logs as well, but i tried using a precompiled c++ app that supposedly retrieved them using these calls and not even that worked so idk
117 replies
CC#
Created by JimmahDean on 2/9/2023 in #help
❔ P/Invoked DeviceIoControl() works in C++ but does nothing in C#.
the temp's just what's in the example and if it gets the temp right, it gets everything right, in theory
117 replies