Applied norminette syntax for visual enjoyment
This commit is contained in:
@@ -6,7 +6,7 @@
|
||||
/* By: aortigos <aortigos@student.42malaga.com +#+ +:+ +#+ */
|
||||
/* +#+#+#+#+#+ +#+ */
|
||||
/* Created: 2025/09/06 01:58:01 by aortigos #+# #+# */
|
||||
/* Updated: 2025/09/08 14:15:19 by aortigos ### ########.fr */
|
||||
/* Updated: 2025/09/14 13:49:52 by aortigos ### ########.fr */
|
||||
/* */
|
||||
/* ************************************************************************** */
|
||||
|
||||
@@ -14,9 +14,9 @@
|
||||
|
||||
int main()
|
||||
{
|
||||
std::string str = "Hola 42!";
|
||||
std::string *ptr = &str;
|
||||
std::string &ref = str;
|
||||
std::string str = "Hola 42!";
|
||||
std::string *ptr = &str;
|
||||
std::string &ref = str;
|
||||
|
||||
// Imprimimos las direcciones de memoria
|
||||
|
||||
@@ -40,4 +40,4 @@ int main()
|
||||
std::cout << ref << std::endl;
|
||||
|
||||
return (0);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user