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 include std::map header file?

This is probably dumb but I cannot seem to reference the header file in my project. I would like to use the map container because I'm experiencing difficulties with TMap.

Product Version: UE 4.8
Tags:
more ▼

asked Jun 25 '15 at 05:39 PM in C++ Programming

avatar image

Thumper
966 143 150 390

avatar image Doug E ♦♦ STAFF Jun 25 '15 at 08:38 PM

Hey Thumper-

What file are you trying to include? Without more information on what your setup looks like the best solution I can suggest would be to use #include "[FileName].h" at the top of the file you want to have access to the class you're trying to include. If you are still having problems let me know what it is you're trying to include and where you're including it.

Cheers

Doug Wilson

avatar image Thumper Jun 25 '15 at 09:02 PM

I was trying to use Map instead of TMap. But I found the problem in my code and it had nothing to do with Tmap. Problem solved. I read else where that standard c++ headers are not really allowed in UE4. Is this accurate? I know UE4 has it's own standard library.

(comments are locked)
10|2000 characters needed characters left
Viewable by all users

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