64,152 Solved Topics
Remove Filter ![]() | |
Hi, im writing an application in java that collects a number consisting of 5 digits,for example, 11234 from the user. The problem i have is that i want to separate the individual digits and display them separated by 3 spaces. thank you in advance for your help. | |
Hi, I have to add a mouse over event and mouse click event in my rectangles that I draw while taking the values from an input file. Now since I am taking rectangle height and width from the input text file as well I also want to take a text … | |
[CODE] <form action="update.php" method="post"> <input type="text" name="userdate" value="<?= $b ?>" /> <input type="submit" name="subjoin" value="Update"> </form> [/CODE] and update.php [CODE] $c= $_POST["$b"]; echo "value".$c; //its not working[/CODE] | |
Please help. i have an application made in C# using ms studio 2008. I have created the data source from my access 2003 database. But every time I select the data in the crystal report wizard. It only displays the fields from the database I have connected but not the … | |
hello, i have a code below and i dont know how to make a string input for me to input hte name of the student...kindly check it out... [code=java] import java.io.*; public class io { public static InputStreamReader reader = new InputStreamReader(System.in); public static BufferedReader input= new BufferedReader(reader); public static … | |
can long long store 12 digit numbers. Its showing in my comp that limit of long long is 9223372036854775807, but then it's showing too large when i declare it like this: long long num; i don't want to store in array. My seniors told that long long will do but … | |
hello, got a quick question regarding stack overflow (I honestly don't know if this is more suited for a wxWidgets forum, once you see what I mean, but I figured I'd try here first). I was tweaking my linked list class and testing it in a testing harness program I … | |
Hi i am building a program that will take the text of a supplied file and encrypt using a password then save the encrypted text in another file. To decrypt the file you must provide the same password used to create the file. the program encrypts the text at a … | |
this is not a question, but an application to compare two text files line by line. i attach the project to this post, i also attach two sample text files to compare. these two text files contain the names of the .wav files that comes ready with devices, HandHeld Dolphin … | |
Hello, my task was to make two constructors for the code that I also posted and they are not working. Can somebody help me figure out why they are not working. I posted them right below. here are my constructors for course and Faculty course.js: [code=javascript] function Course (name, times, … | |
Alright so I'm trying to insert a few superscripts into a program. I'm working to try and recreate a math problem. I tried googling how to insert superscripts, then tried how to insert Unicode into a console application, but I didn't get much luck. Anyone have any ideas. By the … | |
Hello everybody! Recently while i was experimenting with some code written in c++ i noticed something that confused me a bit. In that code i had to deal with 2 structs : [code]struct date { string day; int month; int dday; int year; }; [/code] and the other struct [code]struct … | |
hi! i need help with my code...i dont have any syntax errorrs but when i run it it doensnt run!! i dont kno what to do!! plss i really need help!!! i have to write code tht uses array to store student information and calculate the average, letter grade. i … | |
Dear Sir, Could you tell me what is wrong of my program? The question is: write a progrm that totals up a list of exactly 100 numbers and outputs that total to the screen, also show the average of the 100 numbers. My program: [code] program Project2; {$APPTYPE CONSOLE} uses … | |
![]() | I have a file, called 'html.html', which contains 'open_skype' in the first line and in the second line it contains the location of the file. Now, what I want to do is, make a function read the first line and then the second line should be read separately....if you don't … |
I build a c# project. but after installation while clicking on the shortcut on the desktop system displays a message "could not find file 'C:\Programfiles\filename'" There was no folder or file corresponding to my application in the C Drive (installed drive) Is this because of some error in the build? … | |
I have a pre-made template and have inadvertently messed something up when trying to add a favicon link. I've googled what I can and tried several corrections but fear I have made things worse...please can someone come to my assistance at all? The page says Parse error: syntax error, unexpected … | |
Right. Basically I'm new to Python ( Go on call me a noob) and I'm trying to make a program that will open certain programs when you give the right password. But i just can't seem to get it to open the right files. So far, I am only trying … ![]() | |
![]() | Below is my prime generator, it works fine only thing it gives me 1 more prime than i want eg., if num=40, i need primes uptill 40 but it gives me 41 also...i want it to stop at 37. It works fine with 90. sample run ======== Enter the number:40 … ![]() |
I have a textbox. in js code, i try this... if(isNAN(parseInt(form.myTextBox.value))) {alert("not a number");} I'm trying to check if it is a number. Else i want to warn him.... How can i do this in a js file? | |
Hei, i need help with php code. So, I have a lots of pages - but it would be nicer to put them to ONE page, if this is possible with "_GET" and "IF" function.. and with "echo". Like when the page is "page.php?p=moderator" shows me moderators.. if this is … | |
![]() | Hey guys.... I want to make a program which reads the HTML code from my blog, saves the HTML code as a string, so that I can check if specific words are present in the HTML code, here's the code I used: [CODE]import urllib import string open_site=urllib.urlopen('http://www.sravan953.blogspot.com') read_site=open_site.read() value=str(read_site) for … ![]() |
Hey all, I have just updated to MS VS 2008 Pro. I am having some cross over problems from MS VC 6. Below is a simple example: [CODE]#include<afx.h> #include<iostream> using namespace std; int main() { CString s; CString sa("Strings "); CString sb = CString("are easy "); CString sc = "in … | |
Hi everybody, I want to join 3 tables and gain same data from these tables. 1.table: usr - user information usr_id 2.table: res- results res_usr_id res_exc_id res_result 3.table: exc- excercises exc_id exc_excercise_name Now I want print all results from one user and all excercises from one user.Can somebody help me?I … | |
Hey everyone, I'm trying to create a string inside a class, but for some reason, my compiler is not recognizing: [CODE] class ob { string name("Name"); public: //code } [/CODE] error C2059: syntax error : 'string' This class is being written in a header file, which has #include <string>. Now, … | |
[code] void deleteNegative(queue <int> &q) { queue <int> temp; if (!q.empty()) { int x = q.front(); if (x >= 0) { temp.push(x); q.pop(); } else { q.pop(); } } while(!temp.empty()) { q.push(temp.front()); temp.pop(); } } [/code] just afunction that returns a queue without the negatives in the same order. unsure … | |
Hi All, Can't insert data into SQL database... Keep getting error i dont know how to solve... Plz help Grtz Tiello [B]CODE:[/B] -------------------------------------------------------------------------------------- [code] Protected Sub Button1_Click(ByVal sender As Object, ByVal e As System.EventArgs) Handles Button1.Click Dim connetionString As String Dim connection As SqlConnection Dim adapter As New SqlDataAdapter Dim … | |
Hi guys. I'm pretty new here. I was recently playing around with templates and found them to be really useful. I was wondering how I could check the data type of the variable that was passed into the function, and I heard about RTTI from my friends. I've looked around … | |
Please any one help me... I want to insert data automatically to the table while installing an application. how can i do this? Can I generate sql script for this??? Regards Jineesh | |
on postback neither the ajax slider extender not its bound asp textbox retains the selected value. please help | |
![]() | Can anyone teach me how to create a function which when called shuts down the computer, or opens an image or video and so on? |
hi i am truly just a student at this time soon to be the worlds best programmer there is just this one hickup with my studies i am trying to learn the c++ visual studio 2008 as part of my current course i am taking and every thing went well … | |
hi i have written a small chat application.. gui created using frames.. both can send text to one other using socket programing over the localhost.. is it possible to send files too along with just text?? Pls help Regards, Bharat Shivram | |
yet another ridiculously simple question, yet i feel compelled to ask because i've been stuck here for like an hour without it working ok so say you have one list, a, and you need the user of the program to input a list of several more numbers, call that list … | |
quick question i have come across, i can't find a definition for it perhaps i'll have to make a couple lines to define it? anyways for list a, which has only integers, i need to define the average, x... so i'm looking for something quick to do this: [code=python] >>>a … | |
Hello, I have a simple HTML document that has a several DIVs... [code=html] <div id="17">Some content</div> <div id="2">Other content</div> <div id="23">And so on.</div>[/code] As you can see the IDs are not sequentially numbered because they're used by a JavaScript function that reads them and takes an appropriate action. That part … | |
| |
Hello friends, i have some doubt and hope i will get an satisfactory answer from here. 1) Can memory addresses be negative........i have initialized an array and check the address of element and found it negative...so i want to know can it be negative and if yes then how addresses … | |
I have a VB6 app that uses the Environ("userprofile") command to determine the location of the My Documents folder for the currently logged in user. This has been working fine for ages with no problems. One particular client has had the user directory redirected to a network location so that … | |
Hi I've been think about this for a while but the answer eludes me. I know its a pretty simple program but here's the snippet: [code] int main(void){ printf("Enter the operation of your choice\n"); int a; int b; int ch; while((ch = getChoice()) != 'q'){ printf("enter a value: "); if(scanf("%d", … | |
write a program that read in an array of integers-- ideally from a text file. and then displays a histogram of those numbers, divided into the ranges 0-9, 10-19 ,20-29, and so forth, up to the range of containing only the valye 100. Please help me to write a efficient … | |
Hello friends, I have have found lots of ways to implement a stack using different data structures. But i want to what us the best way (best means code understandability , performance) to implement a stack!! Share ur thought so i can reach to any final answer. Different ways ->1. … | |
Hello, I have a problem with BindingSource.Find. I have a datagridview with the columns Klantnummer, Achternaam, Contactpersoon, Straatnaam, Plaats, Telefoon and Mobiel. I want to find a row with the Bindingsource.find method. Above the datagridview i have a combobox to select the column and a textbox where I can type … | |
Hey guys, I have a form made up, and there is an option where the user selects "Male/Female". The way its set up is as follows: [code=JavaScript] var lastLink; function setLink(theLink){ if(lastLink) lastLink.className="genderSelect"; theLink.className="selected"; lastLink=theLink; return false; } [/code] [code=HTML] <ul> <li> <a id="genderMale" onClick="return setLink(this)" class="genderSelect" href="#">Male</a> </li> <li> … | |
Hello, I want a simple Php script which does the following: (a) List all file names alphabetically such that the LAST 3 letters of the file name match with one of a few strings entered by the user at runtime For eg, two strings PDF and TXT are specified by … ![]() | |
i need little help of urs in the above code, RightFrom Function is perfectly working but there is a logic bug in LeftFrom Function. when i m sending North as argument the result from LeftFrom is -1 but i need 0. help me to solve this issue. [code]#include <iostream> using … | |
Good Day All, I have a problem with a database program. The program is to create a database for a Stocktracker program. The details for the code, I got directly from our textbook, and it compiles perfectly, but as soon as I run the program it gives me the following … | |
Hi guys, A few months ago i installed a version (5.0 i believe) of MySQL on my machine with no problems at all. Two weeks ago i had to format my hard drive and reinstall my OS. I have successfully installed Visual Studio 2005 and tried to install MySQL last … | |
Hello, i'm learning to work with loops and it was fine untill it came to nesting loops. In an exersize, i was told to use nested loops to display a pattern of asterisks like this: (2 asterisks, 4 asterisks, 6 asterisks, 8 asterisks, 10 asterisks, 12 asterisks) ** **** ****** … | |
Hello., I'm very green in c++, and at school we just had a first lesson on pointers to functions, and I'm going over teachers code using debugger and dont understrand why the line age = getInt(IsValidAge); executes before printf, i thought C++ compiler executes lines sequentially. Any help would be … |
The End.