64,152 Solved Topics

Remove Filter
Member Avatar for
Member Avatar for ganapathy24

I need a programming for following conditions in python... When the program is launched it should ask me for the number of words... Then as many words as input... then it has to make all the random possibility of those words without any space and provided it as an output... …

Member Avatar for ganapathy24
0
295
Member Avatar for poojakakde000

code in java for send a free msg from internet to mobile phone like way2sms or 160by2 sites................. what are the requirments for that???? pls reply as fast as possible...........

Member Avatar for stultuske
0
131
Member Avatar for cmps

I am coding a bbcode parser system. But I'm stuck with the nested tags. I would like to know if someone know the regex pattern to find for instance a [url] tag. Example: [url][url]Hello world .com[/url][/url]. I want the output for this to be <a>[url]Hello world .com[/url]</a> where [url]Hello world.com …

Member Avatar for cmps
0
266
Member Avatar for centenond

Hey guys i have a question, so i need boxess in my website to store name, weight, etc now i know this is done with html but i need to be able to control and do math with those number how i would do thaht with java ? i mean …

Member Avatar for centenond
0
136
Member Avatar for KushMishra

Hi all, I am a naive programmer to VB and VB.Net, I have mostly used C# and now I am stuck at a simple point as follows :- CollectionView.CollectionChanged += Function(sender, e) RebuildSearchIndex() I don't have any idea how to replace "+=" as its showing some error. Requesting you all …

Member Avatar for KushMishra
1
497
Member Avatar for KushMishra

Hello All, I am populating my frame from different pages and showing the output as a grid. Following is my xaml code :- <Frame x:Name="mainFrame" Grid.Row="1" JournalOwnership="UsesParentJournal" /> and xaml.cs :- mainFrame.Source = New Uri("Views/ProductsPage.xaml", UriKind.Relative); But I want to change the selected/unselected (focused/non-focused) row colors in this frame and …

Member Avatar for KushMishra
1
278
Member Avatar for CreatorZeus

int numLines = 0; string unused; while (getline(users, unused)) { ++numLines; } cout << numLines << " Clients Found" << endl; //begin the search string search; string line; while(client.empty()) { cout << "Queue: "; //Display What The User Typed getline(cin,search); //Make it capital transform(search.begin(), search.end(),search.begin(), ::toupper); cout << search << …

Member Avatar for Ancient Dragon
0
230
Member Avatar for <M/>

So I am reading a book from Pratt and it is called A Guide to MySQL. Apparently the book stinks and I am trying to answer some of the questions from the book. #fc1 show tables in the current selected database # for your current database it should be two …

Member Avatar for <M/>
0
351
Member Avatar for opel123

okay so hi, my problem is on (i think) case 3(the delete), it actually works when you input a movie title of example: armageddon(2012), but if you input a title that has spaces in between example: when i met your mother(2009), it just crashes. i don't know what to do …

Member Avatar for Ancient Dragon
0
15K
Member Avatar for kent.johnstone_1

I need some pointers with pointers. What is the difference between a variable preceded by an "*" and an "&"? Some of my sample code uses one and some the other. I'm getting compiler errors trying both saying the variable is not defined. First use this function.

Member Avatar for kent.johnstone_1
0
423
Member Avatar for overwraith

I am wondering, when does it become more efficient to pass by value in C#? I was reading this article: http://msdn.microsoft.com/en-us/library/4d43ts61%28v=vs.90%29.aspx The article suggests that passing by reference actually generates overhead when it transferrs the value type to the heap. My C/C++ classes swore by passing by reference as a …

Member Avatar for overwraith
0
267
Member Avatar for wfray

The following PHP code works fine with javascript in Internet Explorer but fails in Firefox. Javascript is enabled in Firefox. It appears that when the button/icon is clicked, it enters the javascript function, but doesn't change the icon on the page. It also seems to return to the PHP code/page …

Member Avatar for wfray
0
347
Member Avatar for bCubed

I downloaded eclipse to my windows 8 computer along with the jdk and when I launch eclipse it tells me that it cannot not find the jre or jdk and that it is not in my current PATH. I have tried setting the path to the jdk folder but it …

Member Avatar for bCubed
0
340
Member Avatar for dev90

I was wondering if you could help me with a current issue I am having whilst developing an ER diagram. The problem I am having is with identifying the correct Entities. Question:- students can fill registration form online (of 8th,9th and 10th only) they can give online exam. any user …

Member Avatar for Stuugie
0
87
Member Avatar for RikTelner

Resource: http://www.w3schools.com/php/php_xml_simplexml.asp I wasn't able to Google it since I don't know how to form question. So lets say the **xml** file is <?xml version="1.0" ?> <major> <point>Tower</point> </major> </xml> I can retrieve it by using **PHP**: <?php $file = simplexml_load_file("file.xml"); echo "Well, the point in on ". $file->point ."."; …

Member Avatar for RikTelner
0
112
Member Avatar for LeNenne

Hello I have a problem that is as follows. One list box with 30 perons in it and I have command(index) from a - z when I dblclick on a name it fill all the textboxes good but I will have it like when I dblclick on a name in …

Member Avatar for LeNenne
0
166
Member Avatar for Pia_1

I have a problem with registering a new employee for my project. It can only detect the first employeeID as an existing.. Here's my code: void registerNewEmployee(){ FILE *fp; struct employee obj; fp=fopen("data.txt","a+"); system("cls"); printf("\n\t*******************************************"); printf("\n\t*******************************************"); printf("\n\t***\t\t\t\t\t***"); printf("\n\t***\tNEW EMPLOYEE REGISTRATION\t***"); printf("\n\t***\t\t\t\t\t***"); printf("\n\t*******************************************"); printf("\n\t*******************************************\n\n"); char employeeIDNew[5]; printf("Employee Number: "); scanf("%s", &employeeIDNew); …

Member Avatar for deceptikon
0
202
Member Avatar for Amr87

I have this array Array ( [0] => Array ( [post_category] => cat-1 ) [1] => Array ( [posts_count] => 33 ) [2] => Array ( [cells_num] => 1 ) [3] => Array ( [grid_num] => 0 ) [4] => Array ( [post_category] => cat-2 ) [5] => Array ( …

Member Avatar for Amr87
0
147
Member Avatar for gsynr

Hi...All I am new to Ajax in PHP and trying the below code which works fine in Google Chrome but not works in IExplore.. Thanks in Advance <script language="javascript"> function showTeh(str) { if (window.XMLHttpRequest) {// code for IE7+, Firefox, Chrome, Opera, Safari xmlhttp=new XMLHttpRequest(); } else {// code for IE6, …

Member Avatar for gsynr
0
176
Member Avatar for Dani

I'm having a brain fart and for some reason it's not coming to me how to do this right now. I'm trying to tally up a table, and store the results in a different table. Like so user score ---- ----- 1 4 1 5 1 2 2 1 2 …

Member Avatar for Dani
0
384
Member Avatar for <M/>

I need help with the queries I wrote and I don't understand what is wrong with them? Can someone help me correct them? #11 SELECT BOOK_CODE, TITLE, PUBLISHER.PUBLISHER_CODE, PUBLISHER_NAME FROM BOOK, PUBLISHER WHERE PUBLISHER.PUBLISHER_CODE = BOOK.PUBLISHER_CODE ORDER BY PUBLISHER_NAME; #12 SELECT BOOK_CODE, TITLE, PRICE FROM BOOK, PUBLISHER WHERE PUBLISHER_NAME = …

Member Avatar for ryantroop
0
318
Member Avatar for diaafayed

How to create a global "C#" class for data base connection such that ? 1. all classes and controls can handle. 2. remian all session untill the main from of an application closed. 3. disconnect from the server when closing windows Form application

Member Avatar for brite_a
0
230
Member Avatar for tqmd1

Sir, I am using these codes. <script type="text/javascript" src="jquery-1.7.1.min.js"></script> <script type="text/javascript"> function checkEmail() { var email = document.getElementById(xemail); alert(email); var filter = /^([a-zA-Z0-9_\.\-])+\@(([a-zA-Z0-9\-])+\.)+([a-zA-Z0-9]{2,4})+$/; if (!filter.test(email.value)) { alert('Please provide a valid email address'); email.focus; return false; } } </script> <tr> <td width="40"><label>Email</label></td> <td width="40"> <input type="text" name="email" id="xemail" value="<?php echo $myemail; …

Member Avatar for Airshow
0
170
Member Avatar for RikTelner

<script src="http://code.jquery.com/jquery-1.10.2.min.js"></script> <script type="text/js"> $(document).keydown(function(e){ if (e.keyCode == 37) { alert( "Left"); return false; } }); </script> How to make this work? I am using Firefox and don't I get this working.

Member Avatar for RikTelner
0
87
Member Avatar for Pia_1

I have attached data.txt file with contains all of the employees data. The problem is when I login, it would only read one record. Here's my code: #include <stdio.h> #include <conio.h> #include <string.h> #include <stdlib.h> int login(); void displayWelcome(); main(){ int result; do{ system("cls"); result = login(); if(result==1 || result==2){ …

Member Avatar for dev90
0
198
Member Avatar for suavedesign

I am designing a parallax website. My url is http://www.chailifeline.org/events/letourdesimcha/index2.php For the first background image, I would like it to take up 100% of the browser at all times. if i set it to have a background-size:100% 100%; i get the effect i want, but the image is distorted. if …

Member Avatar for Ritesh_4
0
125
Member Avatar for rohan21blade

**HEre is my checkout.java** index LCval = new index(); final String LCnum = LCval.getVal(); JButton btnNewButton_1 = new JButton("Finish"); btnNewButton_1.addActionListener(new ActionListener() { public void actionPerformed(ActionEvent arg0) { try{ int bal = 0; Class.forName("com.microsoft.sqlserver.jdbc.SQLServerDriver"); String connectionURL = "jdbc:sqlserver://ROHAN\\SQLEXPRESS;Database=sys;user=rohan;password=rurouni;"; Connection con = DriverManager.getConnection(connectionURL); PreparedStatement pst =null; ResultSet rs = null; //Statement st=con.createStatement(); …

Member Avatar for JamesCherrill
0
295
Member Avatar for mbarandao

Hello All: I am using a div to simulate a checkbox effect; thus, with each click of the div, my jquery displays a different option (in my case: whether the user wants to select a Monthly or Yearly Subscription). The Jquery code: $(document.body).ready(function () { $(function () { var main_obj_id …

Member Avatar for mbarandao
0
203
Member Avatar for dougy83

Hi all, Does anyone know how to quickly (i.e. O(log n) time) insert items into a sorted list? I'd prefer an existing working function if available; I didn't see any appropriate ones in boost or stl. Some background: I'd like to keep a constant sized sorted list, and insert items …

Member Avatar for dougy83
0
13K
Member Avatar for kent.johnstone_1

What does -> mean in the following line of code? bulk_in=end_point->bEndpointAddress; My books show - and > but neither of them seem to apply. The books don't seem to show both together. This is part of a USB driver that I'm trying to convert from Linux to C for the …

Member Avatar for kent.johnstone_1
1
246
Member Avatar for Kniggles

Hi All, Am trying to send the same e-mail to 2 addys with one click with out using the cc or bcc , this is the line i am syuck on $email = '$_REQUEST['email'],$_REQUEST['email2']' ; it works if i do not add the 2nd email request to i am guessing …

Member Avatar for Kniggles
0
195
Member Avatar for Chrisadams

OS:windows 8,compiler:g++,mysql version:5.6 //bookshop.cpp #include <my_global.h> int main() { return 0; } //bookshop.cpp //Makefile CC = g++ LIBS = -L"C:\Program Files\MySQL\MySQL Server 5.6\lib\" -lmysqlclient INCLUDES = -I"C:\Program Files\MySQL\MySQL Server 5.6\include" all:bookshop bookshop: bookshop.cpp $(CC) -fpermissive -o bookshop $(INCLUDES) bookshop.cpp $(LIBS) //Makefile error: In file included from C:\Program Files\MySQL\MySQL Server 5.6\include/my_global.h:68:0, …

Member Avatar for Chrisadams
0
1K
Member Avatar for Kniggles

hi can anyone see why this is not working please ? `mysqli_query($con,"UPDATE goodship SET brick=brick+1 WHERE id= $_COOKIE['id']");` all i am trying to do is add one to the sessions id col brick, thanks.

Member Avatar for cereal
0
176
Member Avatar for Builder_1

my problem is that how can we intialize a string using cin in output console like this. eg. My class is very good through cin...as the spaces put the null character so only first alphabet is initialized....kindly someone give me solution..

Member Avatar for Ancient Dragon
0
703
Member Avatar for RikTelner

Hi there. I was kinda researching on how I could store data at best (in my opinion). I came on "CSV" files. Which looked great to use. I found out there are two functions that can operate file. So I keep Googling on how to use the syntax and how …

Member Avatar for cereal
0
282
Member Avatar for RikTelner

I downloaded this: http://www.php.net/downloads.php The first one. I have read this: http://stackoverflow.com/questions/4301975/how-can-i-run-a-php-without-a-web-server So I thought answer on StackOverflow would be perfect. It looked so. But when I "untared" I saw no **php.exe** in the folder. How this can be?

Member Avatar for RikTelner
0
387
Member Avatar for alina.nazchowdhury

How to save a text information with the formatting italic, bold, underline, small, medium, large? I have a menu, from where I can Save the text as a file, Open a file in my text editor, Exit from my program, but I don't know the coding for Saving and Opening …

Member Avatar for Minimalist
0
194
Member Avatar for shwetha R Adiga

can you please help us how to apply numerology for any text document in python and say whether the given text file is optimistic or not depending on the numerology applied.

Member Avatar for rrashkin
0
156
Member Avatar for eriekasato_1

An InsuredPatient contains all the data of a Patient, plus fields to hold an insurance company name and the percentage of the hospital bill the insurance company will pay. Company : Portion of bill paid by insurance (%) Wrightstown Mutual 80 Red Umbrella 60 All other companies 25 How to …

Member Avatar for eriekasato_1
0
315
Member Avatar for JRDJ12

My requirements are as follows: 1. use main method 2. use the following array- `int[] grades = new int[] {` `82, 70, 99, 90, 92, 75, 87, 85, 91, 100, 91, 87 ` `};` 3. Write code to step through the array of grades and calculate the average grade. Modify …

Member Avatar for JamesCherrill
0
10K
Member Avatar for tqmd1

Sir I am using these codes <div id="search"> <label for="filter">Filter</label> <input type="text" name="filter" value="" id="filter" /> </div> <br /> <table cellpadding="2" cellspacing="0" width="90%" id="resultTable"> <thead> <tr> <th> <strong>ID</strong> </th> <th> <strong>Name</strong> </th> <th> <strong>Mobile</strong> </th> <th> <strong>City</strong> </th> <th> <strong>Country</strong> </th> </tr> </thead> <tbody> <?php $sql = "SELECT * from …

Member Avatar for tqmd1
0
209
Member Avatar for iqlas

hi guys... i am working on the project in vb.net in visual studio... my computer's name is homesys(Computer name as shown in MY Computer Properties).... when i try to make crystal report using sql server 2008 database... which i made it in visual studio itself, i am unable to get …

Member Avatar for Dharsana
0
390
Member Avatar for <M/>

I am trying to reverse the number that is doubled from the user input. Problem is that if they enter a number like 20000 it gets doubled into 40000 but it reverses it to 2 rather than 4. How do i get it to make the doubled number reversed and …

Member Avatar for <M/>
0
251
Member Avatar for Eagle.Avik

hi, i want to change the image class on click on the image, i am also using radio input, here is my fiddle, check out and tell me what is wrong? [http://jsfiddle.net/Avik/7aKY3/1/](http://jsfiddle.net/Avik/7aKY3/1/)

Member Avatar for Eagle.Avik
0
339
Member Avatar for iness.popovcic

#include <stdio.h> #include <conio.h> main() { int i,j,k,l,m,n; printf("Put in n nober of sqeur: "); scanf("%d",&n); printf("Whit wich nomber do you wanna start your squer?: "); scanf("%d",&m); for(j=m;j<=n+1;j++) { for(k=j;k<=n;k++) { printf(" %d",k); } for(l=1;l<j;l++) { printf(" %d",l); } printf("n"); } getch(); } Editor's note: moved to the appropriate forum

Member Avatar for 2teez
0
109
Member Avatar for kamilacbe

HI, Am planning to write a event management for my web application ,where the Admin can schedule a program to one particular channel say like Admin --> BBC channel --> 10Am-12Am program one from 12 Dec2014 - 23DEC 2014 ..Now my question is when i write checking condition as no …

Member Avatar for kamilacbe
0
229
Member Avatar for Wael1988

**hello folks, i am new programmer,,,i have studied C# , Asp.net , Ado.net,SQL , Sharepoint Adminstration and development! but i am still junior..i mean i still ddnt get a job!! sumtimes i feel that its hard to go on programming..like i do always study but always forget..i feel sumties like …

Member Avatar for Wael1988
0
203
Member Avatar for <M/>

This is how you calculate the area of a triangle, hope you guys find this useful. import java.text.DecimalFormat; import java.util.Scanner; public class Exercise2_15 { // find the area of a triangle public static void main (String [] args) { double side1 = 0; double side2 = 0; double side3 = …

Member Avatar for JamesCherrill
0
208
Member Avatar for AMADH

Hello, I am trying to add a 2nd tab area to the jquery tabs, I want the new content area to appear before the tabs then the 2nd content to appear. My plan is to have images appear before, and both be controlled by the tabs. <!doctype html> <html lang="en"> …

Member Avatar for AMADH
0
347
Member Avatar for darrylnuyda

Hi Everyone, Can I ask your favor, I have a code that I customize. DBConnect.CS //here ismy db connection using System; using System.Collections.Generic; using System.Linq; using System.Text; using MySql.Data; using MySql.Data.MySqlClient; using System.Windows.Forms; using System.Data; namespace PAIRDevelopment.Classes { public class DBConnect { public static string csConnect = "uid=root; database=membership; pooling …

Member Avatar for deceptikon
0
2K

The End.