199,113 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for steveaustin

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

Member Avatar for Narue
0
128
Member Avatar for kyakobi84
Member Avatar for compshooter

[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 …

Member Avatar for bobobobo51
0
2K
Member Avatar for moise

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

Member Avatar for ihostdev
0
99
Member Avatar for aarya

i m learning php. so i wnated to know what is LAMP geeks?. any good tutorials for taht

Member Avatar for ihostdev
0
146
Member Avatar for aish

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.

Member Avatar for plazmo
0
311
Member Avatar for erikkl2000

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 …

0
101
Member Avatar for bumsfeld
Member Avatar for bumsfeld
0
113
Member Avatar for michael123

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)? …

Member Avatar for Kate Albany
0
210
Member Avatar for 123abc

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 …

Member Avatar for 123abc
0
242
Member Avatar for kahaj

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 + …

Member Avatar for kahaj
0
305
Member Avatar for Joaquine

: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 …

Member Avatar for Joaquine
0
138
Member Avatar for mister-fett

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 …

Member Avatar for Drowzee
0
231
Member Avatar for aarya

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 …

Member Avatar for digital-ether
0
187
Member Avatar for Chipsncoke

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. …

Member Avatar for Chipsncoke
0
242
Member Avatar for scotchfx

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 …

Member Avatar for andrew23chan
0
169
Member Avatar for SpS

[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??

Member Avatar for Drowzee
0
172
Member Avatar for sheel9493

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 …

Member Avatar for sheel9493
0
157
Member Avatar for desertstorm

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

Member Avatar for desertstorm
0
132
Member Avatar for superservo15

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] == "(" …

Member Avatar for ITgeneration
0
153
Member Avatar for ROGENATOR

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 …

Member Avatar for ROGENATOR
0
100
Member Avatar for bcheath_1

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 …

Member Avatar for cdpothen
0
2K
Member Avatar for divminds

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.

Member Avatar for Tru
0
188
Member Avatar for JAM

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 …

Member Avatar for tgreer
0
410
Member Avatar for PeterX

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 $ …

Member Avatar for Drowzee
0
324
Member Avatar for jakeday

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 …

Member Avatar for jakeday
0
316
Member Avatar for Angiana

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

Member Avatar for Russ
0
194
Member Avatar for Vladvaga

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 …

Member Avatar for Vladvaga
0
144
Member Avatar for apcxpc

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 …

Member Avatar for ITgeneration
0
261
Member Avatar for Mahen

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 …

Member Avatar for Mahen
0
315
Member Avatar for Elthran

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 …

Member Avatar for ITgeneration
0
947
Member Avatar for shahid

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 …

Member Avatar for Rashakil Fol
0
100
Member Avatar for mmiikkee12
Member Avatar for mawe
0
546
Member Avatar for Funktar

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 …

0
104
Member Avatar for mikul86

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 …

Member Avatar for vegaseat
0
75
Member Avatar for DeFrog777

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

Member Avatar for mmiikkee12
0
655
Member Avatar for DotNetUser

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 …

Member Avatar for Drowzee
0
255
Member Avatar for bobby9101

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 …

Member Avatar for digital-ether
0
121
Member Avatar for webmacker

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 …

Member Avatar for digital-ether
0
438
Member Avatar for Mike182

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 …

Member Avatar for Mike182
0
253
Member Avatar for Drowzee

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. …

0
109
Member Avatar for SpS

I wanna know how to host wiki pages say on geocities or some place else..

Member Avatar for chrisranjana
0
240
Member Avatar for jaxy

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 …

Member Avatar for jaxy
0
178
Member Avatar for c#dummie

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? …

Member Avatar for ROGENATOR
0
199
Member Avatar for vartotojas

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 …

Member Avatar for vartotojas
0
127
Member Avatar for hippychic43

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 …

Member Avatar for hippychic43
0
164
Member Avatar for andrewthk

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: …

Member Avatar for andrewthk
0
177
Member Avatar for heavyc

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 …

Member Avatar for Narue
0
126
Member Avatar for heavyc

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 …

Member Avatar for Narue
0
280
Member Avatar for tayspen

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 …

Member Avatar for tayspen
0
263

The End.