Search Results

Showing results 1 to 8 of 8
Search took 0.01 seconds.
Search: Posts Made By: krellor ; Forum: C and child forums
Forum: C Apr 15th, 2009
Replies: 9
Views: 432
Posted By krellor
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
Posted By krellor
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
Posted By krellor
Frodo as in the commodore 64 emulator?
Forum: C Apr 14th, 2009
Replies: 9
Views: 432
Posted By krellor
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
Posted By krellor
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
Posted By krellor
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
Posted By krellor
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
Posted By krellor
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...
Showing results 1 to 8 of 8

 


About Us | Contact Us | Advertise | DaniWeb | Acceptable Use Policy | RSS Feed

©2003 - 2009 DaniWeb® LLC