03-03-2013
Good evening or should I say good morning,
I am so sorry I have no idea why my pasted code shows this terrible format. Probably, human error.
I agree with comments that variables names makes no sense. These are still in german. I will edit it tomorrow.
The idea to fill the string and if the lenghth is already longer than passed in the function to cut the string is great!!!!!
I will also try to highlight the intention of this project tomorrow. As mentioned it is my first one.
Many Thanks
Noobie1995
7 More Discussions You Might Find Interesting
1. UNIX and Linux Applications
Hi, folks,
I have developed CK-ERP, which is an open source accounting / MRP / ERP / CRM system that runs on top of multiple middlewares. It provides accounting and back office functionalities to SMEs and utilizes the underlying middleware to administer accounts/groups.
Details about and... (0 Replies)
Discussion started by: chiukay
0 Replies
2. Programming
Hi
#include "training.h"
#include <mqueue.h> // for posix mqs
int main(int argc,char *argv)
{
int opt,flag;
mqd_t msq; // msg q type
flag=O_RDWR|O_CREAT;
while((opt =getopt(argc,argv,"e")) != -1)
{
switch(opt)
{
case 'e':
... (4 Replies)
Discussion started by: kumaran_5555
4 Replies
3. Solaris
Dear all,
I am a newbie in solaris and I need your advice.
I have a Solaris version 5.9 installed on Sunfire V240.
I am able to ssh the machine from putty remotely.
My problem is that I cannot see the display from KVM switch I have connected to it. I need also to be able to see the GUI... (2 Replies)
Discussion started by: mbouster
2 Replies
4. SCO
Hi all
I have installed a demo version of SCO OpenServer 5.0.2, I finally found it is Desktop Interface, I would like to know how to change its interface to dos based interface?
If you have any ideas, please tell me then. Thank you (2 Replies)
Discussion started by: TinhNhi
2 Replies
5. UNIX and Linux Applications
Hi, folks,
A new release, v.0.30.1, of CK-ERP, has been posted, at SourceForge.Net, sourceforge.net/projects/ck-erp .
New features comprise seven new modules (ck-teacher, ck-counsellor, ck-student, ck-applicant, ck-family, ck-registrar, ck-eduadmin) for deployment within educational... (0 Replies)
Discussion started by: chiukay
0 Replies
6. Shell Programming and Scripting
Hi all,
I am a rookie regarding shell script programming, YET!! :-)
Hence, I have choosen a problem from my bad side of life (my job) and I wil try to solve it by using a shell script and get knowledge concerning shell script programming.
Question: As you can see I have already figured... (5 Replies)
Discussion started by: Noobie1995
5 Replies
7. News, Links, Events and Announcements
A new project was posted on your project board.
Project title: Bash Shell Tutoring
Estimated Budget:
$50/hr
Start date:
Immediately
Required skills:
Linux, Bash, Shell, UNIX
I work as a datawarehouse designer and developer.
Although I usually stick to the role of an analyst,... (0 Replies)
Discussion started by: Neo
0 Replies
LEARN ABOUT PHP
fann_read_train_from_file
FANN_READ_TRAIN_FROM_FILE(3) 1 FANN_READ_TRAIN_FROM_FILE(3)
fann_read_train_from_file - Reads a file that stores training data
SYNOPSIS
resource fann_read_train_from_file (string $filename)
DESCRIPTION
Reads a file that stores training data.
PARAMETERS
o $filename
- The input file in the following format:
num_train_data num_input num_output
inputdata seperated by space
outputdata seperated by space
inputdata seperated by space
outputdata seperated by space
RETURN VALUES
Returns a train data resource on success, or FALSE on error.
EXAMPLES
Example #1
fann_read_train_from_file example
<?php
$train_data = fann_read_train_from_file("xor.data");
if ($train_data) {
// Do something with $train_data for XOR function
}
?>
Contents of xor.data
4 2 1
-1 -1
-1
-1 1
1
1 -1
1
1 1
-1
SEE ALSO
fann_train_on_data(3), fann_destroy_train(3), fann_save_train(3).
PHP Documentation Group FANN_READ_TRAIN_FROM_FILE(3)