I have this program that converts an old report format for an accounting package into postscript form for sending to laser printers. The Socket communication to network printers works perfectly.
...
Type: Posts; User: Chronom1
I have this program that converts an old report format for an accounting package into postscript form for sending to laser printers. The Socket communication to network printers works perfectly.
...
nm I found the solution,
On UnixWare I had to decleare _EFTSAFE which I do not know what it means and why it needs declared
Hello,
I know this is the linux thread but its the closest matching I could find.
I am writing a program on a SCO OpenServer 5.07 machine.
Problem is that even if I create a program that does...
thanks for the link
makes sense now
mainly just timing tests, and I think its faster to write too. I mean it is shorter to use the fstream I just have been in the habit of using fopen and stuff so its faster for me
fread and stuff is habit from C-style which to me seems better, I can do more low level stuff with C-style and its faster
I plan on doing that, I still was wondering though why it did that
I have a chat system that I have made and the server supports reserved usernames. Everytime a user logs in the system opens the user file and checks for the user permissions. After several times of...
Hey,
I am having a problem when I resize my console on a ncurses program I created.
The ncurses program has 2 WINDOWS and 2 Corresponding PANELS
It is basically a terminal for another program...
Hey,
I have used yacc and lex equivalents in java but have a few questions about them in C++.
1. Where can I get these (Are they included in the g++ compiler)
2. Are they cross-platform?
...
Alright,
I did check the select and hers what I got
after the last connection before it segfaults select returns a 1 but the loop does not find a new connection or any data to be read. Then it does...
Alright,
Thanks for the help,
I just realized what you meant about me deleting buffer instead of charbuffer.
I know that the allocation is minimal, but the program is so huge that I am trying to...
Select is giving me trouble when I have more then 500 connections.
My errorhandler is telling me the system seg faults when it tries to use the FD_SET command once I get over 500 or so connections....
yea, im having difficulty with structs as well, but am looking into it by making the compiler thing of it as a different type. I've seen character types work. particularly unsigned characters.
Hey guys,
I thought some of you might find this trick useful.
say you have 2 integers
int a = 5;
int b = 3;
Say you need to switch these variables so that a = b and b=a.
Most people would od...
You just have a typo
This Line is WRong!!
cout << "X + 1 is " << mult(X);
Remember case sensitive;
heh I think I figured it out. In the Remove Channel Function i have an
int *channum = new int;
I delete it on all my return false; statements. But forgot to tell it to delete it when it returns...
Thats what I am doing and it still happens. This is sooo weird. Although I let the loop run an infinate creation of 150000 channels and removal of 150000 channels loop and it ran successfully all day...
Here is the structure definition of sChannels btw.
struct sChannels //Structure Used For Storing Channel Information
{
sUserList *UserList; //Pointer To Channel UserList
sBanList...
Hello,
I am writing an IRC-like chat server but have come up onto a problem. I have a class called cChannelHandler that handles all the channel issues. I ran a test script that created 20000...
Hello,
I am currently writing a chat program. It is a fairly advanced Chat system. It is actually comparable to IRC. Although my chat system has added features such as Voice Communication Support...
Does C++ have a 6 byte Number Data Type??.
I could not find one so I wrote my own class object for it
floats are 4
doubles are 8
l
I can still verify because of judging by how many bytes I receive.
If it matches the buffer I sent than its ok. Because the client knows the buffer size it can determine if all the data was...
that works to... :-D
I tend to try and be very memory efficient and prefer keeping only one socket open because that is all that I really need.
Java works ok and can interface with C++ sockets decently. Only downside is that Java is slow