x

Search in
Sort by:

Question Status:

Search help

  • Simple searches use one or more words. Separate the words with spaces (cat dog) to search cat,dog or both. Separate the words with plus signs (cat +dog) to search for items that may contain cat but must contain dog.
  • You can further refine your search on the search results page, where you can search by keywords, author, topic. These can be combined with each other. Examples
    • cat dog --matches anything with cat,dog or both
    • cat +dog --searches for cat +dog where dog is a mandatory term
    • cat -dog -- searches for cat excluding any result containing dog
    • [cats] —will restrict your search to results with topic named "cats"
    • [cats] [dogs] —will restrict your search to results with both topics, "cats", and "dogs"

How do I take my code and use it for eu4?

This is my first time coding with c++ and im trying to make a little 5 question game for my kids. I have it working I just don't know where to start making a UI so they can see pictures while they play it. Any good starting point will help alot. Here is an example of the code I wrote and am trying to make the UI for.

include using namespace std;

int a; int b; int c; int d;

int main() {

string pick; pick = "Pick the one you dislike most \n \n"; string dog; dog = "You are A Dog!"; string cat; cat = "You are A Cat!"; string fish; fish = "You are A Fish!"; string monkey; monkey = "You are A Monkey!"; string bird; bird = "You are A Bird!";

if(b==2){

  cout << pick;

  cout << "1. Running \n";

  cout << "2. Climbing \n";

  cout << "3. Flying \n";

  cin >> c;

  if(c==1){

      cout << pick;

  cout << "1. Climbing \n";

  cout << "2. Flying \n";

  cin >> d;

      if(d==1){

          cout << bird;

      }

      if(d==2){

          cout << monkey;

      }
Product Version: UE 4.21
Tags:
more ▼

asked Jan 08 '19 at 01:42 PM in C++ Programming

avatar image

Nerd Frame
1

avatar image Evigmae Jan 08 '19 at 02:32 PM

Honestly, google "UE4 Getting Started". no joke, you'll find everything you need.

(comments are locked)
10|2000 characters needed characters left

0 answers: sort voted first
Be the first one to answer this question
toggle preview:

Up to 5 attachments (including images) can be used with a maximum of 5.2 MB each and 5.2 MB total.

Follow this question

Once you sign in you will be able to subscribe for any updates here

Answers to this question