Click here to Skip to main content
15,907,493 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Possible to return strings with >255 characters in Excel? Pin
T210212-Jun-09 23:13
T210212-Jun-09 23:13 
GeneralRe: Possible to return strings with >255 characters in Excel? Pin
Rajesh R Subramanian12-Jun-09 23:26
professionalRajesh R Subramanian12-Jun-09 23:26 
GeneralRe: Possible to return strings with >255 characters in Excel? Pin
T210212-Jun-09 23:47
T210212-Jun-09 23:47 
GeneralRe: Possible to return strings with >255 characters in Excel? Pin
Rajesh R Subramanian12-Jun-09 23:49
professionalRajesh R Subramanian12-Jun-09 23:49 
GeneralRe: Possible to return strings with >255 characters in Excel? Pin
AlexesDad30-Jun-09 11:40
AlexesDad30-Jun-09 11:40 
QuestionErrors occurs while compiling Smart device MFC application using VS2005 Pin
saksp12-Jun-09 20:42
saksp12-Jun-09 20:42 
GeneralRe: Errors occurs while compiling Smart device MFC application using VS2005 Pin
Arun Singh K13-Jun-09 1:00
Arun Singh K13-Jun-09 1:00 
Questionweight and bias chage problem in neural network AND gate Pin
salahuddincse12-Jun-09 17:04
salahuddincse12-Jun-09 17:04 
Recently i have made a program to apply an neural network 'AND' gate that works like a logical 'AND' gate in c language. here i changed the bias value with fixed weights variable.
but now i want to change both bias and weight value for this problem. i need code. i will be grateful if anybody helps me.
here is the code of my program

#include<stdio.h>
#include<conio.h>
#define true 1
#define false 0

void main()
{
clrscr();
int i,store[10],z=false,p,l=0,k=0,x1[4]={0,0,1,1},x2[4]={0,1,0,1},w1=1,w2=1,out[4]={0,0,0,1},check=0;
float bias=0.0,result;
printf("\n");

while(z==false)
{
for(i=0;i<4;i++)
if((x1[i]*w1+x2[i]*w2+bias)<0)
store[i]=0;
else
store[i]=1;



printf("\n");
for(i=0;i<4;i++)
printf("%d",store[i]);
printf("\tbias value\t");
printf("%f",bias);

check=0;
for(i=0;i<4;i++)
{

if(out[i]!=store[i])
{
if(store[i]==1)
bias=bias-.05;
else
bias=bias+.05;
z=false;
}

else
{
check++;
if(check==4)
z=true;
else
z=false;
}
}

}
getch();

}
QuestionI'm hoping some C# Guru out there can help me... (IndexOf and Multidimension Arrays) Pin
Paul Calabro12-Jun-09 14:48
Paul Calabro12-Jun-09 14:48 
AnswerRe: I'm hoping some C# Guru out there can help me... (IndexOf and Multidimension Arrays) Pin
Luc Pattyn12-Jun-09 14:58
sitebuilderLuc Pattyn12-Jun-09 14:58 
AnswerRe: I'm hoping some C# Guru out there can help me... (IndexOf and Multidimension Arrays) Pin
Wonde Tadesse12-Jun-09 15:43
professionalWonde Tadesse12-Jun-09 15:43 
GeneralRe: I'm hoping some C# Guru out there can help me... (IndexOf and Multidimension Arrays) Pin
Paul Calabro15-Jun-09 5:14
Paul Calabro15-Jun-09 5:14 
GeneralRe: I'm hoping some C# Guru out there can help me... (IndexOf and Multidimension Arrays) Pin
Wonde Tadesse16-Apr-11 13:48
professionalWonde Tadesse16-Apr-11 13:48 
JokeI'm hoping you eventually hit the right forum... Pin
CPallini12-Jun-09 22:41
mveCPallini12-Jun-09 22:41 
Question[Message Deleted] Pin
xchen199812-Jun-09 7:35
xchen199812-Jun-09 7:35 
AnswerRe: Custom Control Pin
xchen199813-Jun-09 13:44
xchen199813-Jun-09 13:44 
QuestionHelp with rand() definition [modified] Pin
Grimes12-Jun-09 6:58
Grimes12-Jun-09 6:58 
AnswerRe: Help with rand() definition Pin
Luc Pattyn12-Jun-09 7:14
sitebuilderLuc Pattyn12-Jun-09 7:14 
GeneralRe: Help with rand() definition Pin
Grimes12-Jun-09 7:47
Grimes12-Jun-09 7:47 
AnswerRe: Help with rand() definition Pin
Randor 12-Jun-09 7:16
professional Randor 12-Jun-09 7:16 
GeneralRe: Help with rand() definition Pin
Grimes12-Jun-09 8:02
Grimes12-Jun-09 8:02 
GeneralRe: Help with rand() definition Pin
harold aptroot12-Jun-09 8:50
harold aptroot12-Jun-09 8:50 
GeneralRe: Help with rand() definition Pin
Grimes12-Jun-09 17:03
Grimes12-Jun-09 17:03 
GeneralRe: Help with rand() definition [modified] Pin
T210212-Jun-09 22:57
T210212-Jun-09 22:57 
GeneralRe: Help with rand() definition Pin
Grimes12-Jun-09 23:44
Grimes12-Jun-09 23:44 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.