Click here to Skip to main content
15,887,267 members
Home / Discussions / C#
   

C#

 
AnswerRe: Fill a datagridview using two data sources Pin
Eddy Vluggen16-May-13 4:12
professionalEddy Vluggen16-May-13 4:12 
GeneralRe: Fill a datagridview using two data sources Pin
Pete O'Hanlon17-May-13 3:11
mvePete O'Hanlon17-May-13 3:11 
QuestionC# AND DATABASE Pin
DatabaseShah15-May-13 19:59
DatabaseShah15-May-13 19:59 
AnswerRe: C# AND DATABASE PinPopular
Pete O'Hanlon15-May-13 20:36
mvePete O'Hanlon15-May-13 20:36 
AnswerRe: C# AND DATABASE Pin
Abhinav S16-May-13 8:24
Abhinav S16-May-13 8:24 
Questionhow to move picture box depending on a random dice number Pin
salhamaideh15-May-13 14:08
salhamaideh15-May-13 14:08 
AnswerRe: how to move picture box depending on a random dice number Pin
dusty_dex15-May-13 15:21
dusty_dex15-May-13 15:21 
Generalplase help me to correct some codes Pin
Member 1005503115-May-13 9:26
Member 1005503115-May-13 9:26 
this program I am do it but there is an error into it ,the error is in the function ...gotoxy().the massege error is "gotoxy is undeclarated"...I am do this program by Visual Stadiue 2006...
the code:
C#
#include<iostream.h>
class base
{private:
int n,i,j,h,x[10];
float fx[10][10];
static char c;
public:
    void set(int cn,int ci,int cj,int ch,int cx,float cfx,char cc)
    {
cn=n;ci=i;cj=j;ch=h;cx=x[10];cfx=fx[10][10];cc=c;
    }
    void show()
    {cout<<"\n\t\t******\t THE DIFFREEN\t******";
cout<<"\n\n";
cout<<"\n ENTER THE NUMBER OF THE VALUSE OF X:";
cin>>n;
cout<<"\n\n ENTER THE FIRST VALUE OF X1:";
cin>>x[0];
    cout<<"\n ENTER THE INTERVAL:";
    cin>>h;
    for(i=1;i<n;i++)
    x[i]=x[i-1]+h;
    cout<<"\n\n\n ENTER THE VALU OF F(X):";
    for(i=0;i<n;i++)
    {
    cout<<"\n f("<<x[i]<<")=";
    cin>>fx[i][0];
    }
    for(i=1;i<n;i++)
for(j=1;j<n-i+1;j++)
    fx[j-1][i]=fx[j][i-1]-fx[j-1][i-1];
cout<<"\n\nX\tf(x)\t";

 for(i=1;i<n;i++)
cout<<c<<i<<"f(x)\t";
 cout<<"\n";
for(i=0;i<n;i++)
{gotoxy(3,i*3+4);
cout<<x[i];}
for(j=0;j<n-i;j++)

if(i+j<n)
{
gotoxy((i+1)*9,((j*3)+i+4));
cout<<fx[j][i];
}}
};
void main()
{base k;
k.show();
}
char base::c=30;

GeneralRe: plase help me to correct some codes Pin
dusty_dex15-May-13 9:49
dusty_dex15-May-13 9:49 
GeneralRe: plase help me to correct some codes Pin
Emmanuel Medina15-May-13 10:03
professionalEmmanuel Medina15-May-13 10:03 
GeneralRe: plase help me to correct some codes Pin
Jegan Thiyagesan16-May-13 1:46
Jegan Thiyagesan16-May-13 1:46 
QuestionInheritance WinForms Pin
Cynizm15-May-13 6:12
Cynizm15-May-13 6:12 
AnswerRe: Inheritance WinForms Pin
Pete O'Hanlon15-May-13 6:24
mvePete O'Hanlon15-May-13 6:24 
GeneralRe: Inheritance WinForms Pin
Cynizm15-May-13 6:59
Cynizm15-May-13 6:59 
GeneralRe: Inheritance WinForms Pin
Pete O'Hanlon15-May-13 7:15
mvePete O'Hanlon15-May-13 7:15 
GeneralRe: Inheritance WinForms Pin
Cynizm15-May-13 7:25
Cynizm15-May-13 7:25 
GeneralRe: Inheritance WinForms Pin
lukeer15-May-13 21:20
lukeer15-May-13 21:20 
AnswerRe: Inheritance WinForms Pin
Dave Kreskowiak15-May-13 6:53
mveDave Kreskowiak15-May-13 6:53 
GeneralRe: Inheritance WinForms Pin
Cynizm15-May-13 7:04
Cynizm15-May-13 7:04 
GeneralRe: Inheritance WinForms Pin
Dave Kreskowiak15-May-13 12:42
mveDave Kreskowiak15-May-13 12:42 
AnswerRe: Inheritance WinForms Pin
Abhinav S15-May-13 7:56
Abhinav S15-May-13 7:56 
QuestionConsuming REST service from C# code Pin
Subin Mavunkal15-May-13 4:21
Subin Mavunkal15-May-13 4:21 
AnswerRe: Consuming REST service from C# code Pin
Abhinav S15-May-13 7:52
Abhinav S15-May-13 7:52 
QuestionWin7 FolderBrowser on ext. Dev doesn't work Pin
boogey4all.beds14-May-13 22:46
boogey4all.beds14-May-13 22:46 
AnswerRe: Win7 FolderBrowser on ext. Dev doesn't work Pin
dusty_dex15-May-13 0:27
dusty_dex15-May-13 0:27 

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.