132,726 Archived Topics
Remove Filter ![]() | |
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 | |
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 … | |
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++ | |
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 … | |
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 … | |
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 | |
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 | |
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 | |
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++ | |
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++ | |
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++ | |
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 | |
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 | |
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 | |
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++ | |
[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++ | |
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++ | |
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++ | |
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 … | |
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 | |
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 | |
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 | |
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 … | |
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++ | |
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 | |
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 | |
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++ | |
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 | |
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++ | |
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 | |
[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++ | |
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 | |
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 … | |
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 | |
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, … | |
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 | |
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 | |
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 | |
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 | |
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 | |
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 | |
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, | |
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 … | |
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 | |
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 | |
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 | |
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++ |
The End.