RE: Project Euler
July 3, 2016 at 8:02 am
(This post was last modified: July 3, 2016 at 8:04 am by SteelCurtain.)
It was just an example of defining a variable 'a' without initializing it first with Python.
For example, in C++, this same code would look like:
For example, in C++, this same code would look like:
Code:
#include <iostream>
using namespace std;
int main()
{
int a;
a = 5; //you could technically combine these two lines into 'int a = 5;'
cout << a << endl;
return 0;
}
"There remain four irreducible objections to religious faith: that it wholly misrepresents the origins of man and the cosmos, that because of this original error it manages to combine the maximum servility with the maximum of solipsism, that it is both the result and the cause of dangerous sexual repression, and that it is ultimately grounded on wish-thinking." ~Christopher Hitchens, god is not Great
PM me your email address to join the Slack chat! I'll give you a taco(or five) if you join! --->There's an app and everything!<---
PM me your email address to join the Slack chat! I'll give you a taco(or five) if you join! --->There's an app and everything!<---