Other related lotto program in c programming language

Asked By 30 points N/A Posted on -
qa-featured

Programming language C is not so far with C++ they are still related to each other, I am just confused why sometimes I don't understand some algorithm in C than C++. I am having a hard time coding lotto program, can you please give me some sample codes for C?

SHARE
Best Answer by Opland Pamela
Answered By 0 points N/A #154517

Other related lotto program in c programming language

qa-featured

Hi,

C language and C++ are not so far from each other. But the C++ is newer than C. Therefore there is some difference and C is more complex than C++. That is why you are facing difficulties with algorithm. For particular algorithm, C and C++ codes are not same. You can learn C codes by referring this link.

Best Answer
Best Answer
Answered By 0 points N/A #154518

Other related lotto program in c programming language

qa-featured

Hello Clive Walker,

 

It is true that C and C++ are related to each other, but C is an old language so some parts may be lacking compared to newer languages. If you are having problems understanding some algorithm in C then do this:

– Try to convert an algorithm written in C code to its logical step. If you don't understand C then try to find the algorithm name and logic.

– Once you understand the steps, convert it to C++ language.

That should be easy enough. For lotto algorithms you should be able to find it here: http://www.lottostrategies.com/script/showpage/1001040/h/algr_summary.html

and for a sample code in C you should be able to find it here: http://cboard.cprogramming.com/c-programming/142144-lotto-program-c.html

 

Hope this helps.

Login/Register to Answer

Related Questions