Search:

Type: Posts; User: filker0

Page 1 of 10 1 2 3 4

Search: Search took 0.01 seconds.

  1. Replies
    4
    Views
    1,974

    I'd suggest something more like: void...

    I'd suggest something more like:
    void echofile(FILE *fp)
    {
    int n1, n2;
    int count = 0;
    char inbuffer[80];

    while (fgets(inbuffer, sizeof(inbuffer), fp))
    {
    ++count;
  2. Replies
    1
    Views
    1,910

    I'd suggest looking at the Telnet RFC (Request...

    I'd suggest looking at the Telnet RFC (Request for Comments).

    Basically, as I understand it, a telnet connection (once established) is always waiting for input, whether it knows it or not, unless...
  3. Replies
    2
    Views
    1,821

    There's a plug-in for Firefox that lets a user...

    There's a plug-in for Firefox that lets a user muck with the contents of cookies, or at least I think there is. Very few people bother to look inside cookies beyond finding out where they come from....
  4. Replies
    10
    Views
    2,059

    The standard file descriptors for stdin, stdout,...

    The standard file descriptors for stdin, stdout, and stderr are a convention inherited from the earliest days of Unix.

    On a Unix like system, the only requirement on those descriptors is that they...
  5. Replies
    27
    Views
    6,398

    I have a BA with a major in Computer Science and...

    I have a BA with a major in Computer Science and a minor in Mathematics.

    I specialized in virtual machines, computer languages, and computer architecture.

    I got my BA in 1981.

    After that, I...
  6. Replies
    10
    Views
    3,446

    I did something similar in highschool. The...

    I did something similar in highschool. The assignment was to write a research paper on a topic assigned by the prof (he pulled them out of a shoebox in order to assign them.) I got the topic...
  7. Replies
    2
    Views
    2,340

    What you're writing is called a "Cross Reference"...

    What you're writing is called a "Cross Reference" program. What you want (assuming that you're allowed to use code that you don't write yourselves to parse the source text) is an ANSI C parser, of...
  8. Replies
    2
    Views
    3,311

    An "ASCII code" is just a integer number between...

    An "ASCII code" is just a integer number between 0 and 255 that can be stored in a byte. If you view it as a character, you'll see a graphic (if there is one for that code), if you view it as an...
  9. It could be that the terminal window (or whatever...

    It could be that the terminal window (or whatever program you're using) doesn't have a good map between the font that it's using and the character set encoding (which I assume is Unicode). The fact...
  10. Replies
    10
    Views
    1,153

    It should be pointed out that there are very few...

    It should be pointed out that there are very few commands in C. What you're talking about are function or procedure calls (usually in a library), or system calls, which are often called via wrapper...
  11. Replies
    3
    Views
    4,682

    By "senior", do you mean college? If so, I'd...

    By "senior", do you mean college? If so, I'd suggest something a bit more substantial than a Keno game. My senior project was a programming language and an interpreter for that language. The...
  12. Replies
    4
    Views
    1,775

    I answered a part of this question in the Linux...

    I answered a part of this question in the Linux forum.

    You need to learn the difference between character sets and fonts. If the font you're using doesn't have a glyph for a given character, the...
  13. It seems that you've got the right character set...

    It seems that you've got the right character set support, but no font integrated to go with it. Fonts and character sets are very different things -- a font is mapped onto a character set (or is it...
  14. Replies
    10
    Views
    3,446

    I've been an instructor and a teaching assistant...

    I've been an instructor and a teaching assistant at various times in the past.

    When I graded homework, I would mark it for correctness and would also do my best to find out why the student did...
  15. Replies
    14
    Views
    3,540

    I am working to fix the broken rule. It should...

    I am working to fix the broken rule. It should be back by next Friday looking as good as new. I'm also installing a few ECOs that I discovered in product bulletins while looking for parts on-line.
  16. Replies
    2
    Views
    2,389

    Documentation and process

    A year ago I wrote up some of my observations on the software process and documentation. I posted it to my livejournal, so I won't retype it in here.

    I've worked at places where the design...
  17. Replies
    1
    Views
    1,020

    What is the purpose of the emulated i-node table?...

    What is the purpose of the emulated i-node table? You can make an arry of struct emulated_inode, where emulated_inode looks something like the actual i-node, but how far are you taking it? Will you...
  18. Replies
    3
    Views
    2,053

    Just a question; are you actually using popen()...

    Just a question; are you actually using popen() to access your patient information, or is this a typo?
  19. Replies
    12
    Views
    1,938

    The C standard may (and in C89/C90, at least,...

    The C standard may (and in C89/C90, at least, did) allow for "void main()", and even "statusReturn_t main()", but (as far as I know) any conforming POSIX C environment, I believe, requires main() to...
  20. This should be asked in a Windows specific forum...

    This should be asked in a Windows specific forum -- it's not a C language question.
  21. Replies
    8
    Views
    2,705

    It really depends on your application. ...

    It really depends on your application. Generally, on a SMP system, if 1 CPU at a given clock speed is 100%, 2 CPUs are about 170%-190%, not 200%, as you might expect. That measurement, however, is...
  22. Replies
    8
    Views
    1,652

    Your loop goes from 1 to MAX_STUDENTS, C arrays...

    Your loop goes from 1 to MAX_STUDENTS, C arrays are indexed from 0 through the number of elements - 1. As a result, you're accessing beyond the end of your array.

    I can't swear this is why the...
  23. Replies
    2
    Views
    3,937

    I'd suppose that it should work the same way in...

    I'd suppose that it should work the same way in the new process as it does in the old process. The forked process gets its own copy of argv[].
  24. Replies
    12
    Views
    6,921

    I'd suggest nano; You'll probably want to run it...

    I'd suggest nano; You'll probably want to run it with the "-w" command line switch, as this disables auto-wrap, which you generally don't want enabled when programming.
    > man nanoshould get you...
  25. Replies
    15
    Views
    5,182

    Poll: I worked on underlying code that ended up in a...

    I worked on underlying code that ended up in a few games from a company called MediaStation. "Extreme Tactics" and, er, "Rocky and Bullwinkle". The latter was a children's game that lacked physics...
Results 1 to 25 of 235
Page 1 of 10 1 2 3 4