199,113 Archived Topics
Remove Filter ![]() | |
i need in c++ for running in a compiler this 1 12 123 1234 12345 123456 and another c++ file 654321 54321 4321 321 21 1 everyone can help me i need a code for running in c++.net i need exactly in the output | |
Anyone know the code for that ??? :o :rolleyes: :!: | |
[FONT=Comic Sans MS]Hello evreryone, I want to start by saying I did use the search function and I did read the fstream tutorial. But I didn't see the answer I need. I have been given a text file for which I need to read input from. Here is a partial … | |
Hello, I am creating a website where people will be uploading professional papers. The website will be sort of a library. Many users will be accessing it via dial-up. Do you think PHP and mySQL are good for this? Please help...Thanks | |
i m learning php. so i wnated to know what is LAMP geeks?. any good tutorials for taht | |
I want to insert datetime into the database.I want to insert date as a dd/MMMM/yyyy format SqlDateTime x; if((TextBox1.Text).Length==0) { x=SqlDateTime.Null; } else { x=DateTime.Parse(TextBox1.Text); } command=sqlConnection.CreateCommand(); command.CommandText="insert into Table2 values('"+x+"')"; sqlConnection.Open(); command.ExecuteNonQuery(); Response.Write("Save"); when I add this type of dates ex.25/02/2005 it occur error, how can I solve this. | |
Hello, This is my first go at implementing an interface for a connection, reader, ect.. and it is also my first go at a three tier design,Although i have been studing this for some time now tring to put all of these pieces togeather. I feel like i am getting … | |
What is the best way to sort a list of words with the case insensitive? | |
In database I have three tables: t1,t2,t3 all three tables contain the same field (username) t1(username) ------- user1 user2 user3 user4 user5 t2(username) ------- user3 user4 t3(username) ------- user2 Now how can I write SELECT statment to retrieve all username from table1(t1) which is NOT included in table2(t2) and table3(t3)? … | |
Write a program that prompts the user to input a length expressed in centimeters. The program should then convert the length to inches and output the length expressed in yards, feet, and inches, in that order. For example suppose the input for centimeters is 312. To the nearest inch, 312 … | |
Hello. I'm pretty new to the world of C++. I'm trying to write a program that shows the pay of different levels of employees: managers -code 1- are on salary hourlies -code 2- get str8time for 40 hours, then time & a half commission -code 3- base of $250 + … | |
:rolleyes: Hi. I'm new to this forum and well I'm also new to the programming languages. :) and im taking some programming classes c++) i need help with a program that im working on... I have tried for about two days to see what is the problem but i just … | |
A few of my friends from computer science, led by me, are developing a MUD game. I plan to run the server from home, and we plan to write the game in two source files. (Yes, we are determined to do this from scratch, without Lima or Mudscript.) The first … | |
i m trying to compare 2 price for example when person enters min price as 3000$ and max price as $10000.and press search .it has to search all the price bewtween 3000$ to 10000$.i think the select option for price in cars.com best describe my problem i dont know how … | |
I am trying to construct a JTree to show the following data. The program should he able to read any data in this format. [B]ChildNode[/B]--------[B]Parent Node[/B] Employee--------Root Visitors----------Root Staff------------Employee Students--------Employee Graduates-------Students Undergrads------Students Interns----------Employee,Visitors I have this two columns of info stored in two linked list. LinkedList A and LinkedList B. … | |
Greetings, I'm a former hardware guy (embedded C & C++ experience mainly) trying to get up to speed with Java and Perl for a set of graduate courses. I've written up a Perl script that simulates a scheduling algorithm, the script consists of two primary loops the first to parse … | |
[code] #include <stdlib.h> #include <stdio.h> #define SIZE 15 int main() { int *a, i; a = (int*) malloc(SIZE*sizeof(int)); for (i=0; i<SIZE; i++) *(a + i) = i * i; for (i=0; i<SIZE; i++) printf("%d\n", *a++); free(a); return 0; } [/code] Why Is My Program Crashing?? | |
Hi I m a final yr comp Engg student. I m working on .NET,i m usin mssql with ASP.NET,VB.NET for creatin online banking site.I hv a problem: Hw i can [B]record the transaction made [/B]by client for report generation. shal i use database for [B]report generation[/B]?if yes then hw? otherwise … | |
Could someone help me with this. I need to know how to write this in code for C. "if hashValue(variable) has a non-zero bit in the 4 leftmost (highest) bits" It has to do with bitwise shifting and is basically just an if statement's condition. Thanks | |
I'm having type problems... if anyone could help that'd be great. Also, I haven't coded in c++ for 2 years.. very rusty :) Ok, I have the following dynamic char array and code [CODE] char* term1; term1 = "f(x)"; //i really have a loop here... if ( term1[1] == "(" … | |
Greetings: I developed a simple application for text encryption, i managed to register the new extension, my question is how to open this files from outside the program?(when you double click on them), i know that you need to pass some parameters to the main method but im not sure … | |
I have attached my current source code to this message. It is in .java format. Here is a brief description of my problem: I have a program which accepts input for a Purchase Price, an Amount Tendered, and then displays the Change Due. Also, it must display the number of … | |
Here I have put together a small program compiled from the ideas of other members on this forum. It allow all DOS programs to work again on Windows XP including QBasic!!! Here Is the Link! [url]http://www.winxpdos.tk/[/url] Just Download DosWINXP - Fix and follow the instructions during the setup. | |
I came across T. Greer's very clever demonstration of how to provide an HTML combobox at [url]http://www.tgreer.com/comboArticle.html[/url]. I realised, however, that for the purposes of the demonstration the example combobox is placed at an absolute position on the page. I tried to make it dynamic, but have encountered difficulties. Would … | |
Hi! [code] for (year = 1; year <= 15; year++) { cost = (interest_cost + monthly_instalment); totalCost+=cost; //after how many years the totalCost > price if(totalCost>price) printf(" %d ", year); } [/code] question:after how many years the totalCost > price? my problem: if the price is equal to 10 $ … | |
Hi all, I'm very, very new to Java / Javascript, but have a couple of years experience with other programming languages. - (inexperience may explain a novicey question However, I wanted to learn a web-enabled language to capture data from certain websites to build systems for my "sports-betting" hobby. I've … | |
Hello... Can anyone explain to me what is software decomposition? and what tasks do it entail in the roles on Configuration Management (CM) and Quality Assurance (QA)? Thanx | |
I need to write a program in C++ that will compute numeric grades for a course. The course records are in a file that will serve as the input file.Each line will have a last name, first name, ten quizes all on one line... you should calculate the average and … | |
Hi all Here are two questions from my Algorithms & Complexity Theory assignment. 1. A complete binary tree is a binary tree in which every level, except possibly the deepest, is completely filled. At depth n, the height of the tree, all the nodes must be as far left as … | |
Hey, I don't know if am wrong but I think a new idea has just striked me. We can all see that almost every program that we can imagine of has been created, thus making it difficult for us to think of new ideas or programs. But all these programs … | |
I just downloaded Dev-C++ and tried typing code. My first test was #include <iostream> using namespace std; int main() { cout << "Enter height in centimeters: "; int centimeters; cin >> centimeters; cout << "Your height in feet " << centimeters << endl; return 0; } But I have discovered … | |
Note:- There are three files that will work by combining in a project. Most of the code for the Tokenizer class is already provided. You are to complete the routine Tokenizer::getTokens. The routine currently handles single entry, single range start and single range end. Your job is to the put … | |
Anyone know how to put colored text on the screen in a bash script? | |
Hi, so I've got this program("main") that fork executes another ("user"). These programs communicate through fifos. One communication is a spawn call, where user passes an executable, main forks and executes it. So, I'm keeping track of all my processes using a task table. After the fork (for the spawn … | |
Hello, I'm very new to python script and I am attempting to understand a part of a program developed at my work place because the have the most computer knowledge here, though still very little and the person who developed the program is no longer accesible. Here's the problem i'm … | |
Greetings, I was just curious as to where I can find any good Assembly Language compilers on the net or elsewhere. Thanks in advance, DeFrog777 | |
I have a string that is retrieved from a socket. I display this string as the text of a button. Some strings contains a '' which doesn't get printed because it's an escape character. So, I want to find all '' and replace it with a "\\" so it will … | |
I need to create a form that has four fields in it. I need "Name", "E-Mail", "Comments", and "Picture". i have created three of the four fields, and need help with the fourth. How do I make it so that the guest can upload a picture. I need the form … | |
Can anyone help me set up a forum site from either a drupal script or any other script from the net. My backsite knowledge is limited so any help would be greatly appreciated. I have registered a domain name and my ISP has mySQL and PHP etc. so I don't … | |
I was wondering if anyone could help me with some things, im planning on making a little security program that comes up after logon to windows through the logon screen, reads a password from a file specified (for example 'E:\password.txt', and asks you to put in your password, if its … | |
I'm almost done with my project, due in great part to the support and well-reasoned criticism here at Daniweb. But there's one last little problem that's only hitting me in release mode. In debug, the following function works fine to set information from a user-entered string to the CString/CString Map. … | |
I wanna know how to host wiki pages say on geocities or some place else.. | |
Hi, I am new to java.Can u Plz help me.I have a JcomboBox. I want to display all the ItemId from the database in that JComboBox. I don't know how to do that.Its Displaying only 1 item.ie.first record.Can any one plz help me. The code is:- public String selectItemID(){ String … | |
hi im using VS .net, MS Access and c# language. basically i tried to do an update command using oleDbDataAdapter and commandbuilder. i also searched for tutorials but i still cant get things going. could someone please tell me how come i couldnt generate update and delete commands using oleDbDataAdapter? … | |
I know how to use C++ to recieve input via [CODE]cin >> x;[/CODE] But now I want a way to constantly check for input without pressing enter. To my knowledge with cin you must press enter to assign whatever they typed to a variable. How could I make it so … | |
Hi, I am finishing up an application in VB.NET at the moment, and am working on making the interfaces perfect, however I don't know how to go about setting the properties for the items on the interface so that if the window is resized, or the user has a larger … | |
I was wondering if anyone could tell me what Animate.js class does? It seems like a standard front page package class. There's no commenting on it so it's really hard to follow. Also when using this class, my web page does not displays things correctly when calling this class by: … | |
i have this program and i need to count how many times each number is repeated and then delete the repeated i dont how to count them and then delete them can someone help?? [code]#include <iostream> using namespace std; struct node { int item; node *next; }; struct node *push_front … | |
if i have a node that had a different number everytime and i want to delete only the nodes that are repeated(which has random numbers in them) and how would i count them to see how many of each i would have. can i use if statements to count the … | |
ok, so i have been working on a program that i call "Sharppad" any ways it is a text editor. it has all teh basic functions. but it can also speak teh text you type. and convert text to .wav files. so you can listen to what you type. it … |
The End.