Hi, Silly question from a new C programmer... I get a segmentation fault in the following code:
#include <stdio.h>
int main(void)
{
double YRaw[4000000]={0};
return 0;
}
Using GDB, I get...
Type: Posts; User: gkkmath
Hi, Silly question from a new C programmer... I get a segmentation fault in the following code:
#include <stdio.h>
int main(void)
{
double YRaw[4000000]={0};
return 0;
}
Using GDB, I get...
Hi Brewbuck,
OK, I commented out those struct's and now it's working fine. THANK YOU so much!!!
-gkk
Thanks Brewbuck,
That's very useful to know. When I change the line to:
if(connect(MySocket,(struct sockaddr *) &MyAddress,
sizeof(struct sockaddr_in))==-1) perror("connect()");
I get...
Hi Experts, I'm writing a C program (attached) to establish a TCP socket connection from my Mac Pro to a Windows XP-based test instrument sitting next to it over LAN (Ethernet). The program compiles...