User forums > General (but related to Code::Blocks)
newbie wants a little help
(1/1)
rollingstonedev:
I am considering Code::Blocks to develop a AI scripted language.
Here's a snippet:
.(out("hello world").(!]
Which should print the text on the console.
How should I do this with Code::Blocks?
Thanks,
Stefaan Meeuws
BlueHazzard:
--- Quote from: rollingstonedev on November 26, 2015, 10:26:43 pm ---I am considering Code::Blocks to develop a AI scripted language.
--- End quote ---
what is a AI scripted language?
--- Quote from: rollingstonedev on November 26, 2015, 10:26:43 pm ---How should I do this with Code::Blocks?
--- End quote ---
according your information i would write it like this:
--- Code: ---std::string in;
std::cin >> in;
if(in.compare(".(out("hello world").(!]"))
std::cout << "hello world";
return 0;
--- End code ---
greetings
Navigation
[0] Message Index
Go to full version