199,114 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for New Jack

My program is to solve the simple problem in the Link[http://codeforces.com/problemset/problem/143/A] #include <stdio.h> #include <cstring> #include <math.h> #include<set> #include<iostream> #include<algorithm> #define MAXN 25 #define INF 100000000 using namespace std; struct _point { int L;int r; bool operator<(const _point &a)const{ return (this->L<a.L); } }; set<_point> up,down; int r1,r2,c1,c2,d1,d2; void solve(){ _point …

Member Avatar for Moschops
0
201
Member Avatar for ankit1122

i will be receiving JSON POST as mentioned on this web page https://sendgrid.com/blog/sendgrids-parse-api-parsing-incoming-email-is-now-faster-and-easier/ how do my application receive this request and process furthur??

Member Avatar for cereal
0
614
Member Avatar for Daniel_46

I'm trying to compile an old project in Borland C++ Builder 4. I have a working exe and the source files for that, therefore someone must have managed to compile it earlier. However, when I open the project, check if the project has all the necessary files in the resources …

0
333
Member Avatar for Cap'nKirk

Hi, having a bit of a head-scratcher time here. I have a FOR loop that searches through a Directory for images, collects the EXIF DateTimeOriginal information form each image and then is supposed to output this collected data inside an HTML TABLE. I know that the FOR loop does exactly …

Member Avatar for Cap'nKirk
0
322
Member Avatar for Gudger

can someone help me with this? "PROGRAM TO DISPLAY FACTORS OF A NUMBER" Use A1,A2,A3..as variable. Sample output Enter apositive integer: 60 Factors of 60 are: 1 2 3 4 5 6 12 15 20 30 60 my teacher say, that we should use stdio.h kg conio.h

Member Avatar for New Jack
0
291
Member Avatar for AceJay

Hi, I'm a begginer at php and I need to create a image editing tool in php. I want to crop the image, display the cropped image next to the original and be able to resize, re-crop and replace the cropped image in the same location as previous cropped image, …

Member Avatar for AceJay
0
777
Member Avatar for mdavis28

Hi, I have recently started working with SQL databases of which I have 0 previous experience. I have added the datasource to my project using the Visual Studio wizard and the DataSet appears in my solution explorer. Everything that I have read thus far has shown connecting to the SQL …

Member Avatar for JOSheaIV
0
161
Member Avatar for phoenix254

Hello, I would like to ask you that which is good library(angularjs jquery react blabla or simple js)/method/technique to get safe input value from users(to prevent csrf and xss or any other malicious) ? which is more safe `document.getElementById();`or` $('#id/.class');` and what is bind data? explain me this in poor …

Member Avatar for diafol
0
226
Member Avatar for Ravinder_3

When I click on the button it is not working but when i refresh the page the mails are going.Please suggest me how to solve this problem. <button type="submit" title="<?php echo $this->__('Email Me') ?>" class="button"><span><span><?php echo $this->__('Email Me')?></span></span></button> <?php $email=$_POST['email']; $name=$_POST['name']; $to=$email; $subject= "New Application"; $message= "Name: ".$name; $headers= "From: …

Member Avatar for broj1
0
4K
Member Avatar for AntonyRayan

Can any one tell me ? which framework is easy to learn and configure. And Which one is best codeIgniter or Zend or CakePHP or any other?

Member Avatar for AntonyRayan
0
119
Member Avatar for Mannava

5:18:22 PM [Apache] Problem detected! 5:18:22 PM [Apache] Port 80 in use by "Unable to open process" with PID 4! 5:18:22 PM [Apache] Apache WILL NOT start without the configured ports free! 5:18:22 PM [Apache] You need to uninstall/disable/reconfigure the blocking application 5:18:22 PM [Apache] or reconfigure Apache and the …

Member Avatar for dhiraj_2
0
4K
Member Avatar for mrbrightside10

I'm so confused on this, can anyone please give me a hand. Thank you in advance. A program that uses the numbers from 1 - 12 and output the number, the square of the number, the cube of the number and finally the square root of the number. At the …

Member Avatar for ddanbe
0
1K
Member Avatar for Satyam_1

In vb.net application, I have a dgv. the data from dgv are transferred to textboxes when row are selected. I print these textbox as report using e.graphics. after printing perticular row data , that row is removed from dgv. (i filtered the dgv by "NotPrinted"). I want with a single …

Member Avatar for zelrick
0
287
Member Avatar for AleMonteiro

Hello my friends, I'm re-thinking my project and I'd like some opnions... Goal: An WebServer/Stream Server easially deployed in any Windows or Linux(Using Mono), with no dependecy on previous installed software(except for Mono). The basic app usage: The user will be able to select multiple folders(with music, videos and photos) …

0
195
Member Avatar for centenond

So im doing an MMO, i was progressing alot, 6 months progrramming this thing. The problem is that i was testing offline my game, today i have the brilliant idea to port foward my server and make it online, i knew it was gonna be slighty slower, but its awful! …

Member Avatar for centenond
0
304
Member Avatar for Cap'nKirk

Hi, I am attempting to iterate through all image files in a folder and it's subfolders to check for the EXIF property of DateTimeOriginal. For the life of me I cannot seem to work out how do this, I can work it fine by just entering a single Path in …

Member Avatar for AleMonteiro
0
223
Member Avatar for donoskaro

Hey guys, I am currently *trying* to create an IMAP authentication backend for Baikal/SabreDAV. The aim is for SabreDAV to authenticate users using an IMAP server (which will make CalDAV and CardDAV authentication a lot easier). This is the code I have produced so far: <?php namespace Sabre\DAV\Auth\Backend; // Auth …

0
532
Member Avatar for DTaylorIPA

Having trouble. Don't really know where to start. I need to use a helper class to populate a stack in C#. The helper class needs to have a few dozen items used to populate the stack. Then, I need to use a timer to kick off a second process that …

Member Avatar for JOSheaIV
0
183
Member Avatar for Yardood

I have started learning javascript and am currently at an entry level. I have tried other languages like C++, C#, maybe python a little. all at a beginners level. point is - I guess I get the basic handle of things. question is - where can I write code that …

Member Avatar for Yardood
0
111
Member Avatar for aditd

I'm looking for a wordpress plugin that once set up can upload videos ( from a certain place ) to my youtube account using the api. Do you have any ideas of something like this ... or something next to it? Also if you can program something like this ... …

Member Avatar for aditd
0
206
Member Avatar for Darth Vader

Hi, It is possible to open a webbrowser window with the below code. I wonder how it would be possible to have the web browser docked at TOP of the desktop and have the window stretched to LEFT and RIGHT of the desktop and also how to choose a HEIGHT …

Member Avatar for Teme64
0
521
Member Avatar for triplekkk

hi....i'm new in vb programming and need help to solve the programming problem ......i have write a script to read line input file, compute and then produce result but i have a problem to list up the result for an output....it's only print out the last output....actually i need to …

Member Avatar for SpectateSwamp
0
326
Member Avatar for ogsirus

Hi Guys I ran into a bit of a problem with some code I am writing. I am trying to store all possible combinations of a set of numbers which are current being stored in List. Problem is my code run into an out of memory exception, heres my code: …

Member Avatar for ogsirus
0
2K
Member Avatar for rpv_sen

Hi friends i am trying to display dynamic dropdown using php. but it is not fetching the second dropdown value. I collected the below code from internet. please help me to fix it. <?php $dbc = mysqli_connect("localhost","root","escape123","tsheet"); // Check connection if (mysqli_connect_errno()) { echo "Failed to connect to MySQL: " …

Member Avatar for rpv_sen
0
387
Member Avatar for zizo.ahmed.779

hi i'm developing my app which be done by vb.net for calculating aluminum measures and profile cutting list now i connect results with database and get list of different sizes in all profiles but i want to add code to optimize these measures for stock length ex. i have parts …

Member Avatar for rproffitt
0
222
Member Avatar for newcoder310

I recently faced a problem when I was trying to run a junit test in eclipse. I was getting a ClassNotFoundExcpetion. So, I googled a bit and tried out a solution where I had to move the JRE System Library below the rest of the jars and it worked!!! But …

Member Avatar for peter_budo
0
265
Member Avatar for yaginuk

hi, new to php. i have just started a project for entering 2 postcodes (zip code) and working the distance between the 2. if i have to a url like "https://api.postcodes.io/postcodes/cf634px" and when you put that in a browser content is returned within. how would i use php to echo …

Member Avatar for diafol
0
169
Member Avatar for davy_yg

Hello, Please cek this website: http://www.innovation.web.id/One/portfolio-filter.php This is the code: portfolio-filter.php <!DOCTYPE html> <html> <head> <meta charset="utf-8"> <title>Portfolio</title> <link rel="stylesheet" type="text/css" href="css/style.css"> <link rel="stylesheet" type="text/css" href="css/carouselstyles.css"> <link href="http://www.jqueryscript.net/css/jquerysctipttop.css" rel="stylesheet" type="text/css"> <link rel="stylesheet" href="bootstrap-3.3.5/css/bootstrap.min.css"> <link rel="stylesheet" href="bootstrap-3.3.5/css/custom.css"> <script src="bootstrap-3.3.5/js/jquery.min.js"></script> <script src="bootstrap-3.3.5/js/bootstrap.min.js"></script> </head> <body> <?php include('nav.php'); ?> <br><br><br> <div style="text-align:center;"><h2><b>Our Portfolio</b></h2></div> <p> …

0
151
Member Avatar for ananddvk

For loop is not working with expect in pgp encyption script. ========= -bash-4.1$ more TestScriptPGP.sh #!/bin/bash #!/usr/bin/expect -f for i in `ls *.txt` do spawn /opt/PGP/pgp -e +force $i "<abc@gmail.com>" expect "Are you sure you want to use" send "y\n" expect "$" done; -bash-4.1$ ./TestScriptPGP.sh ./TestScriptPGP.sh: line 5: spawn: command …

Member Avatar for Roger_4
0
661
Member Avatar for BiBi_2

<Error> <Code>AccessDenied</Code> <Message>Access Denied</Message> <RequestId>E9F449356111EF63</RequestId> <HostId> rQvhUyG5YcEhWAybnmeDjIofcdmbmua7vkr/7v16J7EK3oQZPaQwBBlDFRZb54w7h3wz/F wfWA= </HostId> </Error>

Member Avatar for Aeonix
0
172
Member Avatar for AntonyRayan

In a table, I want to show the list subjects based on standard selection from mysql. How to do? Example: s.no(default title)|subject1(English) |subject2(French)| subject3 based on standatrd selection| total(Default) 1 90 95 100 285 Like this I need. How to do?

Member Avatar for diafol
0
93
Member Avatar for yonca.karagoz

This is for reloading the current page. I used it for after comment the page. `Page.Response.Redirect(Page.Request.Url.ToString(), true);` protected void btn_insertComment_Click(object sender, EventArgs e) { SqlCommand cmd = new SqlCommand("insert into Comment(commentNameSurname,commentEmail,commentContent,commentPicture,articleId) Values('" + txt_NameSurname.Text + "','" + txt_Email.Text + "', '" + txt_Comment.Text + "','/theme/comment.png', '" + articleId + "')", …

Member Avatar for Van4.NET
0
132
Member Avatar for newcoder310

I have an idea for an android app/add-on. I'm basically a Java programmer and I can develop this using HTML/CSS/JQUERY etc. However, I have no idea on how to develop this for Andriod. Where would be a good place to getting start on app development.

Member Avatar for newcoder310
0
129
Member Avatar for rchawdhari

Hi , I want to create a class in lib folder , from that class want to create mysql view . such as in mysql CREATE VIEW rocket_current_activities AS SELECT rocket_activities.status AS status from rocket_activities.... This can be do in mysql but how to do from rails. I dont want …

Member Avatar for rchawdhari
0
631
Member Avatar for Christopher_12

i am new in this encryption and decryption i would like to have my encryption appear on my database (currently using microsoft sql server) i create 3 forms : one for the registration which means when u will register, u will be able to access the 3 forms by entering …

Member Avatar for Reverend Jim
0
315
Member Avatar for darren2005

Hi, does anyone know how I could search for the protocol used in CSS? I did try use "document.querySelectorAll" but failed to get it working. So basically I am trying to find out via Javascript if CSS is calling the http protocol for example: <style> body { background-image: url("http://mysite.com/images/logo.jpg"); } …

Member Avatar for darren2005
0
196
Member Avatar for Aditya0025

hi, i want to attach a handwritting pad(ivista tablet) to my java project. Any suggestion or any method how to make it possible. I tried the google but doesn't find any help

Member Avatar for rproffitt
0
234
Member Avatar for Curious Gorge

I just need to know if its possible and how. I had an incident once on a message board I frequented where someone's signature displayed info about my PC and internet connection to me rather than an actual artsy-fartsy signature. I'm not new to this, I saw that type of …

Member Avatar for diafol
0
181
Member Avatar for MrXortex

I have created an app with simple login authentication, it is actually a twitter clone. The user logs in and access the pages, etc. But when the user posts something from there profile. It gives an error NoMethodError in RibbitsController#create undefined method `userid=' The error is around line 5: class …

Member Avatar for Taywin
0
631
Member Avatar for Curious Gorge

I don't know that much about calculus, even less about Radians and polar coordinate systems. I need to find a point on the cartesian coordinate graph for my unity3d project. I know that the Mathf library with C# (or is it just Unity3d?) takes Radians as arguments, so I used …

Member Avatar for Curious Gorge
0
145
Member Avatar for AntonyRayan

I have two date fields. One field is from date and second one is to date. While the cursor moving from second date field to submit button, I have to compare the two dates. if from date greater than to date it has to display error and has to empty …

Member Avatar for Taywin
0
201
Member Avatar for Stefce

I want to create circle around marker but im having some troubles i have this code Circle circle = mMap.addCircle(new CircleOptions() .center(new LatLng(-33.87365, 151.20689)) .radius(10000) .strokeColor(Color.RED) .fillColor(Color.BLUE)); this code is drawing circle around Sydney but i want to create where i place the marker here is the code together with …

0
196
Member Avatar for Mr.M

Hi Dw. I would like to know how can i auto type and submit a form using vb.net, I'm not using Webbrowser or should I use it? I just saw another post similar to this except that the OP requested to auto click the button. What I want is to …

Member Avatar for Mr.M
0
216
Member Avatar for abhi10kumar

I have Canvas page which displays canvas div vertically. Now, I want to horizontally oriented; I tried but can't success. Below is the code: var ctx; var extId = "fglkbiekhcllcfgdmbcadcfdgfgigoaj"; jQuery(document).ready(function() { /* Extensiion ID of the Chrome App. */ /* Getting the Port Reference and Setting Max XY*/ var …

Member Avatar for diafol
0
205
Member Avatar for Syed Zeeshan Ahmed

I need help in writing a the following programs in C language: We want to determine whether a long string of a’s and b’s has the property that the number of a’s is even and the number of b’s is even. Algorithm 1: Keep two binary flags, the a-flag and …

Member Avatar for David W
0
262
Member Avatar for anmol.raghuvanshi1

I am trying to intergrate the jquery tokenInput plugin to my form [Link](http://loopj.com/jquery-tokeninput/) I want to simple local data search I want data to be fetched from database and show it in input box with multiple options as in demo However this code works for me it displays the result[i …

Member Avatar for anmol.raghuvanshi1
0
894
Member Avatar for Sneaky Pete

Hi guys, To make Some things easier, I want to make a program that can do the following: 1. Import a .txt file to a specific .xls file. The .txt file contains several lines of data which is build like this: (aaaa,bbbb,cccc,etc.) sererated by comma. Imported in excel, I would …

Member Avatar for Reverend Jim
0
325
Member Avatar for fheppell

Hey, I'm trying to (using bootstrap btw), have a page with a header and an iframe. I want the iframe to take up the remainder of the page's height and 100% width. This is my code: <!DOCTYPE html> <html lang="en"> <head> <meta charset="utf-8"> <meta http-equiv="X-UA-Compatible" content="IE=edge"> <meta name="viewport" content="width=device-width, initial-scale=1"> …

Member Avatar for diafol
0
324
Member Avatar for AntonyRayan

Hi, I am new to this concept. I have website in local and it has home,aboutus, testimonial and contact pages. In an index page(home page), I want to display whole page view in single div. Wherever I am clicking something, it has to display there also. How to do?

Member Avatar for diafol
0
118
Member Avatar for Ravinder_3

I added the code for generating the due dates for present day. Can you Please help me how can i generate the vaccination due date by selecting the date of birth. Here is my code in app/design/frontend/ultimo/default/template/vaccination/vaccination.phtml <?php $nextWeek = time() + (7 * 24 * 60 * 60); // …

Member Avatar for diafol
0
326

The End.