|home |print view |recent changes |changed December 12, 2016 | |You are 18.104.22.168 <- set your identity!
Which C++ mechanism can you use to deduce a dimension of an array passed as function parameter?
How do you create an instance of the default-constructible type Block on the heap?
How do you delete the instance created on the heap?
What problem arises if you have loops in your object structure and how do you solve this?
How can you access to a shared pointer from within the this object?
Write a C++ program echor that produces a list of its program arguments in reverse order without using a hand-written loop or recursion.
$ echor zero one two three three two one zero
Take some of your example programs(ExW5, ExW8) that read all of standard input and process it to take an optional argument for your program giving it the filename to be processed. If no name is given your program should work with standard input as before. If more than one filename is given, your program should work on all files given.
$ wcount wcount.cpp word.h word.cppshould read the three files and output the number of words in these three files combined.
Solve the exercise from the OO module in C++ using (smart) pointers to build the graph of objects.
DB1 OO DB2 DB1 Math OO AD1 OO CPI OO Math Thesis DB2 SE2 UI2 SE1 AD1 CPI DB1 SE2 DB1 SE1 UI1 UI1 AD1 UI2 UI1
1: Math OO 2: DB1 AD1 CPI 3: DB2 SE1 UI1 4: SE2 UI2 5: Thesis
auto start=std::chrono::system_clock::now(); // do your stuff std::chrono::duration<double> delta=std::chrono::system_clock::now()-start; out << delta.count() << "s time\n";
|home |print view |recent changes |changed December 12, 2016 |
|You are 22.214.171.124
<- set your identity!