Click here to Skip to main content
15,881,803 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
QuestionRe: asking for code in c to enumerate usb ports Pin
Roger Stoltz23-Jun-09 1:11
Roger Stoltz23-Jun-09 1:11 
QuestionRe: asking for code in c to enumerate usb ports Pin
David Crow23-Jun-09 2:51
David Crow23-Jun-09 2:51 
Questionresize image bitmap ????(VC++) Pin
aa_zz23-Jun-09 0:33
aa_zz23-Jun-09 0:33 
AnswerRe: resize image bitmap ????(VC++) Pin
CPallini23-Jun-09 0:46
mveCPallini23-Jun-09 0:46 
AnswerRe: resize image bitmap ????(VC++) Pin
Hamid_RT23-Jun-09 1:54
Hamid_RT23-Jun-09 1:54 
AnswerRe: resize image bitmap ????(VC++) Pin
«_Superman_»23-Jun-09 4:09
professional«_Superman_»23-Jun-09 4:09 
AnswerRe: resize image bitmap ????(VC++) Pin
Hamid_RT24-Jun-09 19:18
Hamid_RT24-Jun-09 19:18 
Questionsolving n*n linear equations Pin
kimbz_00722-Jun-09 23:52
kimbz_00722-Jun-09 23:52 
this is a part of a code to solve n*n linear equation iam testing this part with trial equation all i want it to do is to add variables in V and add coff. in Num iam facing a problem could U help me please
#include<stdio.h>
#include<math.h>
#include<string.h>
#include<ctype.h>

void main()

{
char* p;
char* eq[81]={"-36x+42yz+-35a","3x+4yz","yz+3x"};
char* varname[20]={"yz","x","a"};
char* v[20];
char* num[20];
char coff[20];
int n=0,i=0,j=0,s=0;
for(i;i<2;i++)
{
for(int k=0;k<strlen(eq[i][81]);k++)
{
if(isalpha(eq[i][81]!=0))
{
v[j][20]=eq[i][81];
j++;
}
else if(isdigit(eq[i]!=0))
{
num[n][20]=eq[i][81];
n++;

}
else if(s[i]=='-')
{
num[n]=-1*s[i+1};
n++;
i++;
}
}


}

& those are the errors

C:\Documents and Settings\karim\Desktop\cC\to fill coff\2.cpp(18) : error C2664: 'strlen' : cannot convert parameter 1 from 'char' to 'const char *'
Conversion from integral type to pointer type requires reinterpret_cast, C-style cast or function-style cast
C:\Documents and Settings\karim\Desktop\cC\to fill coff\2.cpp(31) : error C2109: subscript requires array or pointer type
C:\Documents and Settings\karim\Desktop\cC\to fill coff\2.cpp(33) : error C2143: syntax error : missing ']' before '}'
C:\Documents and Settings\karim\Desktop\cC\to fill coff\2.cpp(33) : error C2109: subscript requires array or pointer type
C:\Documents and Settings\karim\Desktop\cC\to fill coff\2.cpp(33) : error C244
AnswerRe: solving n*n linear equations Pin
CPallini23-Jun-09 0:15
mveCPallini23-Jun-09 0:15 
AnswerRe: solving n*n linear equations Pin
Stuart Dootson23-Jun-09 0:20
professionalStuart Dootson23-Jun-09 0:20 
GeneralRe: solving n*n linear equations Pin
kimbz_00723-Jun-09 0:27
kimbz_00723-Jun-09 0:27 
GeneralRe: solving n*n linear equations Pin
Stuart Dootson23-Jun-09 0:30
professionalStuart Dootson23-Jun-09 0:30 
Questionrun another exe in mfc using command prompt Pin
vvlnkishore22-Jun-09 23:52
vvlnkishore22-Jun-09 23:52 
AnswerRe: run another exe in mfc using command prompt Pin
Madhu Nair23-Jun-09 0:02
Madhu Nair23-Jun-09 0:02 
Questioninvalidate function in MFC Pin
duongcntt4b22-Jun-09 23:47
duongcntt4b22-Jun-09 23:47 
Question[Message Deleted] Pin
jitendrapothuru22-Jun-09 22:32
jitendrapothuru22-Jun-09 22:32 
QuestionRe: to maximise the dialog box and the fields in the dialog should also resize Pin
CPallini22-Jun-09 22:56
mveCPallini22-Jun-09 22:56 
Answer[Message Deleted] Pin
jitendrapothuru22-Jun-09 22:59
jitendrapothuru22-Jun-09 22:59 
GeneralRe: to maximise the dialog box and the fields in the dialog should also resize Pin
CPallini22-Jun-09 23:07
mveCPallini22-Jun-09 23:07 
AnswerRe: to maximise the dialog box and the fields in the dialog should also resize Pin
Stuart Dootson22-Jun-09 22:59
professionalStuart Dootson22-Jun-09 22:59 
AnswerRe: [Message Deleted] Pin
Cedric Moonen23-Jun-09 0:04
Cedric Moonen23-Jun-09 0:04 
QuestionSpider chart, star chart Pin
Ankata22-Jun-09 22:05
Ankata22-Jun-09 22:05 
QuestionSetFilePointer() + WriteFile() Problems? Pin
krish_kumar22-Jun-09 21:31
krish_kumar22-Jun-09 21:31 
GeneralRe: SetFilePointer() + WriteFile() Problems? Pin
CPallini22-Jun-09 21:51
mveCPallini22-Jun-09 21:51 
GeneralRe: SetFilePointer() + WriteFile() Problems? Pin
krish_kumar22-Jun-09 22:41
krish_kumar22-Jun-09 22:41 

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.