Search:

Type: Posts; User: kenneth_888

Search: Search took 0.01 seconds.

  1. Replies
    13
    Views
    8,488

    can u start me off ?? use switch statement? ...

    can u start me off ?? use switch statement?

    switch (keepRoll)
    case 1: if ( count[0] == input)
    ++count;
  2. Replies
    17
    Views
    2,458

    i dont know where to start off writing the...

    i dont know where to start off writing the algorithm with the serial controller.
    do i decode the hex into binary then binary corresponds to the segment table to display the digit out??
  3. Replies
    17
    Views
    2,458

    im not askin for the code, just a guide line of...

    im not askin for the code, just a guide line of how to write a serial controller code.
    and i did say if u dont want to help its okay
  4. Replies
    13
    Views
    8,488

    ive done this so far, but how do u keep the dice...

    ive done this so far,
    but how do u keep the dice that i want and re roll the one i didnt keep?


    #include <iostream>
    #include <cstdlib>
    #include <ctime>
    using namespace std;
  5. Replies
    17
    Views
    2,458

    what?if u dont wana help its okay

    what?if u dont wana help its okay
  6. Replies
    13
    Views
    8,488

    thanks im just trying to learn give an old man...

    thanks
    im just trying to learn give an old man a break
  7. Replies
    17
    Views
    2,458

    pseudo code is the process of telling you the...

    pseudo code is the process of telling you the step of what does the programme do with english terms and a bit of code in it
    like this:

    area of triangle:

    input num1 and num2
    compute area of...
  8. Replies
    13
    Views
    8,488

    no its not for school just happens we share the...

    no its not for school just happens we share the same game?i dont want to use class, just simple loops and iterations will do.
    im retired, im an old man lol
    i just would like the code so i can...
  9. Replies
    17
    Views
    2,458

    i would like a pseudo code for these: input...

    i would like a pseudo code for these:

    input stream (algorithm for this)
    Call (decoder) ( algorithm for this)
    Call (7 Segment) ( algorithm for this)
    Output outcome (algorithm for this)

    This...
  10. Replies
    13
    Views
    8,488

    thanks, i feel too bored with my free time after...

    thanks,
    i feel too bored with my free time after bein retired lol
    this is the output i would like to acheive using the above criteria with loops.can someone write out the code so i can study it...
  11. Replies
    17
    Views
    2,458

    the problem is i need an algorithm so i can write...

    the problem is i need an algorithm so i can write a c++
  12. Replies
    17
    Views
    2,458

    i know the basic stuff like input and output i...

    i know the basic stuff like input and output
    i just need the body part of the algoirthm.
    The controller controls 7 segment display. It either increment or decrements the digit displayed on the 7...
  13. Replies
    17
    Views
    2,458

    Serial controller algorithm

    hi all,
    i would like to implement a serial controller controlling 7 segment display to c++.
    Can anyone just give me an algorithm so i can apply it to c++ coding??i dont need the code just plain...
  14. Replies
    13
    Views
    8,488

    Yahtzee C++ programme help

    hi all,
    i would like to make a yahtzee game but i would like some help to get it started i dont know where to start from??
    I would like to keep it simple and use the following:
    While loop
    For...
  15. Replies
    2
    Views
    2,552

    im not too sure how to add these following...

    im not too sure how to add these following function into the code:

    void computerMove(Gamestate &);
    int checkWinner(Gamestate, &);
    bool saveGame (GameState, char []);
    bool loadGame (GameState &,...
  16. Replies
    2
    Views
    2,552

    Connect four game help

    hi all i know this might be a simple game for you guys but i need help with it, if anyone is willing to help then i thank u in advance.

    ive define this structure:

    struct Gamestate
    {
    char...
  17. Replies
    3
    Views
    1,191

    i did this now but still problems??i duno where...

    i did this now but still problems??i duno where the problem is??



    #include<iostream>
    #include<string>
    using namespace std;

    int main()
    {
  18. Replies
    5
    Views
    1,259

    ohh i c thanxs, what about with negative...

    ohh i c thanxs, what about with negative numbers??its not possible right
    i guess theres nothing wrong with my programme unless i input a big integer.
  19. Replies
    3
    Views
    1,191

    String help!!

    i wrote this programme that will read a sentence from standard input and output the sentence with spacing corrected and letters corrected for capitalization. in other words if the input sentence has...
  20. Replies
    5
    Views
    1,259

    well i would to be able to input to 10000

    well i would to be able to input to 10000
  21. Replies
    5
    Views
    1,259

    Recursion programme

    Is anyone able to code this?
    ive done a sample already look at it:

    1 1 2 0 3 -1 4 -2 5....

    such that the 3 terms are 1, 1 and 2 and each term thereafter is defined recusively as the sum of the...
Results 1 to 21 of 21