List management, how to do it correctly?
Backstory: I saw that I had many projects in my Visual Studio 2010/2012 folders and decided to make a project "manager" for them. So far, I came to the conclusion that managing the paths to the files...
View Article"@help" function; maybe threading ?
im making a texted based rpg and i want to implement a help function. for example, if i type "/help" at anytime it will print out something or do something. at the same time runs all the function...
View Articlejava random number in 7*7 array without repeat
Hello! I want to generate a java random number in 7x7 array without repeat? Please help!!! Below are my codes, can't work, please help!! import java.applet.*; import java.awt.*; public class randomGen...
View Articletranslation of polygon by graphics using C++:Error
Hey guys, I created this program for translation of an n sided polygon using C++.The following program was made to run on turbo C++ without any hurdles.This program uses BGI graphics(I know that's...
View Articleprogram guesses the number you're thinking of between 1000-9999
I'm doing a program which has to guess the number you're thinking of between 1000-9999 in less than 20 guesses. So far, this is what I've got. It gives me the error: Exception in thread "main"...
View ArticleHow do I store text?
Hello, I would like to know how to a store a text in Java, for example I can store a number 5 if I declare a variable with int, double etc. but how do I store bunch of text like: "Hello my name is X"
View Article[problem] how to write python game AI
Recently, I plan to use python and pygame to write a renju game with AI. However, I have no idea to write AI. Could anyone give me some advice. Something like, tutorial site or some source codes,etc.
View ArticleHow string organised is in %s scanf
int j=0; char buf[100]; scanf("%s", buf); while(buf[j]!='\0') { j++; } for example let's give input "we are". Why j=2? It should terminated after secound word
View Articlefind minimum value in random number array?
Hey This is my code for my array,the array works and fills it with 10 random numbers but i am having great difficulty trying to find the minimum value in the array. My array code is Random random = new...
View ArticleIs there a easier way to map properties using automapper?
public static void AddReservation(Member_ mem, Video_ video) { // populate the reservation object with data in the member and video // add to the database...
View Articlemail crowler
Hi, i tray to made a little crowler, that have to take all email addres in one website. have found method for look at all page of site, but probably script have some problem because return a blank...
View ArticleShow window only once
Hey guys, I have completed working on a program and have run into an issue. The program functions correctly with one exception. I am trying to make a window show only once when the program is first...
View ArticleIntegrating Matlab in C#
I found code on the internet which says to instantiate matlab engine interface through com in C#. I thought that meant adding mlApp.tlb as a COM reference. However I get an error when I try to do so....
View ArticleLogin & Logout Error
Private Sub TDatacode_Change() If TDatacode.Text = "" Then TName.Text = "" TGender.Text = "" TYear.Text = "" cpcnum.Text = "" Tin.Text = "" Tout.Text = "" TName.Locked = True TGender.Locked = True...
View ArticleLogin & Logout Error
[/sql]Private Sub TDatacode_Change() If TDatacode.Text = "" Then TName.Text = "" TGender.Text = "" TYear.Text = "" cpcnum.Text = "" Tin.Text = "" Tout.Text = "" TName.Locked = True TGender.Locked =...
View ArticleMetadata and System.getProperty()
I am developing an arithmetic game, and I realize that, in order to go further with this game (and do it "for real"), I would need to "hide" the files from where someone could accidentally delete them...
View ArticleRead text file, and assign content to a variable
I need streamwriter, or however you would do this to read this text file in this directory : C:\Users\Ben\Documents\Vb.netshiz\default.txt and assign what is in the textfile to the variable...
View ArticleHow to make a row from custom template and add to a ListView
I have a custom template of some code to make each row and then add them to a ListView. Each row looks like image that i attach below. I don't know how to do this ? It is possible to do this in c# ?...
View ArticleHow to add dockable and floating menus?
Hi there, how can I add floating and dockable menus like the ones Visual Studio IDE has? I've tried SplitContainer, but it can't really be dragged accross the window. ToolStripContainer only works for...
View Article