E D R , A S I H C RSS

여사모




  • C++.

  • :
  • : 훈, 환,

, , 택, 큐, 트, (-_-;) 통한 C!

  • (String), 택(Stack) 큐(Queue) . ?
  • - 6 4 7 7(회)

?? ~>__<; 예습할 건덕지를!! - :)

~cpp 
#include <iostream>
using namespace std;
#include <string.h>

int main()
{
	int b=4;
	cin>>b;
	char *a = new char[b];
	cout << strlen(a);

return 0;
}
1 7, 8 23 !!
- . strlen()함 char *(형 포) .
NULL
strlen()함. 화할 char * arr = "ABCDE"; arr5
NULL .
. cout << a; 라고 해보면 이상한 문자들이 출력되는게 보일꺼야. 7,8을 입력
23 a +23 NULL .
- , new charb a
.
DeleteMe , NoSmok: NoSmok: NoSmok: . Edit 편하 , . --

2004/05/24 훈's

~cpp 
#include <iostream>
using namespace std;
int main()

{
/* case 1.
	int front[5] = {1,2,3,4,5};
	cout << front[2] << endl;  //    
	cout << front << endl;  //    
	cout << *front << endl;  //    
	cout << (front+4) << endl;  //    
	cout << *(front+4) << endl; //     */
	
/* case 2.
	int b;
	cin >> b;
	int array[b]; // array  확하    . */
	
/* case 3.
	int b;
	cin >> b;
	int * a = new int[b]; //        . */
	return 0;
}
31 ~ ㅡㅡㅋ
- * --;


Valid XHTML 1.0! Valid CSS! powered by MoniWiki
last modified 2021-02-07 05:30:24
Processing time 0.0332 sec