199,114 Archived Topics
Remove Filter ![]() | |
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 : … | |
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 … | |
how do i implement a c program that removes all nonalphabets in the given string?? | |
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 | |
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 … | |
#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 :) | |
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 … | |
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 … | |
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( … ![]() | |
I wanted to save this array: $words = array ("close","fed","house"); into : $words_assoc = array (21=>"close",13=>"fed",15=>"house"); ![]() | |
![]() | 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) |
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.. | |
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] = … | |
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 … | |
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 … | |
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 … | |
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 … | |
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 … | |
<%@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> … | |
**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 … | |
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. | |
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 … | |
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 … | |
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 … | |
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 … | |
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. … | |
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', … | |
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 … | |
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 … | |
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????/ | |
![]() | 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. ![]() |
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 … | |
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, … | |
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"; } } … | |
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?? | |
#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) … | |
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! | |
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 … | |
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 … | |
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 … | |
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 | |
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, … | |
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: … | |
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 = … | |
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 | |
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 … | |
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 ?? | |
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, … | |
//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 … | |
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 … |
The End.