199,114 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for a.kris

Hey guys .. I am pretty new to Shell Scripting. I was hoping if some one could help me out with my problem. I am going with a tutorial for shell scripting. While executing some of the programs and commands I am getting errors. I have also checked other sites …

Member Avatar for eggi
0
203
Member Avatar for shelly2373

I have a program i have been working on for my Java class and it is due by the end of this week. My problem is a few things...(1) I do not know how to set the actions on the buttons Save, Delete, Modify and Add. Also I was able …

Member Avatar for deush
0
449
Member Avatar for slytherfreek

I'm having trouble reading from my files properly. the files being read from is in this format: Q:3 D:4 N:1 and that is all in the file, it stands for quarters, dimes, nickels. yeah and the function i have to read from that is this: [code=cplusplus] void initialize (ifstream& soda, …

Member Avatar for slytherfreek
0
114
Member Avatar for xcesmess

I'm having a little bit of trouble using the ifstream 'get' command. When I say trouble I mean it is not returning the values expected and I need a little guidance, if you will :). Basically what I'm doing is reading a file in through C++ and then going to …

Member Avatar for xcesmess
0
1K
Member Avatar for yuriythebest

ight - I have the directory to my app stored in HKEY_CURRENT_USER/ Software/myAppName how do I read it? I've tried searching the RegGetValue but couldn't get it to work/ understand how it works.

Member Avatar for yuriythebest
0
64
Member Avatar for Lu5ck

Hi all, How do you read specific <div> tag from responsetext? And also, is it possible to count how many <div> tag are there in responsetext? I have been googling for quite sometime but didn't find any tutorial or explanation nor answer. Thanks for the help.

Member Avatar for langsor
0
99
Member Avatar for shipeshipaca

I have been using the book beginning c++ through game programming witch has been a very good book. I've learned loops, references, pointers, classes, inheritance, dynamic memory, and the very basics. Now I need a book that will help me make programs that do things outside of the console window …

Member Avatar for Alex Edwards
0
284
Member Avatar for Kavitha Butchi

Hello all, I am all set to launch a website on which i have been working from months but now am afraid how safe it might be once it gets attention of hackers . As most of the code in website is in PHP,html,mysql i am posting this in this …

Member Avatar for Kavitha Butchi
0
384
Member Avatar for Duki

Probably a bit of an advanced question... How hard is it to allow for multi threading support with C#? For example, we have a motherboard that has the capability for two processors with four cores each (dual xeon quad cores). We want to dedicate one processor (or core) to calculating …

Member Avatar for Duki
0
132
Member Avatar for AON07

Hey all i'm fairly new to php and need some help with this code. I'm not recieving any errors but it wont work. what i'm trying to do is up load a picture from a form. i want to copy the picture into a folder named "images" then keep all …

Member Avatar for AON07
0
268
Member Avatar for trav1514

Hello, I was hoping to find help with creating a dropdown list in a gridview. The gridview is built from a database table. The dropdown needs to display data from another related table. When a user makes a selection from the drop dwon, the change to the data needs to …

Member Avatar for brianmaddox
0
91
Member Avatar for curt22

I'm writing a class that does a lot of reading and writing from a stream It needs to write bytes, sbytes, and signed or unsigned int32 and 16. I have been having trouble finding ways to read/write evrything I need to. UInt16 and UInt32 were easy when i looked for …

Member Avatar for curt22
0
136
Member Avatar for LiquidScorpio81

#include<iostream> using namespace std; void BubbleSort(int ar[10], int n, int & compare_costs, int & swap_costs) { int t; int swaps=-1; while(swaps) { swaps++; compare_costs++; for(int i=0; i<n-1; i++) if(ar > ar[i+1]) { t=ar; ar=ar[i+1]; ar[i+1]=t; swap_costs=swap_costs+5; } } } int main() { int n, compare_costs, swap_costs; int ar[10]; int *bs …

Member Avatar for VernonDozier
0
1K
Member Avatar for trihaitran

Hi I am trying to pull some data from a Web site: [url]http://schoolfinder.com[/url] The issue is that I want to use the advanced search feature which requires logging into the Web site. I have a username and password, however I want to connect programmatically from Python. I have done data …

Member Avatar for trihaitran
0
213
Member Avatar for zahra1364

Hi all I need a php resizer code .please help me as soon as possible. thanks.

Member Avatar for scorpionz
0
95
Member Avatar for dv1r

hello i want to write a programme that creates (lets say) 700 folders and numbers the from 1 to 700 and if its possible to take contents from a txt file to put after the number... if anyone can help me get started it would be gr8 i just never …

Member Avatar for Salem
0
108
Member Avatar for kevinritt

I wasn't sure if this should be in the MySQL or PHP forum. I have a database to enter student info for a school (it's a detention list - I'm the VP) I have a form to update records in a database as each student is assigned detention. It only …

Member Avatar for kevinritt
0
159
Member Avatar for amrith92

Hello, Now, this may sound stupid, as it concerns basic file I/O, but my code doesn't work correctly- at least it isn't doing what I want it to. I wanted it to write a file the first time it runs, which it does perfectly, and every time it is run …

Member Avatar for amrith92
0
122
Member Avatar for Hazey

Hi, I'm trying to work out this problem in my code where i am trying to replace a keyword with another word. The problem I am running into is that when the keyword is present inside of another word. Eg, "I'm trying to debug a problem but the debugger is …

Member Avatar for bvdet
0
74
Member Avatar for nagatron

Hello to all masters. . .I would like to ask if it is possible to use edit function in database without primary key. Ex. I have a button edit, a two textfields that holds the name and age of a person. If I put 2 same names in the database …

Member Avatar for aparnesh
0
155
Member Avatar for milonimim

how can i access a direct (absolute, not the offset) memory address? here is what i tried: wrote a program that ask's for an address from the user, creates a FAR pointer to that adress and shows it. then the user can increment/decrement the value in that address by pressing …

Member Avatar for Salem
0
158
Member Avatar for chillax137

I don't have a problem reading in one big array of numbers from a file. I can't figure out how to read in multiple arrays that are delimited by certain characters. For example, my dataset has the following format. #BEGIN 1 1 .1 .2 2 .8 .3 3 .9 .5 …

Member Avatar for vegaseat
0
158
Member Avatar for deadpool66

Hello everybody! I am currently take an IT class and have hit a snag. I am designing a currency conversion program. The assignment asks me to [B]Generate a set of test inputs and expected results for the Currency Conversion program[/B]. I have looked and looked and can find little documention …

Member Avatar for Salem
0
126
Member Avatar for destino

Greetings. I've hunted around quite a bit on this one. There seem to be as many potential solutions as there are folks who have asked the question. I'm rewriting a vb6 app in .net and rather than use the conversion process i felt that the app could do with a …

Member Avatar for asnider
0
140
Member Avatar for pmw

Help required please. I am using the following Multi image script: [url]http://www.javascriptkit.com/script/script2/multishow.shtml[/url] Is it possible to make clicked slides that link to a unique url open in new window? Many thanks.

Member Avatar for masijade
0
165
Member Avatar for sciwizeh

hello, google, daniweb, and microsoft searches didn't help me with this so i hope that someone here will know. i'm trying to have a method called at a fixed interval of time from the time an application starts until it ends ( RedrawWindow() ). i know how to do it …

Member Avatar for sciwizeh
0
213
Member Avatar for zabr

hi.. :) i'm a first year college student and just starting with turbo c. We have a project that is to be pass on August 29. I hope someone can help me cause i'm really having a hard time with this. I have to make an exe. of the program …

Member Avatar for Aia
0
127
Member Avatar for AllenB

Hello. I am having a problem generating the prime numbers from user input. The problem lies in the factorize method. I think I am really close to getting this to work, but I cannot seem to figure out the last detail that I need to include. Can anyone help? Thank …

Member Avatar for AllenB
0
135
Member Avatar for Repurcussion

I'm working on a homework/project to tokenize a set of operands (double) and operators as inputs. It's been going well enough and I have been able to finish it by implementing my own tokenizer but when I tested my output exe with digits greater than 7 I get a random …

Member Avatar for Repurcussion
0
166
Member Avatar for ravikiran032
Member Avatar for ceyesuma

in this xml mapping file : [code] <?xml version="1.0" encoding="UTF-8"?> <!DOCTYPE hibernate-mapping PUBLIC "-//Hibernate/Hibernate Mapping DTD 3.0//EN" "http://hibernate.sourceforge.net/hibernate-mapping-3.0.dtd"> <hibernate-mapping> <class dynamic-insert="false" dynamic-update="false" mutable="true" name="travel.Person" optimistic-lock="version" polymorphism="implicit" select-before-update="false" table="PERSON"> <id column="PERSONID" name="personId"> <generator class="increment"/> </id> <property column="NAME" name="name"/> <property column="JOBTITLE" name="jobTitle"/> <property column="FREQUENTFLYER" name="frequentFlyer"/> <set cascade="all-delete-orphan" inverse="true" lazy="true" name="trips" table="TRIP"> <key …

Member Avatar for nsisupalan
0
137
Member Avatar for litchi

Hello there, I am having trouble with a form/database. I have 3 age groups that needs to be sorted into 3 separate tables. Users fill in a form (dropdown list with the separate age groups) and when they click submit, the data gets sorted in tables on another page. With …

Member Avatar for litchi
0
179
Member Avatar for giudf

My problem is this: I want to call a pege by javascript (the page where I am but with different parameter) onchange="window.location.replace('utenti.jsp?mese=3')" But tomcat don't allow me to do this and give me this error HTTP Status 404 - /CosentinoDiFederico/utenti.jsp type Status report message /CosentinoDiFederico/utenti.jsp description The requested resource (/CosentinoDiFederico/utenti.jsp) …

Member Avatar for nsisupalan
0
1K
Member Avatar for joshmo

Hey all.. I have 3 classes in my program but Iam having trouble accesing a method in another class. Iam getting the error message cannot find symbol method printInfo(). Below is the code [code=cpp] class Book{ private String author; private String title; private int year; private Chapter first; private Chapter …

Member Avatar for joshmo
0
219
Member Avatar for ladyjade

I'm making a media player with visual basic 6 and im having trouble on adding the video feature(so that i can not only play the music but i can see the video with it) to the media player? could any1 help me?

Member Avatar for Yasith93
0
385
Member Avatar for DigitalPackrat

I am currently working on a project for a school project along with my friend. We, want a simple source control system, as we are working in a collaborative mode. I know this is not absolutely necessary, but, we still want to learn about source control and what better way …

Member Avatar for DigitalPackrat
0
202
Member Avatar for need_Direction

For example we have a class called Treatment. then in that class we have 2 functions that is treat() and treatmentStaff(). Function treatmentStaff() is called from treat(). In main, we create 2 objects for that class, namely Treatment treatmentA, treatmentB; then we assign treatmentA.treatmentStaff(); , treatmentB.treatmentStaff(); I wanna ask, can …

Member Avatar for mitrmkar
0
146
Member Avatar for LiquidScorpio81

I'm trying to generate 100 random numbers from 1-100 into an array. I can generate the 100 random numbers but don't know how to put it into an array. #include<iostream> using namespace std; int main() { int ar; for(int i=0; i<100; i++) { ar =(rand()%100); cout<<ar<<" "; } }

Member Avatar for Salem
0
87
Member Avatar for palavi

i have confusion, like when we give Char var='A';how is it stored in memory???is its value dat is 65 stored in bits??if yes wat is the value of 'a' (smallcase)... the value of A-Z is 65-90, i have program which prints A-Z, [CODE]class chararray{ public void createArray(){ char[] s;//declaring array …

Member Avatar for palavi
0
65
Member Avatar for peanutong

how do i select data from a table by sorting the first word from a column? for example: "user1 hello" "user2 one two three" "user3 where are you" "user1 im fine" how can i select all the data starting with "user1"?

Member Avatar for prasannapower
0
114
Member Avatar for Niklas

Please note before reading this, this is a keylogger, no its not used for malicious purposes as it only runs with the programing prompt open and stops as soon as the program is exited. Just trying to show my computer teachers something, because he's an idiot who gets his lessons …

Member Avatar for cikara21
0
165
Member Avatar for vijaysoft1

Please help me to find error in this program .I am trying to add data to a dynamic array . [ICODE] #include<iostream.h> #include<conio.h> #include<string.h> class data { private: char(* dynamicarray)[20]; int size1,i; public: data(char(*tmp)[20],int Size) { dynamicarray = new char(Size([20]); dynamicarray = tmp; size1 = Size; } get() { for(i=0;i<size1;i++) …

Member Avatar for cikara21
0
97
Member Avatar for glzse4

I have just installed Coldfusion 5 and am trying to test some .cfm pages. However, I always end up with a page that reads: "Application Server Error...". Does anyone know how I can get this coldfusion server working. Thanks, GL P.S. I'm a newb to coldfusion

Member Avatar for hinde
0
94
Member Avatar for OutOfReach

Ok I'll get straight to the point, how can a create a search box? You know, you type something in and it filters out the ones that don't match. Is there a special widget for this? Or would I have to create a normal lineedit widget and do all the …

Member Avatar for OutOfReach
0
206
Member Avatar for rmk93

HI, I am a computing student looking at how web developers create their web sites. It has no commercial basis. Can you please take this very short survey concerning your way of developing web sites. It is aimed at both newbie and experienced web developers and there are no 'correct' …

Member Avatar for nikesh.yadav
0
126
Member Avatar for tracethepath

i have made a program on text file to remove extra blank spaces in a file but it is not working correctly. when i run the program just "enter text" appears and after entering the text the screen just remains as it was. Nothing else appears. I cant find where …

Member Avatar for udayasankar
0
9K
Member Avatar for dotmac

Hello fellows, I'm on Mac OS X and have the following problem: Using a common cleanup script I got rid of useless localizations, keeping all the english files: [CODE] find /Applications ~/Applications /Library ~/Library \( -iname '*.lproj' -and \! \( -iname 'en*' \) -and \! \( -path '/Library/Receipts/*' -or -path …

Member Avatar for eggi
0
294
Member Avatar for Don Gino

Hey, I made a VB project which saves and loads data by writing and reading from an MS Access database. One problem is when i run the exe on a different computer i get the "Runtime Error 91 Object variable or width block not set " error. Now I am …

Member Avatar for Don Gino
0
157
Member Avatar for khbummy

Is Generics needed for this? TIA [code=c#] using System; using System.Collections.Generic; using System.Linq; using System.Text; namespace VehicleWorld { public class Car { private int topSpeed; public Car() { } public Car Select(int topSpeed) { Car c = new Car(); c.topSpeed = topSpeed; return c; } public override string ToString() { …

Member Avatar for khbummy
0
133
Member Avatar for Pikachumanson

I am making a character generator for school. What I have to do is make my CalcPoints method abstract. Unfortunately I keep getting These three error for each of my derived character classes and I don't know what to do. C:\Users\Hector Rosario\Documents\Visual Studio 2008\Projects\Rosario_Week3\ConsoleApplication2\Program.cs(126,26): error CS0115: 'UltimateWarrior.CalcPoints()': no suitable method …

Member Avatar for LizR
0
165

The End.