Code::Blocks

User forums => General (but related to Code::Blocks) => Topic started by: rollingstonedev on November 26, 2015, 10:26:43 pm

Title: newbie wants a little help
Post by: rollingstonedev on November 26, 2015, 10:26:43 pm

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
Title: Re: newbie wants a little help
Post by: BlueHazzard on November 26, 2015, 10:42:03 pm
I am considering Code::Blocks to develop a AI scripted language.
what is a AI scripted language?

How should I do this with Code::Blocks?

according your information i would write it like this:
Code: [Select]
std::string in;
std::cin >> in;
if(in.compare(".(out("hello world").(!]"))
   std::cout << "hello world";
return 0;

greetings