199,114 Archived Topics
Remove Filter ![]() | |
I have two issues that I need to solve on this program that are giving me some troubles. I have scanned google and my text book and so far coming up empty. Problem #1 - My program works for palindrome words and 2 word palindromes like "race car". But I … | |
Hey there , I have a problem about saving information, which is read from a text file, to an char array.I have to read the file character by character.I could't use getline() function and string, I have to use get() function.There is a sample of the all data : " … | |
I've got a small bit of code I need to convert to C#. However my experience with C# is very very limited and a simple python program like the one I'm trying to convert is beyond my experience in C#. If anyone knows of any converters or is willing to … | |
Ok, im not that much of a geeky smart guy in C++, but i've got some skillz.. so im trying to make a [B]very[/B] [B]simple game[/B] that will randomize 1 number for the computer and 1 number for the person using the program and whomever(person or computer) gets the highest … | |
Hi! I am supposed to only use the "procedural fragment of C++", i.e. no object-oriented programming (like cin, cout etc). Vectors are not allowed either. So, one of my goals is to count the number of lines in a text file (let's call it train1.in) which contains data like: [ICODE] … | |
<?php ob_start(); include("sys.php"); session_start();//when nid use session nid put tis ?> <html> <title></title><head></head> <script type="text/javascript"> function addRowToTable() { var tbl = document.getElementById('tblSample'); var lastRow = tbl.rows.length; // if there's no header row in the table, then iteration = lastRow + 1 var iteration = lastRow; var row = tbl.insertRow(lastRow); var … | |
can u help me regarding listview control in vb 6... i want to use listview as datagrid.. i have 3 textboxes, and a list view with 3 coloums. now when i enter data textboxs, it asks "do u want to add another data?" when user enters so data, how much … | |
Hey Guys I was wondering if anyone can help me with this assignment like completely walk me through it? I would really greatly appreciate it....... I have tried doing it and have came up with nothing. I have been having a lot of trouble understanding this material this school year. … | |
Hi i am new for PHP. I want help, I added one selection box in my form and some text box and one Save button.When page load Selection box fills with some data form MySQL table,i know this much only now i want when i select other value from selection … | |
I have been trying to figure out how to build this library on Windows for damn near 6 hours, and I am at a complete loss. I have found a lot of answers on these forums before, so I joined up hoping someone might have some idea. The INSTALL file, … | |
[B]Hi Guys I have the following code for html and php. when i click on the button to calculate bmi it doesnt work.... can someone please help it is urgent...[/B] Heres html code: [CODE]<html> <head> <script type="text/javascript"> function Calculate(str) { if (str=="") { document.getElementById("txtHint").innerHTML=""; return; } if (window.XMLHttpRequest) {// code … | |
[CODE]void cubes(int n) { for (int i=1; i<=n; i++) cout<<i*i*i<<' '; } [/CODE] | |
friends i am doing BS(it) i want simple and easy answer for this questio can anyone help me. what is algorithm explain it?analysis of algorithm? | |
Still fairly new to XSLT would like to ask for some expert direction on how to solve what I think should be easy, just not for me ... I am parsing several different input sources to output one result XML structure. During the parsing, I am doing some pre-checks and … | |
i tried to get some programs in google but the theory part was mentioned in it without programs | |
I am a programming student and active volunteer for a foundation, if anyone out there is kind enough to share some help please read below. I will need your help guys for a Simple Inventory System for a foundations' furniture and jewelry store. The software of course should follow the … | |
I have seemed to get the first function tagReader to work, but can't get the others to work. The other functions are bolded. [CODE]#include <iostream> #include <fstream> #include <iomanip> #include <string> using namespace std; // function prototypes void tagReader ( ifstream& inFile, int&count); void getEmployee ( string& who, double& rate, … | |
How do I make this program work promptly. For some reasonafter it tells me to input the 10 digits, it just closes out anddoesnt run to give me an output. Why does the program does notcontinue to run, and also my teacher specified that it should printout each element in … | |
[CODE]<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"> <HTML> <HEAD> <TITLE>Validate Image</TITLE> <META NAME="Author" CONTENT="Bit Repository"> <META NAME="Keywords" CONTENT="validate, extensions, file, javascript"> <META NAME="Description" CONTENT="A JavaScript Extension Validator for Images"> <SCRIPT LANGUAGE="JavaScript"> <!-- function validate() { var extensions = new Array("jpg","jpeg","gif","png","bmp"); var image_file = document.form.image_file.value; var image_length = document.form.image_file.value.length; var pos … | |
I am really trying to pass this class, and am simply struggling majorly with C, I need help with these 3 problems that are due today by midnight, please help, will appreciate it greatly, and even pay if thats what it takes. I did problem 1, but used math.h, which … | |
[code]private void webpage_DocumentCompleted(object sender, WebBrowserDocumentCompletedEventArgs e) { SqlCommand cmd = new SqlCommand("SELECT * FROM [blacklist] WHERE BlackListed_Sites = '"+ webpages + "'", cs); cs.Open(); cmd.Connection = cs; SqlDataReader reader = null; reader = cmd.ExecuteReader(); if (reader.Read()) { CheckState.Checked.ToString(); MessageBox.Show("Blocked"); } else { string url = ComboAddress.Text; if (url == "") … | |
Hi i am wondering could anyone help me understand a file upload code. I am currently working on a website like mediafire, raipidshare and the rest of them. I have taken down codes of all sorts and some i got to work but had errors. I don't understand as i … ![]() | |
/* this program compiles is almost done, but i cannot get the las function to sort numbers from the array. the output should have the even number on the left and odd numbers on the fright.*/ [code=cplusplus] #include <stdio.h> #include <stdlib.h> #define N 9 void revArray(int *a); /* reverse an … | |
This is a database dictionary page which has two drop-down boxes. [COLOR="Red"]first [/COLOR]- for the tables in the database(it displays all the table names in the dropdown. Second - for the columns of the table selected in the previous dropdown n then on selecting the column name it should display … | |
Because I honestly feel like I'll never understand them(it's been years by the way). So I just want to know if it's possible to make any program you fully desire with out pointers or any other complex OOP such as encapsulation and typedefs. I just can't work with that logic. … | |
Dear friends... I need a urgent HELP... I applied for a job... They asked me to do a PROJECT, vb with access... In that they asked me to create INSTALLER file with 32bit & 64 bit support. I don't know how to do this... i have to finish it and … | |
Hello, I am stuck on how I have pass function arguments to the main method of my program. Here is my code: [CODE]network = [] def populateArray(): file = open('C:\\My Documents\\route.txt', 'r') for line in file: network.append(line) print "Network = " print network def main(): if __name__ == "__main__": main() … | |
I want to change the color of the group header text in listview which separates all the items into various groups, there is no such option to do that directly because no such property exists. As far as i can think of it can be achieved via overriding the paint … | |
I created JSP page containing form with two comboboxes, I need to pass the selected value from the first combobox to SQL statement used by the second combobox. Any suggestions? [CODE] <form name="subfrm" align="center" action="SaveSubscription"> Event Category: [COLOR="Red"]<select name="evnt_cat"> [/COLOR] [COLOR="red"]get the selected value[/COLOR] <option value="0">--Select Category--</option> <% try { … | |
Could you please tell me how to arrange my code so that the invalid statement like in my displayed output will only show up if some enters a wrong character. Here is my code: #include <iostream> #include <fstream> #include <iomanip> #include <cmath> using namespace std; int main() { //(1) Declare … | |
If you read the Prologue section of the code I posted it will give you an explanation of what I am trying to accomplish with this program. The problem I am having is that I am unable to find an example of how to pass an argument through the string … | |
help me..how to print a sum and average of grades using Java? | |
![]() | guys how to slpit a date string ie....30/jully/2001 i want the following output 30 jully 2001 please help... |
I need help with a py generated file that was made in QT. I use the following line [CODE]QtGui.QTabWidget.addTab(self.tabWidget, QtGui.qApp.tr("New Tab"))[/CODE] and get this error [CODE]Traceback (most recent call last): File "C:\python\mainwindow2.py", line 349, in createInvoice QtGui.QTabWidget.addTab(self.tabWidget, QtGui.qApp.tr("New Tab")) TypeError: arguments did not match any overloaded call: QTabWidget.addTab(QWidget, QString): argument … | |
Hello, How can I do this: Implement the MergeSort algorithm in C++, Generate random numbers into a text file to read as input. The 2 parameters to the program are the input and output text files Thanks | |
hiiiii its 12th science student.IN THE FOLLOWING PROGRAM I REALLY DONT UNDERSTAN THE LINKER ERROR.I HAD ALREADY SPEND 4-5 HOURS IN SOLVING 50IES OF ERROR BUT THIS ERROR I REALLY DON'T ABLE TO UNDERSTAND. SO PLEASE HELP ME OUTTTTTT. AS EARLY AS ANYONE CAN...... [code]#include<string.h> #include<iostream.h> #include<conio.h> #include<dos.h> #include<stdio.h> #include<fstream.h> … | |
Can you please tell me why is the first code giving me the right answer whereas the second one giving me a logically incorrect answer. Below are the two programs. The logic is the same. I want to know why the second program is not working even though the logic … | |
- (The [COLOR="Red"]Fan[/COLOR] class) Design a class named [COLOR="red"]Fan[/COLOR] to represent a fan. The class contains: 1. Three constants named SLOW, MEDIUM, and FAST with values 1, 2, and 3 to denote the fan speed. 2. An int data field named speed that specifies the speed of the fan (default … | |
[B]Hi everyone I would like to take your advice about my situation This is my second year in university and my major is computer science and my programming skill is very weak:'( and I finish data structure by Miracle :icon_cry:and until now I can’t solve any assignment by myself:icon_sad:, so … | |
Hello All, I need to create a new DateTimePicker control supporting the Hijri and Hebrew calendars I tried the DateTimePicker on "windows server 2008" and it was working very fine without any code change for Hijri and Hebrew calendars but on "windows XP" it works only with Grgorian calendar so … | |
In my project I need to open file dialog so that user can select local image file on his machine. I need to access that local file and rename it and FTP that file on server. What is the best way to that? I have already used FileUpload control but … | |
Hi, I have a big project (#1). this is its direction: Project I Software for a Bank Write a C++ program for the following task: a) Should allow 5 users with user name & password [ (Ohlone1, Ohlone1pw), (Ohlone2, Ohlone2pw),( Ohlone3, Ohlone3pw), (Ohlone4, Ohlone4pw), (Ohlone5, Ohlone5pw)] b) Display a welcome … | |
I have a string and i want to copy at specified memory location. Suppose i have a pre-allocated memory represented by char* logFile (unsafe code) I have a generated string which contains the name of log file. I want to copy that string on location represented by char*. Please help … | |
FRIENDS, i want the code for hide the first form in 10 seconds and show the form2. i have using the below code but it open the second form continously... [code] using System; using System.Collections.Generic; using System.ComponentModel; using System.Data; using System.Drawing; using System.Text; using System.Windows.Forms; namespace Steganography { public partial … | |
can anybody tell me how can i create array of buttons so that i can give same code to every button | |
Please help me to write a PHP code for following . i have name , address , loanno (unique) , fup as fields in my database loandata. i want a screen in which i enter a loan number and it should search the loan no. in lonono and if data … | |
HI the prgram below request a user to enter 3 character id number and interger age. a function must be used that tells the user how many years to retirement. i must pass the age and print a message in the function. retirement age is 65 for persons over 45 … | |
Hello, I am new to make programs. So far I can just do logical stuff like math in a dos window. I now want to move on to making actual windows programs. Does anyone know how to make a GUI in C++ for a windows application? Any reading online or … | |
Hi, I've been having issues with this for the last 4 hours and I don't know what to do. Basically I'm using an MS Access database to store information on a movie collection, however I do NOT want to use the crappy controls microsoft has for populating and navigating databases, … |
The End.