Cosmos is an operating system "construction kit". Build your own OS using managed languages such as C#, VB.NET, and more! THIS TAG IS NOT FOR QUESTIONS ABOUT THE AZURE COSMOS DB DATABASE - for any questions related to Cosmos DB, please use the [azure-cosmosdb] tag.
Questions tagged [cosmos]
141 questions
-2
votes
4 answers
-2
votes
2 answers
Error while creating an OS in cosmos
I'm creating an OS in cosmos ( C# ) , but I cannot get the code right.
Here it is:
var input = Console.ReadLine();
if (input = 'h')
Console.Write("This is the help section...");
else
Console.Write("Invalid…

Danish Humair
- 37
- 6
-3
votes
1 answer
Why won't this c# string-wrapping algorithm work?
Alright, so, in my C# Cosmos operating system, I'm working on a system that lets me input a string, and a desired width, and wrap the string into lines based on the width.
It works sorta like this: Input string is "Hello beautiful world". Width is…

Michael VanOverbeek
- 127
- 2
- 7
-4
votes
1 answer
Missing Reference and weird error in Cosmos (Visual Studio 2019)
I am trying to create an "OS" using Cosmos and C# in Visual Studio but on running it gives me an error box saying that there are errors in this build and if I would like to run the last build, but since there is no last build, I get another error,…
-4
votes
4 answers
Check if user has viewed something
[edit] Removed it, because it is not worth it.

Skid Kadda
- 482
- 3
- 14
-5
votes
2 answers
C# goto user input
I am making an OS with Cosmos and want to use goto to go to the user input but I am getting the error
No such label 'input' within the scope of the goto statement
'input' is a variable in which the user has inputted.
I can understand why this is…

Ian Stegner
- 23
- 1
- 1
- 6