FIRST LINE: read carefuly to see how easy tasts are to do,
go line by line, number by number, there are 25 easy tasks, most of them are solvable in less than 1min, some in one line of code, some in 5.
WHAT IS NEEDED:
I need a cpp program to be compiled in GCC in Porteus Linux Distribution.
Porteus Linux distro can be downloaded for free at [login to view URL], 64bit KDE version.
Expectations:
a) use same distribution
b) you need to provide [login to view URL] where X represents number of program that is written down below, from 1,2,3 and so on
c) program should be in text file with cpp file extension, easy to read and editable, with as simple and short code as possible
d) it shoudl work
REQUEST FOR NEXT SIMPLE TASKS:
1) program to display "Hello world"
2) if i press key "s" it should display "S pressed"
3) if i press key "ENTER" it should display "ENTER PRESSED"
4) if i press key "ESC" it should display "ESCAPE PRESSED"
5) it should create 2 dimension array of char chars[][] with numbers inside 1 till 50 with another array red, green, blue, alpha
it should display all array with going through all of them with for-loop
6) this program should create 2 dimension array of char chars[][] with numbers inside 1 till 10 with another array red, green, blue, gold
it should go through all contents in array and compare current char[][] to variable compare[5][red] that has values 5 and red.
It shoudl display current value in array. When it reaches this one it should also display " EQUAL" (space and EQUAL).
7) it should open TXT file [login to view URL] with contents "abcdefgh", read char by char and display them with for-loop until EOF (end of file).
8) it should open TXT file [login to view URL] with contents "abcdefgh", read line by line and display them with for-loop until EOF (end of file).
8) it should save TXT file [login to view URL] with contents "this is output" on location C:\output\output.txt.
9) it should create 1 var and demonstrate for loop case with displaying it on screen.
10) it should create 1 var (var stands for variable also in future) and demonstrate IF-ELSE case with displaying it on screen.
11) it should create 1 var and demonstrate CASE with displaying it on screen.
12) it should create 1 var and demonstrate DO LOOP with displaying it on screen.
13) it should create 1 var and demonstrate WHILE LOOP with displaying it on screen.
14) it shoudl display current time in form (HH:MM)
15) it should display current date in form [login to view URL]
16) it should declare variable int, initialize it with value "123" and display it
17) it should declare variable char, initialize it with value "abc" and display it
18) it should declare variable double, initialize it with value "12.4" and display it
16) it should set variable char "134" then it should copy this variable to int INT_VAR1 and display this variable
17) it should calculate var1=5 plus var2=4 and display resoult
18) it should display var1=1, clear screen, then display var2=2
19) create timer and start it, display timer in form HOURS: MINUTES : SECONDS, and display every second refresh, when i press key "ESC" it should stop it.
20) program that would close itself when i press "ESC" button
21) display text ABC in red rext and blue background
22) display character in ascii value 122 or any number
23) it should declare variables a=34 and b=3.14 and divide a devided by b variable and display resoult
24) it should display character "A" then call function "FUNCTION" inside which it will display character "B"
25) if should display character "B" then call function "FUNCTION2". when it calls it is hould send argument as char "TEXT". FUNCTION2 shoudl display whatever argument is sent to it.
Hi, I'm Chunzuo.
I read your description and what u want.
My computer is Linux,with KDE 64bit.
I have rich experience in C.
Please contact with me to discuss more.