challenge.cpp
memory-and-numbers.md
C++
Memory and numbers (C, C++, Rust)
Difficulty 2/3
1
#
include
<cstdio>
2
#
include
<string>
3
4
void
log_login(
const
std
::string& username) {
5
printf(username.c_str());
/* the user's text is used as the format */
6
printf(
"\n"
);
7
}