Forum: C++ Sep 15th, 2009 |
| Replies: 8 Views: 1,166 Why can't you just write the email call from a more suitable language and invoke it from your existing c++ code? Basically make a nice little API for yourself? |
Forum: C++ Sep 15th, 2009 |
| Replies: 2 Views: 194 I see, thanks for answering that. I knew something must be going on that I couldn't remember. :) So if I were to remove the constructor or the 'long = 0' then it would no longer work I guess. ... |
Forum: C++ Sep 14th, 2009 |
| Replies: 2 Views: 194 I haven't wrote in C++ for a long time so I decided to brush up a bit by writing some basic programs. I wrote a class that allows for basic arithmetic of infinitely large numbers (or as much as you... |
Forum: C Apr 15th, 2009 |
| Replies: 9 Views: 402 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: 368 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: 368 Frodo as in the commodore 64 emulator? |
Forum: C Apr 14th, 2009 |
| Replies: 9 Views: 402 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: 368 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: 368 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: 402 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: 402 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... |
Forum: Legacy and Other Languages Dec 2nd, 2008 |
| Replies: 0 Views: 647 I was hoping that someone here is familiar enough with NATURAL to answer a few questions regarding some of its data types.
My first question is how are pact variables (p*) stored versus numerical... |