Hi, I am new in pl/sql programming and I need your help. I would like to make a procedure. To be more specific, I have tables like the folowing TABLE1 ================================================ |COL1 | COL2 | COL3 | COL4 | COL5 | COL6 |COL7| =============================================== |600 | 140 | 2 | 10 | 1300 | 500 | 1 | ----------------------------------------------- |600 | 140 | 2 | 20 | 1400 | 340 | 4 | ----------------------------------------------- |600 | 140 | 2 | 15 | 1400 | 230 | 3 | ----------------------------------------------- |600 | 140 | 2 | 35 | 1700 | 120 …

Member Avatar
+0 forum 0

Hi, I would like to do a presentation with a flipping page book. I am searching the Web but I can't find a freeware. Does everybody know one to help me ? I don't know flash programming

Member Avatar
Member Avatar
+0 forum 4

Hi all, I would like to make program reading 300 lines form a file with 24 columns. the 24th column has an integer from 1 to 24, while the others columns are strings. I want to summarize in seperate files this (last) column For example, assdsd, sdsds, asdasda, asda ,asdad, asdsad, ...., 1 hfghhghghghg,ghgh,gh,gh,g,hg,hg,h,gh,g,hg,hg, ... ,2 rtrtrtr ,rt r,t r, t,r,t r,t ,r t,r ,t ,r , r,t r,.... ,1 File1.txt assdsd, sdsds, asdasda, asda ,asdad, asdsad, ...., 1 rtrtrtr ,rt r,t r, t,r,t r,t ,r t,r ,t ,r , r,t r,.... ,1 File2.txt hfghhghghghg,ghgh,gh,gh,g,hg,hg,h,gh,g,hg,hg, ... ,2 Could you help …

Member Avatar
Member Avatar
+0 forum 4

Hi all, I have to make a project on my School until 18th of May. I am using resEdit to make graphics for a c++ program. But there ara a lot of cases that the program crashes. Could you help me ? I don't know to use resEdit good so .. Please if you have time, send me a private message

Member Avatar
+0 forum 0

Hi, I have a problem with an xml file. I am trying to develop an xml file based on vra core 4.0 but when I check if my code is valid I take the following error. Could not open file: http://www.vraweb.org/projects/vracore4/vra-4.0-restricted.xsd (I use XML COPY EDITOR) A part of my code is : <?xml version="1.0" encoding="UTF-8" ?> <vra xmlns="http://www.vraweb.org/vracore4.htm" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.vraweb.org/vracore4.htm http://www.vraweb.org/projects/vracore4/vra-4.0-restricted.xsd"> ......... </vra> Thanks in advance

Member Avatar
+0 forum 0

Hi, I am trying to make a timer applet when I click stop button to stop counting, disappear stop and appears continue button and when I click continue to continue the counting. My code is : [CODE] import java.applet.*; import java.awt.*; import javax.swing.*; public class Timer extends Applet implements Runnable { private String msg2 = new String(""); private int secs; private int mins; private int hrs; private Thread clock; public int time =300000; Button clickOnMe; public void destroy() { clock.stop(); } public void init() { clickOnMe = new Button("Stop!"); add(clickOnMe); String parameter; if(clock == null) { clock = new Thread(this); …

Member Avatar
Member Avatar
+0 forum 5

Hi, I am trying to make a program which reads 6 integers , insert into a file numbers1.txt then copy numbers1.txt content to numbers2.txt and finally print numbers2. The problem I have is that when I am trying to copy the file to another the system crashes. My code is [CODE] #include <stdio.h> #include <stdlib.h> int main() { int array[6]; int i; char ch; FILE *fp1,*fp2; printf("Give 6 numbers :\n"); for(i=0;i<6;i++) scanf("%d",&array[i]); fp1=fopen("numbers1.txt", "wb"); for(i=0; i<6;i++) fprintf(fp1, "%d\n",array[i]); fp2=fopen("numbers2.txt","wb"); while(!feof(fp1)) { ch = fgetc(fp1); if(!feof(fp1)) fputc(ch, fp2); } fclose(fp1); fclose(fp2); system("pause"); return 0; } [/CODE] Could you help me ? …

Member Avatar
Member Avatar
+0 forum 1

Hi, I have a php array as the following format array([4]=>6 [8]=>12 [3]=>5) and I would like to add 6+12+5 The problem I have is that neither number of array cells nor array_keys are known. Thanks a lot

Member Avatar
Member Avatar
+0 forum 3

Hi all, I am trying to install jcart shopping cart but I have some problems when I am trying to modify it. [URL="http://conceptlogic.com/jcart/"]jcart[/URL] I would like to have a button "save in database" instead of having button "checkout with paypal". And when I click in new button to open a page a.php which saves the data. The main problems are 1. I can't extract values in variables. 2. I can't find the form about this button Could you help me do it ? Thanks a lot

Member Avatar
+0 forum 0

Hi all, I am trying two days now to insert a cart link on my page. It is a e-shop bookstore. I save my books in a database : +-------------+--------------+------+-----+---------+----------------+ | Field | Type | Null | Key | Default | Extra | +-------------+--------------+------+-----+---------+----------------+ | bookid | int(11) | NO | PRI | NULL | auto_increment | | title | varchar(200) | NO | | NULL | | | author | varchar(100) | NO | | NULL | | | publisher | varchar(100) | NO | | NULL | | | catid | int(11) | NO | | NULL | …

Member Avatar
Member Avatar
+0 forum 2

Hi all, I don't know css and I would like your help. I am trying to make an online bookstore. The problem I have with divs is that when I am trying to make a new all the below divs are moved down. I would like to add welcome guest and register|login link in the position as image ideal.bmp sees. Could you help me please ??? Thanks a lot

Member Avatar
Member Avatar
+0 forum 3

Hi all, I have a file .c and I would like to format the comments of file like that : /** Comment */ with a sed script The comments in my file is /* comment 1 */ /* comment 2 */ /** comment 3 */ I know to format file with diferrent commands like sed -e 's/\/\*\+/\/\*\*\n/g' filename ... but there are empty lines between /** and comments is it possible to become with only one regular expression ? Thanks a lot

Member Avatar
Member Avatar
+0 forum 1

Hi, I use a command with awk in bash shell so as to extract info from a file. [CODE]awk -F'[=,: ]' '{print /uid=/?$4:(/^telephoneN/)?$2:$3}' 1.txt[/CODE] the output is something like aaaa bbbb cccc dddd eeee ffff gggg tttt I would like to write this output in a file 2.xml [CODE]<xml> <name>aaaa</name> <surname>bbbb</surname> ... </xml> <xml> <name>eeee</name> <surname>ffff</surname> ... </xml> [/CODE] could you help me do it please ? thanks a lot in advance

Member Avatar
Member Avatar
+0 forum 3

Hi all, I just started to learn prolog. I wrote some facts and then some rules. I give to swi-prolog my question and solutions are appearing . I would like to ask if someone knows which stategy does swi-prolog use ? backward chaining or forward chaining ? Can I see somehow all the energies as the final result (with something like print command)? Thanks a lot P.S. : I apologise for my english.

Member Avatar
Member Avatar
+0 forum 1

Hi all, I am new in shell scripting and I need your help 1. I would like to make a list of files (no folders) of unix system which do not belong to root 2. I would like to make a list with directories of system which the first letter is d or g. ========= I know how can I list files or directories but unfortunately I don't know to do the above ls -l | grep ^d list the directories ls -l |grep ^- list files ========== Could you help me please ?

Member Avatar
Member Avatar
+0 forum 4

Hi, I am new in neural networks and I would like to tell me a program that I can simulate networks (except Matlab). I have a train.txt and a test.txt file and I would like to make a multilayer perceptron with back propagation. Thanks a lot

Member Avatar
Member Avatar
+0 forum 2

Hi all, I have a project in clips (fuzzy) and I would like to ask you something. I use a template (A and B are defined with low, normal, high): (deftemplate fuz (slot FA (type FUZZY-VALUE A)) (slot FB (type FUZZY-VALUE B)) ) then I initialise the variables (assert (fuz (FA (pi 0 ?*a*)) (FB (pi 0 ?*b*)) ) ) And I am writing a rule (defrule aaaaa (declare (salience 430)) (fuz (FA ?c)) => (printout t "" ?c "") ) But the output is '???' How can I print low, high, normal ? And last question can I pause …

Member Avatar
+0 forum 0

Hi all, I have a file with data 300 lines. (in.txt) I want to make a program that seperates the file in two others (out1.txt, out2.txt). But I would like to do it with percentage. For example, Percentage (%): 50 and seperate the in.txt file in the middle but with random lines from the file. A line that is in the out1.txt there is no in out2.txt Could you help me please ?

Member Avatar
Member Avatar
+0 forum 5

Hi all, I have an exercise in communication systems. I have to learn about Quantizers. PCM with Uniform Quantization and with non uniform quantization (Lloyd_MAX algorithm) When I make this in matlab, I have to compute SQNRS for N=2,4,6 bits. Does anybody know what I have to expect ? Thanks a lot

Member Avatar
+0 forum 0

Hi all, I want to read a file. The file is like that : 20 20 1 5 6 20 21 1 2 3 21 22 2 4 6 20 20 2 3 5 20 21 6 5 2 21 22 1 6 7 .... and I would like every time that I find number1 && number2 in a line to add number3 for example to print 20 20 1+2 20 21 1+6 21 22 2+1 Could you help me please do this ? I know how to read file but I have not idea how can I do this …

Member Avatar
Member Avatar
+0 forum 6

Hi, I have a problem with my code in C An error occurs with message : /usr/lib/gcc/x86_64-redhat-linux/3.4.6/../../../../lib64/crt1.o(.text+0x21): In function `_start': : undefined reference to `main' collect2: ld returned 1 exit status Does anyone know for it ? Thanks a lot

Member Avatar
Member Avatar
+0 forum 10

Hi all, I am trying to read a file in C. The format of file is something like that : ----------------------------- <From: [email]sender@hotmail.com[/email]> Hellooooooooo. </from> <From: [email]george@gmail.com[/email]> What am I doing? nOwwwwwwwwwwwwww </from> ---------------------------- I would like to read the file and extract some info like number of emails , senders and messages from email. I know that I have to open file then reading until eof but I don't know regular expressions to do this. Could you help me please ?

Member Avatar
Member Avatar
+0 forum 1

Hi, I found an exercise about memories in a site but I don't understand the solution. The exercise says : A word in a little-endian pc has value 3. If I transfer this value in big indian byte per byte what is the new value ? The answer is 2*(2^24). I suppose that 3 in little endian is 1 1 0 0 0 0 0 0 0 0 0 0 0 0 0 0 and in big endian is 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1 1 so the result is 1*(2^14) …

Member Avatar
Member Avatar
+0 forum 2

Hi all, I have to implement from a general network a virtual ring. How can I make a vitrual ring ? Thanks in advance

Member Avatar
Member Avatar
+0 forum 1

Hi all, I am trying to make a program but I have a problem. So I can't continue. I am using a struct like that : [CODE]typedef struct account { char fullname[40]; int id; int amount; char name[15]; } account; typedef struct parking_system { int pos; char name[15]; char description[80]; float price; int busy_lots; account allaccounts[5]; int id; } parking_system; parking_system *myaccounts;[/CODE] I have a variable that saves a string like char name[]="NAME"; But when I am trying to pass this value to my struct and then to print it it does not work. [CODE] strcpy( myaccounts->allaccounts[myaccounts->pos].name,name); myaccounts->pos ++; printf("Name …

Member Avatar
Member Avatar
+0 forum 8

Hi, I am trying to read a string using the function below. The problem I have is that I can't write space in my string. So strings like : "name fullanme" are rejected and returns only "name". [CODE] char *getstring(char *ret, int max) { char *ppp, *qqq; int invalid_characters=0; //fgets(ret,max,stdin); //it does not work scanf("%s",ret); for(ppp = qqq = ret; *ppp; ++ppp){ switch(*ppp){ case '0': case '1': case '2': case '3': case '4': case '5': case '6': case '7': case '8': case '9': case '\n': case '\t': case '.': case ',': case '!': case '?': case ';': case '$': case …

Member Avatar
Member Avatar
+0 forum 6

Hi I am implementing a function that check if user is a man or woman. But it does not worl properly. I press e for example and appears two times Please press m/M for Man w/W for Also sometimes w/W/m/M are not recognised and appears the above. My cose is : [CODE] char ask_if_man_or_woman() { char choice_char; printf("Please answer me (w/m)\n"); scanf("%c",&choice_char); while((choice_char!='w')&&(choice_char!='W')&&(choice_char!='m')&&(choice_char!='M')) { printf("\n\t Please press m/M for Man\n"); printf("\t w/W for Woman\n\n"); scanf("%c",&choice_char); printf("\n"); } return choice_char; }[/CODE] Any ideas please ????

Member Avatar
Member Avatar
+0 forum 3

Hi all, I am new in c++ programming and I am trying to make some examples But unfortunately I have some problems My code is : [CODE] #include <iostream> #include <string> using namespace std; int main() { string firstname, lastname, fullname; cout << "First name: "; cin >> firstname ; cout << endl; cout << "Last name: "; getline (cin, lastname); fullname = lastname + ", " + firstname; cout << "Fullname: " << fullname << endl; system("pause"); return 0; } [/CODE] I am using Dev-C++ so the line 'system("pause");' The problem I have is that getline function does not …

Member Avatar
Member Avatar
+0 forum 7

Hi, I am trying to learn about JQUERY. So , I found some examples and I am trying to apply to my pages. But something goes wrong. Could you help me please ? For example 1.html [CODE] <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> <title>Untitled Document</title> <link rel="stylesheet" type="text/css" href="style.css" /> <script type="text/javascript" src="jquery.js"></script> <script type="text/javascript"> $(function () { $('.bubbleInfo').each(function () { // options var distance = 10; var time = 250; var hideDelay = 500; var hideDelayTimer = null; // tracker var beingShown = false; var shown = false; var …

Member Avatar
Member Avatar
+0 forum 4

Hi all, I use glossy.js and I am trying to apply it in an image with the path like [CODE]<img src="../Users/admin/header1.gif" class="glossy"/>[/CODE] the effect is ok. But when I am trying this in a php code like [CODE] echo '<img src="../Users/$user[username]/$photo[filename]" class="glossy"/>'; [/CODE] then it does not work. I have checked $user[username], $photo[filename] What am I doing wrong ? thanks in advance

Member Avatar
Member Avatar
+0 forum 2

The End.