199,114 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for rem0404

the "addsong" function working, i just dont know how to tell the compiler to [B]skip over[/B] elements in the vectors with empty strings, when writing the new data to the music_library file. this is because i have to write a remove song function where, after the song is removed, the …

Member Avatar for Ancient Dragon
0
116
Member Avatar for urmybaby

1. Achilles and the Turtle (10 Points) Write a program that simulates a race between Achilles and the turtle. Here is an example run (the user input is underlined): Where does Achilles start? 0 How many feet is the turtle ahead? 100 How many feet does Achilles run per second? …

Member Avatar for BearofNH
0
202
Member Avatar for rem0404

so this function is working correctly (as far as i know) but the only thing that i haven't quite figured out yet is how to send the new input, and completely overwrite the existing "in_stream" file. this program opens a file (containing song titles, artists, and their genres) when the …

Member Avatar for Necrolis
0
172
Member Avatar for cb02061
Member Avatar for Necrolis
0
3K
Member Avatar for Lotus_2011

hey Iwant to convert from interger to character char num[1000]; num[i]=rem; strrev(num); what is wrorng whith this form?? warning : warning C4996: 'strrev' was declared deprecated I can't understand this warning Hope Help me

Member Avatar for Colin Mac
0
144
Member Avatar for n8makar

ok short and sweet hopefully. suppose you have a struct like so [CODE] struct SomeName { string id; } [/CODE] and you read data from a file into the id then you want to search for a specific id that has a relationship to a name [CODE] long findStudent (StudentList …

Member Avatar for n8makar
0
100
Member Avatar for saurabh.verma

hi, i am basically adding files to my listview through this code [code] For each n as string in my.computer.filesystem.getdirectories("C:\Testing\") Listview1.items.add(n,Imagelist1.images.count - 1) Next [/code] so all the files inside testing folder show up on the listview the problem is that they all show up but they show up with …

Member Avatar for saurabh.verma
0
104
Member Avatar for justinmyoung

Can someone help me figure this out. What do I need to do to set permissions in MySQL? Thanks in advance.

Member Avatar for phper
0
73
Member Avatar for Edwards8

OK, here is a litting script I wrote (admittedly with some help from [URL="http://www.pythonware.com/library/tkinter/introduction/hello-again.htm"]http://www.pythonware.com/library/tkinter/introduction/hello-again.htm[/URL])that will allow me to cloak in with ease here at work. Only.... since I sometimes log into the computer multiple times in the day, I wanted to use Tkinter to give me a yes/no button. But.... …

Member Avatar for Edwards8
0
160
Member Avatar for comjisu33

First, write a class called TFQuestion that represents a true/false question. This class should have exactly two instance variables: a String variable that holds the statement of a true/false question, and a boolean variable that holds the correct answer. This class should provide the following public methods: A constructor that …

Member Avatar for comjisu33
0
121
Member Avatar for jedi_ralf

I am new to awk, so please excuse any mistakes. I was hoping someone would be able to tell me if it's possible to include variables in a regular expression, and if so, how. The code I currently have is the find the beginning of link (<a) and image (<img) …

Member Avatar for jedi_ralf
0
244
Member Avatar for aran87

hello, im using a delete function but some how i want to use an if statement; for example if the current server date matches the date from a row from a database table and if the date is 2days from the current date it can't be delete. [CODE] Delete from …

Member Avatar for amigura
0
138
Member Avatar for BluePaper

Hey, I am currently having some problems with VB.net and MSSQL. I'm trying to create an application to learn more about VB.net, I decided to create a simple login system for the application (like the ones they used in distributed applications which have a centeral SQL server). I have come …

Member Avatar for bcasp
0
1K
Member Avatar for chrisdent1986

Hi everyone. Sorry if this question is in the wrong area..I posted it on the VB forum and they advised me to post here also. I have created a visual basic system that is connected to an oracle database. (I connected through data>Add New Data source>New Connection>Oracle Database etc etc) …

Member Avatar for peter_budo
0
171
Member Avatar for varshini
Member Avatar for rickya100

Hi, I am hoping someone can explain to me a better way of coding than I currently do right now. It concerns accessing the results of a SQL query stored in an array. OK so right now I do somthing similar to this: [code=php] $rows = @mysql_query("select count(*) from debate_queue") …

Member Avatar for rickya100
0
114
Member Avatar for FrankThePostman

Hi, I have list of items on a PHP page, and a <div> for each which i wish to populate with an AJAX request. Each <div> has a unique ID. The code that i am using falls over due to the apparent static nature of this line: [CODE] document.getElementById("full-details").innerHTML=xmlHttp.responseText [/CODE] …

Member Avatar for ~s.o.s~
0
3K
Member Avatar for namrata_k

Hi all, [COLOR="green"][/COLOR]Please reply me soon !!![COLOR="Red"][ICODE][/ICODE][/COLOR] i have made my database in Ms-access and using vb.net for front end. My system is working fine with database stored in same pc of client(by giving path c:/.....). But i have to show my project using seperte server pc n client pc. …

Member Avatar for jbennet
0
127
Member Avatar for khalidmehmood

Hi Experts I am trying to develop a web application using Pl/Sql as scripting language. but i cant understand where to start and what i should implement the configuration for this purpose.

Member Avatar for Nige Ridd
0
296
Member Avatar for dottomm

Hi. I'm trying to search multiple DB fields with a Select Menu and I don't know where to start. for example, from the code below I would like the value ='strAuthorname' to actually search the fields 'AuthorFirstName' AND 'AuthorLastName'. [code] <form method='post' action='{$_SERVER["PHP_SELF"]}'> <!--select tag --> <select name='metode' size='1' > …

Member Avatar for dottomm
0
77
Member Avatar for atn

I was wondering how I would go about doing this. What is the coding for this? Trying to do something extra that wasn't taught in the class. If anyone knows and could help, that'd be great. Thanks! Anthony

Member Avatar for Narue
0
157
Member Avatar for arleyquininy

[code] using System; using System.Collections.Generic; using System.ComponentModel; using System.Data; using System.Drawing; using System.Linq; using System.Text; using System.Windows.Forms; using System.IO; using System.Data.OleDb; using System.Data.Common; namespace subok { public partial class Form1 : Form { public OleDbConnection connect; static string strconnect = @"Provider=Microsoft.Jet.OLEDB.4.0;Data Source=""C:\Documents and Settings\avupdate\My Documents\db3.mdb"; public OleDbDataAdapter adapter; public DataSet …

Member Avatar for bcasp
0
112
Member Avatar for Daniel1505

Hi, I am trying to create a program that stores employee records in an array, and also has the option to delete records and view various details. I am trying to create a menu so that when you choose an option the request will be carried out, the problem I …

Member Avatar for Duoas
0
131
Member Avatar for chts12345

Hi All I was discussing halting halting problem with one of my friend yesterday. He asked me a good question. Here is the question: "Let P be the class of all Pascal programs that don't use go to ,while and repeat statements, nor recursive procedure calls.Is Halting Problem Valid for …

Member Avatar for Duoas
0
171
Member Avatar for apocrypha

Hi guys, I'm writing binary data to a file using fwrite. I can't get rid of '0x0D' whenever it writes '0x0A'. I use hex-viewer to check data. For example, if data is '0x01 0xFF 0x0A 0x0E', it writes '0x01 0xFF 0x0D 0x0A 0x0E' Is this because fwrite writes by byte, …

Member Avatar for apocrypha
0
35
Member Avatar for bhoot_jb

hey friends i am in dilemma of which compiler to use.. i have been working on windows OS. also the C++ concepts that we are taught in our college are practically taught on Borland Turbo C++ compiler (dunno how aged it it :P) :( i mean we people write the …

Member Avatar for bhoot_jb
0
143
Member Avatar for replyfast

i have a text file <start>welcome!30 is my class roll number<end><start>A is the first alphabet<start>12345678919<start>c++ is a good language and <start> and <end> are strings. I have to create a c++ function that will delete only those text ocurring between <start>and<end>,including <start> and <end>.Text that starts with <start> and does …

Member Avatar for Agni
0
79
Member Avatar for computer engW

[COLOR="Red"]Today I have some question and their solution ,but I have problem with some.[/COLOR] [COLOR="red"][COLOR="Green"]Q1: Write a program that checks if a sequence of positive numbers is in increasing order or not.[/COLOR][/COLOR] [COLOR="Red"]I don't know what is missing her?![/COLOR] Solution: [CODE]#include<iostream> using namespace std; int main(){ int value,check=1; cout<<"Enter a …

Member Avatar for computer engW
0
105
Member Avatar for resooul
Member Avatar for sDJh
0
99
Member Avatar for Hercf

Help! Hi, everbody! I have this problem: There is a “textbox” and a “submit” button. “Submit button” is disabled until something is written within “text box”. I am not able to do this switch. Could anybody help me? Here you are the code: [code=html]<html xmlns="http://www.w3.org/1999/xhtml"> <head> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" …

Member Avatar for jamba
0
159
Member Avatar for rkpalmer

Hi everyone, I am pretty new to C++ Programming... but am currently working on a project where I need to try and get an old fortrans program working again... I have the executable which can start up and run through initialization, but once I try to run the simulation it …

Member Avatar for rkpalmer
0
138
Member Avatar for swaters86

Basically, I'm building a aspx calculator page for a client. What the visitor has to do is fill out the textboxes with a number. it takes the sum of all the text boxes, multiplies the sum by one number to get the minimum value and then another to get the …

Member Avatar for bwkeller
0
178
Member Avatar for henpecked1

How do I prevent the user from entering characters when a float is required? I'm using a bool for valid entry so if they enter text it sends my loop running

Member Avatar for henpecked1
0
141
Member Avatar for nilesh03

Hi... I'm currently doing a ludo game in C, I'm stuck with the pawn positions on the board. How do I manage the position of the pawns of each player, if I have maximum of two players and 4 pawns? Here is my code for the pawn position but it …

Member Avatar for Salem
0
249
Member Avatar for venumadhavkk

as we know that memory is very important in embedded systems which one is more effective either to use single linked list or Double linked list..even though DLL is more convenient it will consume more memory..

Member Avatar for Narue
0
203
Member Avatar for sDJh

Hello all together, I've a JS-script that forces the mouse pointer to become a hand. It does work perfectly on IE, Opera, Safari and Konquerer (that's what I've tested so far). Just FireFox doesn't want to change the icon. What's the matter? Here is the script: [CODE]document.getElementById(wid+'0a').style.backgroundColor="#E0E0E0"; document.getElementById(wid+'0b').style.backgroundColor="#E0E0E0"; document.getElementById(wid+'1').style.backgroundColor="#E0E0E0"; document.getElementById(wid+'1').style.cursor="hand"; …

Member Avatar for ShawnCplus
0
141
Member Avatar for wujianwei

the java teacher wants us to write a program project. he says we can do whatever we wanna do as long as it is not too easy and must be interesting. do u think it's hard to write a game program using java in graphic user interface (GUI)? By the …

Member Avatar for majestic0110
0
99
Member Avatar for kevin wood

i have done little bit of research on this but all the information i could find was about unlinking text file i need to unlink an image. i have a variable which store the path to an image stored in file on the server which is what i am trying …

Member Avatar for kevin wood
0
8K
Member Avatar for alcoheca

Hi, I have this issue with a J# project I need to complete for uni. [CODE=java]public class Sprite { private Image m_image; public Sprite(Image image) { m_image = image; } public int getWidth() { return m_image.get_Width(); } public int getHeight() { return m_image.get_Height(); } public void draw(Graphics g, int x, …

Member Avatar for alcoheca
0
194
Member Avatar for DWFENNEL

I have a program that has a connection to an Oracle database and is supposed to execute an Insert statement. It runs with no problem until the [I]connection.Execute SQLString[/I] command. This causes a crash. The code compiles error free, and I've checked the syntax of the Insert statement and it …

Member Avatar for debasisdas
0
100
Member Avatar for chrisdent1986

Hi. I have created a visual basic system that is connected to an oracle database. (I connected through data>Add New Data source>New Connection>Oracle Database etc etc) I am using the system to create new oracle users with passwords etc. I have a form called frmAdd and text boxes txtUser and …

Member Avatar for debasisdas
0
139
Member Avatar for az_master

hi,can anyone help me with a code that can change form color after 10 seconds ,for example from yellow to red continiously.please help.

Member Avatar for debasisdas
0
159
Member Avatar for arleyquininy

[code] using System; using System.Collections.Generic; using System.ComponentModel; using System.Data; using System.Drawing; using System.Linq; using System.Text; using System.Windows.Forms; using System.IO; using System.Data.OleDb; using System.Data.Common; namespace subok { public partial class Form1 : Form { public OleDbConnection connect; static string strconnect = @"Provider=Microsoft.Jet.OLEDB.4.0;Data Source=""C:\Documents and Settings\avupdate\My Documents\db3.mdb"; public OleDbDataAdapter adapter; public DataSet …

Member Avatar for JerryShaw
0
104
Member Avatar for mike4
Member Avatar for sonia sardana

hey frnds tell me one thing,Graphics is used in Projects or not. Because I think so its a waste material given in all the books & it is used not in any projects. Any Suggestions.

Member Avatar for debasisdas
0
95
Member Avatar for veledrom

Hi, When i insert data into any table last number of sequnce get increased in all sequences that are listed below. These are for auto incremented numbers. All tables have their own autoincremented coloumns. Can anyone see mistake? Thanks [code] CREATE SEQUENCE FRANC_AUTOINC_SEQ START WITH 1 INCREMENT BY 1 NOMAXVALUE; …

Member Avatar for debasisdas
0
106
Member Avatar for Jihad

I want to make a server authentication login. First I logged in with windows authentication, changed the server authentication from windows authentication mode to sql server and windows authentication mode. Then I created a login, named it jihad and changed the password for that login. Then I gave that login …

Member Avatar for majestic0110
0
87
Member Avatar for complexcodes

Can anyone please help me to find the sum in the linked list. I have written codes to insert and remove numbers from lists but I have no idea how to calculate the sum. [CODE]void List::insert( const double &value ) { ListNode *newPtr = getNewNode( value ); if ( isEmpty() …

Member Avatar for Laiq Ahmed
0
3K
Member Avatar for frantara

I am trying to use swap imagesto swap two separate images on the same page but I can't get it to work. Here is the code for one image, rotator. I also have a second image,rotatorB that I want to swap different images with. I think I need two separate …

Member Avatar for peter_budo
0
129
Member Avatar for chweetnancy

Need help with this code. Anyone with knowledge on java please help. i found some on this forum, but that is also wrong. can anyone give me some help what is want is to smooth the values in an integer array. If its totally wrong please dont yell [code] import …

Member Avatar for jwenting
0
107

The End.