Forum: C Apr 15th, 2009 |
| Replies: 9 Views: 432 Actually, NID is fine. The problem is that I use a TN3270 emulator to connect to the mainframe from Windows. What this means is that the hex code for [] in the mainframe is different than in the... |
Forum: C Apr 14th, 2009 |
| Replies: 9 Views: 384 To be honest, I've never heard of it. Obviously it is not finding the header files. You might need to ask your sysadmin what steps you need to take to compile C in your working directory, or to... |
Forum: C Apr 14th, 2009 |
| Replies: 9 Views: 384 Frodo as in the commodore 64 emulator? |
Forum: C Apr 14th, 2009 |
| Replies: 9 Views: 432 Ok. Well, let me post a section of the original code and then my re-write of it.
Original Code
int main (int argc, char *argv[])
{ /* 01 */
FILE *fd;
char host[20]="xups.uni.edu";
char... |
Forum: C Apr 14th, 2009 |
| Replies: 9 Views: 384 Ok, so it looks like that code is for UNIX. Are you running windows? If you are you can try this C socket tutorial:
... |
Forum: C Apr 14th, 2009 |
| Replies: 9 Views: 384 Could you link to the example? First thing that springs to mind is that the example was made for a different platform (UNIX v WIndows) and the headers are not being found. But without more info I... |
Forum: C Apr 14th, 2009 |
| Replies: 9 Views: 432 Ok, that makes sense. But to clarify, if argv[1] holds the value "1234" will using strcpy that way that I am above cause it to copy "1234" or will it go to the address space "1234" and start copying... |
Forum: C Apr 14th, 2009 |
| Replies: 9 Views: 432 Stupid question. Haven't done production C in a while and just inherited some legacy code. In case it makes a difference it is running out of OMVS on a Z/OS IBM mainframe. The C program is invoked... |