#TC1017 #WorkHard
Hey blogers!!
Finally we have finished our #SUDOKU and we happy to share it with you
the most difficult part in my opinion was to catch a logical way to write the code;
we had many difficulties but the program is functional now; It just have some stetic details to fix.
Check our code and try to win!
Link: https:/
#TC1017 #SUDOKU #FinalProject #WorkHard
Hey everybody!
We have been working on the SUDOKU, currectly we have the basic code and now it just have some details to fix. One of the most difficult parts in my opinin was to print the text in color because we tried many different ways but it didn’t work until yesterday!!!
I’ll continue submmiting our progress.
If you have the same problem in cygwin try this:
#include <iostream>
using namespace std;
#define RED “x1b[31m”
#define GREEN “x1b[32m”
#define YELLOW “x1b[33m”
#define BLUE “x1b[34m”
#define PURPLE “x1b[35m”
#define SKY “x1b[36m”
#define WHITE “x1b[37m”
#define RED_BK “x1b[41m”
int main()
{
cout<<RED_BK<<endl;
cout<<RED<<“Hello, World”<<RED<<endl;
cout<<GREEN<<“Hello, World”<<GREEN<<endl;
cout<<YELLOW<<“Hello, World”<<YELLOW<<endl;
cout<<BLUE<<“Hello, World”<<BLUE<<endl;
cout<<PURPLE<<“Hello, World”<<PURPLE<<endl;
cout<<SKY<<“Hello, World”<<SKY<<endl;
cout<<WHITE<<“Hello, World”<<WHITE<<endl;
return 0;
}
]]>
Here is an explanation of loop “for”
it’s nice!
Check this video: https:/
]]>
Again here is my video where i explain the use of “while” and how does it works.
Click the link:
]]>This topic is a piece of cake;
Click in the link:
]]>Hello every body this is #MasteriesTime
In this post I let you a link to watch my short viedo about the use of “switch” as a conditional
an the differences between this and use “if” and “else”
Enjoy it :
]]>