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"

No cpp file in project sollution

I'm watching this tutorial and I stuck at creation new cpp class. It created, yes, but only header file are included to my project. Project doesn't have cpp file (but in explorer I have this file). Rescanning sollution doesn't help. Maybe I'm doing something wrong?

alt text

Product Version: Not Selected
Tags:
more ▼

asked May 08 '15 at 08:19 AM in C++ Programming

avatar image

yarpoplar
78 14 19 21

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

1 answer: sort voted first

Hello, yarpoplar

If the file is available in explorer, please right-click on your project in solution explorer in VS, select Add - Existing Item and choose the appropriate .cpp file. After this, rebuild the project.

This should do it!

Hope this helped!

Cheers!

more ▼

answered May 08 '15 at 08:39 AM

avatar image

Andrii Melnyk
1.7k 58 17 111

(comments are locked)
10|2000 characters needed characters left
Viewable by all users
Your answer
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