Copying a .bin input file into linux [closed] - c++

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
This question does not appear to be about a specific programming problem, a software algorithm, or software tools primarily used by programmers. If you believe the question would be on-topic on another Stack Exchange site, you can leave a comment to explain where the question may be able to be answered.
Closed 5 years ago.
Improve this question
I need to take a provided .bin file as input, convert it to string representations, and do a bunch of other fun stuff. The issue is that we are being graded on the school's linux server which I have almost no idea how to use.
On the Linux machine I have created a directory for my program called "read". Inside is my "read.cpp" file. I'm guessing the .bin need to go in this directory, since "read.cpp" utilizes it as input, but I have no clue how I can get it there.
Any help would be greatly appreciated.

I wound up using WinSCP to transfer the file. Makes it super easy. I've used it before and completely forgot it was a thing. Cheers!

Related

Looking to modify host file in MacOs [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
This question does not appear to be about a specific programming problem, a software algorithm, or software tools primarily used by programmers. If you believe the question would be on-topic on another Stack Exchange site, you can leave a comment to explain where the question may be able to be answered.
Closed 1 year ago.
Improve this question
I am following a tutorial on multi-tenancy in Django (10:58/11:42) and I would like to modify the hosts file which I located alreadty. When I try to add a single letter, I get rejected:
But this leaves me quite confused, this is my laptop, and I do not have permission? Is there a way to do this differently ?
In the terminal type sudo nano /etc/hosts and then hit return.
Enter your administrator password and then hit return.
Then you should be able to edit the file.

How to copy C++ code from pdf to codeblocks? [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
This question does not appear to be about a specific programming problem, a software algorithm, or software tools primarily used by programmers. If you believe the question would be on-topic on another Stack Exchange site, you can leave a comment to explain where the question may be able to be answered.
Closed 1 year ago.
Improve this question
I'm at the university and some teachers send us c++ code using pdf. When I want to copy the code from the pdf to code::blocks and run the program, I get some weird errors, like: "stray '\342' in program" or "stray '\200' in program" or other codes like this where 342 or 200 could be any number made out of 3 digits. Any suggestions how to copy code from a pdf to code::blocks and make it work?
Paste in some code formatter in between. Pdf-s seems to mess upp spaces, after that you can just copy it back to your IDE.
However maybe it was your teachers intention that you should copy the code by hand?

How to edit filenames in bulk using regex? [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
This question does not appear to be about a specific programming problem, a software algorithm, or software tools primarily used by programmers. If you believe the question would be on-topic on another Stack Exchange site, you can leave a comment to explain where the question may be able to be answered.
Closed 6 years ago.
Improve this question
I don't even know if this is possible.
I have over 4 terabytes of MP3 files and I need a much faster way of editing files. I use a Mac running Yosemite if that makes any difference.
Here is a sample list of files
In bulk, how do I remove the "Elton John", space, hyphen, space, track number, and space from the names of these files, and only leave the track name and file format? Can it be done using terminal and if so, what's the command?
Thanks so much!
brew install rename
rename -v 's/\s*Elton John\s*-\s*\d+\s*-(.*)/$1/' *.mp3
You can use the -n option first to see what would be the changes without affecting the files name.

16-bit app crashing under Win7 32-bit (x86) but runs fine under Win XP [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
Closed 7 years ago.
This question does not appear to be about a specific programming problem, a software algorithm, or software tools primarily used by programmers. If you believe the question would be on-topic on another Stack Exchange site, you can leave a comment to explain where the question may be able to be answered.
Edit the question to include desired behavior, a specific problem or error, and the shortest code necessary to reproduce the problem. This will help others answer the question.
Improve this question
As the subject says, I am having a problem with my 16-bit application. Application is very low-level, doing some operations in C++/Assembly language. One thing to emphasize: this is a faculty project, so I am somewhat confident that fellow colleagues (at least some of them) were able to run it under Win7.
Compilation is done via BCC compiler. I know, old as hell :)
Under Win7, it report the following error on exit:
Does anyone has some hints on how to on analyze the issue? I was told that memory management settings. I have the following settings available:
Any tips/hints would be greatly helpful!

libao compiling in window [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
Closed 8 years ago.
Edit the question to include desired behavior, a specific problem or error, and the shortest code necessary to reproduce the problem. This will help others answer the question.
This question does not appear to be about a specific programming problem, a software algorithm, or software tools primarily used by programmers. If you believe the question would be on-topic on another Stack Exchange site, you can leave a comment to explain where the question may be able to be answered.
Improve this question
I downloaded the source of libao. Do I need to compile it into a library/dll for windows or do I use the source as is.
Has anyone done this before? libao is an audio library, which I found here: http://www.xiph.org/ao/
Like plenty of open source projets, you need to compile it first before using it, unless you want to keep every required source codes along with your project and compile them each time. This can be a mess since you can (and more likely will) alterate something in the library one day or another. For that reason, you should compile it into something then link to it.