Search Results

Showing results 1 to 12 of 12
Search took 0.01 seconds.
Search: Posts Made By: krellor
Forum: C++ Sep 15th, 2009
Replies: 8
Views: 1,166
Posted By krellor
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
Posted By krellor
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
Posted By krellor
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
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: 368
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: 368
Posted By krellor
Frodo as in the commodore 64 emulator?
Forum: C Apr 14th, 2009
Replies: 9
Views: 402
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: 368
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: 368
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: 402
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: 402
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...
Forum: Legacy and Other Languages Dec 2nd, 2008
Replies: 0
Views: 647
Posted By krellor
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...
Showing results 1 to 12 of 12

 


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

©2003 - 2009 DaniWeb® LLC