8,298 Topics
![]() | |
Having trouble computing the number of occupied neighbors each cell in the array has. Any help would be greatly appreciated. [CODE] Array[rows][cols-1] Array[rows+1][cols-1] Array[rows-1][cols] Array[rows][cols] Array[rows+1][cols] Array[rows-1][cols+1] Array[rows][cols+1] Array[rows+1][cols+1] [/CODE] | |
Hi I just set up my IP Board. Now i want to retrieve some of the data via mysql, so far I have no problem getting a table into a datagridview, but what do i do to get a value from a table right now i got SELECT * FROM … | |
Hello! I'm doing a calculator in c# and I have one problem. I can't get the "%" button to work. I want it to work just like microsofts calculator and it would be great if annyone could help me! :) Its the code for how to calculate it I need! | |
Good Day All I have a Dynaically created a Textbox and i have a Dynamically created DIV. So what i want to do is to Find the Position of the Textbox and and Dynamically when this textbox is created , please a Div just next to this textbox. So my … | |
So I'm making this periodic table application, and spent an hour laying it all out. Perfectly I must add. Now I'm trying to figure out how to get it so when I click a button it opens the new form (Have this done) and replace the value of some labels/textboxes … | |
So, I've got my program up and running, and everything is great except my problem is I can't figure out why my output for my original balance and my output for my new balance are the same and it won't do my calculation Here is my header [CODE] #ifndef SavingsAccount_H … | |
Hello, dear All I have the following problem: i have a .net (C#) app and a Windows Installer project to deploy it. Now i want this Installer project be able not just to install the app onto a 'bare' client machine, but also to check if some previous version of … | |
Hello daniweb! Yes, I'm another amateur coder who needs a little assistance getting some code to work, I hope it's alright :?: A little background is necessary I suppose, so the deal is I'm a self taught noob who's working on a pet project of crafting a little program that … | |
Having trouble trying to read characters from a file into a 2D array. I know this topic has been discussed before but your help will be greatly appreciated. I know there is more efficient ways of writing the entire code but im not that familiar with programing. Any suggestions are … | |
I am exporting data to excel but inserting rows is very slow about 2 seconds per row pls help using System; using System.Collections.Generic; using System.ComponentModel; using System.Data; using System.Drawing; using System.Linq; using System.Text; using System.Windows.Forms; using System.Data.OleDb; using System.Data.SqlClient; using System.IO; using Microsoft.Office.Interop.Excel; namespace Dashboard { public partial class Form1 … | |
i want to do a project in c programming.. what topic should i choose and what all should i include to make it look decent? | |
Hi, Is there a way I can access the Exchange Mails/Calendars/Addressbook without .NET or non cross platform thing? I want to access them with C++ but on both MS and Linux I was looking at EWS but it seems it is tied to MS and .NET Please share with me … | |
Hi there; I am planning to create a program. There are 700 hosts and 1 server. Hosts will send status information to server,these information is related with my business logic. Server will process these information. There are two different ways to do this, creating a c# application (for server side … | |
i don't know how use to a timer. I'm supposed to do is After the Roll button is pressed, a timer will be enabled to generate random die rolls every 1/10 of a second... [CODE] public partial class Form1 : Form { Random m_rnd = new Random(); List<int> diceResults = … | |
[CODE]#include<stdio.h> int main() { int n,i,c=0; printf("\nEnter a no:"); scanf("%d",&n); for(i=1;i<n;i++) { if(n%i==0) { c=c+i; } } if(n==c) printf("\nPerfect no."); else printf("\nNot a perfect no."); }[/CODE] | |
Please help me how to create inputbox in visual C#? | |
| |
Okay so someone may have already posted something like this but my assignment is due in like 4 hours and don't have time. So here is the problem and my code. My problem that I am having is that it only works for single words. Not whole sentences. I need … | |
Hi, I'm a newbie & I need to create multiple iframes with an array, in a for loop! Is it even possible to do that! I accomplished it with Javascript, but I'm having a heck of a time doing the same in C#. Here's what I did in Javascript: [code] … | |
Hi, you guys. I'm making a obfuscator, and I need to know how to get all variables, classes, functions, etc, from a .NET program. I know how to get assembly info, which is quite easy. [CODE]using System; using System.Collections.Generic; using System.ComponentModel; using System.Data; using System.Drawing; using System.Linq; using System.Text; using … | |
I need a coding to execute multiple at commands simultaneously. when first command execute and get the response from the port and then the second command will be executed. how to write the coding. it is possible. i am using siemens gsm modem. FOR example. 1. AT OK 2. AT+CPIN? … | |
Hello guys, I am building a small accounting system, one of the main functions of this system is to add a new supplier. I am using Telerik, Rad controls ( trial version) to make some appearance improvements. Moreover, I have a winform to add a new supplier which contains several … | |
Any decompiler/debugger can convert machine program written in C/C++ to Assembly, but that Assembly is really hard to read, and corresponds to each particular instruction in machine language, not to a C/C++ instruction. So my question: is there a decompiler, that decomplies the C source code to Assembly, not to … | |
Ive been having trouble solving this please help, yea its hw but im using this as a last resort as its due in 2 hours. [CODE] // Search a dictionary file for the word input by the user. // //////////////////////////////////////… #include<iostream> #include<string> #include<fstream> using namespace std; int main() { string … | |
Please guys will you recommend any books or tutorials for C#? Thank you | |
hi, can you tell me please how can i disable the keyboard back space button on my web page using C#. Thanks nd Regards, Nice Candy. | |
Hello Everyone I want to create an online exam based web application using VS and SQL...I want to know how do i start I can create a login page but how do i store questions and answers in the database and produce them during the project execution??? | |
How do I convert this to assembly? [CODE=c]static unsigned char i, j, aResult[15]; /* Define Vars */ static const unsigned char aData[]={0xA0,0x1F,0xA5,0xB2,0x00} ; /* Define Data */ /* Initialize aResult array to all zeros */ for(i=0;i<15;i++){ aResult[i] = 0; } i=0; /* Set index for aData array */ while(aData[i] != … | |
private void button1_Click(object sender, EventArgs e) { if (textBox1.Text.Length > 0) { string sayii = textBox1.Text.Substring(0, textBox1.Text.Length); uint[] sayicc = new uint[textBox1.Text.Length]; for (int i = 0; i < textBox1.Text.Length; i++) { sayicc = Convert.ToUInt32(sayii - 48); } uint[] dizi2 = new uint[textBox1.Text.Length]; uint bit = 1; for (int j … | |
First of all, this is not schoolwork but rather me trying to read about c++ and through program examples and see if I can write my own. So help is much appreciated if you could as I am a new learner. This program that I am writing is supposed to … | |
Hello, I've created something, its quite large, however I decided to write it without using oop, now I believe I see why I should just use oop. Okay, so the problem is with my bool values specifically: [CODE]button_pickup2 = false; button_pickup1 = true;[/CODE] For some reason when the ReflexAgent function … | |
hi there, how can i validate a data grid view column to enter only the date in the data grid view column. i am doing this in a 2008 VS C# standard edition software. how can i do this. thankx | |
I have a number of plain text strings that I need to allow a user of my program to change, what is the usual/best way of doing something like this? I was considering using C# properties for them all (and a "edit properties page") but I'm not sure that's the … | |
[CODE]#include<stdio.h> #include<malloc.h> struct node{ int info; struct node *link; }*start; void main(){ start=NULL; int n,i,el; printf("Enter the no. of elements u want 2 enter"); scanf("%d",&n); for(i=0;i<n;i++){ scanf("%d",&el); createlist(el); } void createlist(int data){ struct node *q,*tmp; tmp->info=data; tmp->link=NULL; if(start==NULL) start=tmp; else {q =start; while(q->link!=NULL) q=q->link; q->link=tmp; } } struct node *q; … | |
Hi I'm having a lot of problems with this homework problem due tomorrow. The assignment is to make a program that can read data from a file and give out the wind chill, average temperature, average air speed, and average wind chill. It must also reject data that has a … | |
I attempted to overload the == operator for one of my classes, I even copied a previous implementation of it, but now that I am using pointers it refuses to function properly here is the relevant code (there is a lot so I will provide more if need be) [CODE]#ifndef … | |
My problem is, I've just started with C# and i was given a problem to solve by my teacher... here is the code... [CODE] { class Program { static void Main(string[] args) { int[] a = new int[20]; Random rand = new Random(); for (int i = 0; i < … | |
Hey I need something to help me train in C# I would like learn alot, but the pro's became pro by using the system all the time. Any off the pro's that could help me something to work with, give me idea's and how to start with the idea's... | |
I want develop a asp.net C# web application. I put it in IIS. Now I want make some security function in address bar. For example, I don't want let user skip login page and key in path directly. | |
Hello Friends I am developing application in C#...I have created few pages in ASP.NET The sequence is in the following manner 1...Login 2....Secure 3.....Registration but when i type [url]www.localhost\secure.aspx[/url] I am directed to that page However i want to ensure that user has to navigate to the page only in … | |
Hi, I'm new here I searched for any possible way to fix my issues, but I have not found anything that I can understand, so I figured I would post my code here. In my C++ class I was asked to take a craps program and modify it to take … | |
[CODE]// Including the libraries to be used #include <stdio.h> #include <stdlib.h> #include <string.h> // Defining the End of line #define EOL '\n' //Declaring Global variables (for the sentence and the output sentence- final) char sentence[100]; char final[100]; int i,j,ans; int start() // Defining the start function { printf ("\n"); printf … | |
Hello, I am trying to translate my Visual Basic program to C#. Right now i am have having problems translating this code [CODE]Private Sub SerialPort1_DataReceived(ByVal sender As System.Object, ByVal e As System.IO.Ports.SerialDataReceivedEventArgs) Handles SerialPort1.DataReceived inchar = SerialPort1.ReadLine IDstr = Microsoft.VisualBasic.Left(inchar, 2) Datastr = Microsoft.VisualBasic.Right(inchar, 6) result = Val("&h" & Datastr) … | |
[B]How To Find determinant of a metrix using c#???[/B] How to find determinant of a metrix using C #.Please give me the complete coding in C# to find determinant of a metrix.i want to do this problem in console application..expecting reply thank you | |
I've been away from my C# programming course now for months and am very rusty to say the least. My assignment calls for the creation of a MDI text editor project. I am currently having trouble in coding such that the child form containing a rich text box is recognized … | |
Hi I have a assignment about formatting C this is the assignment print_patterns(int i, double d) - Print 10 lines as specified below. * Lines 1 and 2 are fixed patterns with 20 characters each. * Line 3-6 are for integer i (sample value 123). * Line 7-10 are for … | |
hi people I have a project that requires me to use time.h in animation. can anyone show me a simple code of animation using time.h??? | |
How can you combine different c++ programs into one full software. I am using the Code::blocks IDE |
The End.