2,452 Topics

Member Avatar for
Member Avatar for CattleOfRa

I've just started learning C++ on Linux. I have written a very small program which compiles but I get run time errors everytime I run it. The code is shown below: #include<iostream> int DoubleOf(int n); int main() { std::cout << "Double of 5 is " << DoubleOf(5); return 0; } …

Member Avatar for sepp2k
0
194
Member Avatar for Wendy_3

I am having trouble with my code. The conversion for both Fahrenheit and Celsius will not display, and when I select "Celsius to Fahrenheit", it gives me the conversion for Fahrenheit to Celsius. I'm not sure what I'm doing wrong. I've already searched for help and have gotten nowhere. So …

Member Avatar for rch1231
0
345
Member Avatar for UK-1991

Hello, I created a user login form with a crietaria fixed that if the user type is admin then it should be redirected to admin page and if it is an agent it should be redirected to home.php The admin type is working properly but when i enter agent id …

Member Avatar for UK-1991
0
268
Member Avatar for bolfescu

Hy, i'm having a problem with php excell, i have in my db a row that its have a full url, when i export it its not make it HYperlink, i've see the docs on the internet but unft its for only one cell not for entire column this is …

Member Avatar for broj1
0
691
Member Avatar for Hong_1

Following is the javascript that will change the images in a specific time function startTime() { var timerid = 0; var images = new Array("CSS/Images/shy-baby.jpeg", "CSS/Images/yao-ming.png", "CSS/Images/success.jpg"); var countimages = 0; if (timerid) { timerid = 0; } var tDate = new Date(); if (countimages == images.length) { countimages = …

Member Avatar for DaveAmour
0
250
Member Avatar for showman13

Good Morning all, Hopefully someone can head me in the right direction. I know nothing about perl or cgi but have a script that I purchased and had modified by a programmer half way around the world. He uploaded it to my development domain and the script works just fine... …

Member Avatar for 2teez
0
334
Member Avatar for Anna123

Dear All, Can aynyone help me with a script which could scan the regions of one file to the regions with second file, for example file 1 looks like this, chr5 88013976 88018740 file 2 : chr5 88013975 88018742 ENST00000340208.5 chr5 88024310 88024445 ENST00000340208.5 chr5 88025035 88025164 ENST00000340208.5 I want …

Member Avatar for Anna123
0
150
Member Avatar for balmurali

Take pattern from one file and search for that pattern in second file if doesnt present copy that pattern into the another file

Member Avatar for 2teez
0
130
Member Avatar for kayleigh0411

I am trying to implement a test program to describe what this function does: int mystery( const char *s1, const char *s2 ) { for( ; *s1 != '\0' && *s2 != '\0'; s1++, s2++ ) { if( *s1 != *s2 ) { return 0; }//end if }//end for return …

Member Avatar for rubberman
0
303
Member Avatar for Amaina

I'm trying to parse a few references from a file and load them to mysql table but keep on getting this error everytim,e i run the script: DBD::mysql::st execute failed: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the …

Member Avatar for DaveAmour
0
162
Member Avatar for Gribouillis

Some unicode characters such as dice symbols or chess symbols (see https://en.wikipedia.org/wiki/Miscellaneous_Symbols) dont display properly anymore in the forums. What's going on ? there are examples here [Click Here](https://www.daniweb.com/software-development/python/code/492854/another-visit-to-string-formatting-python#post2155656) and here [Click Here](https://www.daniweb.com/software-development/python/code/423640/unicode-chessboard-in-a-terminal#post1814200).

0
130
Member Avatar for titas.datta

Hi, I am trying to add some values retrieved from database, into a HTML table which I've already created using jQuery & AJAX. My data is getting retrieved properly, but its not getting displayed when I am loading the HTML page. Could anybody help ASAP?? Here's the code I'm using …

Member Avatar for titas.datta
0
14K
Member Avatar for dm198180

Plz can anyone help me with a program below: Need to check how much money the company is paying to 'smart employee' department wise. Smart means : attendence should be good and rating should be avergae and good compute salary such that salary is increasd bonus wise for each employee. …

Member Avatar for 2teez
0
117
Member Avatar for sathish_nadu

i tried to upload some data from csv to MySql data base. but it not working someone help me on this. the below one is my code #!/usr/bin/perl -w use DBI; use strict; use TEXT::CSV; use warnings; my $driver = "mysql"; my $database = "test"; my $host = "localhost" my …

Member Avatar for class11a
0
204
Member Avatar for coder91

Hi, so I have to create a dynamic menu which is created using <ul><li><a href /></li></ul> etc. The menu has to be dynamic based on the user who is viewing the page. So far when the page loads I send the name of the user logged in, to a stored …

Member Avatar for coder91
0
842
Member Avatar for Chris920

I wasnt sure where to put this. Its a PHP script but i am running CentOS on a VPS. I have a feeling it could be an encoding problem which is why i put it here. On the website the videos look great, and plays perfect but when i view …

Member Avatar for Chris920
0
192
Member Avatar for krishkommireddy

Hi here i am writing this code in config.php file for our sandbox testing(moodle) but i got the error in our browser **Fatal error: $CFG->dataroot is not configured properly, directory does not exist or is not accessible! Exiting. ** may i know how i can solve this problem ,can any …

0
61
Member Avatar for divinity02

trying for the longest while to get this program to run at least properly, havent finished entering all of the codes as, just testing each part of the statement before i add in the rest of the codes the program is not working properly dont know where I have gone …

Member Avatar for JamesCherrill
0
257
Member Avatar for Jfredry

HI, I am looking for perl script to copy a file froms source to destination(partition) Key: 1.Having Docs files in Folder C:/ as a source and copy the Folder to destionation user preferred. Could somebody help me with this scenario. Reagards, John

Member Avatar for 2teez
-2
86
Member Avatar for RikTelner

I manage to copy/write/edit this code, but it doesn't seem to work, not even `alert();` is executed, it does exactly nothing. <?php // include "from_db.php"; ?> <!DOCTYPE html> <html> <head> <script src="http://maps.googleapis.com/maps/api/js"></script> <script src="http://code.jquery.com/jquery-1.11.2.min.js"></script> <link rel="stylesheet" href="styles.css" media="screen" /> <script> function initialize() { var mapProp = { center: new google.maps.LatLng(51.509, …

Member Avatar for pixelsoul
0
213
Member Avatar for juniper.root

I understand its usually a header has been already sent type scenario but I'm starting to lose it. I have no idea how to sniff out where I mucked up in my code. I tried using a print sub routine that prints both to stdout and to a file. I …

Member Avatar for 2teez
0
233
Member Avatar for khairbabu61

I have prepared web site in google blog spot. Done site map and google tools set .Also create bing site map. When I am schercing in google money from out sourcing which not showing properly but in bingit is showing properly. Pls can you help how to solve this problem.

Member Avatar for craftkilimanj
0
160
Member Avatar for anglaissam

Using WWW::Mechanize::Firefox there exists the ability for a PERL script to grab the URL of the active firefox tab amongst other abilities. I want to be able to do the same for Google chrome. Does anyone know of a way to obtain the Chrome active tab URL through PERL? Thanks …

Member Avatar for 2teez
0
137
Member Avatar for <M/>

I am trying to collect my form inputs into a csv file and for some reason the csv file records some of the styling and does not display numbers (phone number and date). I am not sure where I got it wrong. Here is what I have so far. <?php …

Member Avatar for imti321
0
238
Member Avatar for Alan_6

Hi ! I have the Idea to make a perl script (better than in bash) to make some configuration on linux. I think to have some files like param.txt with some lines like: param_one = ZZZ XX CCCC VV param_two = ZZZZZZZZZ param_three = X so need to check if …

Member Avatar for Taywin
0
153
Member Avatar for justadaniwebber

I am making a website and for some odd reason the site does not load up properly. Parts of it have been removed and the older version shows. Also, the images and the .js/.css does not load up properly? How do i get it to show up properly?

Member Avatar for <M/>
0
136
Member Avatar for rama.krishna.9003

I have three files, each one containing 5 columns. Every line begins with a name (column 1) and it has a range associated in column 4 (beginning range) and column 5 (end of range) File:A A5WV02_DANRE 35.64 188 3030 3217 A5WV02_DANRE 34.24 184 3934 4117 A5WV02_DANRE 33.68 193 2707 2898 …

Member Avatar for 2teez
0
171
Member Avatar for itsthewendigo1111

I"ve been working on this dice game for the past few days. I made sure the game itself worked properly then I added a draw dice function that would show you the dice that were rolled on the canvas. I needed a continue button to make the rest of the …

Member Avatar for itsthewendigo1111
0
263
Member Avatar for premkiran

Hi all, I'm new in PERL, and trying to set up code that will allow me to create a new Table (Table 2) from Table 1: Table 1 No. Time Person 1 9:42 AM A 2 9:42 AM B 3 9:42 AM A 4 9:42 AM C 5 9:42 AM …

Member Avatar for 2teez
0
1K
Member Avatar for Ghazal_1

can anyone help me to Write a script that can find gene palindromes, including reverse-complement non-repeating palindromes with an intervening spacer region.

Member Avatar for 2teez
0
132
Member Avatar for nyquil
Member Avatar for minhaajmuntasir.edoo

How do i access a masterpage hyperlink control from a content page in asp.net 4.0 using vb?

Member Avatar for JorgeM
0
87
Member Avatar for Gurjit_1

Hello friends, Please help me to sort out my problem , actually it is strange one and don't know why it appears. Actually I was trying to make a file upload form which I got success although a bit. A bit in the sense, if I include just <form> in …

Member Avatar for Gurjit_1
0
221
Member Avatar for Linda_4

Hi - Not sure If I posted this in the proper forum - I installed upload-lite script here - http://www.perlscriptsjavascripts.com/perl/upload_lite/users_guide.html and it is great for the simple use I want. I'd like to add the submitters name and email address to the form. Could someone please send me the code …

0
93
Member Avatar for dinkar_1

I have a multiselect dropdown which has 8 colors in a hash %all_colors: my %all_colors = ( 1 => 'Red', 2 => 'Yellow', 3 => 'Orange', 4 => 'Blue', 5 => 'Black', 6 => 'Brown', 7 => 'Green', 8 => 'White', ); I have put it in a dropdown like …

0
115
Member Avatar for vivek.vivek

Hi, My file has date in "14-oct-2014" format. I want to compare this date with current date and print result if the difference is less than or equal to 7 days. Example: Say today is 10-oct-2014 and file contains 14-oct-2014. The difference between these days is 4. So the script …

Member Avatar for vivek.vivek
0
116
Member Avatar for muskovitz

i want to make a time capturing limit of airodump-ng using the timeout command of UNIX but it just gave a empty terminal screen! Heres the simple perl script #!/usr/bin/perl use strict; use warnings; my $interface="eth1"; my $moninterface="prism0"; open(FILE, ">result.txt") or die "Failed to create a file!\n"; print FILE `iwlist …

Member Avatar for 2teez
0
303
Member Avatar for Robert_26

Hi. I am trying to recruit for a PERL/Shell Scripting Developer for our Baltimore Office. How would i find them on this site? Thanks for reading. Robert Ossakow Sr. Recruiter T. Rowe Price

Member Avatar for jackstone444
0
98
Member Avatar for Anirudh_1

I have two text files a.txt that contains data like abcd = 4.0 def =2.0 jkl= 8.0 and b.txt which has similar data abcd = 6.0 dfg = 2.0 jkl = 8.0 i want two compare and print the following points in a new text file 1.the names first, if …

Member Avatar for raicabogdan
0
305
Member Avatar for red711

Hi, I'm new to perl, and need help about comparing 2 columns within 2 different .tsv files. I have search through the forum for some similar case of mine, such as [url]http://www.daniweb.com/software-development/perl/threads/335711[/url], [url]http://www.daniweb.com/software-development/perl/threads/336421[/url] and [url]http://www.daniweb.com/software-development/perl/threads/311399[/url] , I have tried to modified them according to my needs but somehow the final …

Member Avatar for 2teez
1
559
Member Avatar for spidey

Hello, I installed 'Marvel Ultimate Alliance' game on my PC. Every function and graphics display well except for the characters, mine and the villains alike. They seem to look like silhouettes or stick men with weapons. I asked someone else about it and he said the problem could be in …

Member Avatar for arthurmanuel.emanex
0
421
Member Avatar for ingeborgdot@yah

I can open Yahoo Mail in Chrome, IE but not on Firefox on my main computer. I can open up Yahoo Mail on every other computer I have no matter what browser I use. It is just the one computer that has an issue with Yahoo Mail. Everything else works …

Member Avatar for rubberman
0
174
Member Avatar for arsharma159

Here is my line of markup code for Rich Snipets. Google says use it but I didn't find any particular way to make it WORK. I inluded this block of code in both HEAD and BODY areas as said by GOOGLE, but it didn't word either way. I even TESTED …

Member Avatar for pritaeas
0
108
Member Avatar for kartikeswar.parida

Here the switch() isn't working properly;not executing the function; & morever the while loop run twice when an invalid choice is given.. #include<stdio.h> #include<stdlib.h> #include<ctype.h> #include<string.h> #define MAX 100 int vowel_count(char*); int conso_count(char*); void to_lower(char*); void to_upper(char*); void menu(); int main() { int cnt=0; char data[MAX]=" "; bool flag=false; printf("Enter …

Member Avatar for sanjulovers
0
258
Member Avatar for myk45

Hello All, I want to convert a markdown file to its equivalent HTML programatically and Iam looking for a way to do this properly. I would need a script that converts the markdown file into proper html.I'am aware of Doxygen which generates these .md files to hmtl just with a …

Member Avatar for pritaeas
0
212
Member Avatar for Jack_9

I'm starting perl and I run windows so I would like to know what is a good perl IDE for windows. Any advice is appreciated.

Member Avatar for 2teez
0
98
Member Avatar for Jack_9

Does anybody know a good book, are a good website to learn perl. Anything is appreciated.

Member Avatar for 2teez
0
121
Member Avatar for Jack_9

I haven;t even started learning perl yet, I know languages like java, c and python, but is perl even worth learning? I mean it's a preety old language (what am Isaying age dosen't matter, think of how much C is still used) but the thing that I meant is that …

Member Avatar for Hiroshe
0
297
Member Avatar for sai_5

i am writing an automation script in Perl which logs into the server and executes various commands and functions.This Perl script mostly uses "send expect statements and for loops " to run the commands. This Perl script is a back end script which i have written. i have to build …

Member Avatar for Taywin
0
200
Member Avatar for biojet

hi all, I am comparing 2 data: Data 1 has 26 colums that have the information of comapanies and detail of informations. Data 2 has 18 coulums that have the information of peoples. Form the name of people (data 2) I want to make the new data which have all …

Member Avatar for Taywin
0
148

The End.