199,112 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for sankaran1984

I want to write a method to determine if a given string is a palindrome. E.g. "Madam I'm Adam", or "A man, a plan, a canal, Panama". The prototype for the function is: [CODE]bool is_palindrome(char const * str)[/CODE] I have a simple logic to check for equality by moving forward …

Member Avatar for jonsca
0
103
Member Avatar for hickyfunkymonke

Hey there, I hope this is the right place to put this in? Anyway, Im currently using PHPMyAdmin application on the yahoo small business web hosting. Basically when I click the privelages button I recieve this errer: [QUOTE]Warning: Your privilege table structure seems to be older than this MySQL version! …

Member Avatar for pbd4499
0
454
Member Avatar for D4n1sD

I want a partner for preg_split for multiple matches. For example preg_split('/(.be|.fr|.im|.fi)/i', $input[$i], -1, PREG_SPLIT_DELIM_CAPTURE); I tried something like this but doesnt work. I want for example to search for these 5 strings and if it finds them split the string there. Anyone know?

Member Avatar for D4n1sD
0
105
Member Avatar for vbx_wx
Member Avatar for cobrax

hi there:twisted: i'm verry new here but i hope that there is sombody here that can help me with the following i have a fusker script called fusker.ne build in in a verry old xoops engine i wil use this script again but there is a verry hard to understand …

Member Avatar for cobrax
0
147
Member Avatar for rnrajput

[CODE]<?php $host='localhost'; //Change the user,password and database variables as desired $user='root'; $pass=''; $dbname='imagedb'; $link=mysql_connect($host,$user,$pass) or die(mysql_error()); $db=mysql_select_db($dbname) or die(mysql_error()); ?> <html> <head> <title>Uploading image to MySQL database and displaying it</title> <script src="mootools1_2.js" type="text/javascript" language="javascript"></script> <script src="ajax.js" type="text/javascript" language="javascript"></script> <link href="style.css" rel="stylesheet" type="text/css"> </head> <body> <fieldset> <legend>Upload Form</legend> <form enctype='multipart/form-data' name='frmupload' …

Member Avatar for rnrajput
0
104
Member Avatar for rexins

Hallo, MIPS works with words of 32 bit. But for universitiy, i have to add two 64 bit Integers numbers. first of all, my idea was that i split the numbers and store them in two register. But that's only a theoretical idea. I have no idea how to realize …

Member Avatar for tesuji
0
2K
Member Avatar for mangel.murti

hi all, if i have to print some text over a image in particular location of image can i do it with javascript actually i have a check(image) but i want to print name , amount over that image but i want it be in write place of check image …

Member Avatar for mangel.murti
0
3K
Member Avatar for nehasfun

Please help me to write the following program in 8085 assembly language. Only guidelines required. 5 numbers are stored at consecutive memory location. Arrange them in ascending order and store them in another location.

Member Avatar for mahul000
0
183
Member Avatar for dghervas

Hello, Can someone give me an idea on how to start and control a pppoe connection using code and not using rasdial. Oh and i would also like to be able to specify the phonebook that i would like to use with full path. Thank you, Daniel

Member Avatar for dghervas
0
650
Member Avatar for codewalkz

I am currently making a binary tree and I was able to create the tree. What I am facing now is " How to get the total number of children in my left side and total number in my right side ". The structure is: [CODE] 1 2 3 4 …

Member Avatar for codewalkz
0
1K
Member Avatar for thuyson

i want to export all data in sql 2005 database to excel file but i don't know! Please help me! Thanks so much!

Member Avatar for Lusiphur
0
162
Member Avatar for dhruv_arora

I wrote a program and created an object with fstream. Eg. [CODE] fstream f1; f1.open("s.dat",ios::out|ios::binary); f1.close(); [/CODE] Generally if there's no file such as s.dat, then it creates a file by the name but it it's creating one instead it exits the program. I have to then manually create a …

Member Avatar for p@rse
0
133
Member Avatar for JTroopSoldier

Hello everyone! I am John and Im 13 years old. I was always wondering if the Computer Science field was good to major in. I would like to kind of get is jist of how much they make. Also, what would be helpful if you could tell me some classes …

Member Avatar for smokewire
0
220
Member Avatar for scranton

i'm trying to figure out how to write a query like the following, but in a way that works: select * from (1,2) or select (1,2) ... the result i'm aiming for is 1 2 can this be done?

Member Avatar for smokewire
0
176
Member Avatar for litlemaster

Hello all, I am a newbie and currently learning c#. i have adequate programming ability. I have to create a project in c#. Now I am searching for a topic for my project. I have plans in my mind to create a desktop application through which we can send and …

Member Avatar for litlemaster
0
173
Member Avatar for hemavl

Hi! I am 32 years old Engineering graduate.Homemaker till now. I have learnt vb 6 and oracle, 10 years before. Now I am interested in vb.net.I am learning it on my own. Please help me to develop myself, so that I can get a job in It field.Give me some …

Member Avatar for finito
0
209
Member Avatar for zismad

Hi all , i'm having a solution which includes a setup project too. when the user installs my program, it asks him t oinstall wamp server too. I want to have the path in which they installed the wamp server, so that i could run the MySQL files from my …

Member Avatar for Oxiegen
0
144
Member Avatar for indianpresley

I want to use rdo with/without using a sql, ado without using sql and dao using sql for my application programming can you show some simple and understandable examples

Member Avatar for vb5prgrmr
0
177
Member Avatar for krishnamurtrhy

Im receiving the above msg even after using MultipleActiveResultSets=True to connection string public partial class registration : System.Web.UI.UserControl { string gender; SqlCommand cmd = null; SqlConnection con = null; protected void Page_Load(object sender, EventArgs e) { con = new SqlConnection("Server=.; database=nkm; user id=sa; pwd=karthavya"); con.Open(); cmd = new SqlCommand(); cmd.Connection …

Member Avatar for Lusiphur
0
476
Member Avatar for shimurai

Hello everyone, I have a Counter-Strike 1.6 server and I would like to let my server admins to turn ON the server when it crashes, so I investigated a bit to do this using PHP to run an .exe on my server but I'm not very experienced at php and …

Member Avatar for cwarn23
0
245
Member Avatar for gee_azizi

Hi, I'm working with the VB6 for my project and it's about membership in a club. Everything is near done but there are something I want to ask Database : D-Club.mdb Field that hold the DOB : member_dob ex: '(dd/MM/yyyy) Field that hold the member value : member_value ex: '(16 …

Member Avatar for asaness
0
108
Member Avatar for baladeveloper

hi..... what is the difference between edit template and item template... thanks advance. by balas

Member Avatar for baladeveloper
0
314
Member Avatar for Mkaveli

Hy I wanted to know what the best way is to program 3d in python without usin Blender. What I really want is to put my 3ds max object in a Python program. Thanks Mkaveli

Member Avatar for Tech B
0
338
Member Avatar for keynan_toht17
Member Avatar for asaness
0
501
Member Avatar for phaedrusGhost

Hi all, I have an if statement here that works well except when i try to put it inside of the code you see starting at line 7. What you see on line 1 is only the code I want to insert. The code you see at line 5 is …

Member Avatar for phaedrusGhost
0
145
Member Avatar for kukie

Hi everybody I am very new to PHP and MYSQL How can I implement : [CODE] $q=$_GET["q"]; $CMY=$get["CMY"]; ... $query=("INSERT INTO the_array($CMY, model) VALUES('$q','dddd')");[/CODE] $q and $CMY are results I get from AJAX, and I think the only way to save the results is using the DB.

Member Avatar for kukie
0
277
Member Avatar for Maya Pawar

I have a datagridview which contains 4 records. I want to insert these records into access table.This access table already have records. Datagridview's columns & access table's columns are same (datatype & columnname) How can i insert these 4 records in access table??? Plz anybody help me.............. Thanks in advance...

Member Avatar for Maya Pawar
0
134
Member Avatar for hemavl

I have got problem in updating the access database. THIS IS MY CODE // [code] Dim con As New OleDb.OleDbConnection Dim spl As String Dim ds As New DataSet Dim da As New OleDb.OleDbDataAdapter con.ConnectionString = "PROVIDER= Microsoft.Jet.OLEDB.4.0;Data Source=C:\Users\Malai\Documents\database31.mdb" con.Open() spl = "select * from REMAINDERDETAILS" da = New OleDb.OleDbDataAdapter(spl, …

Member Avatar for kvprajapati
0
110
Member Avatar for billmudry

So far progress overall has been going well in general on my pet project I call the TAXA project (nickname for taxonomy). The heart of it is a botanical tree on all the woods of the world. Since viewing it can make it easier for any of you to understand …

0
169
Member Avatar for YoavX

Hi there! im trying to get whatever is displayed on my screen and insert it into a metafile. how can i do that?

Member Avatar for Ancient Dragon
0
52
Member Avatar for iqra123

Hiie i have to convert unsigned char to char array. i m using ultoa() function that converts unsigned long char to a string. but it is giving me an error of Type Mismatch. actualy i have tsend my data to server side where it is recieving in char array. so …

Member Avatar for kings_mitra
0
176
Member Avatar for hgbreton

I need to create a SOAP wrapper of the form [CODE=xml] <SOAP-ENV:Envelope xmnls=........><SOAP-ENV:Body></SOAP-ENV:Body></SOAP-ENV:Envelope> [/CODE] My C# code to do this is as follows [CODE=C#] XmlElement soapEnvelope = document.CreateElement("SOAPENV", "Envelope", "http://schemas.xmlsoap.org/soap/envelope"); XmlElement soapBody = document.CreateElement("SOAPENV", "Body", "http://schemas.xmlsoap.org/soap/envelope"); [/CODE] This works fine for the Envelope part but then adds a spurious xmnls …

Member Avatar for kvprajapati
0
484
Member Avatar for smoothe19

How to build a [B]case sensitive[/B] bubble sort and selection sort for a 2 dim array Here is what i currently have but it does not work properly [CODE]static void bubblesort(String[][] Array){ String datae = null; String temps; String tempse; for(int x=1;x<i;x++) { for(int y=0;y<i-x;y++) { if(Array[y][1].compareTo(Array[y+1][1])>0) { temps=Array[y][1]; Array[y][1]=Array[y+1][1]; …

Member Avatar for NormR1
0
322
Member Avatar for Stu007

Hi, I'm really hoping someone can help me with this problem: I have a Mr Site email address, I'm trying to make it work with outlook 2007 and I'm using Sky Boradband. I can not or the life of me get it all to work happily. I've had various error …

Member Avatar for Lusiphur
0
169
Member Avatar for Jesi523

Hi...Someone please help. I have a web site that is based on information in a database. It is used to sign people up for events or classes. So an event is created, a link is provided with the query string for that event, then people can view the different times …

Member Avatar for Jesi523
0
251
Member Avatar for tomtetlaw

I am getting a really weird unhandled exception that just doesn't make sense to me. I've annotated my code so hopefully it will make sense to you aswell. Any help on this would and will be appreciated :) [code=c++] void DarkGDK( ) { dbSyncOn( ); dbSyncRate( 60 ); CBaseEntity *ent …

Member Avatar for tomtetlaw
0
130
Member Avatar for sansam598

I am santhosh martin, I am mca final year student, our 6th is projects, any body help me to select a good topic of system side projets(using J2EE)

Member Avatar for peter_budo
0
79
Member Avatar for brimzi

Hi i am a final year student in computer science.i have a project idea but don't know if its possible.I am thinking of making a peer to peer application using a wifi card but have an interface similar to bluetooth to the user.the idea here is allow for pcs to …

Member Avatar for peter_budo
0
142
Member Avatar for star111792

hello all, i m a final year student doing software engineering. now its time for me to submit idea for my final project but i m unable to get any idea which is gud and still easy to implement, as i m interested in doing solo project. i have almost …

Member Avatar for peter_budo
0
782
Member Avatar for cke1031

I'm trying to write a class called "state" and I'm trouble with defining one of the constructors using variable argument list. The "state" class has four members: class state{ nucleon species; vector<int> particleLevel; vector<halfint> intermediateAm; halfint totalAm; public: state(nucleon, ...); }; "nucleon" is an enum type defined as: enum nucleon …

Member Avatar for cke1031
0
176
Member Avatar for bibiki

hey there, I have the following code: [CODE] String[][] candidates = new String[4][3]; for(int i = 0; i!=4; i++){ for(int j = 0; j!=3; j++){ switch (j){ case 0: {candidates[i][j] = JOptionPane.showInputDialog("Give name of candidate " + i);} case 1: {candidates[i][j] = JOptionPane.showInputDialog("Give address of candidate " + i);} case …

Member Avatar for bibiki
0
102
Member Avatar for tmani_85

Hi. i have a Stored Procedure like this DELIMITER $$ DROP PROCEDURE IF EXISTS `foundation`.`TEMP_TBL` $$ CREATE DEFINER=`root`@`localhost` PROCEDURE `TEMP_TBL`() BEGIN -- DROP TABLE IF EXISTS TEMP_TBL; DECLARE done int(10); DECLARE a,b,c,cname CHAR(26); -- DECLARE cur1 CURSOR FOR SELECT id,ccode,accname FROM account_master; DECLARE cursor1 CURSOR FOR SELECT id,ccode,accname FROM account_master; …

Member Avatar for rch1231
0
187
Member Avatar for pinsickle

Hello, I was wondering how to make a c/c++ program installable on other computers. For example, lets say for some odd reason a friend wanted a hello world program. Obviously, if I complie the code it will only run on my computer. The may be a noobish question, but we …

Member Avatar for pinsickle
0
569
Member Avatar for spowel4

Here's something that is probably simple but so far I haven't figured out how to do it: I have a console application that I want to pass three arguments to when I call it. The three arguments are the input file name, the field delimiter, and the output file name. …

Member Avatar for spowel4
0
219
Member Avatar for Andreas5

Hello again, i ran into some trouble with Visual C++ 2008 when i tried to use a template function. I only get this error when i try to use the function from main(). I used another template function succesfully earlier, but i can not figure out what is wrong with …

Member Avatar for jonsca
0
183
Member Avatar for rayborn66

Hi, I am having a problem with using file input/output streams in this program. [CODE] #include <fstream> using std::ifstream; using std::ofstream; using std::endl; int main() { ifstream inStream; ofstream outStream; inStream.open("infile.txt"); outStream.open("outfile.txt"); int first, second, third; inStream >> first >> second >> third; outStream << "The sum of the first3\n" …

Member Avatar for rayborn66
0
289
Member Avatar for shadiadiph

I thought this would be simple I am trying tochange the opacity using style. but keeps throwing an error [code] document.getElementById('overlay').style.background='#000'; document.getElementById('overlay').style.opacity='40'; document.getElementById('overlay').style.filter='alpha(opacity=40)'; [/code] keeps thowing the error in parsing value for 'filter' declaration dropped in my css i have [code] #overlay{ width: 100%; height: 100%; background: transparent; /* for …

Member Avatar for shadiadiph
0
119
Member Avatar for kaydee123
Member Avatar for parijat24

Hi , Actually I have just to copy some specific files from a directory. As there are 5000 files and I have to copy only 300. so I just want to make program which read the name of the file given in text file and then copies those file from …

Member Avatar for TrustyTony
0
98

The End.