Thekingofglory Posted July 12, 2022 Share Posted July 12, 2022 #include <iostream> using namespace std; int main() { cout << "Hello, PokeMMO!", return 0 } Nothing else,just for fun I hope I can see more people can show what they have learned something interesting, such as drawing it with code XD I used C++, im new xD If u wrote one, feel free to send it here,and tell us what kind of code are you using (the best is telling us a good IDE to run it easily XD) I dont think many people will send it, but it's just for entertainment. I hope I can learn something from it XxLoydxX and BrandonBraune 2 Link to comment
Uriincrdbl Posted July 12, 2022 Share Posted July 12, 2022 You forgot ";" at the end of "return 0" line 😛 BrandonBraune 1 Link to comment
Thekingofglory Posted July 12, 2022 Author Share Posted July 12, 2022 15 minutes ago, Uriincrdbl said: You forgot ";" at the end of "return 0" line 😛 Oh!gosh!!! How about this line? cout << "Hello, PokeMMO!", Link to comment
Uriincrdbl Posted July 12, 2022 Share Posted July 12, 2022 (edited) 7 minutes ago, Thekingofglory said: Oh!gosh!!! How about this line? cout << "Hello, PokeMMO!", replace the "," with another ";" or you can add " << endl;" if you want a line break. Edited July 12, 2022 by Uriincrdbl Link to comment
Thekingofglory Posted July 12, 2022 Author Share Posted July 12, 2022 13 minutes ago, Uriincrdbl said: replace the "," with another ";" or you can add " << endl;" if you want a line break. Ahhhhh ye! Thx for help Uriincrdbl 1 Link to comment
MajoraAKC Posted July 12, 2022 Share Posted July 12, 2022 namespace HelloPokeMMO; internal class Program { static void Main(string[] args) { Console.WriteLine("Hello, PokeMMO!"); } } You mean like this? I use C# and Visual Studio. I'm taking a course at the moment to learn it from home. I'm sick of my old job Link to comment
Thekingofglory Posted July 12, 2022 Author Share Posted July 12, 2022 1 minute ago, MajoraAKC said: namespace HelloPokeMMO; internal class Program { static void Main(string[] args) { Console.WriteLine("Hello, PokeMMO!"); } } You mean like this? I use C# and Visual Studio. I'm taking a course at the moment to learn it from home. I'm sick of my old job Yes!thx for reply Btw,im using Visual Studio too (VS2017?xd) Link to comment
Thekingofglory Posted July 12, 2022 Author Share Posted July 12, 2022 7 minutes ago, MajoraAKC said: namespace HelloPokeMMO; internal class Program { static void Main(string[] args) { Console.WriteLine("Hello, PokeMMO!"); } } You mean like this? I use C# and Visual Studio. I'm taking a course at the moment to learn it from home. I'm sick of my old job But i think not only words,add some programming animation will be cool (unlucky,i can only use Scratch to make some programming animation,damn) Link to comment
Thekingofglory Posted July 12, 2022 Author Share Posted July 12, 2022 12 minutes ago, MajoraAKC said: namespace HelloPokeMMO; internal class Program { static void Main(string[] args) { Console.WriteLine("Hello, PokeMMO!"); } } You mean like this? I use C# and Visual Studio. I'm taking a course at the moment to learn it from home. I'm sick of my old job Oh,why did it tell me error? Link to comment
MajoraAKC Posted July 12, 2022 Share Posted July 12, 2022 1 hour ago, Thekingofglory said: Oh,why did it tell me error? What version of .net core are you using? Link to comment
MajoraAKC Posted July 12, 2022 Share Posted July 12, 2022 (edited) On 7/12/2022 at 4:26 PM, Thekingofglory said: Yes!thx for reply Btw,im using Visual Studio too (VS2017?xd) I'm on VS2022. Upgrade is free! Edit; Haha VS2022 not VS 2020 On 7/12/2022 at 4:31 PM, Thekingofglory said: But i think not only words,add some programming animation will be cool (unlucky,i can only use Scratch to make some programming animation,damn) Haha I'm not that advanced yet. But I will get there eventually Edited July 13, 2022 by MajoraAKC Link to comment
BiuBiv Posted July 12, 2022 Share Posted July 12, 2022 print("Hello, PokeMMO!") ClosedBox 1 Link to comment
Thekingofglory Posted July 12, 2022 Author Share Posted July 12, 2022 1 hour ago, MajoraAKC said: I'm on VS2020. Upgrade is free! Haha I'm not that advanced yet. But I will get there eventually I hope you will get there, see you at the summit! Link to comment
XxLoydxX Posted July 15, 2022 Share Posted July 15, 2022 #include<iostream> using namespace std; int main() { int n1, n2; char A = 'a'; char S = 's'; char M = 'm'; char D = 'd'; char Op; char xd; cout<<"Basic Calculator"<<endl; cout<<"a for additions, s for substractions, m for multiplications and d to divide"<<endl; cout<<"Insert a number: ";cin>>n1; cout<<"Insert another number: ";cin>>n2; cout<<"Wich operation you want to do? ";cin>>Op; if(Op == A){ cout<<"The result is: "<<n1+n2; } else if(Op == S){ cout<<"The result is: "<<n1+n2; } else if(Op == M){ cout<<"The result is: "<<n1*n2; } else if(Op == D){ cout<<"The result is: "<<n1/n2; } cin>>xd; return 0; } A basic calculator, the first c code i made Pecaeme 1 Link to comment
Thekingofglory Posted July 15, 2022 Author Share Posted July 15, 2022 26分钟前,XxLoydxX 说: #include<iostream> using namespace std; int main() { int n1, n2; char A = 'a'; char S = 's'; char M = 'm'; char D = 'd'; char Op; char xd; cout<<"Basic Calculator"<<endl; cout<<"a for additions, s for substractions, m for multiplications and d to divide"<<endl; cout<<"Insert a number: ";cin>>n1; cout<<"Insert another number: ";cin>>n2; cout<<"Wich operation you want to do? ";cin>>Op; if(Op == A){ cout<<"The result is: "<<n1+n2; } else if(Op == S){ cout<<"The result is: "<<n1+n2; } else if(Op == M){ cout<<"The result is: "<<n1*n2; } else if(Op == D){ cout<<"The result is: "<<n1/n2; } cin>>xd; return 0; } A basic calculator, the first c code i made Whoa!!! That's soooooo cooool XxLoydxX 1 Link to comment
XxLoydxX Posted July 15, 2022 Share Posted July 15, 2022 16 hours ago, Thekingofglory said: Whoa!!! That's soooooo cooool thanks Link to comment
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now