Read-Only File C++ - visual-c++

I'm trying to submit my homework assignment online and the professor wants it to be a zip file. When I go to zip the file it becomes a [Read-Only] file which is not what they want. Im using Visual Studios and also running it on a mac using parrallel desktop to run windows 10. Any suggestions on how to not make it a read only file?

Related

How can I jump to function definitions using VS Code in SSH remote development

Okay I am new to Embedded Linux development.
Right now, I am trying to setup the development environment as efficiently as possible.
I have a python code running on a lightweight Linux based device, that is located remotely
So far I was able to setup my VS Code on my Windows system, in such a way that I can edit the files directly on the remote Linux device.
I followed the instructions below
https://code.visualstudio.com/docs/remote/ssh
https://code.visualstudio.com/docs/remote/ssh-tutorial
Now that I am able to edit my files directly, I face only one obstacle.
I find it hard to traverse to a function/method definition.
In my windows system, I could just Ctrl+LeftClick on a method/function, and it would take me there.
But here when I opened VS Code with the terminal running remotely, I have to do a Ctrl+F and search in the VS Code editor, which is like working on a notepad.
Does anyone know how to get around this?
On my main windows system, I am able to jump to method definitions quickly by Ctrl+LefClick-ing them.
Hope the question is clear enough.
Install the Python extension on the remote server and select the Python interpreter on the Linux device in VS code:
Press Ctrl+Shift+P to bring up the command palette and run the command Python: Select Interpreter.

How do I load a Qt project from Linux in Windows

I think my question is the opposite of: How can I import a Windows project to Ubuntu on Qt?
My team has created a Qt project (*.creator, *.files, etc. files) that they use from Linux. I'm running Windows, and have the Qt Creator for Windows installed. I also have a drive (Z:) mapped to the Linux drive with the source and project files.
When they open the .creator file (as a project), all the files show up in their Qt Creator running on Linux. When I open that file (as a project) in Qt Creator for Windows, I only see 4 files (*.creator, *.config, *.files, *.includes), and I don't see the source files.
The *.files file has lines that look like:
/home/user/path/file.cpp
And my drive mapping does map this file as Z:/home/user/path/file.cpp (and I'm opening the *.creator file from Z:).
I only need to view and edit the files - I don't need to build in Windows. Is there a way I can use the existing Linux project files to load the project in Windows? If not, what changes do I need to make?
Thank you.
Usually u open the *.pro file with Qt Creator and if your paths in the pro file are relative and not absolute to that pro file, every file should be loaded into your project view.

Creating Content Project on Monogame

I am trying to use Monogame for the first time.
I found creating a content project is impossible on Visual Studio 2012,
so I would like to know if I can create some .xnb (contents) files from another PC and move it in my PC that Visual Studio 2012 is installed.
This is because I failed to install Windows Phone SDK in my PC for some reason.
My OS was Windows 7 so I could not install Windows Phone SDK.
So, is it possible to create a content project on another PC and move it into my PC? Or, can I copy the .xnb files to my PC?
Thanks in advance for your help.
You can create the xnb files from whichever system you want by using an XNA game project.
The steps to follow would be:
Create a new XNA Game project (it needs to be a game and not a content project).
Add the assets you want to port into the content project of the game.
Compile.
Go to the output folder and copy all the xnb files.
In your monogame project, add the existing xnb files to the project's Content folder.
Change their properties to: "Content" for "Build Action" and "Copy if newer" for output directory.
You can find a tutorial (written by me) explaining exactly how to use sounds and spritefonts in Monogame here. This can be helpful given that these files need to be created from an external project as Monogame was not able to used them without being in xnb format; and was also unable to create this format for itself.
One last thing, it is also possible to install XNA in VS 2012/2013 and Windows 8/8.1 without any problem by using XNA Refresh. This may help you in avoiding the need to use another computer for this process.

Running a Visual Basic Program on an Android Phone

I wrote this Visual Basic program back in 1999.
It runs on a Windows Pocket PC.
I would like to use it with a droid phone.
Any guesses about how to get to Point B (droid phone) from Point A (PPC)?
I just finished my first java program to run on windows tablets and desktops.
If that helps me.
Thanks,
you can't run .exe files in android phones, but you can run .exe files on pocket pc
to run your program on android phone you will write the code in eclipse in export it as apk file
The only thing that comes close to this I can think of is Jabaco. Its a VB6 clone written entirely in Java and outputs a Java applet as the result. I have only brief experience with it so I cannot say for certain that it would take direct VB code. Just thought I'd mention it.
If you don't mind losing the Android OS system, you probably are able to install Linux on the phone. Then install wine, and you could possibly run your .exe file.

Transferring wp8 project to different computer

My old computer broke down and I have my project folders zipped and backed up in the cloud. I have downloaded them to the new computer and placed them in the 'Projects' folder in VS 2012 for WP. I am able to open the solution file but building the app is throwing read errors and is showing me the path on the old broken computer. Please advice on the right method on transferring a windows phone project across computers.
Open up your .csproj files in Notepad and manually fix any paths you find. You may also need to do this in your .sln file.

Resources