김학규의 홈페이지입니다.
뉴스와토론
Neolith의 방
갤러리
기획&아이디어
Q&A와 스터디
소모임&잡담
차갤
지름신갤
추천/비추천
WIKI
링크
Q&A와 스터디
글 수
3,012
회원 가입
로그인
함수간 문자열 넘기기 질문드립니다.
크로누스
http://old.lameproof.com/393595
2006.08.31
22:34:09 (*.230.93.10)
1017
안녕하세요..__)
abc 함수라는 걸 선언 해놓고
main함수에서 abc함수로 문자열을 전달할려면
어떻게 해야되는 건가요?
제가 C언어 초보입니다.
이 게시물을...
목록
2006.08.31
23:11:16 (*.70.61.201)
snowflower
함수 선언을 하실때....
void abc(char *szText);.. 로 하시고
문자열을 넘기시면 될겁니다...;;
2006.09.01
00:44:58 (*.237.153.55)
1ststory
포인터를 이용해 넘깁니다.
void PrintString(char *String)
{
printf("%sn", String);
}
void main(void)
{
// 1. 포인터 선언
char *pString = "1234567890";
PrintString(pString);
// 2. 배열로 선언
char pString2[256] = "문자열 테스트");
PrintString(pString2);
// 3. 임시 생성 변수로 전달
PrintString("문자열 테스트");
}
2013.11.27
12:33:23 (*.111.161.169)
fdgbvfd
Celine Outlet
coach outlet store online
Louis Vuitton Black Friday 2013
louis vuitton
louboutin shoes
louis vuitton black friday
true religion black friday sale
Louis Vuitton Black Friday
louis vuitton
louboutin black friday
coach black friday
michael kors black friday
Coach Black Friday sale
coach black friday
Celine Outlet
Chanel Black Friday 2013
Chanel Black Friday Sale 2013
MontBlanc Pens
louis vuitton
Ugg Black Friday Sale
MontBlanc Pens
louis vuitton
michael kors
true religion outlet
louis vuitton
louis vuitton black friday
louis vuitton outlet
coach outlet online
Celine Outlet
tory burch
louis vuitton black friday
Celine Handbags
christian louboutin shoes
gucci shoest
christian louboutin black friday
tiffany and co
tiffany
Mont Blanc Pens
tiffany
michael kors black friday
cheap nfl jerseys
Celine Outlet
Mont Blanc Pens
Ugg Black Friday Sale 2013
gucci outlet
gucci outlet
jordan black friday
true religion
Coach Black Friday
air jordans
michael kors
Louis Vuitton Black Friday Sale
michael kors
true religion
michael kors
coach outlet store online
true religion
Coach Black Friday 2013
Ugg Black Friday
louis vuitton black friday
gucci outlet
coach factory outlet
true religion
louis vuitton
coach black friday
michael kors outlet
coach factory outlet
louis vuitton
tiffany jewelry
coach factory outlet
coach outlet
michael kors
2013.12.07
12:04:33 (*.111.161.63)
lanbiyu
dolce and gabbana
alexander wang rocco
dior homme
nike
moncler jackets
louis vuitton outlet store
supra footwear
jimmy choo outlet
jimmy choo sale
michael kors watches
supra footwear
ray ban outlet stores
juicy couture
hulk hogan costume
christian louboutin
miu miu
alexander wang rocco
timberland.com
hermes scarf
ugg outlet
ghd hair straighteners
louis vuitton
barbour outlet online
guess outlet
hogan
nike employee store
christian louboutin discount
monster headphones
timberland outlet
tory burch outlet
celine luggage tote
moncler
tory burch sale
p90x workouts exercise dvd
prada handbags
givenchy shoes
ferragamo outlet
turbo fire workout
guess
dior homme
red buttom shoes
supra shoes
beats by dre headphones
discount oakley sunglasses
tory burch
tory burch handbags
turbo fire
gucci.com
hermes birkin
supra vaider
chanel chance
bottega veneta
celine purse
hogan shoe
turbo fire
the north face outlet
michael jordan shoes
guess
timberland outlet
tiffany jewelry outlet
the north face
ray ban sunglasses
chi hair products
louis vuitton shoes
insanity workout
juicy couture outlet stores
dolce and gabbana watches
jordan retro 11
ray ban outlet stores
moncler sale
moncler coats
moncler
tiffany jewelry
hogan outlet
ugg outlet
beats by dre headphones
chanel wallet
p90x workout
ferragamo sale
christian louboutin outlet
p90x workouts exercise dvd
timberland outlet
givenchy handbags
marc jacobs watches
jordan 6
timberland boots
fendi shoes
supra footwear
guess marciano
christian louboutin shoes
barbour
christian louboutin outlet
supra
timberland
ugg sale
burberry purses
moncler kids
givenchy shoes
ferragamo belt
hermes belt
louis vuitton outlet store
burberry watches
nike watches
louis vuitton sunglasses
dior shoes
louis vuitton bags
versace glasses
timberland.com
supra shoes
supra skytop
christian louboutin discount
moncler jacket
nike socks
louis vuitton backpack
louis vuitton handbags
ferragamo mens shoes
hermes birkin bag
versace eyeglasses
beats solo
guess handbags
christian louboutin
oakley prescription sunglasses
ugg australia
fendi outlet
ugg boots sale
dolce gabbana
supra vaider
air jordan 11
ghd hair straighteners
chanel watches
tory burch shoes
hermes bag
jimmy choo sale
alexander wang bags
tory burch
timberland
dolce and gabbana watches
jordan retro 8
gucci handbags
ray ban sunglasses
chi hair straightener
the north face jackets
mulberry handbags
timberland
ugg boots
louboutin shoes
hogan shoes
ghd straighteners
hermes purse
gucci handbags
christian louboutin discount
oakley sunglasses outlet
fendi belts
fendi handbags
givenchy shoes
dior sunglasses
barbour outlet
supra skytop
tory burch handbags
hermes h belt
barbour outlet online
burberry
tory burch outlet
turbo fire dvd workout
turbo fire dvd
versace sunglasses
chanel bag
givenchy
mulberry outlet
timberland earthkeepers
wholesale tiffany jewelry
christian louboutin
p90x
jimmy choo handbags
moncler vest
chi hair products
hogan shoe
alexander wang bags
barbour outlet
louboutin shoes
michael kors mens watches
nike football cleats
versace watches
red buttom shoes
p90x workouts exercise
christian louboutin discount
tiffany and co
givenchy dress
tory burch shoes
supra footwear
timberland shoes
ray ban outlet
cheap oakley sunglasses
moncler coats
the north face sale
nike soccer cleats
cheap chi straighteners
barbour outlet online
juicy couture outlet stores
nike shorts
dolce and gabbana light blue
timberland shoes
fendi purses
supra shoes
juicy couture outlet
moncler vest
insanity
the north face sale
hogan outlet
timberland earthkeepers
timberland.com
hogan
prada shoes
north face outlet
hulk hogan costume
dolce and gabbana handbags
ugg boots outlet
ugg boots outlet
tory burch shoes
gucci shoes
timberland earthkeepers
barbour clothing
dolce and gabbana light blue
insanity workout
barbour clothing
ray ban outlet
celine
p90x
tiffany
marc jacobs perfume
tory burch handbags
michael kors purses
timberland boots
mulberry outlet uk
moncler jackets
christian louboutin
ray ban outlet stores
moncler coats
turbo fire dvd workout
dolce and gabbana handbags
timberland boots
coach outlet online
tiffany and co outlet
celine outlet
north face outlet
the north face
chanel bags
versace bright crystal
guess by marciano
burberry brit
bottega veneta outlet
timberland earthkeepers
mulberry outlet uk
mulberry
gucci watches
prada shoes
hermes outlet
oakley sunglasses
hulk hogan costume
supra shoes
versace shoes
coach factory online
marc jacobs watches
nike air max
moncler jacket
supra vaider
michael kors boots
timberland boots
p90x workouts exercise dvd
bottega veneta outlet online
louis vuitton neverfull
michael kors bags
p90x workouts exercise
jimmy choo outlet
chanel sunglasses
fendi outlet
cheap ray ban sunglasses
guess jeans
gucci.com
air jordan shoes
christian louboutin shoes
versace bright crystal
supra footwear
dolce and gabbana light blue
ferragamo mens shoes
christian louboutin shoes
guess by marciano
louis vuitton wallet
ghd hair iron
ray ban
louis vuitton sunglasses
coach factory outlet
miu miu bags
gucci outlet
jimmy choo shoes
chanel purse
insanity workout dvd
the north face
nike free
louis vuitton shoes
ray ban outlet
juicy couture outlet
marc jacobs bags
supra vaider
new jordan releases
jordan 13
nike store
coach.com
celine purse
dolce gabbana
marc jacobs perfume
moncler sale
jordan retro
nike promo code
ugg.com
tory burch
nike running shoes
guess watches
oakley sunglasses outlet
p90x workouts exercise
miu miu handbags
gucci
tory burch
christian louboutin sale
ray ban
prada shoes
dolce gabbana
gucci shoes
miu miu outlet
gucci purses
air jordan 13
alexander wang shoes
red buttom shoes
gucci handbags
marc jacobs bags
tory burch
supra shoes
p90x workouts exercise dvd
tory burch outlet
hogan
jimmy choo sale
nike soccer
moncler jackets
oakley sunglasses
guess shoes
jimmy choo wedding shoes
turbo fire dvd
dolce gabbana
supra skytop
christian louboutin discount
나의 소셜 정보
원하시는 로그인을 선택해주세요
비밀번호
» 편집 도구모음 건너뛰기
되돌리기
다시 실행
형식
제목 1
제목 2
제목 3
제목 4
제목 5
제목 6
글꼴
돋움
굴림
바탕
Arial
Arial Black
Tahoma
Verdana
Sans-serif
Serif
Monospace
Cursive
Fantasy
크기
9px
10px
11px
12px
13px
14px
16px
18px
24px
32px
줄 간격
100%
120%
140%
160%
180%
200%
진하게
밑줄
기울임
취소선
글자 색
#ff0000
#ff6c00
#ffaa00
#ffef00
#a6cf00
#009e25
#00b0a2
#0075c8
#3a32c3
#7820b9
#ef007c
#000000
#252525
#464646
#636363
#7d7d7d
#9a9a9a
#ffe8e8
#f7e2d2
#f5eddc
#f5f4e0
#edf2c2
#def7e5
#d9eeec
#c9e0f0
#d6d4eb
#e7dbed
#f1e2ea
#acacac
#c2c2c2
#cccccc
#e1e1e1
#ebebeb
#ffffff
#e97d81
#e19b73
#d1b274
#cfcca2
#cfcca2
#61b977
#53aea8
#518fbb
#6a65bb
#9a54ce
#e573ae
#5a504b
#767b86
#00ffff
#00ff00
#a0f000
#ffff00
#951015
#6e391a
#785c25
#5f5b25
#4c511f
#1c4827
#0d514c
#1b496a
#2b285f
#45245b
#721947
#352e2c
#3c3f45
#00aaff
#0000ff
#a800ff
#ff00ff
글자 배경색
가나다
가나다
가나다
가나다
가나다
가나다
가나다
가나다
가나다
가나다
가나다
가나다
가나다
가나다
가나다
위 첨자
아래 첨자
왼쪽 정렬
가운데 정렬
오른쪽 정렬
양쪽 정렬
번호 매기기
목록
단락의 들여쓰기 수준을 낮춥니다.
들여쓰기
인용문
왼쪽 실선
인용 부호
실선
실선 + 배경
굵은 실선
점선
점선 + 배경
적용 취소
링크
하이퍼링크
새 창으로
확인
취소
특수문자
특수문자 삽입
특수문자 레이어 닫기
일반기호
숫자와 단위
원, 괄호
한글
그리스,라틴어
일본어
선택한 기호
특수문자 레이어 닫기
표
칸 수 지정
행
1행 추가
1행 삭제
열
1열 추가
1열 삭제
표 속성 지정
테두리 굵기
1px 더하기
1px 빼기
테두리 색
색상 찾기
색상 찾기
표 배경색
색상 찾기
색상 찾기
셀 병합
열 분할
행 분할
확장 컴포넌트
이모티콘 출력
이미지 추가
멀티미디어 자료 관리
설문조사 컴포넌트
기본 이미지 갤러리
Naver Photo Editor
HTML 편집기
입력창 크기 조절
파일 첨부
선택 삭제
본문 삽입
문서 첨부 제한 : 0Byte/ 20.00MB
파일 제한 크기 : 20.00MB (허용 확장자 : *.*)
번호
제목
글쓴이
조회 수
추천 수
날짜
최근 수정일
2652
게임프로그래머를 지향하는 고3인데 앞으로 나아가야할 방향에 대해 답변 부탁드립니다.
5
그루비아
1040
2006-08-25
2006-08-25 23:09
이 곳에 몇 번 들였지만 글을 남기기는 이번이 처음 인것 같네요...ㅎㅎ 지금 1학기 수시에 합격한 상태라 C언어와 C++을 보고 있는데요, 제가 내년 5월 전까지는 게임을 어느 정도 만드는 수준까지 올라가고 싶은데, 지금 ...
2651
시간관리 프로그램같은것은 어떤게 있을까요?
5
issuelit
1027
2006-08-26
2006-08-26 00:02
일정관리를 해보고싶은데요 간단히 그날해야할일을 쓸수있고 일기를 짧게 남길수 잇는정도의 프로그램이요 추천 부탁드립니다. 2학기 계획을 세우는데 한번 계획을 세워서 해볼려구요
2650
수학을 못하는 고3 실업계생인데 컴공과에 지원해도 될까요?
11
영게임
1000
2006-08-26
2006-08-26 03:53
저는 촌의 작은 고등학교 실업계 인터넷과에 다니고 상위권인데, 학교에서 수학이나 영어의 어려운 부분은 배우지를 않고 진도를 넘어가다보니(원래못하기도...; 거기다 3학년때는 수학이 아예 없습니다) 수학, 영어는 상당히 못합니...
2649
궁금 한 것 몇개 질문 드릴께요..
12
2
그루비아
1017
2006-08-26
2006-08-26 09:09
C++ 공부하다가 궁금 한 건데, i++, ++i랑 차이점이 궁금합니다. 식을 만들어 컴파일 해서 차이 점을 알아보려 해도 결과만 나오니 알수 없다는....;; int a=150; int b=300; a +=150; cout<<a<<endl; cout<<a++<<endl; cout<<++a<...
2648
아, 질문 또 드리게 됬네요..
3
그루비아
1029
2006-08-26
2006-08-26 22:09
혹시 질문이나 답변 잘해주는 C/C++ 사이트 아시는 분 답변 좀 부탁드립니다. 제가 아는 사이트들은 답변 속도가 느리거나 답변 같은 것보다는 자료 중심이라서... 이거 공부하다 보면 의문 투성인 것들이 나오게 되네요. 이 ...
2647
프로그래머는 뭘 만드나요? ;; (자바, C++, C#, 닷넷 등등)
9
우중풍륜
1017
2006-08-27
2006-08-27 05:58
아주 원시?적인 질문 입니다. 당연히 프로그램을 만들겠죠. 자문 자답 ^^v;; 해외에선 자바를 무지 많이 사용 하는걸로 알고 있습니다. C/C++ 쪽만 보다가 얼마전부터 자바 기초 책을 조금씩 보면서 아주 간단한 모바일 게임 ...
2646
고3 진로에 대해..
9
yggdrasil
1014
2006-08-27
2006-08-27 11:44
에.. 현재 수능이 80일 가량 남은 상태에서 게임개발의 꿈을 둔 고3입니다. 최근 진로에대해 굉장히 고민중입니다.(3학년 부터 주욱이라고 해도 무방) 뭐랄까 성적은 중간정도(모의고사 성적기준)라서 대충 대학을 정하길 하향지원(제...
2645
게임학과가 있는 곳이 어느 학교 인가요?
19
bigthewar
1054
2006-08-27
2006-08-27 23:40
정확하게 잘 몰라 이렇게 질문을 드립니다. 제가 대학교를 가게되면 컴공과 또는 게임학과를 들어가려고 하는데... 물론 대학을 들어갔을때 이야기지만요; 본론으로 돌아와서 제가 게임학과를 들어간다고 말을 하니까 주위에서는 컴...
2644
c언어에서 #define 에 대해..
5
띨빵큐라
1092
2006-08-28
2006-08-28 22:38
공부하고 있는데...소스가 이렇습니다. 주석이나 답글로 설명과 해석 해주실분 ㅠ_ㅠ 파일명 : main.cpp #include<stdio.h> #include"str.h" #include"test.h" void main(void) { #define _xxx #ifdef _xxx CStr st1; CTest ...
2643
윈도우 api 책을 하나 사려고 하는데...
7
bigthewar
1124
2006-08-28
2006-08-28 23:56
api 책을 하나 사려고 하는데 책들이 너무 많아서 뭐가 좋은건지 모르겠더군요. 추천좀.,.. ps.호서대 게임학과 등급은 어느정도 인가요?
2642
음량을 강제로 줄이거나 높이면 음질 손실이 있나요?
8
Fastone
1122
2006-08-29
2006-08-29 07:49
여기저기서 MP3파일을 모아서 듣다보면어떤건 목소리가 너무 높고 어떤건 목소리가 잘 안들리기도 하고 해서 MP3GAIN을 이용해서 음량을 평준화 해서 듣는데... 문득 드는 생각이 음량을 강제로 조절하면 음질의 손상이 있을지...
2641
vector의 동적 할당
4
3
랩하는좀비
1011
2006-08-29
2006-08-29 16:53
저기 밑에 있는 글 중에 클래스가 생성될 때 동적할당을 하고 파괴할 때 알아서 파괴시켜주는 것을 보고.... 한 번 만들어 봤습니다. 그런데 질문 한가지.. 벡터로 동적할당 된 클래스에 접근할려면 어떻게 해야 할까요. 예를 ...
2640
윈도우 비스타를 깔았는데 지우거나 XP와 멀티부팅하는방법이 있나요 ?
3
박재범
1010
2006-08-29
2006-08-29 23:22
<P>셋팅 건드려봤는데도 익스플로러에선 한글입력이안되서 복사신공으로 글을 씁니다.</P> <P>실컷 다깔고나서 베타뉴스가보니 5536 RC1 받으라더군요 -_-^ 뭐 받고는있지만 이 허무함 -ㅅ-;;</P> <P>지금깐 윈도우비스타를 지우는방법또는...
2639
다형성에 대한 질문
7
2
랩하는좀비
1109
2006-08-30
2006-08-30 08:27
밑의 클래스에 대해서 다형성이라는 것을 넣어보려고 했습니다. 다른 것은 다 되는데(...) 입력받는 부분이 골치로군요. 클래스 안에서 입력을 해주면 좋겠는데요.. 역시나(...) 오늘도 소스와 함께 질문이 올라가겠습니다. =질문 많...
2638
배열에 변수를 쳐집어 넣으려면 어찌해야 하오리까??
13
이용운
1111
2006-08-30
2006-08-30 16:55
a[10]이라는 배열이 있고 b=1이라는 변수가 있습니다. a[1]에다가 변수 b의 값을 쳐집어 넣으려면 어떻게해야할까오? strcpy,a[1] = b등등 죄다 안되던데...ㅠ_ㅠ 갈켜주세요~_~
2637
블러그에 관련된 질문입니다.. 과연 답이 달릴지 의문이지만 서도..
5
갱훈
1127
2006-08-30
2006-08-30 16:56
제가 지금 설치형 블러그를 저의 웹 계정에 깔아서 사용 중인데 트랙백을 타고 엄한것이 들어오더군요.. 매일 매일 ip 필터링 하고 지우는것도 지겨워서 가입형 블러그로 가려고 합니다. 어떤 블러그가 좋아요? 라고 질문할 것...
2636
컴공과는 어느 학교에 있는건가요? 수준은?
5
bigthewar
1031
2006-08-31
2006-08-31 00:42
밑에 답변을 달아주신 덕분에 많은 도움이 되고 있습니다. 정말 감사합니다. 다름이 아니고 제가 현제 고2지만 모의 고사를 보면 300점 미만으로 나옵니다.(인문계 이과생 입니다.) 그렇다고 해서 200점 아래는 아닙니다. 아직 고...
2635
vector 탐색 관련..
18
30
박현만
2796
2006-08-31
2006-08-31 05:47
이번에 STL의 vector를 남용(?)하는 수준까지 사용하고 있습니다 ㅋ 많이 사용하고 있고 그 벡터 안의 내용을 탐색하는 부분도 많습니다. 제가 궁금한 것은 탐색시 속도 관련인데요. vector를 탐색하는 방법은 두 가지가 있는...
2634
노트북 구매
9
왕의감자
1023
2006-08-31
2006-08-31 11:22
노트북 을 하나 구매 할려고 하는데 dell 노트 북입니다 xps m1210 가격은 1296000원 cpu 1.8 듀얼코어 ram 1G hdd 80G 그래픽카드 gefoce 7400 go turbocache 이정도 가격에 사양이면 노트북에서 최고의 가격대비 성능이라고...
함수간 문자열 넘기기 질문드립니다.
4
6
크로누스
1017
2006-08-31
2013-12-07 12:04
안녕하세요..__) abc 함수라는 걸 선언 해놓고 main함수에서 abc함수로 문자열을 전달할려면 어떻게 해야되는 건가요? 제가 C언어 초보입니다.
목록
쓰기
첫 페이지
14
15
16
17
18
19
20
21
22
23
끝 페이지
제목
내용
제목+내용
댓글
이름
닉네임
아이디
태그
검색
취소
void abc(char *szText);.. 로 하시고
문자열을 넘기시면 될겁니다...;;