½ÃÀÛÆäÀÌÁö·Î Áñ°Üã±âÃß°¡
·Î±×ÀÎ
ȸ¿ø°¡ÀÔ l Ã⼮üũ l ¸¶ÀÌÆäÀÌÁö l CGIMALL
ÀÚ·á½Ç »çÀÌÆ®µî·Ï ·©Å·100 ÇÁ·Î±×·¥¸®ºä °ü¸®ÀÚÃßõÀÚ·á Ãʺ¸°¡À̵å
Ä¿¹Â´ÏƼ
Àüü ÆîÃ帱â
Äü¸Þ´º¸µÅ© jquery , CSS , PHP , Javascript , ¹«·áÆùÆ® , ASP
»ó¼¼°Ë»ö
Ȩ > Ä¿¹Â´ÏƼ > Áú¹®°ú´äº¯ »ó¼¼º¸±â
Ä¿¹Â´ÏƼ ±¸Àα¸Á÷
»çÀÌÆ®µî·Ï
Ŭ¶ó¿ìµåű×
Javascript
PHP
asp
CSS
html
mysql
jquery
image
Mobile
API
slide
°Ô½ÃÆÇ
¸Þ´º
ÇöÀçÁ¢¼ÓÀÚ ¸í »õ·Î°íħ
°Ô½ÃÆÇŸÀÌƲ Áú¹®°ú´äº¯ / »ó¼¼º¸±â
Æ®À§ÅÍ·Î º¸³»±â
Ãßõ¼ö 253 | Á¶È¸¼ö 3,324 | µî·ÏÀÏ 2007-09-26 20:42:29

´Ð³×ÀÓ

320-chan

À̸ÞÀÏ

320-chan@hanmail.net

Á¦¸ñ

C++ ´äº¯ ¿ä¸Á
³»¿ë

¿äÁò ¼öÇÐ ÇÁ·Î±×·¥ °³¹ßÁßÀä.

Áö±Ý ÄÄÆÄÀÏ Áß ¿¡·¯°¡ ³ª¼­¿ä..

#include <iostream>
#include <cmath>

using namespace std;

class Calc {
private :
double answer, A, B;
int flag = -1 ;
int op;
public :
double calc(double ansawer, double A, double B, int op) ;
{
cout << "¿¬»ê¹æ¹ýÀ» °ñ¶óÁֽʽÿÀ" << endl;
cout << "µ¡¼ÀÀº 1¹ø,»¬¼ÀÀº 2¹ø,°ö¼ÀÀº 3¹ø, Á¦°öÀº 4¹ø, ³ª´°¼ÀÀº 5¹ø, Á¦°ö±ÙÀº 6¹øÀÔ´Ï´Ù." << endl;
cin >> op ;
switch (op) {
case '1':
cout << "¿¬»êÇÒ ¼ö´Â? (µÎ¼ö)" << endl;
cin >> A ;
cin >> B ;
ansawer = A + B ; break;
case '2':
cout << "¿¬»êÇÒ ¼ö´Â? (µÎ¼ö)" << endl;
cin >> A ; cin >> B ;
ansawer = A - B ; break;
case '3':
cout << "¿¬»êÇÒ ¼ö´Â? (µÎ¼ö)" << endl;
cin >> A ;
cin >> B ;
ansawer = A * B ; break;
case '4':
cout << "¿¬»êÇÒ ¼ö´Â? (µÎ¼ö(ù¹ø°´Â ¹Ø,µÎ¹ø°´Â Áö¼ö))" << endl;
cin >> A ;
cin >> B ;
ansawer = pow(x,y)
case '5':
cout << "¿¬»êÇÒ ¼ö´Â? (µÎ¼ö)" << endl;
cin >> A ;
cin >> B ;
ansawer = A / B ; break;
case '6':
cout << "¿¬»êÇÒ ¼ö´Â? (ÇѼö)" << endl;
cin >> A ;
ansawer = sqrt(A)
default :
flg = 10000000000
}
if (flg == -1){
 cout << "¿¬»ê°á°ú : " << ansawer << endl;
} else {
 cout << "¿¬»êÀÚ ÁöÁ¤ÀÌ Æ²·ÈÀ¾´Ï´Ù." << endl;
return ansawer;
}
}
class Area {
public :
double Area (double area, double x, double y, double pi) ;

private :
double area; double x; double y; double pi = 3.141592653589793
}
class equation{
private :
double X; int a; int b; int c; int d; int e;

public :
int first(int a; int b; double X;)

int second(int a; int b; double X; int c;)

int cubic(int a; int b; int c; int d; double X;)

int forth(int a; int b; int c; int d; int e; double X;)

}
int main(){

return 0;
}

Àε¥,

ÄÄÆÄÀÏ Çϸé

Error E2233 math.cpp 9: Cannot initialize a class member here
Error E2040 math.cpp 13: Declaration terminated incorrectly
Error E2040 math.cpp 80: Declaration terminated incorrectly
¶ó°í ³ª¿À°í ¾ÈµÇ¿ä.

Ã߽Š: ¹Ì¿Ï¼º ÀÛÀÔ´Ï´Ù. ¸ÞÀÎ ÀÌÇϺι® ,µµÇü¿¡¼­ ¿¡¸®¾îÇÔ¼ö, ¹æÁ¤½Ä¿¡¼­ 1,2,3,4Â÷ ¹æÁ¤½ÄÀÇ ÇÔ¼ö ¹Ì¿Ï¼º

Ãßõ½ºÅ©·¦¼Ò½ºº¸±â ¸ñ·Ï
°Ë¹«Ç÷½Å 2007-09-28 15:32:21
´ä±Û

c++ º»Áö°¡ ¿À·¡µÇ¾î¼­ Äð·° - _-

ÀÌÀü°Ô½Ã±Û ÀÚ¹Ù ¼öÁ¤ 2007-09-26 10:48:18
´ÙÀ½°Ô½Ã±Û 500 Internal Server Error ¹ß»ýÇÕ´Ï´Ù... 2007-10-04 18:50:44