Welcome to Code Forum!

Join a community that supports you and your coding journey from day one. We strive to be a friendly, supportive community that empowers everyone to be better developers. By registering with us, you'll be able to discuss, share and private message with other members of our community.

SignUp Now!
  1. EkBass

    Hi everyone.

    Im a newold hobby programmer. Got first kicks from code lines back at 80's at microcomputer era. After that, more or less programmed all kind of stuff. Mostly complately useless things, but casonly something usefull too. Due boring work, got degree for software developement back at 2014 but...
  2. K

    C# Unable to draw Primitives on Texture in SharpDX

    I have a little problem with rendering in my SharpDX Direct11 App. I had being tested rendering scene on a texture, and then draw this texture on backBuffer... but unfortunately renderTexture do not contains primitives which should be drawn. Texture is only filled by color. Whole project on...
  3. N

    C# Simple app

    Hello, I have the following problem: "Create an app that filter rooms and pick the ones that fit the required number of participants. As a result, the app should return the list of available slots for each of the rooms. Constraints: a slot start at every 15th ( 0, 15, 30, 45). Example: room...
  4. new_learner

    C# I need urgent help. I am learning coding. If someone is online please let me know

    I need urgent help. I am learning coding. If someone is online please let me know
  5. new_learner

    C# I have model with two values: string id and string subject. I am saving it variable a. now i want to pass only id to a method when i have some data

    I have model with two values: string id and string subject. I am saving it variable a. now i want to pass only id to a method when i have some data in variable a. How to do this?
  6. anvis

    C# run command line from C# on macOS

    I am trying to run the macOS terminal using the process class in c# with this code Process compiler = new Process() ; compiler.StartInfo.FileName = "/bin/bash"; compiler.StartInfo.Arguments = "pwd"; compiler.StartInfo.UseShellExecute = false; compiler.StartInfo.RedirectStandardOutput =...
  7. D

    C# C# - Operator can't be applied

    I have a problem with my C# code where it gives me an error that says "Can't apply operator to data type string and char". I have tried fix this with converting the string to a char but i still get an error. Here is the code: if(guess == word[counter1]) { found = true; } (All variables are...
  8. D

    C# Repeat a for loop infinite times

    for (int counter = 0; counter < 10; counter++) { } This will repeat 10 times because: counter = 0 at the start. While counter is less than ten, the for loop gets repeated, and counter gets increased by one. Once it gets to 11 it'll stop. Another easy way is with do...
  9. D

    C# How to make an array in C#

    string[] Superpowers = { "water", "earth", "fire", "wind", "ice" }; To do this, type string with square brackets, the name of the array, an equals sign, curly brackets, and then inside put the info seperated with commas. To print this do: Console.WriteLine(Superpowers);
  10. D

    C# C# Check if a number is even or odd

    using System; class MainClass { public static void Main (string[] args) { int i; Console.Write("Enter a Number : "); i = int.Parse(Console.ReadLine()); if (i % 2 == 0) { Console.Write("Your number is an Even Number :)")...
  11. D

    C# Bomb Defuse Game

    using System; class MainClass { public static void Main (string[] args) { //Defuse the bomb! Console.WriteLine("Choose the correct wire to defuse the bomb!"); string[] theanswer = { "A", "B", "C", "D" }; Random Rng = new Random(); //Creating the...
  12. A

    C# Password System with internal bank account which you can withdraw money from! (C#)

    using System; namespace Password_Bank_Code_ { class Program { static void Main(string[] args) { //Bank Vault Password! Console.ForegroundColor = ConsoleColor.White; Console.BackgroundColor = ConsoleColor.Black...
  13. TableFlipGod

    C++ How to call a function / Edit a value in c++ from c#

    So currently I have a project that wraps around this open source program : Here. And I want my form radio button to set the cap to 30 fps or 60 fps. There is a config type thing in the code shown here #include <d3d11.h> #pragma comment(lib, "d3d11.lib") #include "sigscan.h" #include...
  14. TableFlipGod

    Rejected Codeforum Api

    Hey, I would like to request an api for use of codeforum. This would be extremely helpful especially when users want to make a bot or something to watch threads and note if there are new ones out. Thanks, Table the discord bot coder!
  15. TableFlipGod

    C# [c#] How to show system info like i did with my program.

    Before I get into this I just wanted to point out if you need any help just make a thread with help and I will be more than happy to help you :) So first off you're going to create a new project. Specially a Windows Forms in c#. Next Design it how you want. But you have to have a few labels...
Back
Top Bottom