All GameDev.tv Unreal Courses

Im having trouble with the “Using the in game terminal” section of the bull cow game. When I compile the code in unreal engine, nothing is printed to the in game terminal.

In 7 try
PrintLine (TEXT(“Hello there”));

The same thing happened, Nothing was printed to the in game terminal.

1 Like


Check this if this work

VsCode is still quite new, but it doesn’t include build tools for C++ only a linter and some extras. So you need to still have build tools from Visual Studio Community 2017 or 2019 to be able to compile. C++ only runs after you run the compiled code. Perhaps in the future VsCode will include a plugin for the compiler other than Visual Studio, which is very bulky just to compile code. This is why they indicate use cmd line from the build tools, if your terminal doesn’t work in vsCode.

Print out your ‘d’ and see if it is really incrementing at the end. I can’t emphasize enough, you should always have logging in your production code. Usually at different levels DEBUG,INFO,WARNING and ERROR. Most languages have some form of library you can use. As I never believe things are working till I see it printed out, this will also help you troubleshoot along with explaining your code when you come back to it years later.

Can you also show what happens when you compile it using “cl triplex.cpp” , or g++ on linux/mac

Sharing my triple x code so far! It’s a fantasy themed edition:

1 Like

So, i did this for a bigger random range and increased difficulty

To basically limit the lowest number to 1 aways, and the max to get as big as the difficulty times 2.

I am not able to open the bull cow game, It’s showing me like this

whenever i I try to open it it’s opening it in visual studio,what should I do please help

Is there any new UE4 and iOS related up coming? I would like to have some guide which start for mobile development for UE4

My favourite unreal engine layout! Best for small screens such as a laptop that i’m currently using!

Try right clicking, going to open with and searching for unreal engine on your computer. If the option is not there, try using the desktop shortcut as the program, that worked for me!

Nice!

can you help me

Hey! I just bought the C++ Unreal course, may be a stupid question but that will be fine with Unreal Engine 4.25 or later right? :smiley:

I think that main() is a function that runs everything inside the brackets of main :slight_smile:

It would be best if you started a new topic, your question might get missed in the volume of questions in this topic.

It should be, I am using the latest version.

Privacy & Terms