프로그래밍 QnA

Seven..의 이미지

소스 앞에 +는?

CVS나 RCV(?) 명칭이 맞나요?
다중 사용자의 합동 프로그래밍...하는.. 거 맞죠? 여튼;;

이런곳에 보면

소스중에 수정한 곳에 맨 앞에 + 이렇게 붙고 또는 - 붙고 하는데

이건 소스에 직접 넣는건 아니겠죠? -_-;;;

CVS같은것이 붙여주는건가요 아니면

그런것으로 볼때만 나오는건가요?

horse76의 이미지

[질문] Qt프로그래밍 질문입니다.

<client.h>
...
....
signal:
void kk(); //선언 userdefine 함수
...
...

<view.cpp>

void jj()
{
..
connect(client, SIGNAL(kk()), this, SLOT(kk()));
..
}
void kk() //구현
{
}

많은 클래스 들이 있습니다 ....그중client.h에 signal에 kk();라는 함수가 정의만되어있습니다. 그리고 사용하는 부분 view.cpp에는 kk함수가 구현되어 있고 signal인 kk가 clieck같이 버튼같은 것을 눌렀을때 발생하는 시그널이 아닙니다. 그런데 위와같이 kk 시그널이 발생했을때 kk처리함수로 처리하라는 의미는 무엇인지 궁금합니다.

swhong의 이미지

what is &quot;salvation through suffering philosophy&quot;

리치와 톰슨이 쓴 "The UNIX Time-Shaing System"논문을 읽어보다가, Perspective 부분에서 다음과 같은 부분을 발견하였습니다.

Three considerations which influenced the design of UNIX are
visible in retrospect.

First, since we are programmers, we naturally designed the
system to make it easy to write, test, and run programs. The
most important expression of our desire for programming
convenicence was that the system was arranged for interactive
use, even though the original version only supported only one
user. We beliebe that a properly-designed interactive system is

swhong의 이미지

what is &quot;salvation through suffering philosophy&quot;

리치와 톰슨이 쓴 "The UNIX Time-Shaing System"논문을 읽어보다가, Perspective 부분에서 다음과 같은 부분을 발견하였습니다.

Three considerations which influenced the design of UNIX are
visible in retrospect.

First, since we are programmers, we naturally designed the
system to make it easy to write, test, and run programs. The
most important expression of our desire for programming
convenicence was that the system was arranged for interactive
use, even though the original version only supported only one
user. We beliebe that a properly-designed interactive system is

i_wish_awk_sed_perl의 이미지

데몬으로 파일에 기록하기.

간단하게 나마 데몬 프로세스를 만들고 파일에 프로세스 번호를 기록하려고 합니다만 파일은 생성이 되지만 파일에 프로세스 번호를 기록하지 못하고 있습니다.

[code:1]
/* inet6_proc_daemon.c */

#include "inet6_proc_daemon.h"

void pid_fileopen(char *name);

int main(int argc, char *argv[])
{
pid_t pid;

if(argc < 2)
{
fprintf(stderr, "agrc error\n"); exit(0);
}

if((pid = fork()) < 0) exit(0);

exsider의 이미지

xml 과 스타일 시트 관련 질문

스타일 시트를 사용하는 xml 페이지를 만들어서 로컬에서 확인하면
스타일 시트가 적용된 형태로 표시됩니다.
그런데 스타일 시트와 xml 페이지를 원격 서버에 올려 놓고 웹브라우저로
확인하면 스타일이 적용되지 않은 형태로 보입니다.
웹브라우저에서 스타일시트를 따로 다운받은 후 xml페이지를 보면 다시
적용되네요.
원래 이런식으로 동작하는 건가요???

jagalchee의 이미지

한국 C 프로그래머들이 주로 사용하는 뉴스그룹 같은거 없나요?

한국인 C 프로그래머들이 주로 사용하는 뉴스그룹이 있다고 들었습니다.
주소가 어떻게 되는지 궁금합니다.

C 프로그래머이외에, C++, JAVA, Python 등등 여러 언어들에 관한 한국 프로그래머들이 주로 사용하는 뉴스그룹이 어디인지 궁금합니다.

wan2sky의 이미지

C 언어에서 Declarations과 definitions 차이점이.

정확히 어떻게 다른 것이죠.

참고자료를 봐도 딱히 이해가 안되네요.

대충 Declarations은 컴파일러에게 함수나 변수를 선언했다는 것을 알리고,
definitions은 컴파일러에게 함수나 변수를 (here)에 만들어라.

라고 되어 있는데

설명 해주실 분 계신가요.

akaun의 이미지

redhat 7.3에서 snmp 데몬을 올리고 interface 정보 가져오는 방

redhat 7.3에서 snmp 데몬을 올리고 linux machine에 있는
ethernet interface의 정보를 보려고 하는데
해당 mib을 접근할수가 없습니다.
windows 2000이아 router, switch등은 되는데
linux에서는 snmp에 setting이 필요한지요?

gostop의 이미지

[질문] 이게 왜 세그폴트가 날까요?

int port, ch;

while((ch=getopt(argc, argv, "p"))!=EOF) {
        switch(ch) {
                case 'p':
                        port=atoi(optarg);
                        break;
                default:
                        exit(0);
                }
}
printf("port: %d\n", port);

./port -p 4941
Segmentation fault (core dumped)

페이지

프로그래밍 QnA 구독하기