132,726 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for Basit_2

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
Member Avatar for misi
0
203
Member Avatar for divinity02

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
Member Avatar for divinity02
0
180
Member Avatar for Suzie999

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
Member Avatar for Suzie999
0
115
Member Avatar for cblue

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
Member Avatar for drussell024
0
3K
Member Avatar for iPoor

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
Member Avatar for iPoor
0
4K
Member Avatar for VengefulToast

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++
Member Avatar for VengefulToast
0
127
Member Avatar for Mubsahir Ijaz

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++
Member Avatar for misi
0
186
Member Avatar for karmstrong

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
Member Avatar for vegaseat
0
482
Member Avatar for samsungfanb0y

How does a person go about adding an item to a queue within a gui? I have a textarea and a textfield.

Software Development gui java queue
Member Avatar for JamesCherrill
0
79
Member Avatar for Suzie999

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
Member Avatar for DaveAmour
0
249
Member Avatar for New Jack

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) ![second_file.png](/attachments/small/4/6ca3bf23448c644fcb97b2f9d86316eb.png "align-left") I will appreciate it if anyone can be capable to give …

Software Development c++
Member Avatar for New Jack
0
261
Member Avatar for Suzie999

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
Member Avatar for DaveAmour
0
214
Member Avatar for Emma Etigu

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
Member Avatar for DaveAmour
0
294
Member Avatar for XxAaronxX

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
Member Avatar for XxAaronxX
0
472
Member Avatar for HuePig

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++
Member Avatar for マーズ maazu
0
249
Member Avatar for Tycellent

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++
Member Avatar for マーズ maazu
0
299
Member Avatar for overwraith

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
Member Avatar for overwraith
0
312
Member Avatar for AQ

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++
Member Avatar for AQ
0
235
Member Avatar for shahera.arafat

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
Member Avatar for shahera.arafat
0
254
Member Avatar for kayleigh0411

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
Member Avatar for kayleigh0411
0
281
Member Avatar for Emma Etigu

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
Member Avatar for Emma Etigu
0
335
Member Avatar for Tcll

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
Member Avatar for Tcll
0
12K
Member Avatar for vegaseat

Just wanted to know if anyone on DaniWeb is using or at least experimenting with Go.

Software Development google seo
Member Avatar for vegaseat
0
242
Member Avatar for shahera.arafat

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
Member Avatar for shahera.arafat
0
301
Member Avatar for CodeWarrior14

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; …

Software Development algorithm c++
Member Avatar for CodeWarrior14
0
441
Member Avatar for saxxyblack

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
Member Avatar for saxxyblack
0
529
Member Avatar for ahmedsa

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 …

Software Development dataset email
Member Avatar for DaveAmour
0
247
Member Avatar for PrabuT

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
Member Avatar for Santanu.Das
0
697
Member Avatar for toomutch

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
Member Avatar for Santanu.Das
0
181
Member Avatar for LukeJWhitworth

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
Member Avatar for Santanu.Das
0
810
Member Avatar for rose_2

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++
Member Avatar for rose_2
0
134
Member Avatar for Doogledude123

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 …

Software Development gui image java
Member Avatar for mKorbel
0
1K
Member Avatar for rose_2

how can i make swapping for 2 variables in more than 2 ways ??

Software Development c++
Member Avatar for rose_2
0
229
Member Avatar for cool_intentions

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
Member Avatar for abdulmoaiz
0
2K
Member Avatar for idmanner

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
Member Avatar for JamesCherrill
0
283
Member Avatar for karmstrong

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 …

Software Development python storage
Member Avatar for vegaseat
0
5K
Member Avatar for Suzie999

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
Member Avatar for Suzie999
0
160
Member Avatar for Doogledude123

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 …

Software Development gui java
Member Avatar for JamesCherrill
0
142
Member Avatar for nihade

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
Member Avatar for Schol-R-LEA
0
348
Member Avatar for soe win
Member Avatar for Pobunjenik

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
Member Avatar for Pobunjenik
0
391
Member Avatar for pspwxp fan

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
Member Avatar for pspwxp fan
0
426
Member Avatar for altjen

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
Member Avatar for Mr.M
0
134
Member Avatar for samer.aboufakher.3

#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++
Member Avatar for Moschops
0
203
Member Avatar for Suzie999

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
Member Avatar for Suzie999
0
157
Member Avatar for Fruits1234

Hi guys I need help creating an unordered list of objects.I am supposed to create a file of name and phone number pairs, such that each name is on a separate line and each phone number is on a separate line. Then I am to edit the Phonetest and phone …

Software Development java
Member Avatar for JamesCherrill
0
184
Member Avatar for game123

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
Member Avatar for jwow
0
2K
Member Avatar for Roger_2

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 …

Software Development java queue
Member Avatar for Roger_2
0
548
Member Avatar for nketia

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++
Member Avatar for Schol-R-LEA
0
143
Member Avatar for sahar.97

how can I implement stack with one queue? the queue only can enqueue and dequeue

Software Development data-structure queue
Member Avatar for sahar.97
0
219

The End.