132,726 Archived Topics
Remove Filter ![]() | |
Which Sub Directory Save Source Code Of A File And How Many Files Are Created After Compilling? Answer Me Plz, With Details. Software Development c++ file-system ![]() | |
hi guys, j how are you all doing, i havent been here for a while, anyone miss me, jus kidding anyway i am trying to build this program, it is just a practice thing but I am getting this error and havent got a clue how to make it work … Software Development java | |
I'm printing some strings to the output console to visualise an array, so I'm looping though a string array and using `Debug.Write(array[x,y] + "\t")` etc... All was fine before I went to bed, and the output was fine, like this. "type-b flat three core 29/03/2015 23:34 6 £13.65 wire grade" … Software Development microsoft-office open-source | |
I was wondering if anyone can give me an idea on how i can modify this function to check for duplicates, if it contains a duplicate, since duplicates are not aloowed, output a message. Any help would greatly be appreciated. [code]template<class Type> void orderedLinkedListType<Type>::insertNode(const Type& newItem) { nodeType<Type> *current; //pointer … Software Development c++ linked-list | |
I have a file download code in vb .net but when i try to download any file (.rar in this case) everything downloads properly but when i open the .rar file WinRAR shows "The archive is damaged!" but when i download the same file from IDM its perfect and no … Software Development asp.net file-system vb.net | |
Hello, I am wondering how I would access an element on a List? Is it something to do with the iterator? list<Element*> _children; _children.push_back(child); _children.push_back(child); For example, how would I access the "children" of this list? Thank you. Software Development c++ | |
Write a program that declares an array of 20 doubles and reads the values from the user. Now your program should compute the average of these numbers and then tell for each number whether it is above, below or equal to the average Software Development c++ ![]() | |
I have a list in python that I am printing to the screen. The current format is Option Key: [0, 3, 6, 8, 8, 5, 2, 0, 7, 1, 9, 5, 0, 7, 7, 4, 2] I would like it to be Option Key: 0 3688 5207 1950 7742 I … Software Development python | |
How does a person go about adding an item to a queue within a gui? I have a textarea and a textfield. | |
Hi. In my application I'm using Excel to get some data into an array from a worksheet. Here is my method. public string[,] WorksheetToArray(string path, bool visible = false) { oExcel oXL = new oExcel(); // here new icon appears. if (oXL.Error > 0) { MessageBox.Show("An Error Occurred" + "\r" … Software Development microsoft-office | |
My project is seperated into two files(a head file and a implementation file). But when i run the codes it comes the errors as follows: // my codes are as follows: //first file (first_homework.cpp) // //second file(first_homgwork.h.cpp)  I will appreciate it if anyone can be capable to give … Software Development c++ | |
Hi guys I'm wondering if this possible in some fashion? I'm trying to create a settings object, and pass it around my forms in project. Ultimate goal is to have my application title, which will appear on all forms title text, in app.config or user.config. Program.cs namespace TestApp { static … Software Development | |
hi guys I need assistance with SQL insert statement to an access database. I want to insert values to a particular table if the text box value is less than 0. below is the sample code. dim value4 as integer if integer.try parse(textbox4.text) then if value4 <=0 then dim cmd … Software Development microsoft-access sql vb.net | |
Hey Guys, Ive been having a bit of trouble with a program which rolls dice for the game risk. Ive been able to implement number of dice choice selection for both attacker and defender, and to get them to roll the results. The part I am trying to implement now … Software Development python | |
Hi, I have an `unsigned char c[16]` and I need to read 2 char at a time and put those in an index. Heres what I have so far. std::istream& function(std::istream& aIStream){ for (int i = 0; i < fSize; i++) { //this is not working.. // I tried static_cast<char*> … Software Development c++ | |
Hey everyone, I'm trying to convert some values to ASCII characters. I understand that this is possible through means of something like this: std::cout << (char)0x31 << std::endl; // prints 1 std::cout << (char)0x4C << std::endl; // prints L However, my problem is that i have char array that contains … Software Development c++ | |
So the other day I was just experamenting with some code, just for fun, and I ran into some difficulties. So I suppose my question is why the following code does not write to the original bigints array. I am sure I am doing something dumb, but please bear with … Software Development | |
Hey guys i need some help.. Here is my code given below + the question statement.. The problem is simple i just wanted to ask what and how i can use variable to calculate average in array questions.. Problem Statement: "Write a program that declares an array of 25 integers … Software Development c++ | |
hi ^_^ I want to write a code to set an (error) text in the Jtextfiled if the number contains more than 1 dot (eventHandling)! but my code actually didn't concatinate with the next digits I've enterded ,for example:(2. ) and stop ! so what is the right solution ?!! … Software Development java | |
I am creating a doubly linked list and printing a backwards function. Everything is working great in my code, but when the function is printed in reverse, I need it to say NULL at the end, as it does going forward. When I put puts("NULL") (line 193) it splits up … Software Development c linked-list | |
hi people how do I select a specific row in a data grid view to be updated. the row contains item number, item name and price. thanks Software Development vb.net | |
As the title implies, what I want to do is create main.py and have it open a window. after the window is open, I want to edit main.py, and when finished editing, hit File -> Reload in the window's menu bar. what's expected is for the window to update with … Software Development python | |
Just wanted to know if anyone on DaniWeb is using or at least experimenting with Go. | |
hi everyone :) I have a problem here >>which I can't add 2 numbers >> and I don't know what is the solution for that !!>>it always gives me an empty result !and that is because (num2) always parse a (null) value ! so how can I edit the value … Software Development java java-swing | |
I'm writing a program tha calculates linear regression, one of the values that are generated is the r (linear correlation coefficient) value. However, my algorithm doesnt work. I implemented the r value from the formula located at [Click Here](http://mathbits.com/MathBits/TISection/Statistics2/correlation.htm) Here is my code: long double LinearRegression::calculate_r() { long double r; … | |
If I need to repeatedly create a picturebox of the same image, I understand that one way of doing so is creating an array of pictureboxes and then making one more visible every few seconds, but the image of the picturebox must be pathed to an image on your computer. … Software Development | |
Hi guys i have problem this code send email based on timer every 5 minutes it working ok but my problem i need to determine first rcord updated not inserted and send email this is starting work this is my code Sales.SalesClass SalesClass1 = new Sales.SalesClass(); DataTable dt = SalesClass1.ShowSalesData("Data … | |
Hello I need some help. I'm trying to opening a file and sorting then displaying the results in a listbox. When I run the program I get the error "Index (zero based) must be greater thatn or equal to zero and less that the size of the argument list" Here … Software Development vb.net | |
Hi, I have a dgv displaying records from an SQL database. On load, the dgv is filled, the dgv selection cleared and the 'action' buttons set to enabled=false. When the user selects a row (cellclick action) the 'action' buttons are enabled. When the action button is clicked the dgv is … Software Development vb.net | |
Hello Guys, Simlple problem and I am hoping for a simple solution! My software saves all my randomly generated product keys to a text file. It saves this using the code below. My.Computer.FileSystem.WriteAllText(My.Computer.FileSystem.SpecialDirectories.MyDocuments & "\TempValuesForAKG.txt", PTB.Text, True) That works fine. I then try to use the Print Document control and … Software Development vb.net | |
how do i write function that accepts unlimited arguments? i know in java we write it in this way `funcName(int ...)` ..so what's the way to write it in C++ Software Development c++ | |
I'm painting a grid on the JPanel and trying to scroll the grid with a JScrollPane. I have a feeling the scrollpane is getting the actual size of the panel, instead of the size including what is not being shown. Something along those lines at least, I can't quite wrap … | |
how can i make swapping for 2 variables in more than 2 ways ?? Software Development c++ | |
![]() | Hello Guys, Am having a new assignment and a new problem. I should make C# application witch shows drive letters in combo box, directories and only .txt files in tree view, and I should be able to open text file from tree view in text box using Open button. I … Software Development |
Hello Everyone Im trying to call my paint method inside my ball class but cant seem to get it to work.Repaint wont call paint nor update Any help would be greatly appreciated public class Bounce2 extends Applet implements ActionListener,AdjustmentListener, Runnable { //Create and initialize objects private static final long serialVersionUID … Software Development java | |
In python if I know the volume label of a USB mass storage device is there a way to get its. Drive letter Windows Mount Point Linux Mount Point OSX Originally I was thinking either the sys library or the os library. i ahve found another library called PYUSB. Still … | |
Code: Form2 ConfigForm = new Form2(); ConfigForm.Width = 300; ConfigForm.Height = 148; ConfigForm.ShowDialog(); What I get is http://s3.postimg.org/hyiqmmacj/Test_App2.jpg Which is totally wrong size. What it's like in designer, and what shows if I just use ConfigForm.Show() is. http://s3.postimg.org/x5yq6z277/Test_App1.jpg Does anyone know why this ocurrs, and how to fix it? Thanks … Software Development | |
I have a GUI with two JSpinner's and a Spinner Model attached to each of them. When changing one value, the other changes. I suspect this is because I'm using the same model. This is obviously not what I intend to do, is there a better way than creating another … | |
hello Friends,, i need your help please i don't understand where is the problem in my code it blocked in "the print reverse" step help me please !! with a simple explanations because i'm new in this thanks DATA SEGMENT STR1 DB "ENTER YOUR STRING HERE ->$" STR2 DB "YOUR … Software Development assembly | |
**Bold Text Here** Software Development c++ | |
Hi! Straight to the problem: I'm building this server application which will monitor SQL databases. I want it to remember any number of connections so I've made a few methods which I thought would do the trick, except they don't. The program should add any new SQL connection to a … Software Development file-system java | |
Hi Daniweb, My project was to create a basic shell. One of the features being if we enter a command and input a path to an executable, CreateProcess is invoked to start the process. This works fine enough for console applications: the process starts, runs, and then terminates, upon which … Software Development c++ window-manager | |
Hi members I need some help over here. trying to make a software who send free msg to phone (messages of type like "you have 2 days left for payments) I made a similar website like this with www.send-free-texts.com (on vb) but it need a verification with captcha code. I … Software Development vb.net | |
#include<iostream> using namespace std; class product { private: int code; char name[20]; double price; int instock; double soldperyear[12]; public: product(int,char[],double,int); void setproduct(int c , char n[],double p,int i) { setcode(c); setname(n); setprice(p); setinstock(i); } void peryear(int i) { for ( i=1;i<=12;i++) soldperyear[i]=0;} void setcode(int c) { if(c>=2500&&c<=2750) code=c; else code=2500; … Software Development c++ | |
I was trying to learn how to add and use User settings and Application settings. And somehow I've managed to create some kind of double setting. Here is my app.config file. <?xml version="1.0" encoding="utf-8" ?> <configuration> <configSections> <sectionGroup name="userSettings" type="System.Configuration.UserSettingsGroup, System, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a6c561934e089" > <section name="TestApp.Properties.Settings" type="System.Configuration.ClientSettingsSection, System, Version=2.0.0.0, … Software Development | |
Hi, Im slightly stuck with a java project ive been asked to do. The problem is the game is a simon game so I the computer picks a letter randomly and the player has to copy it, if the player picks the wrong letter in the sequence the game informs … Software Development java java-swing | |
i am working on an infix to postfix project and have reached a troubling point. one by one i must extract a string token from the string being inputted to the method infixtopostfix and one by one input them to the front of the deque named postfix. i dont understand … | |
3 Write a C++ expression for the following: a. Decrease A by the square root of the values assigned to B. b. Decrease the value of T by two third of the value assign to S less 8 c. Assign the average of A,B and C less twice the value … Software Development c++ | |
how can I implement stack with one queue? the queue only can enqueue and dequeue Software Development data-structure queue |
The End.