Search:

Type: Posts; User: Chronom1

Page 1 of 2 1 2

Search: Search took 0.01 seconds; generated 20 minute(s) ago.

  1. Communicating with windows shared printer

    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.
    ...
  2. Replies
    1
    Views
    1,677

    nm I found the solution, On UnixWare I had to...

    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
  3. Replies
    1
    Views
    1,677

    FTW Will not compile in Unix

    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...
  4. Replies
    7
    Views
    1,079

    thanks for the link makes sense now

    thanks for the link

    makes sense now
  5. Replies
    7
    Views
    1,079

    mainly just timing tests, and I think its faster...

    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
  6. Replies
    7
    Views
    1,079

    fread and stuff is habit from C-style which to 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
  7. Replies
    7
    Views
    1,079

    I plan on doing that, I still was wondering...

    I plan on doing that, I still was wondering though why it did that
  8. Replies
    7
    Views
    1,079

    file access problem

    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...
  9. Replies
    1
    Views
    1,909

    Problem with NCurses

    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...
  10. Thread: Yacc and Lex

    by Chronom1
    Replies
    1
    Views
    1,794

    Yacc and Lex

    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?

    ...
  11. Replies
    5
    Views
    2,241

    Alright, I did check the select and hers what I...

    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...
  12. Replies
    5
    Views
    2,241

    Alright, Thanks for the help, I just realized...

    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...
  13. Replies
    5
    Views
    2,241

    Select handling more then 500 connections

    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....
  14. Replies
    10
    Views
    1,489

    yea, im having difficulty with structs as well,...

    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.
  15. Replies
    10
    Views
    1,489

    Switching byte values between variables

    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...
  16. Thread: Functions

    by Chronom1
    Replies
    1
    Views
    763

    You just have a typo This Line is WRong!! ...

    You just have a typo

    This Line is WRong!!


    cout << "X + 1 is " << mult(X);


    Remember case sensitive;
  17. Replies
    5
    Views
    1,035

    heh I think I figured it out. In the Remove...

    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...
  18. Replies
    5
    Views
    1,035

    Thats what I am doing and it still happens. This...

    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...
  19. Replies
    5
    Views
    1,035

    Oh

    Here is the structure definition of sChannels btw.




    struct sChannels //Structure Used For Storing Channel Information
    {
    sUserList *UserList; //Pointer To Channel UserList
    sBanList...
  20. Replies
    5
    Views
    1,035

    Problem Deleting Part of a Linked List

    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...
  21. Thread: Is This Fast

    by Chronom1
    Replies
    3
    Views
    2,464

    Is This Fast

    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...
  22. Replies
    5
    Views
    5,593

    A 6 Byte Number Data Type

    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
  23. Replies
    14
    Views
    47,071

    I can still verify because of judging by how many...

    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...
  24. Replies
    14
    Views
    47,071

    that works to... :-D I tend to try and be very...

    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.
  25. Java works ok and can interface with C++ sockets...

    Java works ok and can interface with C++ sockets decently. Only downside is that Java is slow
Results 1 to 25 of 45
Page 1 of 2 1 2