This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
require 'FileUtils' | |
open_net = WSApplication.current_network | |
# Prompt user for a folder | |
shp_dir = WSApplication.folder_dialog 'Select a folder to import files', true | |
# We keep our CFG files with the Ruby script | |
cfg_dir = File.dirname(WSApplication.script_file) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include <stdio.h> | |
#include "lib/2.2/epanet2_2.h" | |
int main() { | |
int errcode; | |
int index; | |
EN_Project ph; |