199,114 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for Sendy Hipo

hi guys :D! im trying to make specialized template for cstring, but it seems i stuck on it.. i tried to search how to make specialized template for cstring , but there wasnt any good explanation and im trying to figure this out my self here's my template header : …

Member Avatar for Sendy Hipo
0
155
Member Avatar for broodwich

I have the following problem: Write a Java Applet that will help an elementary school student learn multiplication. Use either Random class or Math.random() method to produce two positive one-digit integers. The applet should prompt the user with a question. The student then enters an answer. If the answer is …

Member Avatar for broodwich
0
275
Member Avatar for sathvikareddy57

how do i implement a c program that removes all nonalphabets in the given string??

Member Avatar for Ancient Dragon
0
101
Member Avatar for ScubaSam

Hey people I wrote a program and installed it on another computer. Every time I get this error that says "The Microsoft ACE OLEDB 12.0 provider is not registered on the local machine". Please can anyone assist. Thanks

Member Avatar for zachattack05
0
183
Member Avatar for zachattack05

Just came across [this](http://www.faqs.org/rfcs/rfc2821.html) (RFC2821) and in section 4.5.3.1 (Size limits and minimums) it states (emphasis added): > There are several objects that have required minimum/maximum sizes[...] > **local-part** > *The maximum total length of a user name or other local-part is 64 characters.* > > **domain** > *The maximum …

Member Avatar for zachattack05
0
188
Member Avatar for sandz24

#include <iostream> #include <vector> using namespace std; template< typename T > using matrix = vector< vector<T> > ; I saw this code snippet while searching for templates. I was wondering why there's a word "using". What is it for? Thanks :)

Member Avatar for sepp2k
0
167
Member Avatar for ScubaSam

Hi guys I came to a dead end writing a program for one of my friends, I cant seem to get data in my datagridview to show in my textbox. can anyone please assist? I need to make a invoice in the multiline textbox with data in my datagrid view …

Member Avatar for ScubaSam
0
94
Member Avatar for chrisdent1986

Hi I'm a final year university student and i'm running into a bit of trouble with my final year project (It's very important) My task is to create a DBA (Database Administration) tool in visual basic to allow me to add/edit/delete users from an existing oracle(sql) database. I really don't …

Member Avatar for 201061198
0
204
Member Avatar for ska_defender

I am trying to use bad words filter but I want to load the bad words from a txt file on my server but some how failed to do so.here is my bad words filter code function badWordFilter(&$text, $replace) { $patterns = array( '/butt/i', '/poop/i', '/crap/i' ); $replaces = array( …

Member Avatar for diafol
0
793
Member Avatar for latooplat

I wanted to save this array: $words = array ("close","fed","house"); into : $words_assoc = array (21=>"close",13=>"fed",15=>"house");

Member Avatar for diafol
0
84
Member Avatar for DyO1

Hello i'm trying to make a text editor but i cant find codes for Save button....someone please give me? I searched on google but no luck (like always)

Member Avatar for Pride
0
218
Member Avatar for presly

using few softwares we can create web site and even can create better web pages than writing programs by our own itseems. is it true? if so then can any1 suggest me a simple software? please help me in this..

Member Avatar for rotten69
0
145
Member Avatar for jinglylime

Hi guys, I wrote some code for finding the three longest words in a string. The code I wrote seem too complicated, is there a better way to appoarch this? public class Size { public String[] threeLongest(String word){ String[] three = new String[3]; String[] words = word.split(" "); three[0] = …

Member Avatar for sepp2k
0
3K
Member Avatar for Violet_82

HI peeps, I have a general question about scripting. what's the best scripting to learn (I would like to learn one language) and do you have any link to any good resource, not just a tutorial but somewhere I can see what scripting can do (sorry I am really new …

Member Avatar for Violet_82
0
166
Member Avatar for theCompiler

im creating a program that will convert certain character into its ascii value then i will change the value. for example the ascii value of A is 65 right? but i want to change the value of it into 1 so if i input A the output of it is …

Member Avatar for JamesCherrill
0
219
Member Avatar for romanzo

Hello, I basicaly not familiar with vb.net because I'm new to it but I need help for my assingment P.O.S System but I can't fin a way to deduct the amount that you want to remove from the list. I always have this eror and I don't know if the …

Member Avatar for romanzo
0
329
Member Avatar for trishtren

Hey, Im trying to extract numbers from a scanner, but im having problems extracting them all. Primarily i need it to * read a text file which contains some text and numbers. * go through the file and locate all numbers * differentiate between numbers contained in bracket (3), and …

Member Avatar for trishtren
0
260
Member Avatar for Iceman10284

Assume that a file containing a series of names ( as strings ) is named names.dat and exists on the computers disk. Design a program that displays the numbers of names that are stored in the file. ( Hint: Open the file and read every string stored on it. Each …

Member Avatar for sepp2k
0
541
Member Avatar for tanu.jain.39566

<%@page contentType="text/html" pageEncoding="UTF-8"%> <!DOCTYPE html> <html> <script> function adddate() { date=new Date(); var month = date.getMonth()+1; var day = date.getDate(); var year = date.getFullYear(); if (document.getElementById('datetext').innertext =='') { document.getElementById('datetext').innertext = month + ' ' + day + ',' + year; } } </script> <head> <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> <title>JSP Page</title> …

Member Avatar for ckchaudhary
0
90
Member Avatar for abhi415

**I am facing some problem in updating ms access with parameters. I succeeded to insert the data in access with parameters. My code for inserting the data is:** Dim dbPath As String = "C:\Users\Abhishek\Documents\ToolDatabase.mdb" Dim connStr As String ="Provider=Microsoft.Jet.OLEDB.4.0;" _ & "Data Source=" & dbPath & ";Jet OLEDB:Database Password=agupt80;" Using …

Member Avatar for M.Waqas Aslam
0
159
Member Avatar for marky101

is it possible in vb.net to save automatically records in mysql database during brownout or power supply loss? I want to develop an application in vb.net that is able to save records automatically when there is a power failure. I need ideas. Thank you.

Member Avatar for M.Waqas Aslam
0
215
Member Avatar for coroll

Hi all, I dont why my code is not detecting the matching words. Firstly Im reading the words from a text file into an array. Plz help me to make this correct. This is my code. import java.util.*; import java.io.*; public class TestRegex{ public static void main(String[] arg) { String …

Member Avatar for coroll
0
373
Member Avatar for nekoleon64

Hello my name is Leonard E. Norwood Jr. I haven't been back much but I'm still studying and practicing C++ I'm still doing arrays starting from beginning to better get used it it. Anyway, it's a simple program of finding the largest number of the 10 numbers. I know my …

Member Avatar for WaltP
0
3K
Member Avatar for salah_saleh

Hi, In the code below I have 2 nested loops, with the inner loop starts from the index of the outer loop till the end. You can think of it as I am trying to find ll the combinations. So if we have 'm' rows, we will have m(m+1)/2 possible …

Member Avatar for salah_saleh
0
121
Member Avatar for dancks

I don't really have an explanation and whoever thought that this new posting format was the way to go... idk what to say. I really don't like it. I can only post so much lines of code before something happens to the window and I can't scroll all the way …

Member Avatar for mike_2000_17
0
260
Member Avatar for cartersin

hi, I have an IP camera and i want to see it on windows form. i read some articles at codeproject but they're a little bit too complicated to me. there're too much functions. How can i make a simple interface to watch my IP cam? Any help is appreciated. …

Member Avatar for darko444
0
426
Member Avatar for da(code)da

My Table create is giving me problems. i probably missed something small but i cant find it. $dbase = $_COOKIE['ID'] . "char"; // Create table mysql_select_db($dbase, $con); $sql = "CREATE TABLE games ( gameID int NOT NULL AUTO_INCREMENT, PRIMARY KEY(gameID), gameName varchar(25), intro TEXT, bground TEXT, cast ENUM( '0', '0', …

Member Avatar for phorce
0
111
Member Avatar for magicmarkuk

Hi I am trying to add a small piece of code to a script to validate two user inputs. 1. Whether a minimum bid is less that 20 - if so show an error; and 2. Check that the maximum bid is higher than the minimum bid - if not …

Member Avatar for phorce
0
170
Member Avatar for javanub123

im trying to write a program that will read a line of text from a file and then print that text into whereever the cursor is in the browser. like into the address bar or something. is the possible with python? how would i go about doing it. i know …

Member Avatar for javanub123
0
123
Member Avatar for rithish

generally we can build a application in java and vb make it as a exe.but how do we build application using c or c++.even some operating systems like xp was written in c++.how is it possible????/

Member Avatar for Ancient Dragon
0
154
Member Avatar for DyO1

i need a code for making a tabbed browser please help me ! just give me instructions on hol to duplochase the browser windo and how to make the back,next buttons to work for the selected tab. thank you.

Member Avatar for DyO1
0
142
Member Avatar for Lostelf

Hi everyone I'm having a problem with this program giving me the wrong output. The question is • void getScore() should ask the user for a test score, store it in a reference parameter variable. This function should be called by the main once for of the six scores to …

Member Avatar for rithish
0
381
Member Avatar for Pride

Okay so im a programmer. C#, VB.Net, Html, Css, Jscript, some Java. So I'm here because I think I'm finally ready to make a good project that people would use/play, not one of those test/practice projects that I made for 3 years. I have a few ideas in mind. Anyways, …

Member Avatar for hericles
0
236
Member Avatar for da(code)da

Ok I have a promblem. Im getting a unidentified variable error from **$found:** Whats wrong here? while($row = mysql_fetch_array($result)) { **$found** = true; echo "Character/Alias: " . $row["CharName"] . "<br>Created: " . $row["CharBorn"] . "<br>Game: "; if ($row["CharGame"] == '0') { echo "None"; } else { echo "In-Game"; } } …

Member Avatar for da(code)da
0
120
Member Avatar for shibu2all

Hello, can anyone suggest me how to execute graphics programs(such as DDA line algo) using GCC compiler under windows? graphics.h is a part of turbo c and is not available in gcc.. so is there any way to do this??

Member Avatar for Schol-R-LEA
0
157
Member Avatar for diknas

#include <conio.h> #include <iostream> using namespace std; int main() { int A[10][10],m,n,x,y,sum=0; //Create a Matrix cout << "Enter number of rows and columns in Matrix A : \n"; cin>>n>>m; cout << "Enter elements of Matrix A : \n"; for(x=1;x<n+1;++x) for(y=1;y<m+1;++y) cin>>A[x][y]; //Find sum of each row for(x=1;x<n+1;++x) { A[x][m+1]=0; for(y=1;y<m+1;++y) …

Member Avatar for phorce
0
274
Member Avatar for wildplace

how to code a jscript similar to fb that click the image and a layer pop out? i would like to see some example on how it is done. thanks!

Member Avatar for wildplace
0
110
Member Avatar for Khav

Hi Guys I have been extracting zip files and uploading them successfully with PclZip Library.However i want to rename the extracted files using some random string generator on the fly before placing them in my 'images' folder On the site they said that a callback function can be used to …

Member Avatar for Khav
0
838
Member Avatar for Random_Integer

Right now I'm writing a java program that makes special edits to the hosts file on windows. Some people at work were complaining about it. Anyways, the program is finished everything works great! However I have to run eclipse as admin to give it permission to write in the hosts …

Member Avatar for Software guy
0
261
Member Avatar for fafa70

hi. i have a panel in a form and a button. iwant to write a program that when i push the button,a circle be drawn in panel but problem is here. because the handler in button is eventArgs but the panel is paintEventArgs. can someone give me a suggestion for …

Member Avatar for Pride
0
775
Member Avatar for rahul pareek

char a[5000]; main() {} and in another file main() { char a[5000]; } after compiling both file. exe of both file size have large difference. why

Member Avatar for deceptikon
0
273
Member Avatar for jfunchio

I have this rather large form that I need to process and have the results sent to my email. Note the data will only be sent to an email not save in a database. The problem I'm having is that in these form there are tables, not only html tables, …

Member Avatar for almostbob
0
181
Member Avatar for gizmo7008

I'm not sure what I'm doing wrong. I get a warning when I compile and an error after my program runs. This is the warning I get: myList2.cpp: In function ‘int main()’: myList2.cpp:96: warning: deleting array ‘int score [6]’ And this is what shows after my program runs: a.out(7023) malloc: …

Member Avatar for gizmo7008
0
251
Member Avatar for calvinmicklefin

I have the following code ... <?php // test $item_101_product_title = "MGT-101"; $item_102_product_title = "MGT-102"; $item_103_product_title = "MGT-103"; $item_104_product_title = "MGT-104"; $item_105_product_title = "MGT-105"; $item_106_product_title = "MGT-106"; $item_107_product_title = "MGT-107"; $item_108_product_title = "MGT-108"; $item_109_product_title = "MGT-109"; $item_110_product_title = "MGT-110"; $item_111_product_title = "MGT-111"; $item_112_product_title = "MGT-112"; $item_113_product_title = "MGT-113"; $message = …

Member Avatar for calvinmicklefin
0
185
Member Avatar for softDeveloper

Hi! Does anyone know how to upload a file, say in a form, with input type="file". But what I want is to display the uploaded file in an iframe in the same page. Best Regards

Member Avatar for Travus
0
665
Member Avatar for ckwolfe

Hello, I have an issue using Haskell's Command-Line args functionality. I'm writing a Typechecker for my parser and I need to be able to tell my program via command-line arguments that I can have at most x errors reported where x is: ./typechecker --number-of-errors=x test.cl This is the run-statement I …

Member Avatar for sepp2k
0
231
Member Avatar for HibaPro

I need to know if there is any diferences when i create an application that connected with sqlserver for 1 pc or for a local network ?? anyone can help ??

Member Avatar for Reverend Jim
0
93
Member Avatar for doomsday1216

I don't know if this is the right place for a post about Scheme, but i was wondering if anyone knew if there are loops and if statements in Scheme? (I am very new to Scheme, i know there are 'cond' statements, but i don't know if there are if's, …

Member Avatar for sepp2k
0
368
Member Avatar for sofien.fkih

//Hi, //I want to make an application that sends email; the email need to be taken from an oracle database, I had make the email code and it is working succseeful and also I made the coonection to the database in the next class which is also working successfully, but …

Member Avatar for JamesCherrill
0
355
Member Avatar for nyuszi

Hi all, i need a little help for haskell. i try to make a program which makes the romans numbers in a good form, so for example if u put in [I,I,I,I] it change it to [I,V] but something always wrong with the patterns :( what did i wrong? data …

Member Avatar for sepp2k
0
181

The End.