132,726 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for 9strick9

I want to calculate several floating point functions that are a function of two variables, i.e. a(x,y), b(x,y) etc. x and y can be represented as x=i*delx and y=j*dely. So a(i,j) or b(i,j) is what I would actually calculate. How do I code a and b as functions of i …

Software Development python
Member Avatar for David W
0
415
Member Avatar for john.kane.100483

Ok the admin said to me not to post in C++ if my problem is in C language. Ok here's my problem with my program now. #1 If I put this in a array what should I change? #2 In my looping I needed to press double enter to enter …

Software Development c
Member Avatar for David W
0
713
Member Avatar for abey ella

I have spent 3 days trying to get two new functions - GetText() and PutText() to function correctly with no success. Would someone be kind enough to look over my code and see why they do not work. I must have missed something?

Software Development c++
Member Avatar for David W
0
122
Member Avatar for jared.geli

Hi guys can you help me in this one? I can add cell values in Datagrid using their column address or column name but I want to add the columns which contain a specific word for example I want to add all cells with a column name containing "Amount" Dim …

Software Development vb.net
Member Avatar for jared.geli
0
175
Member Avatar for Elixir42

Hi, When I initialise then access the `g_spMyLog` shared pointer, from within the `CSingleton::CreateLog` member function, it works ok. Accessing the SP from the static member function of `CSingleton::Create()` causes an `access violation` in the original project and an abort in this sample project displayed below. In the original project …

Software Development c++
Member Avatar for Elixir42
0
531
Member Avatar for theashman88

using System; public class RollDie { public static void Main( string[] args ) { Random randomNumbers = new Random(); // random number generator int[] frequency = new int[ 7 ]; // array of frequency counters // roll die 6000 times; use die value as frequency index for ( int roll …

Software Development
Member Avatar for castajiz_2
0
444
Member Avatar for ponedelnik

// Shortest function to convert an ascii hex digit to binary // (assumes a valid hex digit 0-9, A-F, a-f) char asciihex2bin(char ascii) { if (ascii > 0x40) ascii += 9; return (ascii & 0x0F); }

Software Development c
Member Avatar for ponedelnik
0
255
Member Avatar for Goffy

Hello im making this xml reader that outputs links to listbox, the xml code is like this. <item> <title>file1</title> <category>myfiles</category> <link>http://google.com</link> </item> <item> <title>file2</title> <category>myfiles</category> <link>http://yahoo.com</link> </item> My code looks like this, it works but i would like that i could click the File1 in listbox and it would work …

Software Development vb.net xml
Member Avatar for Goffy
0
273
Member Avatar for a.wamzo

i am creating a form in vb.net, the aim is to be able to insert data to the sql server from the form interface. the form's textboxes fields include Name, DateofBirth, Address, Telephone, PostalCode, Nationality, DateofRegistration Sex (ComboBox), plus two buttons names, Submit and Cancel. kindly assist with a code …

Software Development sql vb.net
Member Avatar for Reverend Jim
0
112
Member Avatar for butterfingerss

I am using Qt5.2.1 and I made a program that stores some data into a file and then reads the data. it stores some variables values. After I restart my program... I want to read those values and re-store the values of those variables... How can I do this? I …

Software Development c++ qt
Member Avatar for Moschops
0
2K
Member Avatar for C-Money

I working on a mips code as extra credit for my Computer Organization and assembly class. The instructions are: Write a program) that will define the following string manipulation functions. Each is analogous to the corresponding C++ string function. STRLEN( Str &, Len &) Sent the address of a string, …

Software Development assembly
Member Avatar for C-Money
0
13K
Member Avatar for Zahra_1

import random while True: dice = random.randrange(1,5) dice2 = random.randrange(1,7) dice3 = random.randrange(1,13) sides = int(input)("Which sided dice would you like to roll? You can choose a 4-sided dice, a 6-sided dice or a 12-sided dice. Type 0 to exit the loop.") if sides ==0: break elif sides ==4: print …

Software Development algorithm python
Member Avatar for Zahra_1
0
4K
Member Avatar for daniel1977

I have a question. I am trying to sere into my brain how pointers work and just when I think I got it a new problem arises. So I think I understand pointers pretty good when working with primitives and such. Now I am trying to understand working with objects …

Software Development c++
Member Avatar for sepp2k
0
134
Member Avatar for Khyxz

![ff8496abfb91bf20a23a64db591fa997](/attachments/small/4/ff8496abfb91bf20a23a64db591fa997.jpg "align-left") Hello there! Newbie here! It is my first time to post something here! Can somebody help me please with my problem on my codes. I have already build/created a **Log In Form** but my problem is I created an **On-Screen Keyboard** which must be use for that **Log …

Software Development vb.net
Member Avatar for Khyxz
0
1K
Member Avatar for DGianni

Hello, i've been searching quite a while but haven't found the solution i'm after. I have a project where I need to show clients in a listbox imported from a XML file so far that is what I have but I also need to able to show the related data …

Software Development vb.net
Member Avatar for cgeier
0
307
Member Avatar for firepower

please help me how to close the window. code: JButton quit = new JButton(); public Mainmenu() { setLayout(new FlowLayout()); Icon quitb = new ImageIcon(getClass().getResource("quit.jpg")); quit = new JButton(quitb); add(quit); quit.addActionListener(new ActionListener() { public void actionPerformed(ActionEvent e) { } });

Software Development ide java
Member Avatar for mKorbel
0
166
Member Avatar for GagaCode

hey all once again i have a little issue ... i'am really having a hard time with this issue i have a datagridview that contain one column as a text and another column as a combobox i would like to populate the combobox from MS Access Table and as a …

Software Development vb.net
Member Avatar for GagaCode
0
299
Member Avatar for Amanpreet_1

i searched a lot ol across web , could'nt get a solution to my problm ... viewed many articles but only found manual apps or s/w's to record a selected area of my desktop ..... can anyone guide me telling hw can i do it programatically in my form on …

Software Development video
Member Avatar for Ketsuekiame
0
159
Member Avatar for sankubha

I need to get printed documents name and from which ip it is printed using java.

Software Development career java printer
Member Avatar for sankubha
0
221
Member Avatar for joseph.suanino

#include<stdio.h> #include<math.h> #include<conio.h> #include<string.h> #include<stdlib.h> int main() { int i, n, diff; int x=rand() % 100; int bMoveHigher = 0; int bGuessedCorrectly = 0; printf("Welcome to Guess a Number Game\n"); for(i=1; i<=6; i++) { printf("ATTEMPT %d: Enter your number: ", i); scanf("%d", &n); if(n==x) { printf("Congrats! You have guessed the …

Software Development c gaming
Member Avatar for David W
0
286
Member Avatar for Pavan_5

I am trying to develop the genetic algorithm to solve Traveling Saleman problem and part of my challenge is to generate random tours long enough and write a fitness function to evaluate the cost incurred for each of the random tour. I have attempted to write the following. My objective …

Software Development artificial-intelligence-llm java seo
Member Avatar for JamesCherrill
0
429
Member Avatar for skyflower

I'm learning python 3 and I'm having problems with string related excerises. One exericse I'm working on is to write a program that cycle through a string and dispaly it like this: s u p e r n a t u r a l u p e r n a …

Software Development python
Member Avatar for brett.warren.1612
0
284
Member Avatar for rathiikk

hi good afternoon, hi good afternoon, am creating one point of sale software in vb.net ,today only i realize that i need a backup for the database i have attached with this project,after change my project as executable file how can i or my clients can take the backup for …

Software Development vb.net
Member Avatar for Minimalist
0
337
Member Avatar for 21334929

is it possible to create an online database using c# with a specific plug-in?

Software Development c c# c++
Member Avatar for narek.arzumanyan.129
0
118
Member Avatar for 21310051

what are the advantages of using radio button lists and checkbox lists instead of individual radio buttons and checkboxes?

Software Development
Member Avatar for Fenrir()
0
144
Member Avatar for CodeAssasian

I want to know how I can put informations with C#. I think that is datebase. What is it?

Software Development
Member Avatar for narek.arzumanyan.129
0
117
Member Avatar for 21345572

what is linq expression and how do u write linq expressions?

Software Development
Member Avatar for mayaestat
0
119
Member Avatar for oppu.qhar

write a c++ program that print (x,z,T,N) on the form of (*) by usin for loop

Software Development c++
Member Avatar for David W
0
158
Member Avatar for johnykf

hello guyz im afraid if i understood this assignment unproperly: could you give me the output of it plz? (how should the output of this assign be) The monthly results for the best 3 employees of the month in a company are sent to the IT department for analysis and …

Software Development c++
Member Avatar for David W
0
195
Member Avatar for skyscraper11

im creating a voting system that add votes to the database but it seems that my update/submit button don't add numbers(INT) in my database. what could be the problem here?help my database schema: | cid | cpos | cfname | cmname | clname | cyr | cparty | votes | …

Software Development dataset mysql vb.net
Member Avatar for cxzei
0
710
Member Avatar for 21303359
Member Avatar for cxzei
0
99
Member Avatar for claush@dut

in the programming world which of the two languages is prefferable in software development ?

Software Development c c# c++
Member Avatar for cxzei
0
159
Member Avatar for johmolan

I have a Form with a Datagridview, beneeth this I have Textboxex who shows data from a few columns but restricted to row nr 0. The problem is when I enter data into the datagridview in other rows than 0 or changes the focus inthe datagridvew from row 0 the …

Software Development vb.net
Member Avatar for cxzei
0
85
Member Avatar for nickurooo

So I have this: private void GetSuppliersList() { ds = oDAL.GetSuppliersList(); cmbSupplier.DataSource = ds.Tables["SuppliersHeader"]; cmbSupplier.DisplayMember = "SupplierName"; cmbSupplier.ValueMember = "SupplierID"; } And I need to display SupplierAddress from my SQL database into a textbox so I thought I might need to get the ID (Supplier ID) of the SelectedValue (Supplier …

Software Development
Member Avatar for castajiz_2
0
223
Member Avatar for Nimalshi

For example, How do I use this custom print method to display something in the main method? public static void print(Stack<String> myStack ) { int count = 1, sizeOfStack = myStack.size(); System.out.println("\nYour stack has size: " + myStack.size()); for (String myString : myStack) {System.out.print(count + ". " + myString); if(count!=sizeOfStack) …

Software Development display java
Member Avatar for JamesCherrill
0
227
Member Avatar for ignnniter

Im always getting Invalid Column, check the database and it's all correct. Dim borrowed As String = "Yes" dataopen() comm.Connection = conn comm.CommandText = "UPDATE Equipment SET Borrowed = '" & borrowed & "' WHERE EQID = '" & eid & "'" comm.ExecuteNonQueryAsync() comm.Dispose() conn.Close()

Software Development vb.net
Member Avatar for cxzei
0
125
Member Avatar for saintrenz

The scenario was there should be any or multiple TextBox that is not empty and display it on the DataGridView. I think my SQL is incorrect. Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click Dim Command1 As New OleDbCommand Dim i2 As Integer Dim sql1 As …

Software Development microsoft-access open-source vb.net
Member Avatar for cxzei
0
289
Member Avatar for Mr.M

Hi Dw I've recently created an application in java on this post:www.daniweb.com/software-development/java/threads/458306/how-to-work-with-jpos and now I just want to improve this by enabling a feature of mixing the cash notes when dispensing the required amount. The machine has these bills notes: 10, 20, 50, 100, and 200 so now what I …

Software Development java
Member Avatar for JamesCherrill
0
145
Member Avatar for joseph.suanino

#include <stdio.h> #include <math.h> #include <conio.h> #include <process.h> #include <string.h> void main() { int i, n, diff; int x = rand() % 100; int bMoveHigher = 0; int bGuessedCorrectly = 0; printf("Welcome to Guess a Word Program\n"); for (i = 1; i <= 5; i++) { printf("ATTEMPT %d: Enter the …

Software Development c gaming
Member Avatar for Schol-R-LEA
0
225
Member Avatar for trannd_55

Hi everyone, i'm try to build windows application about: read real time data from serial port and filter. But i don't know how to build function filter signal in c#. Can you help me? Pls!

Software Development c#
Member Avatar for ddanbe
0
188
Member Avatar for Nimalshi

I'm writing this code for one of my projects. can you please help me with line #6,#7 and #10? I'm not sure if I am writing the code for those correctly. package waffles; import java.util.Scanner; import java.util.Stack; /** * */ public class Waffles { /** * @param args the command …

Software Development java
Member Avatar for Schol-R-LEA
0
162
Member Avatar for Emmaximum

Hello please i have a problem with my compiler. When ever i try compiling a program it gives me warning saying" Source code not compiled" I use Devc++ compiler. Do i change the compiler or what do i do? This is the program i typed in it

Software Development c
Member Avatar for Ancient Dragon
0
295
Member Avatar for Yogesh_5

how to draw 2 parallel line in visual baisc 6.0 which have same height.. suppose picture box height is 200 then first line starting cordinate is 0,100 and second line cordinate is 100,200.. how we draw..

Software Development visual-basic
Member Avatar for JobPencil
0
479
Member Avatar for Alan_4

Write a shell script that will take a filepath and a string as command line arguments. The script should find lines which contain the given 'string' in the given file. It should create an output file in "/tmp" directory with the name in the pattern as below. "NN_15Nov2013_12Hrs_32Minutes_20Seconds.txt"

Software Development shell-scripting
Member Avatar for cmk001
0
399
Member Avatar for alice kimunya

Hi,I want to come up with an online booking system for vehicles in a certain institution.right now am stuck coz am not sure how to go about the many approvals needed before the booking.e.g approval from the dvc/aa,finance,the head of department.there is also diffent kinds of booking e.g staff,students,academic trips …

Software Development finance
Member Avatar for Schol-R-LEA
0
140
Member Avatar for ignnniter

Hello Im trying to display a label when my program starts, to check the server status.. For example if the user is successfully connected to the server it should say on the label "Connected" and if not the label should say "Not Connected" , my Database is located on a …

Software Development mssql sql vb.net visual-studio
Member Avatar for ryanjayson
0
213
Member Avatar for MatthewYeend

package die.java; import java.util.Random; class DieGame2 { private final int sides; private final Random generator = new Random(); public DieGame2(int s) { sides = s; } public boolean throwDie() { int faceValue = generator.nextInt(sides) + 1; System.out.print(faceValue); return faceValue == 6; } public static void main(String[] args) { DieGame die1 …

Software Development java
Member Avatar for stultuske
0
346
Member Avatar for ubhart

I am implementing Priority QUE as a doubly linked list. My structs: typedef int kintyr; typedef struct qElem { struct qElem *prv; kintyr *dat; int *priority; }qElem; typedef struct que { qElem *fr,*bk; int cnt; }que; And this is my functions to create empty PQ, and to insert elements: que …

Software Development c linked-list
Member Avatar for ubhart
0
401
Member Avatar for G.TEJAREDDY

I am new to this and i need an example programs for copy constructor and nesting classes

Software Development c c# c++
Member Avatar for panqnik
0
118
Member Avatar for Srinivas_2

Hi All, I need help in displaying a list (Sl.no) from a database to combo box. Please help me....

Software Development display vb.net
Member Avatar for ryanjayson
0
230

The End.