Search:

Type: Posts; User: SavesTheDay

Page 1 of 4 1 2 3 4

Search: Search took 0.02 seconds.

  1. Replies
    3
    Views
    1,609

    weird question

    #include <stdio.h>
    #include <string.h>
    #include <stdlib.h>

    int number, flag=1;
    int w,h,n;

    int tall,wide,position,x=0,y=0,a=0;
    char line[50],common[50];
    FILE *ifp;
  2. Replies
    5
    Views
    1,283

    hey dude! whats going on....of course you know me...

    hey dude! whats going on....of course you know me just now starting to work on this! hope Discrete ended up ok...did WAR III work for you? tell Neil im sorry i havent made a copy for him yet...ill...
  3. Replies
    5
    Views
    1,283

    also...what exactly does the: ...

    also...what exactly does the:

    fgets(line,100,ifp);

    line do....i understand the concept..it stores the input in variable line....it the second parameter, 100, the amount of characters to read...
  4. Replies
    5
    Views
    1,283

    * functions *

    I've got a question about functions.....here is the current code that I have...



    #include <stdio.h>
    #include <string.h>
    #include <stdlib.h>

    main()
    {
  5. Thread: 2-D Arrays

    by SavesTheDay
    Replies
    6
    Views
    1,082

    Sounding arrogant would be naming myself: ...

    Sounding arrogant would be naming myself:

    "THESMARTESTPROGRAMMERINTHEWORLDWHOHASSEXWITHYOURMOTHEREVERYNIGHTANDWHOKNOWSEVERYTHING"

    or I could go with something as BOLD and chicken **** such as...
  6. Thread: 2-D Arrays

    by SavesTheDay
    Replies
    6
    Views
    1,082

    It's a band, you dolt. You really aren't funny.

    It's a band, you dolt. You really aren't funny.
  7. Thread: 2-D Arrays

    by SavesTheDay
    Replies
    6
    Views
    1,082

    2-D Arrays

    Hello.

    I have a few questions for everyone. We have a large programming assignment we are working on. We have to make a program which arranges rectangles on a giant x,y grid (a bigger...
  8. Replies
    3
    Views
    1,286

    Well, I got my fgets() working...but how do I...

    Well, I got my fgets() working...but how do I recognize when I come across a space in my line? What is the space character...when I come across a space, I want to stop...
  9. Replies
    3
    Views
    1,286

    Quick Question.

    [code]
    #include <stdio.h>
    #include <string.h>

    main()
    {
    int tall,wide,size,x=0;
    char line[100],temp[100];
    FILE *ifp;
  10. Replies
    5
    Views
    14,650

    dude! hahaha....i can't believe you read that...

    dude! hahaha....i can't believe you read that this late....it's 2am and our programming is finally working....you gotta give me your e-mail addy and name so I can write you sometime....how did the...
  11. Replies
    5
    Views
    14,650

    What is The VK_Pause, We're suppose to write a...

    What is The VK_Pause, We're suppose to write a program that exits when someone strikes the Break Key, and we don't know how to accomplish this.
  12. Replies
    1
    Views
    1,016

    Records. *look*

    well here is my problem....this might be a bit hard to explain.....we have a structure containing the 3 fields firstname, lastname, and phonenumber.....the program we are making is like an address...
  13. Replies
    5
    Views
    14,650

    Ascii value for "break" key

    Does anyone know the ascii value for the pause/break key?
  14. Replies
    3
    Views
    2,432

    that code works fine when i pass a q.....but if i...

    that code works fine when i pass a q.....but if i don't pass anything the code flips out and shut down....suggestions??
  15. Replies
    3
    Views
    2,432

    * quick question *

    mmmm....I have a real quick question I hope someone can answer within an hour and a half....heh....here's the thing......

    We need to create a way to put our code into "silent mode"....if the user...
  16. Replies
    6
    Views
    1,861

    Fayetteville Rocks!

    Fayetteville Rocks!
  17. Replies
    4
    Views
    1,421

    Try something like..... #include ...

    Try something like.....



    #include <stdio.h>
    #include <conio.h>

    int main()
    {
    int x,y;
  18. Replies
    1
    Views
    972

    mmm....i think i fixed my problem....i just...

    mmm....i think i fixed my problem....i just realized that i was trying to send an array over the port...



    char send1[5]="1011";

    outportb(0x378,send1);


    that was a real dumb mistake....i...
  19. Replies
    1
    Views
    972

    Quite a Bit of Code....Any Takers?

    mmm....well here it is...the program I've been trying to work for awhile now.......it is supposed to offer chatting over the parallel port with 2 DOS based computers...it's not working though and I...
  20. Replies
    4
    Views
    2,033

    gr.........remove the 400 lines of commenting...

    gr.........remove the 400 lines of commenting before you post it, so everyone can read the code better..
  21. Replies
    1
    Views
    1,017

    Speed of Loops.

    while (receive[x]!='\0')
    {
    int Byte=Read_Input();

    if ((Byte!=0) && (y==0)
    {
    restoreBits(Byte);
    restoreSend1();
    y++;
    ...
  22. Replies
    6
    Views
    9,872

    I made one during Chemistry class...it's pretty...

    I made one during Chemistry class...it's pretty simple...goes like this:



    char FullBinary[9]="10101100";
    int Binary[8]={128,64,32,16,8,4,2,1};
    int x,Total;

    for (x=0; x<=8; x++);
    ...
  23. Replies
    15
    Views
    2,226

    weird...i'm in a hurry now so I don't really have...

    weird...i'm in a hurry now so I don't really have time to mess with it...but off the top of my head I would *guess* that when the characters are being read in, something funny is going on.....since...
  24. Replies
    15
    Views
    2,226

    That was one problem...the other problem was...

    That was one problem...the other problem was this:



    This was setting the MAX to what J was....you are using j for the loop counter...you want the MAX to be the VALUE of j, then store the...
  25. Replies
    3
    Views
    2,959

    Calloc vs. Malloc

    Er. Can anyone tell me the difference between calloc(); and malloc(); To me, it looks like they do the same thing.........
Results 1 to 25 of 77
Page 1 of 4 1 2 3 4