132,726 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for Trekker182

I just used mkdir myDir{1,2,3} to create 3 directories called myDir1, myDir2 and myDir3 in the same root directory. Now I'm trying to create 5 subdirectories in each by using mkdir ~/myDir*/subDir{1,2,3,4,5} but it's giving me a file already exists message. When I do an ls on the root directory …

Software Development shell-scripting
Member Avatar for eggi
0
248
Member Avatar for DesiFrank

Hello every one , I am new to java learning from different example i am useing bluej. Any help would be much appreciated. I just dont know where to start i done few programs my friend show me that on her Pc but i didnt understand very well. so i …

Software Development flash java
Member Avatar for Ezzaral
0
248
Member Avatar for Trekker182

I was wondering if anyone could offer some suggestions on how to validate a social security number & their employee # that a user would input separately through prompts? The SS# would be in the form of xxx-xx-xxxx where the x's are 0-9. I tried using this function that I …

Software Development c++
Member Avatar for Trekker182
0
833
Member Avatar for Raulin

Hi there, I am currently doing the snake game for my c++ project. For your information, I am not majoring in computing or any programming course, but am majoring in Physics at Univ of Birmingham, UK. About my task, I employ the use of vectors as the main function to …

Software Development c++ ide
Member Avatar for Raulin
0
110
Member Avatar for JpegUser

Hi all, Just a simple question. How do i reverse a pointer to a set of values given that i know the size of the pointer? Eg int *temp = malloc(ptr_size); // values of *ptr let say is 1......100, // if i use the algorithm below, it gets me 1..50...1 …

Software Development algorithm c
Member Avatar for JpegUser
0
126
Member Avatar for chocolate-glaze

Hi! I'm trying to write a method that finds the index of a specified occurrence of a character in a given string using recursion. I've managed to count the number of times a character occurs in the string, but can't figure out how to find the index of a particular …

Software Development java
0
63
Member Avatar for ich1

Hi all, This is my first thread on Daniweb!. I was wondering if someone would help nudge me in the right direction on this one. I'm new to python, been using it for about 6 months or so trying to develop a network simulator for school. This is not an …

Software Development peer-to-peer python
Member Avatar for gaunle
0
459
Member Avatar for dnmoore

I have to create a database that implements an array that stores a persons first name and last name and zip code this is what i have so far for my individuals array public class IndividualsArray { private Individuals[] array; private int count; private int zipCode; public IndividualsArray () { …

Software Development java
Member Avatar for dnmoore
0
153
Member Avatar for Tchevalier

Im new to c++ and i'm tryin to compute the standard deviation of a set of floating point numbers using a data file. here I started my program and skip over things i didn't really know but can someone plaese help me. **************************************************************************** #include<iostream> #incluse<fstream> #include <cstdlib> #include <cmath> int …

Software Development c++
Member Avatar for VernonDozier
0
201
Member Avatar for skatamatic

For a lab, my instructor asked us to include an assignment operator with our class, but to hide it. Does this mean to declare it as private and just leave an empty implementation? Is this common/useful?

Software Development c++
Member Avatar for wt1099
0
313
Member Avatar for zothos

I have a problem with a code attempting to do a factorial of a number. For numbers 12 and below, the code works fine, but when I do 13 and above it outputs the wrong number. [icode] #include <iostream> using namespace std; int number; int number2; int main() { cout …

Software Development c++
Member Avatar for MosaicFuneral
0
294
Member Avatar for ashain.boy

hello everyone! i need help a bit ... //// County/Region 2007Q3 2008Q3 Yr/Yr% Los Angeles 13,583 17,073 25.70% Orange 3,882 5,692 46.60% San Diego 5,673 7,062 24.50% Riverside 9,250 11,714 26.60% San Bernardino 7,038 9,110 29.40% Ventura 1,377 1,676 21.70% Imperial 259 568 119.30% San Francisco 252 353 40.10% //// …

Software Development python
Member Avatar for bvdet
0
91
Member Avatar for allang

I'm setting up a simple painter applett that uses a seperate frame class to control color and clear the screen. I've got all but the clear button working fine. After attempting several different methods I've settled on passing the address of the applett graphics object to the frame class and …

Software Development java
Member Avatar for Ezzaral
0
90
Member Avatar for afg_91320

i have this given structure: [code] struct Tempscale { double farenheit; double centigrade; }; struct Reading { int windSpeed; double humidity; Tempscale temperature; }; [/code] i am then asked: define a Reading structure variable is this ok: Reading data; write statements that will display following data: wind speed : 37mph …

Software Development c++ data-structure
Member Avatar for Ancient Dragon
0
396
Member Avatar for Evil Genius

Hi, I was coding the following program.. [ICODE] // Program takes work hours and rate per hour and gives total // salary after tax, if work hours are over 40, its increased by 1.5x. #include <iostream> #include <conio.h> using namespace std; int main() { double hr_work, hr_rate, taxed_total, total; cout …

Software Development c++
Member Avatar for Evil Genius
0
134
Member Avatar for n3XusSLO

[CODE]std::string s="s1"; std::cout<<s<<std::endl; { std::string s="s2"; std::cout<<s<<std::endl; };[/CODE] Why can I have two variables with the same name existing like this?

Software Development c++
Member Avatar for Lerner
0
192
Member Avatar for jlatorre80

Ok, well I am new to c++ and have been trying to get the basics down. I have a class assingment which require me to read numbers from a file and store them into a vector as long int. An example of the file would be : 19531029L 20081104L 19770615L …

Software Development c++
Member Avatar for MosaicFuneral
0
134
Member Avatar for britishemo15

Hi everyone, basically i'm writing a simple program in c++ to trigger a beep from the internal speaker much like a musical keyboard except i'm having trouble with capturing key press how would i be able to trap a key press then initiate a beep, i have tried using kbhit() …

Software Development c++
Member Avatar for MosaicFuneral
0
1K
Member Avatar for localp

i want to create a hash table ( independent rehashing ), using STL LIST... in Independent rehashing we use a function to we need to generate the index then check if there is any collisions if there is we need to rehash it and then put it in to the …

Software Development c c# c++
Member Avatar for Lerner
0
187
Member Avatar for Andragon

Problem1: When I tried outputting a printf "error message" at dividing by zero, it screwed up my code and no output was shown at all. Problem2: When I perform an operation, I get 8 results instead of 5. Please help ASAP. Thanks. [code=c] #include <stdio.h> //Defining a few "functions" which …

Software Development c
Member Avatar for devnar
0
169
Member Avatar for dampecram

Hello, I'm in the middle of writing a doubly linked list, I have the print in reverse working fine and my insert function working fine, I just can't seem to find what I'm doing wrong with the delete function.. WHen i try to delete the last letter in the node.. …

Software Development c linked-list
Member Avatar for devnar
0
181
Member Avatar for michux

Hi, Here is my use case - I have a Java app from which I'm calling an XSLT to transform XML into HTML - The XSLT is a file in JAR - The XML is passed as a stream from another application Now, the problem is: - I need to …

Software Development file-stream xml
0
407
Member Avatar for Clawsy

Hi, I have a little project to do in C#, building an audio player. I tought the best way is to use Microsoft.DirectX.AudioVideoPlayback. I tried to code so that when I push the play button again, the audio file restarts playing(otherwise it plays over the current song). so tha't my …

Software Development audio c#
Member Avatar for Clawsy
0
411
Member Avatar for rhoit

I am new to the templates.. I was trying to implement templates in my x programs.... and i am stuck ... help me... problem is with the "search" function when i was not using templates search function was [B] Stack::Nodeptr Stack::search(char item)[/B] and worked perfectly fine.. when using templates... i …

Software Development c++
Member Avatar for Lerner
0
172
Member Avatar for heyitsme

Hello- I do not have much experience with python, although I am trying to write a script to do the following: I have more than one CSV file, in this example I have three, each file has many rows, and two columns, they are in this format: Column 1 is …

Software Development file-system python
Member Avatar for woooee
0
92
Member Avatar for ajay.krish123

This program is to print name without using the header files [ICODE] void main() { int i; char far *s=(char far *)0xb8000000l ; *(s+2)='p'; *(s+4)='r'; *(s+6)='i' ; *(s+8)='i' ; *(s+10)='t'; } [/ICODE] please explain the meaning of the line [ICODE] char far *s=(char far *)0xb8000000l ; [/ICODE]

Software Development c
Member Avatar for gagansharma
0
184
Member Avatar for Vux

Is there a way for example, to use WGET, inside of a C program? I want to download the text of a website's index.html (ie [url]www.google.com/index.html[/url]) and then send it over to another program via sockets. Is this possible?

Software Development c++
Member Avatar for vijayan121
0
790
Member Avatar for vmars

Please, how does 'Python, wxPython, wxWidgets, C++' all fit together? WxWidgets being written in C++ and all. What is actually being handed to Python when we use these things. Thanks a bunch!

Software Development python
Member Avatar for vegaseat
0
108
Member Avatar for Lukezzz

I wonder for if I have a made a formapplication in VC++ 2008 Express Edtion that consists of 10 forms and I am for the moment writing code in Form10 and then want to compile and test the function. What I wonder is if I only can compile Form10 and …

Software Development c++
Member Avatar for Lukezzz
0
89
Member Avatar for saurabh.punn

Hi All I am using[B] MS ACCESS 2003 and VB version 6.0.[/B]I made a Blank database in ACCESS with a table having fields [B]Username & Password.[/B] My VB application consists of [B]2 textboxes and a command button[/B]. I established the connection using [B]"Microsoft.Jet.OLEDB.4.0[/B]"(coz i tried first 3.51 but it wasnt …

Software Development microsoft-access visual-basic
Member Avatar for Baradaran
0
118
Member Avatar for AcidG3rm5

[code] class Date { public : Date(); void getDate(int,string,int); private : int day; string mth; int year; };//end class //getdate void Date::getDate(int& inDay,string& inMth,int& inYear) const //error here { inDay=day; inMth = mth; inYear=year; } [/code] I'm doing up a date class. Am doing a class function getDate to return …

Software Development c++
Member Avatar for Nick Evan
0
209
Member Avatar for MxDev

Hello Everyone, I've a problem with java & SQLServer 2005 interface, i installed a SQLServer 2005 and SP2 software bundle to enable SQLServer to run on Windows Vista, i'm using the "Windows Authentication" in SQLServer 2005 which don't need the username or password, and i've the classpath to jar archive …

Software Development java sql windows-server windows-vista
Member Avatar for fuzzyduq
0
93
Member Avatar for clutchkiller

Hi guys, right now I am an amateur in the world of programming and am starting to "train" myself by thinking of ideas for a program and figuring out how to write it. So right now, my first real undertaking I have devised is to write an itemizer where the …

Software Development c++ ios
Member Avatar for Nick Evan
0
113
Member Avatar for gurudattbhat

i want move date whenever one perticular field gets some value... eg. if i have field name event and date .event is a select box . when approved is moved to event box todays date should move to date field. pls send me a javascript related to this

Software Development java
Member Avatar for sillyboy
0
84
Member Avatar for Branimir Corluk

Hello I have a similar problem like this one [url]http://bytes.com/forum/thread253914.html[/url] the only difference is that I cant access the control DataAdapter. I have like 4 DataAdapters on my Form and I need to access them through a loop to change some of their properties. How can i acomplish that? Thank …

Software Development
Member Avatar for Branimir Corluk
0
96
Member Avatar for Frank0051

Note: I'm using a JList as an audio playlist. I was wondering if there was a way to automatically update a custom ListCellRenderer. Basically I ask is because within my ListCellRenderer I have an isPlaying item that will change the color of the object in my playlist that is playing, …

Software Development audio java
Member Avatar for stultuske
0
516
Member Avatar for Tank50

HI Guys Iam developing a windows service,In that service I send a email,so i using lotus notes to send email,according to artical in internet,I used Lotus domino object.After I created setup its works properly,But when I need to start new project that also about sending email from lotus,then Once I …

Software Development assembly
Member Avatar for Tank50
0
119
Member Avatar for AceAtch

Hi all, i have to make an application that can take the user's input and finds out if the year is a leap year. The input has to be divisible by 4 and 400 but not by 100. This would then produce an answer if the user's input is true …

Software Development java
Member Avatar for stultuske
0
160
Member Avatar for thangarajforyou

Hello friends, I have a problem in my stock trading terminal . Its not working properly as what it should be . i think i got a problem with applet .. At the status bar,it says "Applet RTApplet started" .. how to solve this ?? can anybody help me please??

Software Development java
Member Avatar for stultuske
0
397
Member Avatar for Agni

Hi guys.. I'm facing a problem in my project. Basically its a small project for a retail store inbound section. The goods come in cartons and the user enters the carton ID in the UI to accept the carton. In the backend the carton details get updated in the table …

Software Development c++ client-server
Member Avatar for Agni
0
91
Member Avatar for MaxVK

Hi. I need to have two frames (not necessarily visible together and possibly more than two), and I need to be able to interact between them. For example - if I have two frames, one visible and one not visible. Clicking a button on frame1 will make frame1 invisible and …

Software Development python
Member Avatar for MaxVK
0
624
Member Avatar for CTOBiz

Friends, First off, I'd like to thank each one of you for setting up such a fantastic supporting network to help each other. Here's what I want to do and I think this is feasible but haven't done it myself as my focus can been more architecting web and DW …

Software Development c# flash user-interface
Member Avatar for topsy_uno
0
103
Member Avatar for sivak

i have a different version of assemply with same name? how can i identify each assemply?

Software Development
Member Avatar for Jugortha
0
83
Member Avatar for sivak

what is mean by applications exception and system exception in c# .net ? example for each

Software Development
Member Avatar for Jugortha
0
75
Member Avatar for poilkjmnb

Hello Friends, How can i made an DLL which is used in vb 6.0 as a reference. i have made an DLL which give the exact result in delphi console application but not add as a reference in vb 6.0 Thanks,

Software Development delphi pascal
Member Avatar for poilkjmnb
0
278
Member Avatar for purplehaze13

hi i'm new to c++ and i really would appreaciate it if someone could help me plz! i have to create aprogram to identify palindromes using character arrays and pointers. it shd continue requesting the user for phrases until quit is entered. i have t o use the following: -type …

Software Development c c# c++
Member Avatar for ithelp
0
104
Member Avatar for sudon

Greetings to anyone who reads this post. Actually I needed a help. I need to write a program for the Internet Browser application but don't know where to begin at. Could anyone please help me providing the information on topics that I will have to know about. I intend to …

Software Development java
Member Avatar for Jimmy88
0
130
Member Avatar for mrkcse

Hi all, Iam developing one windows application in that i have to open one text file and read it from http link on website like: "http:\\website\dir\sample.txt" iam using c# as language.How to do this.

Software Development
Member Avatar for LizR
0
131
Member Avatar for papuccino1

On the click event of the picturebox, I've tried the following: picturebox1.image = imagelist1.index????? I don't know the syntax, how do I choose a picture from an imagelist and place it into a picturebox. Thanks :)

Software Development algorithm
Member Avatar for LizR
0
116
Member Avatar for Bhoot

I am writing a RAT in which i have also included a keylogger as a DLL file. here is my code in the keylogger.dll : [CODE] //function.h -- the file which will be referenced by my RAT project file.///////////////////////// extern "C" __declspec(dllexport) void setHook(); //keylogger.h////////////////////////////////////////////////////////////////////////////////////////// #if !defined(AFX_KEYLOGGER_H__5979CE3A_20A6_4172_BBF1_9F7C091CC182__INCLUDED_) #define AFX_KEYLOGGER_H__5979CE3A_20A6_4172_BBF1_9F7C091CC182__INCLUDED_ #if …

Software Development c++
Member Avatar for Bhoot
0
277

The End.