can u start me off ?? use switch statement?
switch (keepRoll)
case 1: if ( count[0] == input)
++count;
Type: Posts; User: kenneth_888
can u start me off ?? use switch statement?
switch (keepRoll)
case 1: if ( count[0] == input)
++count;
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??
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
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;
what?if u dont wana help its okay
thanks
im just trying to learn give an old man a break
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...
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...
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...
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...
the problem is i need an algorithm so i can write a c++
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...
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...
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...
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 &,...
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...
i did this now but still problems??i duno where the problem is??
#include<iostream>
#include<string>
using namespace std;
int main()
{
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.
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...
well i would to be able to input to 10000
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...