|
I have a webserver that supports CGI v1.1. I would like the source code to some scripts that can be compiled and run under windows. Can anyone help?
-Matt Newman
-Matt Newman
|
|
|
|
|
Hi,
I desperately need source code in some normal programming language Like C/C++ , VC++ , VB , Java or some normal computer programming language not like LISP etc.
Please i need it as soon as possible.
Even the Knowledge Base will be Ok..
Thanking u in advance ...
RawCoder
|
|
|
|
|
Hello all,
I have seen samples in C++ of an implimentation of Socks4 and Socks5, anyone has a port for that into C#? I want to be able to go through proxy servers from C# using sockets.
|
|
|
|
|
I have to work behind a proxy so I can't download from FTP sites without a dedicated app. I was wondering if anybody had an FTP class that worked through a proxy that I could create my own with.
I need it in Visual C++. Thanks if you have one.
-Matt Newman
-Matt Newman
|
|
|
|
|
I've never tried this but have you thought about using the URLDownloadToFile function? Mike Dunn has written a great article on it, which you can find here.
--
Andrew.
|
|
|
|
|
I was going to search CP but didn't have any time earlier because I am on XP install number 10 because Gateway screwed me over.
-Matt Newman
-Matt Newman
|
|
|
|
|
Please !!!! I need help to complete this below C++ source code.
Please its urgent......can somebody give me a hand.
/* Evolutionary Systems Guided Practical Exercise 2
Genetic algorithm for Hinton and Nowlan's experiment
Guide:
A. Read and understand Hinton and Nowlan's paper (given out in the lecture)
If you missed the lecture then photocopy a friend's or ask ADC next lecture
B. Read through the code in this question and make sure you understand what
each part should do
C. Fill in the CCCC to complete the code that calculates the genotype fitnesses
D. Fill in the DDDD to complete the code that selects parents for reproduction
E. Fill in the EEEE to produce the child genotype using crossover
F. Test that your program compiles and runs
To compile: g++ -o EvSysEx2 EvSysEx2.cc
Then to run: ./EvSysEx2
*/
#include <stdlib.h>
#include <time.h>
#include <iostream.h>
const int numGenotypes = 1000;
const int genotypeLength = 20;
const int numLearningTrials = 1000;
const int numGenerations = 50;
void randomise() // seed the random number generator from the system clock
{
srand(time(0));
}
int random(int n) // return a random integer between 0 and n-1
{
return (int) (((double) n)*rand()/(RAND_MAX+1.0));
}
enum Gene {zero=0,one=1,questionMark=2};
Gene genotypes[numGenotypes][genotypeLength];
int fitness[numGenotypes];
// fitness = 1000*"1+19n/1000" where n = number of learning trials remaining
// or rather numLearningTrials + 19 * n
void calculateFitnessArray() // calculate fitness[]
{
int i;
for (i=0;i
|
|
|
|
|
I tried to use the Microsoft Hierarchical FlexGrid Control with Data Environment (connecting to SQLServer) in order to display a hierarchical recordset but didn't work.
I used the MSDataShape Provider to set the connection object.
How do I set DataSource, Location and Initial catalog?
Help me!!!
|
|
|
|
|
Check out FindFirstFile(), FindNextFile(), FindClose().
--Mike--
http://home.inreach.com/mdunn/
While I can't be correct on all matters, I can make the reassuring claim that where I am inaccurate, I am at least definitively inaccurate.
your with and
Sonork - 100.10414 AcidHelm
|
|
|
|
|
Is there a way to open for read, a file that was opened exclusively by anther application??
Thanks
|
|
|
|
|
i have to sort an arry using this code, but the template won't accept the parameters. can anyone help me?
/////////////////////////////////////////////////////////
#include <algorithm>
#include <iostream>
#include <string>
#include "InsertionSort.h"
#include "ShellSort.h"
using namespace std;
int main()
{
int num[] = { 5759, 6865, 2532, 8783, 7064, 531, 7351, 3761,
8838, 7290, 5058, 3361, 4912, 7790, 9691, 5330,
892, 1134, 4412, 5187, 1394, 837, 7615, 6087,
2336, 4052, 6238, 4470, 9675, 4859, 6156, 6394,
2885, 584, 8138, 729, 9752, 2805, 3966, 5206,
6374, 5727, 8144, 3683, 7830, 947, 2132, 384,
6726, 2023, 8512, 5839, 2091, 783, 531, 2403 };
string name[] = { "Tracy", "Zachary", "Louis", "Jakub",
"Katerina", "Anthony", "Carl", "Robert",
"Stephen", "Cedric", "Anthony", "Bernard",
"Michael", "Bart", "Esosa", "Eric", "Jose",
"Dominic", "Katarzyna", "Inna", "Catheri",
"Kirill", "Sean", "Igor", "Jose", "David" };
const int numSize = sizeof(num) / sizeof(*num),
nameSize = sizeof(name) / sizeof(*name);
int num1[numSize], num2[numSize];
string name1[nameSize], name2[nameSize];
copy(num, num + numSize, num1);
copy(num, num + numSize, num2);
copy(name, name + nameSize, name1);
copy(name, name + nameSize, name2);
sort(num, num + numSize);
sort(name, name + nameSize);
insertionSort(num1, num1 + numSize);
insertionSort(name1, name1 + nameSize);
shellSort(num2, num2 + numSize);
shellSort(name2, name2 + nameSize);
cout << (equal(num, num + numSize, num1) &&
equal(name, name + nameSize, name1) ?
"Congratulation! Your insertion sort works." :
"Your insertion sort doesn't work. Try again.") << endl;
cout << (equal(num, num + numSize, num2) &&
equal(name, name + nameSize, name2) ?
"Congratulation! Your Shell sort works." :
"Your Shell sort doesn't work. Try again.") << endl;
return 0;
}
//////////////////////////////////////////////////////
template<typename t="">
void insertionSort(T a[], T b)
{
for (int g=1; g<b;g++)
{
="" int="" j,temp1;
="" temp1="a[g];
" for="" (j="g;j">0 && temp1< a[j-1];j--)
a[j]=a[j-1];
a[j]=temp1;
}
}
/////////////////////////////////////////////////
template<typename t="">
void shellSort(T a[], T b[]){
int i, j, temp, gap;
for (gap=b/2;gap>0;gap=gap==2?1 : (int)(gap/2)){
for (i=gap;i<b;i++) {
=""
="" temp="a[i];
" j="i;
" for="" (;j="">=gap&&temp
|
|
|
|
|
Can anyone send me the file unicows.lib via email please.
I still run windows 95 on my computer so am unable to download the new Platform SDK. Or has anybody done it before.
Thank you
|
|
|
|
|
Hi.
I read that there is a way to display addition attributes in Active directory on the context menu of Microsoft Window Shell and Active Directory administrative adds-in. Does anyone has a sample code for this or know where it is available?
Thank you.
|
|
|
|
|
Yes I have code of my own and some that I wrote for MS. The MS code was given out on the DevDays99 content CD's Track 1. What would you like this sample code to specifically do? I'll see how I can accomodate.
Cheers,
-Erik
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
My thoughts are my own and reflect on no other.
|
|
|
|
|
Hello.
I was wondering if there is any easy function I could call to input key commands directly into the keyboard buffer. One that I could use for a windows dialog application just like I was typing them in with the keyboard.
Please help!
|
|
|
|
|
I was wondering if there is any easy function for controlling the mouse? One that I could use in a windows (dialog) application.
I need the source code for setting the x,y position of the mouse pointer in windows as well as simulation mouse button clicks.
Preferably one that doesn't require 5 pages of strange word in random order, 7 years of university in programming and hours searching the net for lost (if ever existing) header files... Just one I can call like this:
set_mouse_pos(x,y);
and
mouse_button(1);
I can find code examples of how to read mouse anywhere but when it comes to simulation mouse movements, there’s nothing. Please help.
|
|
|
|
|
Dir forum,
I want to delete some files in system folder likes "c:\\windows\\temporary internet files\\*.*"
But when I use some code like this, it don't run well.
SHFILEOPSTRUCT sh;
sh.hwnd = GetSafeHwnd();
sh.wFunc = FO_DELETE;
sh.pFrom = "c:\\windows\\temporary internet files\0";
sh.pTo = NULL;
sh.fFlags = FOF_NOCONFIRMATION | FOF_SILENT;
sh.hNameMappings = 0;
sh.lpszProgressTitle = NULL;
SHFileOperation (&sh);
Any ideas???
Please help me!
Thank you very much!
|
|
|
|