Search:

Type: Posts; User: joshua

Search: Search took 0.01 seconds.

  1. Replies
    6
    Views
    2,615

    i was in the first competitions for about 2...

    i was in the first competitions for about 2 years, i wont tell you what team i was on cause we placed pretty low. But last year a team set up a forum on some chief delphi website that allowed teams...
  2. Thread: looping quest..

    by joshua
    Replies
    5
    Views
    1,387

    looping quest..

    i have a a switch statement with about 10 cases. What i want the program to do is pretty much run the entire program again. I tried not putting in the break at the end of each case, but the program...
  3. Replies
    3
    Views
    1,822

    switch statements

    is there anyway to make a switch statement run forever instead of just breaking if one case is satisfied
  4. Thread: Switch help plz

    by joshua
    Replies
    2
    Views
    1,003

    Switch help plz

    ghjgyj
  5. Thread: while

    by joshua
    Replies
    2
    Views
    1,140

    while

    can i add a bunch of stuff into a while statement?

    like

    while(V=getchar() != EOF; V=oisdfjilwef)
  6. Replies
    1
    Views
    958

    quick do while loop question

    If i have an unknown constant that the user must input in the do portion of the do-while loop, do i have to define the constant in the DO statement like


    [/code]
    do {
    int c;

    c = getchar()
  7. Thread: string help plz

    by joshua
    Replies
    6
    Views
    964

    thanks all

    thanks all
  8. Thread: string help plz

    by joshua
    Replies
    6
    Views
    964

    if i put the prototype in my header file...

    if i put the prototype in my header file sstring.h will that have the same effect and putting it before main?
  9. Thread: string help plz

    by joshua
    Replies
    6
    Views
    964

    I thought that all programs start with the main...

    I thought that all programs start with the main function and end when the main function ends, so where should i put ssFind?
  10. Thread: string help plz

    by joshua
    Replies
    6
    Views
    964

    string help plz

    the ssFind is suppose to return the starting character position of toFind within src, if src does not contain toFind, 0 is returned.

    AM i close or way off? Im suppose to be indexing based on 1,...
  11. Thread: Indexing 1

    by joshua
    Replies
    1
    Views
    913

    Indexing 1

    What does "all indexing is based on 1"

    i know that C automatically does everything based on 0, how do i get it to 1?


    do i just go


    /code
  12. Replies
    3
    Views
    1,464

    Getting a substring help plz

    My assignment is to get a substring from a string called *src. The substring may be chars, words, items, fields, or records as determined by delims.


    First off, im not sure how to "get" a...
  13. Replies
    6
    Views
    1,255

    I Love You!!!

    I Love You!!!
  14. Replies
    6
    Views
    1,255

    when you say my do while loop is over, do you...

    when you say my do while loop is over, do you mean it wont loop anymore?
  15. Replies
    6
    Views
    1,255

    Do while help please

    Im making a do while loop for C and the part I'm having trouble with looks like this




    char y;

    do
    {
    printf("On this machine the number of bytes in a char is : %d\n", sizeof(char));
Results 1 to 15 of 15