199,114 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for narendra pratap

Dear all, how i can fetch image path in input field. when i update form the image path has lost their path so it is not updated so please do some help. thanks

Member Avatar for diafol
0
237
Member Avatar for angham kh

**hello every body i am trying to filter alog file witch is save as txt file on my computer so i want to filter the log file depend on a particular word and this word apper in 3 column but the column i want is th 3rd one for example …

Member Avatar for angham kh
0
1K
Member Avatar for UNDER-18 FG

Hi, I was assigned by my teacher to create a simple calculation program about movie tickets that are sold in a local movie theater. So, I created the coding, and it turned out perfect. Here it is: import java.util.Scanner; public class MovieTheater { public static void main(String[] args) { String …

Member Avatar for UNDER-18 FG
0
321
Member Avatar for TeaYou

Hello! I'm very new to visual basic and I'm stuck at transfering the text from one label on a form to another via a button click event I have 2 forms which I will call A and B. On form A I have a menu which when clicked brings up …

Member Avatar for poojavb
0
189
Member Avatar for muhammad.khan.3576

How I will multiply this matrix by using for loop ? #include<iostream> using namespace std; void mat_mul_2d(int mat_out_2d[][2], int mat_in1_2d[][2], int mat_in2_2d[][2]) { mat_out_2d[0][0]=mat_in1_2d[0][0]*mat_in2_2d[0][0]+mat_in1_2d[0][1]*mat_in2_2d[1][0]; mat_out_2d[1][1]=mat_in1_2d[0][0]*mat_in2_2d[0][1]+mat_in1_2d[0][1]*mat_in2_2d[1][1]; mat_out_2d[2][2]=mat_in1_2d[1][0]*mat_in2_2d[0][0]+mat_in1_2d[1][1]*mat_in2_2d[1][0]; mat_out_2d[3][3]=mat_in1_2d[1][0]*mat_in2_2d[0][1]+mat_in1_2d[1][1]*mat_in2_2d[1][1]; } int main() { int mat_in1_2d[2][2] = {{1, 2},{3, 4}}; / int mat_in2_2d[2][2]={{1,0},{0,1}}; int mat_out_2d[2][2]={{0},{0}}; mat_mul_2d(mat_out_2d,mat_in1_2d,mat_in2_2d); return 0; }

Member Avatar for muhammad.khan.3576
0
286
Member Avatar for rpjanaka

[COLOR=SeaGreen][COLOR=Black]hi all, in javascript normaly page redirection can be done as follow with a parameter. [/COLOR] window.location = "add-new-cos.jsp?id="+id; [COLOR=Black]but this id value is send to the next page with in the GET method. but i want to send it with the POST method. is there any way to do …

Member Avatar for NavedAhmed
0
491
Member Avatar for pcvrx660

I'm trying to set up a mail server using gmail. So far after modifying code in C:\wamp\bin\apache\apache2.2.22\bin\php.ini. It hangs the page and just loads the browser. I have read that it has to be used with PHPmailer but I don't know how to. Please help me how to set up …

Member Avatar for LastMitch
0
342
Member Avatar for ali11

//************************************ //Includes #include <stdio.h> #include <stdlib.h> #include <string.h> #include <math.h> //************************************ //Globals int packed; //************************************ //Function Prototypes int pack_value(int value, int size, int low_bit); int unpack_value(int holder, int size, int low_bit); void get_date(int holder, int day, int month, int year); void get_permissions(int permission, int clas, int *read , int *write …

Member Avatar for Adak
0
137
Member Avatar for jongiambi

Hi. Im trying to write a simple deck of cards program. I am having difficulty in expressing my integer deck into a printable form. The deck is generated as this: 00102030405060708090100110120011121314151617181911011111210212223242526272829210211212203132333435363738393103113123 The leading numbers assign to suits and the following number assign to card rank. Basically how can I convert …

Member Avatar for VernonDozier
0
8K
Member Avatar for jongiambi

Hi I have a quick question about a program im writing. The bold part is where im stuck. As of now my output is correct. Just wondering how to delete the memory I allocated. The question asks: Let us say that you want to choose how many marks to enter …

Member Avatar for VernonDozier
0
351
Member Avatar for daino

I'm trying ot build a podofo library and it gets up to 65% and the below error occures. The entire code snipped is below. Not sure what this means or the faintest idea on how to fix it. Basically I've generated a makefile with CMAKE and tried to bild the …

Member Avatar for daino
0
1K
Member Avatar for Procom22

{ class Program { static void Main(string[] args) { Random randGen = new Random(); int[] diceRolls = new int[11]; for (int i = 1; i <= 7; i++) { int diceRoll = randGen.Next(1, 7) + randGen.Next(1, 7); diceRolls[diceRoll - 2] += 1; Console.Write(diceRoll + " "); } Console.WriteLine(); Console.WriteLine("Here are …

Member Avatar for Momerath
0
200
Member Avatar for mmatre

Hello, I am working on a project and I am completely stuck. I basically need to read in text data from a file that is formatted like so: 4 numbers per line separated by a comma (there is no hard set of how many rows, this program should be able …

Member Avatar for Momerath
0
127
Member Avatar for daino

I'm trying to build a CPP library and have set the CPP Include path as below. I Am using Windows XP with MinGW compiler. VARIABLE NAME: CPLUS_INCLUDE_PATH VARIABLE VALUE: C:\CodeBlocks\MinGW\lib\gcc\mingw32\4.4.1\include\c++ I have restarted my PC several times but I still get an error message telling me that the file it …

Member Avatar for daino
0
599
Member Avatar for marco.denhartog.5

Hello, I want to generate xml from this input xml: <?xml version="1.0" encoding="UTF-8"?> <document tifToPDF="no" procesDocId=""> <file name="" rendition="application/pdf" major="-1"> E:\Data\Import\ContentServer\IIC01_P9505_D121017_T023126_D0000001.pdf </file> <meta> <categories> <category name="Beschrijving"> <properties> <property name="Ketenproces"> <value>Incasso</value> </property> <property name="Bedrijfsfunctie"> <value>Productie</value> </property> <property name="Bedrijfsproces"> <value>Productie_Incasseren</value> </property> <property name="Werkproces"> <value>FA_Incasso</value> </property> <property name="Vertrouwelijkheid"> <value>vertrouwelijk</value> </property> <property name="Documentrichting"> <value>uitgaand</value> …

Member Avatar for marco.denhartog.5
0
160
Member Avatar for klemme

Hi all, I am having this problem, which I cant seem to find out why is happening. I have an onchange function on one select list, which returns another select list just under, with values to choose from. But when the form is submitted, PHP gives me an error: Undefined …

Member Avatar for LastMitch
0
296
Member Avatar for tapuwa2002

Been trying to loop through worksheets in an excel document. And remove "," in columns. Then save result in same excel document. <?php include'../Classes/PHPExcel.php'; include'../Classes/PHPExcel/IOFactory.php'; $objReader = PHPExcel_IOFactory::createReader('Excel2007'); $objReader->setReadDataOnly(false); //$xlsxfiles=$_SESSION['file']; //echo $xlsxfiles; $objPHPExcel = $objReader->load('../upload/Test_0.xlsx'); $num=$objPHPExcel->getSheetCount() ; $sheetnames=$objPHPExcel->getSheetNames() ; $objWorksheet = $objPHPExcel->getActiveSheet(); $highestRow = $objWorksheet->getHighestRow(); $sheetnum=$num-1; for($sl=0;$sl<$sheetnum;$sl++) { for($cl=0;$cl<$highestRow;$cl++){ $clean= …

Member Avatar for LastMitch
0
4K
Member Avatar for willygstyle

Hello all. I'm working on a simple game at the moment and thus I started heading in the direction of windows hooks. I easily got the low level keyboard hook working. But of course I had to attempt the other version which uses dll's for hooking. After many attempts at …

Member Avatar for dx9_programmer
0
186
Member Avatar for NardCake

Hello! I believe hotkeys or keyboard shortcuts is the correct term. (Ctrl+C is copy etc...) Well I'm having troubles trying to figure out how to do this. I'm very new to the win32 api and such And I'm just clueless. Any help is very much appreciated!

Member Avatar for dx9_programmer
0
2K
Member Avatar for LastMitch

Hi I'm having an issue echo out the `euro currency` sign with the price converted base on the `$exchange_rate = 0.7746;` Here is my code: <?php $currency = true; $format = '&euro; %2f'; $exchange_rate = 0.7746; function currency_valve($data) { $price = $data[1]; $cpercent = $data[2]; $cvalve = isset ($_GLOBALS['currency']) && …

Member Avatar for LastMitch
0
260
Member Avatar for jorge.carmonajr

Okay so i am really new to coding(about 2 weeks) and need help with an assignment.the asignment goes like this "Write a program that will read in a file named pa7-temp.txt (located in the current directory) that contains a set of temperatures, and then prints out how many were in …

Member Avatar for np complete
0
213
Member Avatar for php111

Hey everyone, What book would be recommended to learn C++ between Prata C++ Primer Plus, or the C++ Programming Language by Bjarne Stroustrup? I believe C++ Primer Plus would cover everything, but does someone need expirence in order to read the book by Bjarne? Does the Bjarne book covers everything …

Member Avatar for mrnutty
0
603
Member Avatar for somjit{}

i dont understand the reason why im geting the errors i am with this code... errors with arraylists, also a few other errors like symbol not found etc s.. i corrected the ones i could, but the ones (5 of them in total )im still geting, i dont understand them... …

Member Avatar for somjit{}
0
261
Member Avatar for n2408

Hey all! I am having trouble debugging my program, and after exhausting all of my options i decided to come to you guys. The assignment requires us to create the methods for the tes tin junit. I have most of it working, but have a few problems, mainly with my …

Member Avatar for Taywin
0
116
Member Avatar for kc.smith.100

Can anyone help, please? (The excellent solution on here for using an external SMS service does not "fit" ) My objective is to send an SMS "receipt" from an Agent's mobile (viewing our web page) instantly to the "payer" to acknowledge receipt of a (small) cash payment .... using the …

Member Avatar for kc.smith.100
0
2K
Member Avatar for b1b2b3b4

I have to create three shapes, **Square, Cross, Rectangle**. This makes up three classes. There is one super class, **Shape**. So basically when I did not try any of the polymorphism but I did declare: class Shape{ private: int x,y; public: ... } class Square: public Shape{ } If I …

Member Avatar for b1b2b3b4
0
224
Member Avatar for sick vapor

Hello, I'm fairly new to python and I've currently run into a road block in this problem. I set up this code: def average(the_list): return the average of the list def deltalist(the_list,a): return a list which is each of the element of the_list subtracted by a def squarelist(lst): return a …

Member Avatar for sick vapor
0
2K
Member Avatar for amullen98

Hello everyone!! I really need some help! I am trying in implement a tic tac toe game made of different classes in which the board can be expandable. I have most of it figured it out but after I ask the first player for their move it ends the game …

Member Avatar for Taywin
0
179
Member Avatar for davidp994

hi, I am generating records through php/sql, as u can see the code displays 5 records, what Im trying to do is program so that when the next button is pressed the next 5 records will show?? any help much appreciated thank you, the code - function show(qstring,qtype){ $("#vsdiv").show(); var …

Member Avatar for dcdruck
0
142
Member Avatar for danibecse
Member Avatar for NathanOliver
0
219
Member Avatar for Kirielson

In C++ it seems like every single time you open a file, the inner contents get deleted quickly. Is there a way to open the file at the end of the last character while keeping all contents within the file? I've been looking at something with the End of file …

Member Avatar for ankit1990rana
0
8K
Member Avatar for NardCake

Hello! I'm attempting to create a application that randomly generates strings and tags it on the end of http://youtube.com/watch?v=.... but the links it generates links to a non existant video. I noticed there are more capital letters in their URL's but that's the only difference I can see. Here is …

Member Avatar for veedeoo
0
321
Member Avatar for Sildona

I'm attempting to wrap an auto-generated link around a thumbnail displayed from a Mysql database. Can someone help me with the syntax? `echo "<a href= 'http://www.website/link.php?field=".urlencode(img src='".$showimage"' height='10px' width='50px' />) . "'>$showimage</a>";` Thanks!

Member Avatar for Sildona
0
187
Member Avatar for AutoPython

I've been at a loss as how to convert the std::string to char (Line 40). I've tried c_str() and a few other things, but it's really confusing when the pointers are thrown in there. I know I'm kind of asking you guys to do it but I don't know what …

Member Avatar for rubberman
0
433
Member Avatar for akashi

hi! I'm new in c++, can anyone give some instruction how I'll start this structure solution? if so, please give me some instruction Problem given: Define a structure called Toy with the following members: . Name of Toy . Price of Toy . Made in (the place where the toy …

Member Avatar for spuriousgeek
0
122
Member Avatar for FakeTales

Hey i am passing a string to an array and using the str_split. ` $string = "Green"; $array = str_split($string,1); print_r($array); ?> ` what i want to do is split the string to individual characters but not store the character , i would like to convert each individual character to …

Member Avatar for FakeTales
0
458
Member Avatar for kmachstang

Hello, I have the following pseudo code that I am trying to implement in Java. My issue is the pseudo code seems to be heavily C based and my C is very rusty. Could someone help me understand the following function? uint theFunction(BYTE* header) { UINT length; header = header …

Member Avatar for kmachstang
0
174
Member Avatar for HelloJarvis

So I'm working with popovers using Twitter Bootstrap. I want to change the popover's content dynamically later on in my program, so after setting the popover: $("#test").popover(selector:$("#test")); $("#test").html("test"); I try setting the selector of the popover so I can manipulate it later. This doesn't work, however, so how do I …

Member Avatar for HelloJarvis
0
391
Member Avatar for davy_yg

Hello, This is my website: [website](http://www.rustoleum-indonesia.com/Rustoleum1-3.php) I would like to include [google map](http://gmap.nurtext.de/examples.html) I have been trying to replace the static map with another type of map just like map #3 Well, the one that I have been working on is still offline. This is the only code that I …

Member Avatar for pritaeas
0
181
Member Avatar for Phil Moore

Hi all. I'm wondering if anyone can point me to some javasript that is easy to set up for tabbed tables?

Member Avatar for Phil Moore
0
78
Member Avatar for kmachstang

Hello. I have the following function written in pseudo code. I think the pseudo code is more C than java and my C has about 10 years of rust on it. Can anyone help me decipher it? UINT function(BYTE* header) { UINT length; header = header + 1; length = …

Member Avatar for kmachstang
0
117
Member Avatar for coroshea

I have the following as an Stl algorithm/vector: MyClass <int> VecOfInts("A vector of integers"); VecOfInts.push_back(3) VecOfInts.push_back(2) VecOfInts.push_back(1) I was able to get the numbers to display with a for loop (i < VecOfInts <size; i++). Now my question is: how would I get "A Vector of integers", to display, irregardless …

Member Avatar for vijayan121
0
140
Member Avatar for kimbokasteniv

So this is my first attempt at a GUI in swing, and so far things seem to have been going somewhat smoothly. However I am un-able to update a JList named objectsL. I imagine this is because I have already added it to a panel? So, now Im am very …

Member Avatar for JamesCherrill
0
7K
Member Avatar for fcvolunteer

I'm working on a dynamic form where based on a visitors selection of radio buttons certain <div> text and additional fields are shown or hidden. I would like to make some of these additional fields required but only if they are shown. (I tried making them required even when they …

Member Avatar for fcvolunteer
0
3K
Member Avatar for Blacktono4

Hey guys, this marks my second post on the Forums. I recently asked about the def statement and the import statement. After that being answered I wanted to ask another question and thought best to start another thread. What is a class? What does it do and how does it …

Member Avatar for Lardmeister
0
348
Member Avatar for sonum04

hey sir, i need your help to solve a program? question is= write a program for assesment system of university. the basic idea is to calculate the GPA of each subject and then calculate the GPA of whole semester and the basic of that GPA calculate the grade and remarks? …

Member Avatar for np complete
0
102
Member Avatar for psy.blast

Hello DaniwWeb Members :) I'm a fairly new programmer and I'm kinda embarressed to ask this question considering that the answer is probably blatently obvious. So forgive my ignorance :) But here goes, I have a String called "Ctype", It is relevant to my combobox which I created. My combobox …

Member Avatar for JamesCherrill
0
211
Member Avatar for Priyanka786
Member Avatar for lloydsbackyard

try{ name= JOptionPane.showInputDialog("Enter Employee Name: "); } <br /> catch (Exception e){ //wHAT IS THE CODE HERE if THE INPUT IS NUMERIC JOptionPane.showInputDialog("Invalid Input"); }

Member Avatar for lloydsbackyard
0
137
Member Avatar for TIM_M_91

Ok so I have created a page where the user enters their details then they click a button which produces their results in a ListBox. However what I want to do is when the user clicks the button it produces the results on another page in a Listbox. I have …

Member Avatar for JorgeM
0
140

The End.