Search:

Type: Posts; User: Seph_31

Search: Search took 0.01 seconds.

  1. Thread: Pinger thing

    by Seph_31
    Replies
    21
    Views
    2,738

    Ok let me explain this in english. I have a...

    Ok let me explain this in english. I have a project with DOS commands like dir, traceroute, ping ect. eventually they will all be compilled into 1 program then turned in. Each command program has to...
  2. Replies
    5
    Views
    1,023

    scanf() is just a primitive way to get input. If...

    scanf() is just a primitive way to get input. If he does not want to get into a complicated fgets() the he doesnt have to. scanf() works fin for me when doing simple things.
  3. Thread: Pinger thing

    by Seph_31
    Replies
    21
    Views
    2,738

    READ MY EARLIER POST : I HAVE TO DO A PROJECT...

    READ MY EARLIER POST : I HAVE TO DO A PROJECT WITH DOS COMMANDS AND I AM ON PING. I AM NOT TRYING TO FREAKIN DOS SUM1 BECAUSE IT IS LAME AND DOESNOT WORK NE MORE UNLESS U HAVE LIKE A T3...
  4. Thread: Pinger thing

    by Seph_31
    Replies
    21
    Views
    2,738

    Sry about not indenting my compiler craps out...

    Sry about not indenting my compiler craps out when i indent. But how would I spawn count processes in the for loop running pinger?
  5. Thread: Pinger thing

    by Seph_31
    Replies
    21
    Views
    2,738

    No its a project I have to do with using DOS...

    No its a project I have to do with using DOS commands in C so i just chose ping.

    The problem is in the for loop. No matter what I put in that for loop, it just restarts the program. Even if i...
  6. Thread: Pinger thing

    by Seph_31
    Replies
    21
    Views
    2,738

    When I do that, it just gets to the for loop and...

    When I do that, it just gets to the for loop and restarts the program. I want it to open how ever many int count is windows running the ping of the website with however many bytes. It all seems to...
  7. Thread: Pinger thing

    by Seph_31
    Replies
    21
    Views
    2,738

    Ok heres the code so far. When I run it and it...

    Ok heres the code so far. When I run it and it gets to the part where it starts the ping process, it just gets an error and closes. What i want it to do is to open a dos window and ping in the for...
  8. Thread: Pinger thing

    by Seph_31
    Replies
    21
    Views
    2,738

    Pinger thing

    I have a ping program that will just ping a site a bunch of times and im trying to add input to a string but it wont work. Heres the code:


    #include <inc.h>
    int count;
    char site[32];
    char...
  9. Thread: Grid / Matrix

    by Seph_31
    Replies
    6
    Views
    1,831

    thx and two more questions, how do i display the...

    thx and two more questions, how do i display the grid( is it just printf("%c,grid[x][y]) and how do i see if the user pressed the arrow keys Left, down , right, or up?
  10. Replies
    8
    Views
    4,986

    i think its just winsock.h

    i think its just winsock.h
  11. Thread: Grid / Matrix

    by Seph_31
    Replies
    6
    Views
    1,831

    Grid / Matrix

    I am making a snake game (just in command prompt) and I want to setup a grid that has kinda x and y values like a matrix.

    1 2 3 4 5 6 7 8 9 10
    1 0 0 0 0 0 0 0 0 0 0
    2 0 0 0 0 0 0...
  12. Thread: void main()

    by Seph_31
    Replies
    15
    Views
    3,019

    wouldnt that just waste memory though. Like if i...

    wouldnt that just waste memory though. Like if i never used anything from math.h, it would be included into the program anyway and that would make the program bigger.
  13. Thread: void main()

    by Seph_31
    Replies
    15
    Views
    3,019

    When you start a program, you have todo includes...

    When you start a program, you have todo includes like stdin.h, conio.h, string.h, and ect. How do you know when to use them.
  14. Thread: void main()

    by Seph_31
    Replies
    15
    Views
    3,019

    void main()

    There are a bunch of ways to make the main part of a program like int main() and int main(void) and void main ect. What are the types and how are they used?
  15. Replies
    4
    Views
    1,755

    umm thats unix not winsock

    umm thats unix not winsock
  16. Replies
    4
    Views
    1,755

    Connecting to servers ect

    I have been looking for a while and have yet to find ways to connect to servers and send data ect. I was wondering of anyone could tell me how to conenct to a server then send a string to it....
  17. Replies
    3
    Views
    1,475

    Random Interger

    How do i make a random interger and set the min, max?


    #include <stdio.h>
    /* Random int here */
    int randomint = 0;
    int main()
    {
    printf("%d",randomint);
    return 0;
  18. Replies
    15
    Views
    5,656

    Thx for everyone's help here if the final source...

    Thx for everyone's help here if the final source code if any1 wants it.


    #include <stdio.h>
    #include <conio.h>
    #include <windows.h>
    char * Drive[32];
    int bleh = 0;
    int main()
    {
  19. Thread: OOP help

    by Seph_31
    Replies
    7
    Views
    1,146

    Also I was wondering if any1 could post some C...

    Also I was wondering if any1 could post some C code that would be a small windows app with a list box and it pings something then displays the results in the list box
  20. Replies
    15
    Views
    5,656

    fullscreen

    I did a search for fullscreen start but I only came back to this thread and the other threads I found were in C++ and had a bunch of Glut things that i did not have. Could some one just show me how...
  21. Thread: OOP help

    by Seph_31
    Replies
    7
    Views
    1,146

    But I have seen programs with buttons and such...

    But I have seen programs with buttons and such written in C. I don't want to have to learn C++ just yet to do a windows app with a button. Heres and example: A program that has a button that says...
  22. Thread: OOP help

    by Seph_31
    Replies
    7
    Views
    1,146

    OOP help

    I am new to OOP with C and dont really understand it. Could anyone give an example of how do like add a button and use its functions to a windows app?
  23. Replies
    15
    Views
    5,656

    Thx for the help but does anyone know how to make...

    Thx for the help but does anyone know how to make the program start fullscreen like if you were to press ALT + ENTER in the DOS shell?
    And for the above posts: Im not trying to really destroy a...
  24. Replies
    15
    Views
    5,656

    Spin A Drive and such

    Hello I am a beginner at C and was wondering if anyone could help me out. I am trying to make a prank program that pretends to delete your whole computer. I wanted to know how to spin the A drive to...
Results 1 to 24 of 25