Hi I use Visual Studio Code to run a C-Code, which opens a .txt file.
The problem is: I don't know where the file should be placed on my Mac, so it can open it seamlessly.
Can anyone help me out?
Thanks
Related
I'm using C to make a few filters that will get applied on .bmp files. I am using vscode and I need to somehow render the images to test if my algorithm works. Right now vscode is having trouble opening it and saying this:
Is there a sort of extension or anything I can enable to view these files?
UPDATE:
VSCode seems to have solved the issue by itself. My .bmp files open without any problems. No extensions downloaded nor any changes made to my code.
I have a problem with opening project on the other PC. It literally can't open in VStudio. I get errors like: "One or more projects from the solution were not loaded", or "Can not find the specified file". But there is no problem on my PC. So could you help me to make my project work on any PC ( Visual Studio 2015+) if it's possible. Here is a link to full project, try to launch it on your VS.
https://drive.google.com/open?id=1PT8gHTvze88DI4DCahRrQfbiY6qeoopV
I tried to do something in properties, but it didn't help me.
I'm looking for function that Open window explorer in C language. I have found this [answer](How can I open Windows Explorer to a certain directory from within a WPF app?), but this is C# language. C can't have these features? I use VS 2010.
I'm a beginner of C. So my question may seem ridiculously easy. But if you give me the answer I really appreciate it. Thanks :)
The simplest way to open a certain directory in an explorer (here c:\program files) may be:
system("start \"\" \"c:\\program files\"");
Try using SHOpenFolderAndSelectItems() function, which can open files in windows explorer.
https://msdn.microsoft.com/en-us/library/windows/desktop/bb762232(v=vs.85).aspx
Given the stslib.h library contains the system() function that let's you run shell commands, you should be able to run the command to open a new windows explorer window using the same command you would use in the terminal window.
A guideline: http://www.programmingsimplified.com/c-program-shutdown-computer
I was trying to get the help file for SQLDiag and to my surprise instead of showing the help the utility was executed. SQLCMD which is in the same tools folder did display the help. How do I get to display the help.
More details on my blog:
http://hodentekmsss.blogspot.com/2014/08/sqldiag-on-windows-81-professional.html
Hey guys im pulling my hair out....I am using Visual Studio 2013 and cannot debug the source files found at http://www.codeproject.com/Articles/442856/Visual-Studio-Metro-Styles-for-WPF
Its a Modern UI application, I get the error message that ".exe cannot be found" which I understand will prevent building and debugging the solution. However. the .exe files are not even in the source folder at all!!
Is there any way to debug this, or actually create the .exe files this solution needs to build properly??? Thanks so much