8,298 Topics

Member Avatar for
Member Avatar for l0v3csci

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]

Member Avatar for Fbody
0
8K
Member Avatar for Jazerix

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 …

Member Avatar for mikev2
0
111
Member Avatar for Siimont

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!

Member Avatar for aadisabri
0
2K
Member Avatar for vuyiswamb

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 …

Member Avatar for vuyiswamb
0
262
Member Avatar for valestrom

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 …

Member Avatar for valestrom
0
214
Member Avatar for 07-0466

Hey, What is the fastest way to learn C#?? I need to clean out some source code with bugs... Help needed urgently! Thanx.

Member Avatar for 07-0466
0
117
Member Avatar for Ravic85

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 …

Member Avatar for Ravic85
0
171
Member Avatar for educated_fool

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 …

Member Avatar for narin143
0
965
Member Avatar for gumbum8

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 …

Member Avatar for gumbum8
0
189
Member Avatar for TArrington21

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 …

Member Avatar for TArrington21
0
131
Member Avatar for nav07

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 …

Member Avatar for skatamatic
0
465
Member Avatar for aKiLa.. :)

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?

Member Avatar for sergent
0
217
Member Avatar for s_r_k
Member Avatar for Stefano Mtangoo

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 …

Member Avatar for Stefano Mtangoo
0
172
Member Avatar for varoluscu_prens

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 …

Member Avatar for hericles
0
233
Member Avatar for Jonathan C

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 = …

Member Avatar for Jonathan C
0
269
Member Avatar for compzets

[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]

Member Avatar for cse.avinash
0
194
Member Avatar for cyberdaemon
Member Avatar for literal
Member Avatar for shmamy

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 …

Member Avatar for shmamy
0
740
Member Avatar for mhammond7635

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] …

1
49
Member Avatar for glut

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 …

Member Avatar for gusano79
0
105
Member Avatar for manika87

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? …

0
91
Member Avatar for wissam.ashkar

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 …

Member Avatar for wissam.ashkar
0
245
Member Avatar for sergent

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 …

Member Avatar for GunnerInc
0
134
Member Avatar for blt007

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 …

Member Avatar for blt007
0
630
Member Avatar for rv1990

Please guys will you recommend any books or tutorials for C#? Thank you

Member Avatar for Kekke
0
132
Member Avatar for nice_candy

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.

Member Avatar for hericles
0
68
Member Avatar for kylelendo

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???

Member Avatar for hericles
0
83
Member Avatar for chinesethunda

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] != …

Member Avatar for skaa
0
169
Member Avatar for megabuild7

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 …

Member Avatar for Mohammed Ammar
-2
218
Member Avatar for plang007

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 …

Member Avatar for plang007
0
537
Member Avatar for rcmango

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 …

Member Avatar for gerard4143
0
318
Member Avatar for krishnisilva

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

Member Avatar for FijiXzone.com
0
2K
Member Avatar for pseudorandom21

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 …

Member Avatar for Mohammed Ammar
0
134
Member Avatar for ravi543

[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; …

Member Avatar for ravi543
0
101
Member Avatar for Richiemiz

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 …

Member Avatar for WaltP
0
527
Member Avatar for ThuggyWuggy

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 …

Member Avatar for ThuggyWuggy
0
6K
Member Avatar for frost1

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 < …

Member Avatar for Ketsuekiame
0
438
Member Avatar for TurkAlush

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...

Member Avatar for TurkAlush
0
92
Member Avatar for lianpiau

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.

Member Avatar for kvprajapati
0
104
Member Avatar for kylelendo

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 …

Member Avatar for _Barakat_
0
102
Member Avatar for Stang51

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 …

Member Avatar for Stang51
0
1K
Member Avatar for Master Mascus

[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 …

Member Avatar for Narue
0
126
Member Avatar for GaryS92

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) …

Member Avatar for GaryS92
0
263
Member Avatar for Manswab

[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

Member Avatar for Manswab
0
191
Member Avatar for Chellam2

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 …

Member Avatar for samson_zed
0
248
Member Avatar for cpu-guy

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 …

Member Avatar for cpu-guy
0
169
Member Avatar for Max Hydes

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???

Member Avatar for Max Hydes
0
896
Member Avatar for kwamba

How can you combine different c++ programs into one full software. I am using the Code::blocks IDE

Member Avatar for Ketsuekiame
0
105

The End.