locked
Problem programming in C Language with Visual Studio 2015 RRS feed

  • Question

  • Hi, Could you help me?

    I have some problems with Visual studio 2015 for windows desktop when programming in C Language:

    1. How can I add a file of code? I cannot find the following menu that I used with the last versions:

     

    Project/Add New Item/Visual C++/Code/C++ File (.cpp)

     

    1. How can I read from keyboard a string? fgets function in combination with fflush(stdin) is failing. Only is possible to use scanf(“%s”, string);. But this statement only allow the reading of a word.
    2.  

    Thank you very much for your help!

    Bat

    • Moved by Angie Xu Monday, August 15, 2016 5:37 AM this is C language issue
    Friday, August 12, 2016 8:09 AM

All replies

  • HI Bat,

    This forum is for general questions and discussions around Visual Studio LightSwitch.

    From your description above, C language forum is more suitable for you.

    Please let me know if you need any help.

    Regards,

    Angie


    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click HERE to participate the survey.

    Saturday, August 13, 2016 6:10 AM