Posts
 
Reputation
Joined
Last Seen
0 Reputation Points
Unknown Quality Score

No one has voted on any posts yet. Votes from other community members are used to determine a member's reputation amongst their peers.

~10K People Reached
Favorite Forums

24 Posted Topics

Member Avatar for 666kennedy

i currently am developing a program that monitors a folder, if anything new is added to the folder it is then copied to another folder. the code i have so far is [CODE] using System; using System.Collections.Generic; using System.Linq; using System.Text; namespace filemover { class Program { static void Main(string[] …

Member Avatar for DdoubleD
0
144
Member Avatar for 666kennedy

i have a tag; XXX32353.mv i need to be able to change the mv to something else, and the number of characters to the left of the . is not always constant. therefore i need to cut from the right, as the .mv is always the same, what is the …

Member Avatar for ddanbe
0
145
Member Avatar for 666kennedy

i have 2 arrays controllerlist[11] and taglist[5] i need to compare them so that i can find any elements that match, is there a way of doing it instead of nested for loops?

Member Avatar for wildgoose
0
277
Member Avatar for 666kennedy

i have this code ... [CODE] namespace ConsoleApplication1 { class watchmove { private static string myString = string.Empty; static void Main(string[] args) { myString = System.Configuration.ConfigurationSettings.AppSettings["DestDir"]; Run(); } [PermissionSet(SecurityAction.Demand, Name = "FullTrust")] public static void Run() { string[] args = System.Environment.GetCommandLineArgs(); // Create a new FileSystemWatcher and set its properties. …

Member Avatar for sknake
0
507
Member Avatar for 666kennedy

i know that the datetime.utcnow command is to show the date and time of the instant it was called. just say i have this [CODE] int time; time = //27/08/2009 09:00:00 time = time + //15 seconds [/CODE] what is the code or the numbers i need to use for …

Member Avatar for ema005
0
199
Member Avatar for 666kennedy

hey there. thanks for all the help i have recieved from the people on this site! i have a new problem, one i could solve if i was using VB but im using C# and i dont really know what to do. i have data.... return1.MV TE244654.MV b43tgwg.sp 01.62 00.83 …

Member Avatar for ddanbe
0
383
Member Avatar for 666kennedy

I am currently working on a real time operating system(freertos) task, there are 3 tasks here and the problem im having is with the 1st task. it is basically to have 2 modes, toggled by a single button "RIGHT" (keys = ~PTH & BOTH). this has got to go basically …

Member Avatar for wildgoose
0
5K
Member Avatar for 666kennedy

i have a filesystemwatcher looking for a file, then once the file comes into the folder ive set, it then reads all the lines of data from inside each file in the folder being monitored. each read line should then be writen into another file in a different folder. so …

Member Avatar for sknake
0
151
Member Avatar for 666kennedy

hey, i have my streamreader code, but im running it in a filesystem watcher program, once a certain file is seen, then read other files in the folder so i basically have the filesystem watcher set up to wait for this certain file. then i know the reader tries to …

Member Avatar for sknake
0
126
Member Avatar for 666kennedy

is there a method, using C# that i can open a file, then copy the data from it into another file in a different folder? the file doesnt need to be opened, just the data inside moved to another file. any help would be great, and thanks to all the …

Member Avatar for 666kennedy
0
328
Member Avatar for 666kennedy

im trying to show what is stored in arrays, basically to make sure my program is working fine, i have got it to print which element in the array it is, but how do u access the array and show what value is stored in it. my code is basically …

Member Avatar for Freaky_Chris
0
86
Member Avatar for 666kennedy

basically here is my code, sorry if its untidy. you will see in the crossover function i want to use the rand. i get errors like "too many arguments for int rand()" [CODE] #include <iostream.h> #include <conio.h> #include <iomanip.h> #include <math.h> #include <stdio.h> #include <stdlib.h> #include <ctime> #include <cstdlib> #pragma …

Member Avatar for ArkM
0
157
Member Avatar for 666kennedy

i have an array of 16 things, now 8 of them have to be chosen at random so basically what i want to do is random(CHR/2) like choose a random number from CHR/2 (as there are 8 not 16 now) what code would i use because that doestn work

Member Avatar for Freaky_Chris
0
129
Member Avatar for 666kennedy

i have an array weights[16][60] this being 16 rows of 60 elements in each one i have another error[16] which co incides with each with the 16 rows, this is the error from each row. is there a way i can put each of the 16 in order in the …

Member Avatar for 666kennedy
0
192
Member Avatar for 666kennedy

i have an array weights[16][60] 16 rows of 60 columns if you are changing indiviual elements it goes from weights[0][0] to weights[15][59] right? see if im using them in a loop for instance [CODE]]for(int i = 0; i < 16; i++) {[/CODE] so each element is used would it be …

Member Avatar for Rashakil Fol
0
87
Member Avatar for 666kennedy

this is my sub proceedure [CODE]/****************************************************************************** * * Name: patpixselect * Parameters: none * Returns: patpix[] * Globals: none * Description: database for which pixels for which pattern *****************************************************************************/ int patpixselect (int pat); { float patpix[9] ; // array for pixels in patterns if (pat == 1) { patpix[0] = …

Member Avatar for VernonDozier
0
72
Member Avatar for 666kennedy

sorry if this a bit of a pain and there are other threads to read about this but can anyone explain how arrays work a bit, i need a quick refresher course. like how they work, are they like the equivalent of stacks in assembly language? and say you set …

Member Avatar for mrboolf
0
115
Member Avatar for 666kennedy

i know that the AND command is && but what are the code for OR? also if i have a program looping through a system and i want to add something to a variable each time through would [CODE] ERRORtotal += ERR1 [/CODE] work? or wat would

Member Avatar for Member #46692
0
177
Member Avatar for 666kennedy

im starting a sub proceedure to test program once its worked through earlier processes. however to test the program, i have copied and pasted pieces of the program before hand, and because ive used the same variables they need to be declared again. but since things are stored in these …

Member Avatar for 666kennedy
0
264
Member Avatar for 666kennedy

i have a do while loop in my program. im just unsure of how to make it work. i need it to continue doing the loop until the error is between -0.1 and 0.1 i have this so far, i may have the greater/lesser than signs wrong, or just set …

Member Avatar for mitrmkar
0
57
Member Avatar for 666kennedy

i have a formula, it is basically the result of two other previous calculations and it gives me an eror message saying that i cant use it as a function [CODE] ERRORC = (( target1 ) - ( OUTC ) )(OUTC)(1 - OUTC); [/CODE] target one is selected at the …

Member Avatar for Ancient Dragon
0
139
Member Avatar for 666kennedy

firstly id like to thank people for helping me with my earlier problems. anyway, for this program im working on, i want the user to be able to select between two patterns. eg. pattern1 makes x=1 and y=0 pattern2 makes x=0 and y=0 i tried using if statements, but it …

Member Avatar for Narue
0
139
Member Avatar for 666kennedy

this isnt working, i think it has something to do with the natural exponential, its a calculation of the sigmoid function. it basically should read 1/(1 + e^-((W1A*pix1)+(W2A*pix2))) this is what ive coded [CODE] OUTA = 1/(1 + exp -((W1A * pix1) + (W2A * pix2))); [/CODE] please help me.

Member Avatar for 666kennedy
0
322
Member Avatar for 666kennedy

hey there guys. this im officially my first post on this forum. seems pretty impressive how much there is on offer, however its only C++ im looking for assistance with today. i have two questions. i am creating a program with lots of variables, most of which should be random …

Member Avatar for 666kennedy
0
111

The End.