132,726 Archived Topics
Remove Filter ![]() | |
Similarly, you can add more fields to an enum and simply provide accessor methods to retrieve them. For example you could change it to have an extra field indicating an output directory to write specific types of data to, and a getter method to return that directory. Software Development file-system java | |
i was tasked with writing a program that prints the question ”Do you want to continue?” and reads a user input. If the user input is ”Y”, ”Yes”, ”OK”, ”Sure”, or ”Why not?”, print out ”OK”. If the user input is ”N” or ”No”, then print out ”Terminating”. Otherwise, print … Software Development java | |
Hi guys I am currently making a simple calculator for children in turbo c++ and I do not know how to make the help screen. I want the child to be able to press the letter h which will take them to the help screen. Can anyone help me? Software Development c++ | |
Hello guys, I'm completely losing it. The question asks to emplement an electronic directory traverse in size a chosen folder (using JFileChooser)and print the structure with the calculated the size of each folder and file. Finding the file size is easy using File.io `getSize()`. However, to find the size of … Software Development file-system java | |
Which of the following statements are correct about static functions? 1.Static functions can access only static data. 2.Static functions cannot call instance functions. 3.It is necessary to initialize static data. 4.Instance functions can call static functions and access static data. 5.this reference is passed to static functions. A. 1, 2, … Software Development | |
hi every one i want to write a program in visual basic 2010 to read any file and convert it's binary data into an array i search it internet and find this website http://www.daniweb.com/software-development/vbnet/threads/320160/visual-basic-reading-text-file-into-array i compile the code and make some change and its work fine i tried to read … Software Development file-system visual-basic | |
#### Function secondLoop has the same components with the additional lines # number = len(sentence) while number != 0 #While flag==True letter = input("Enter letter: ") # letter is asked in function again if letter not in enteredLetters: find = sentence.find(letter) if find == -1: print("Letter is not in word") … Software Development python | |
| |
Hey guys! I'm making a program requires a listbox with numbers from 0.02-7. That's a lot of numbers to add one at a time. I tried to figure out a different way other than rateListBox.Items.Add("") but I can't really figure it out. Does anyone know now to do that? Software Development vb.net | |
http://acm.epoka.edu.al:8080/en/problem-pid-c45b?ps=1&smt=a&smpwid=0 .. the exercise is found in this link pls Software Development c++ | |
I am developing a client server application in C#. I am sending from my server to client an object of `Student` type which I serialize on the server side and deserialize on client side. The serialization and deserialization are as follows : // server side serialization. Student s1 = new … Software Development c c# c++ client-server | |
It's been awhile since I've needed help, but I can't for the life of me figure out why subtraction isn't doing what it should be I'm clearly missing something or some change to how C++ interprets subtraction, if you could point me in the right direction that would be awesome … Software Development c++ | |
Hi! I have this code, classes with matrices, overloading operator etc (this is just one part, I reduced it from original). #include<iostream> using namespace std; class matrix { protected: float* M; size_t m,n; public: matrix(){} matrix(size_t m,size_t n); matrix(const matrix& A); ~matrix(); matrix& operator=(const matrix& A); matrix operator+(const matrix& A) … Software Development c++ matrix-multiplication | |
I want to declare an array of type (char / string) confused! dunno which one.. which will store 5 names this code couldnt work char names[5]={monitor,cpu,mouse,joystick,system}; someone guide me please Software Development c++ pc-peripheral | |
i wrote a program that have four classes .one of these classes is Date : class Date { public Date(int year,int month,int day) } in other classes there are some method that one of they're input is Date for example public void f(Account account ,Date date) i want to write … Software Development java | |
hey with this code that ive written, im not sure why its not outputting a value for the BMI.. can anyone help?? thanks def application(environ, start_response): headers = [('content-type', 'text/html')] start_response('200 OK', headers) formdata = cgi.FieldStorage(environ=environ, fp=environ['wsgi.input']) if formdata.has_key('Mass') and formdata.has_key('Height'): Mass = float(formdata.getvalue('Mass')) Height = float(formdata.getvalue('Height')) BMI = formdata.getvalue('Mass/(Height*Height)') … Software Development python | |
I wanted to display the blue mean value in the text box, but it is giving me an error blue.set(B_mean1) AttributeError: 'numpy.ndarray' object has no attribute 'set' And this is my code: from Tkinter import Tk, Frame, BOTH from Tkinter import * import cv2 from collections import * from CBIR … Software Development programming-construct python tkinter | |
hi, i'm wondering how can i make my project running in to another computer without changing the connectionstring. i am using this connectionstring("Server=GEN-PC;Data Source=GEN-PC/SQLEXPRESS;Initial Catalog=Brgy;Persist Security Info=True;") Software Development cybersecurity vb.net | |
hi, can someone correct this code for me. i will be very thnakful. #include<iostream> #include<string> using namespace std; template <class T> class ListIterator; template<class T> class List { friend class ListIterator<T>; //declaration of <Template>class iterator public: List(int size); ~List(){ delete [] listArray; } bool isFull() { return mSize == MaxSize; … Software Development c++ | |
Hi Dw I want to read a text file line by line and refer to those lines, meaning the text file will have 1 word per line and these words are the names which will be used by a scanner to check if there are any files named as these … Software Development vb.net | |
hi guys, Hi, I want to create a calendar shifts in C # Board will have four arrays in which there will be names of people Each month the board will take one name at random from an array and put it in the table In addition there will be … Software Development | |
Hi Dw There is a program that I'm doing and what it does is move a chosen file/folder to a folder on drive "C:\test" and I have a list box that only display the files name inside the Test folder and when the user click the file name on a … Software Development vb.net | |
program that implements an event-driven simulation of a line of customers at a bank.Each customer enters a queue, waits until reaching the front of the queue, performs a transaction with a teller (bank employee), and then leaves the bank. You may assume that the bank has only one queue and … Software Development c++ data-structure queue | |
create a structure called sales with: salesid, custmer name, customer address using constructor to initialize. Software Development c++ | |
Is there any simple way to create a txt file with its name come from the user input. Also the file will be stored in a specific location such as C:\Users for example. Here is what I do but doesn't work. import java.io.File; import java.util.Scanner; public class cITF implements ICommand{ … Software Development file-system java user-interface | |
I am writing a program where the user enters 2 strings and the program checsk to see if any characters are in both strings, and if they are, remove them from the first string and print it. So i have this at the moment, and it's almost working but it … Software Development c++ | |
Hello, so i am making a shooter game, and i want the asteroids or '@' to spawn randomly along the y axis and fall down (- y axis per second) compiler:- codeblocks os:- win 7 thanks. Software Development c++ | |
[Click Here](null)Friends... Good Evening... I am final year student of UG Computer Science.. I am creating my College Admin Project using Vb.net 2010 with SQL server 2005. When i am trying to complete my project , i have to connect all my different modules (Admission, Fee Management, Students Profile, Attendance … Software Development vb.net | |
-->>Hello everyone, -->>I curently faced the problem with My project that the Main Form (Which is My startup form) in My project is NOT loaded in.. -->>project explorer window during the design time,when I lounch the project I get the following error: Microsoft Visual Basic Errors during loading. Refer to … Software Development file-system visual-basic web-design | |
i'm taking the image from the user, and displaying it using label. Now i have to use that image for further processing. my code is: from Tkinter import Tk, Frame, BOTH from Tkinter import * import cv2 from collections import * from CBIR import * from experiment import * from … | |
Hello, This is about an assignment and the requirements (to pass) is as follow: 1-Abstract base Class **Shape** must have the following consturctors: area() print() Recommended constructors: Point( double x, double y, double size) Circle( double x, double y, double radie) Rectangle( double x, double y, double width, double height) … Software Development c++ linked-list | |
Hi I want to call the xml file and I want to change the tag name. here sample coding of get txt file. my $inputtxt=$ARGV[0]; open(TXT,"$inputtxt"); my $txtstr=join("",<TXT>); close TXT; $txtstr =~ s#\n\n#\n#sgi; # print $txtstr; open (OUT,">$inputtxt\.txt"); print OUT $txtstr; close (OUT); I need how to call xml file, … | |
So I am not getting the data from text1 to load properly(I would assume text2 is the same). If I step through it the variables load and then once it reaches Dim A() etc. it gives the "path's format is not supported" error. I have changed up how i'm getting … Software Development file-system vb.net | |
hy i have a problem in a Result programe of C++. I want to find 1st,2nd and 3rd position from any number of students. I already have a code to find first three largest element of array but problem is that 2 or 3 students marks can be equal but … Software Development c++ | |
my problem is how to use if else statement with the use of character type string (char str[40]) for exemple char str[30]; cin>>str; or gets(str) or getline(str,30) if(str=="hello") cout<<"world"; i search this everywhere but every answer could not satisfied me. Software Development c++ programming-construct | |
![]() | Greetings everybody, I have been using libusb for a few days, I developed a program to transmit data via USB port which gives no error, but when I developed a program for receive mode, it gives a run time error related to submit urb. When I took a look at … |
Have first part of program written. It will use enum array for month and average rainfall amount. It starts at January and runs through December. Second part is to ask user at what month they want to start (example, April). The printout would then start at April of year -1 … Software Development java | |
Hi All, I am facing some issues when writing a xaml and my code goes as follows :- <Grid> <Grid.Resources> <!-- Shared Storyboard across the system --> <!-- This storyboard will make the image (button) grow to double its size in 0.2 seconds --> <Storyboard x:Key="expandStoryboard"> <DoubleAnimation Storyboard.TargetProperty="RenderTransform.ScaleX" To="2.5" Duration="0:0:0.2" … | |
![]() | Hey guys, I'm trying to get all links on a website using BeautifulSoup, Queue, Threading, and urllib2. I am specifically looking for links that lead to other pages of the same site. It runs for a few seconds, going through about 3 URLs before giving me the error: Traceback (most … |
Hello, I'm trying to write a program that will allow the user to choose the sum of the dice and also the number of times the dice can be rolled. Here is the program #include <iostream> #include <cstdlib> #include <ctime> #include <string> using namespace std; int rollDice(int num); int Main() … Software Development c++ | |
hi fellas As I remember, I watched video on YouTube, I couldn't watch directly on the middle of the video without loading from the beginning (am i correct?), but nowadays we can and it's really great. How that thing works? Maybe i'm wrong, anyone can verify that? Software Development c++ streaming-service video | |
I'm having a problem with my linked list. I want to add to the beginning of the list and delete from the beginning of the list. I get an AccessViolation which is coming from where I print out the list. I also don't think it's adding elements to the linked … Software Development c linked-list | |
It keeps telling me there is an error on line 22 when I run the program. Does anyone see the problem. My goal was to create a jagged array where the first block had 3 grades, the second block had 2 grades, and the third block had 4 grades. using … Software Development | |
I've attached below my codes. I'm stumped. The funny thing is, I think I can make this work with a vector instead of the arrayListType class. I cannot figure out how to load the objects into the array. I create an arrayListType object of type extPersonType, call it addressBookType, and … | |
Hello Everyone I am struck how to start script in my .txt file i have some of ips and i need to retive the ip and it need to convet into xml file in .txt file ips like his client1-10.1.1.1/24 clientgw1-10.1.1.2 server1-10.1.1.3/24 servergw1-10.1.1.4 client2-10.1.2.1/24 clientgw2-10.1.2.2 server2-10.1.2.3/24 servergw2-10.1.2.4 client3-10.1.3.1/24 clientg3w-10.1.3.2 server3-10.1.3.3/24 … Software Development file-system perl xml | |
![]() | Greetings everybody, I have been using Code::Blocks for only a few days. I have developed lots of GUI applications in other IDEs. But, when I try to start a GUI project in Code::Blocks, I am having compile error, even thoough I change nothing in the generated project. I mean, even … |
All, what I am trying to do is isolate markings (differences) in images. I have an unmarked image (I1), a marked image (I2) and a third image (I3). I would like to compare I2 against I1 and store the x,y (or array of pixels) of the differences (isolate markings). I … | |
Im trying to write a code where the user inputs an expression and then prints the answer and the postfix expression my problem is the parenthesis are all off and I'm not sure how to get them to print normal or even do without the parenthesis at all For instance, … Software Development java | |
![]() | If there is something I understand least of in programming, it's accessing arrays. Does anyone know why this won't work? I can't find the answer anywhere. What I'm basically trying to do is take the months that have 30 days and perform a math problem, but I can't seem to … Software Development ![]() |
Hello DaniWeb Family! I'm new to the site and to the industry so please be patient with me...smile! I recently completed a 2-year community college program where I studied web development and the courses ran the gamut from Photoshop and Dreamweaver to VB, ASP.Net, C#, Javascript, and Java to Server … Software Development database-design ide oracle visual-studio web-design |
The End.