Posts
 
Reputation
Joined
Last Seen
0 Reputation Points
Unknown Quality Score

No one has voted on any posts yet. Votes from other community members are used to determine a member's reputation amongst their peers.

0 Endorsements
~11.4K People Reached
Favorite Tags
Member Avatar for waseem1345

hello, this is the part of the code I'm having a problem with if(a1==r1a || a2==r1b) {//REPLACING for(p=0;p<8;p++) { for(r=0;r<8;r++) { if( i[p][r]==1) { i[p][r]=0; } if(p==a1 && r==a2) { i[p][r]=1; r1a=p; r1b=r; } } } } I have only 2 units in the board of my chess game, intiger …

0
210
Member Avatar for waseem1345

How do they work? Does -'0' always convert to int from char? Can it convert from anything? And same question about +'0', does it convert only from char to int, or from anything? Thanks in advance :)

Member Avatar for David W
0
8K
Member Avatar for waseem1345

Hello, I'm new to C language, and I'm using Visual C as my compiler.. Here's my code: #include <stdio.h>#include <stdlib.h> #include <Windows.h> int i[8][8]; void main(){ int row; int col; for(row=0;row<=7;row++) { for(col=0;col<=7;col++) { i[row][col]=0; } } printi(); getchar();getchar(); } int printi() { char s[500]; int row; int col; int …

Member Avatar for David W
0
384
Member Avatar for waseem1345

So I have Visual Studio on my pc and my friend's pc. Is there a way to get live code change? so if i change the code on my pc it automatically changes on my friend's? like teamviewer but only for code? thanks in advance :)

Member Avatar for rproffitt
0
160
Member Avatar for waseem1345

Hello I have an old laptop which run most new games at around 40~60 fps at lowest settings.. I already have a key for Visual Studio 2012 Professional and thinking about Visual Studio 2015 Community.. Will Community 2015 run as fast as the other one? I'm only interested in WPF/Winforms …

Member Avatar for waseem1345
0
229
Member Avatar for waseem1345

Hello, for example my FTP server is "ftp://websiteexample.com", the username is "12345", the pass is "pass". Now I have files in it like "C1.txt" "C2.txt" "C3.txt" I want the listbox to get these items: C1 C2 C3 I tried using some wrapper library on github, but couldn't get it to …

Member Avatar for waseem1345
0
89
Member Avatar for waseem1345

Hello, I need someone that have a good knowledge about any web language to help me create some simple "blank" webpage, it won't take a lot of your time, maybe 5 minutes.. it's very simple and basic.. If you want to help, please send me your facebook profile link so …

Member Avatar for pacav69
0
305
Member Avatar for waseem1345

hello, let's say I have a string which contains: string s="111\n222\n333"; and I wanna add something like: foreach(Line ln in s) { if(ln="111") { MessageBox.Show("Found the 111 number"); } } Can u help me do that "foreach line"? thanks in advance :D

Member Avatar for DaveAmour
0
236
Member Avatar for waseem1345

Hello, I used the CodeDom provider to convert a string into an exe (the string is partial): string partial = "using System;\nusing gButtonnamespace;\nusing System.Windows.Forms;\nusing System.Drawing;"; partial+="\nusing System.Collections.Generic;\nusing System.ComponentModel;\nusing System.Text;"; partial+="\nusing System.Threading.Tasks;\nusing System.Reflection;\nnamespace prog{static class program{static void Main(){"; partial += "Form thiss=new Form();\nApplication.EnableVisualStyles();"; partial += "thiss.ShowDialog();"; partial += "}}}"; CSharpCodeProvider codeProvider …

0
101
Member Avatar for waseem1345

Hello, I have a website. I'm making a cafe management system. It's about to be ready. It can lock computers, unlock them for some time, use username and passwords, but the problem is that I can't make the SQL database on a website. I'm using web, and not LAN because …

Member Avatar for castajiz_2
0
199
Member Avatar for waseem1345

Hello, I'm trying to Convert "{MATH}TextBoxC1+TextBoxC1" to "TextBox1.Text=Convert.ToString(Convert.ToInt32(TextBoxC1.Text)+Convert.ToInt32(TextBoxC1.Text)); but doing it using one textbox.. I'm making a software creator. Everything was working well but this... Thanks in advance string svs = texttyped; //which is "{MATH}TextBoxC1+TextBoxC1 svs = svs.Remove(0, 6); string x = controlname + ".Text=Convert.ToString(Convert.ToInt32("; //ControlName = "TextBox1" while (svs …

Member Avatar for ChrisHunter
0
134
Member Avatar for waseem1345

I have a very large code so I can't put it here... For example I have textBox1, I want to change its text. Can I use something like: `<textBox+"1">.Text="Changed"`? I really need it because I will have to use "foreach" loop instead which slows the performance... Thanks in advance!

Member Avatar for waseem1345
0
153
Member Avatar for waseem1345

I have a multiselection listbox. I want to see the last selected item (which the user just selected). I can't find any way to do this googling.. Thanks in advance.

Member Avatar for waseem1345
0
528
Member Avatar for waseem1345

I have a textbox called ssd. I want it to compile the C# code in it to "Prgoram.exe" at the same location. I tried this: CSharpCodeProvider codeProvider = new CSharpCodeProvider(); ICodeCompiler icc = codeProvider.CreateCompiler(); System.CodeDom.Compiler.CompilerParameters parameters = new CompilerParameters(); parameters.GenerateExecutable = true; parameters.CompilerOptions = "/target:winexe"; parameters.OutputAssembly = "Program.exe"; parameters.GenerateInMemory = …

Member Avatar for waseem1345
0
228
Member Avatar for waseem1345

Hello, I'm making a program creator... I have a toolbox that adds a button and it's event...etc. to a panel called thepanel. How do I get the code of thepanel to compile it again to create another executable that have thepanel as the form. I know how to compile it …

Member Avatar for waseem1345
0
99
Member Avatar for waseem1345

Hello, I googled this and didn't found any good results. I found "GUI Toolkits for C++"... I need a C++ eBook to teach me to use the windows library...

Member Avatar for waseem1345
0
280
Member Avatar for waseem1345

Hello, I heard that microsoft is planning to make an AoT (Ahead-of-Time) Compiler for the C# so it can compile it to a native code instead of the IL... My question is, When will this compiler be available?

Member Avatar for waseem1345
0
152