multiple-files

DIFF utility works for 2 files. How to compare more than 2 files at a time?

So the utility Diff works just like I want for 2 files, but I have a project that requires comparisons with more than 2 files at a time, maybe up to 10 at a time. This requires having all those files side by side to each other as well. My research has not really turned up anything, vimdiff seems to be the best so far with the ability to ...

How to specify if a T4 file should produce any output

I am using T4 for generation of some DTO classes + mappers. I am splitting the files in a number of re-usable bits (some of which containing common methods, some others common procedures) and including them into the T4 templates that will produce my output - which is all good. My problem is that the re-usable .tt files will try and pro...

Quick question on using the constructer with multiple files.

Hi there, I have this class header //header for class. #ifndef Container_H #define Container_H #include <iostream> using namespace std; const int DEFAULT=32; class Container{ public: Container(int maxCapacity = DEFAULT); ~Container(); void insert(int item, int index); void erase(int index); ...

Search and replace hundreds of strings in tens of thousands of files?

I am looking into changing the file name of hundreds of files in a (C/C++) project that I work on. The problem is our software has tens of thousands of files that including (i.e. #include) these hundreds of files that will get changed. This looks like a maintenance nightmare. If I do this I will be stuck in Ultra-Edit for weeks, rolling ...

Multiple file uploader with previews

I'm trying to find something that will let users upload multiple files to a website. The requirements are that it let them easily select multiple files (preferably with something like check boxes) and that it displays a preview of the images they select. I'd prefer to only use Javascript or Flash if possible, but Java is also an option ...

Can a user select and upload more than one file at a time in asp.net?

I made a website for a friend and he uploads a lot of pictures, around 20k per month. And sadly, I made it so he has to upload 1 at a time, because when they are uploaded they are renamed, attached to a group id and watermarked. Is there a way to allow him to select all 20 in a group and have them be uploaded and processed? I've looked...

Multiple javascript files and webkit

Hi everyone. I have 3 JS files I want to include in my page. The first one is defined statically in the html file. The other two are loaded into the DOM using the following function: function loadJsFile(pathToFile){ var headID = document.getElementsByTagName("head")[0]; var newScript = document.createElement('script'); newScri...

Copy multiple files from client to server c #

I need to copy "N" number of files from client to server with asp.net c # I've done something like that, but it is useless because it takes only server addresses Somebody help me .. Thanks ..!!! private void btnUpload_Click(object sender, System.EventArgs e) { string fileName = ""; ArrayList List = new ArrayList(); string...

How to get p4v -merge to diff multiple files

In this question: http://stackoverflow.com/questions/42980/how-to-use-p4merge-as-the-merge-diff-tool-for-mercurial, Adam Rosenfield suggested to use launchp4merge to diff multiple files in OSX such that there is only a single copy of p4v running. Is there an equivalent for linux? I ran p4v -merge -h and saw that it does not accept more ...

Constants and Classes Declarations Across Multiple Source Files in C++

I am sure this problem is asked a lot but I can't seem to find anything relevant. I have multiple source files in a C++ project. In typical fashion, there are multiple header files with class and function declarations and associated source files with their definitions. The problem is that when I try to use one of my classes defined in an...

How to separate a Inno Setup script into multiple files?

I have two setup scripts that share common code. It is possible to refactor them? One way of doing that is having a file for common code which will be referenced by each script. Is this possible? ...