43,549 Solved Topics

Remove Filter
Member Avatar for
Member Avatar for gunneronaspooky

Trying to get a program to fine the slope and intercept of a line on a graph.... I've got it all working so far...except the last line. I broke it down into pieces and ran it assigning numbers to the variables, but in the program, it doesn't work. Here is …

Software Development python
Member Avatar for IsharaComix
0
171
Member Avatar for aviavyne

Hello It's me again, some might have seen a similar string, and it is probably because it is the same, but with a different problem. The following shows a program which uses a function that converts Fahrenheit into Celsius. The problem is that a person can enter any value they …

Software Development c++ oop
Member Avatar for NathanOliver
0
200
Member Avatar for Toulinwoek

Is anyone aware of a nice, easy-to-use tool for creating a ribbon menu system in a C# application, that costs "considerably less" than $1000 or more?! I'm kind of wondering why Microsoft didn't include this in VS2010. I found a little thing called VRC (Visual Ribbon Creator), but it's pretty …

Software Development c#
Member Avatar for Diamonddrake
0
260
Member Avatar for Rhuntsman21

I am trying to find a way to convert measurements and add measurements together. Does anyone know of anything like his? Thanks.

Software Development
Member Avatar for Rhuntsman21
0
103
Member Avatar for zachattack05

I am adding a feature to my application that allows users to backup an entire SQL database, as well as include application settings with that backup file. My dilemma is choosing a good file extension to use. The over-used .bkp type could cause conflicts in systems that have applications that …

Software Development file-system
Member Avatar for zachattack05
0
92
Member Avatar for hsquared

when adding data into a binary tree, is it possible to add more than one field of data per node? for example say the first left child will have something like "info", would you be able to add a name and age field, then be able to display it? it …

Software Development c++
Member Avatar for mrnutty
0
103
Member Avatar for hsquared

how would i go on about adding an item into an array. the catch here, is that instead of adding content normally, i want the added content to be added as a linked list. for example, if i add something into the first slot, and want to add another item …

Software Development c++ linked-list
Member Avatar for Fbody
0
141
Member Avatar for Jamesbch

Hello everyone, I'm developing a multi-client server on Linux and I've noticed a strange behavior: I'm using a regular [B]Makefile[/B] to compile and run my server, nothing fancy. But now I've tried to run my server [B]by hand[/B] using the command line and my server won't accept any incoming connections …

Software Development c client-server http-protocol queue
Member Avatar for Jamesbch
0
255
Member Avatar for ryan461

Im following a perl book, and one exercise has you enter a number, sum them up until you type 999(the exit code). Their example works, but when I try using use strict, I cant figure out how to get the variable in the while loop to go global Here's what …

Software Development perl
Member Avatar for ryan461
0
756
Member Avatar for JDean89

Hi, I'm not sure what this code does. [CODE]int total(int value1, int value2) { int sum; sum = value1 + value2; return sum; }[/CODE] This method should take in 2 values and calculate the sum and return it. But I don't understand where it returns it to? In my main …

Software Development c++
Member Avatar for JDean89
0
129
Member Avatar for justinwarner

Hey, So, in our book (I'm doing them for practice, I don't know if we have to actually do them), it says to display the pattern: [CODE] J A V V A J A A V V A A J J AAAAA V V AAAAA JJ A A V A …

Software Development java
Member Avatar for justinwarner
0
3K
Member Avatar for prvnkmr449

Hi all of you, Iam creating a Inventory System on vb.net and I need some image for like new,search,delete copy cut edit etc can any Help me from I get all this Images, I try to search in google bt I did't get thanks In Advance

Software Development image vb.net
Member Avatar for prvnkmr449
0
373
Member Avatar for NicAx64

Hi, I came up with a difficulty that adding the libmapi32.a to the codelite IDE linker options. I go menu->settings->build settings->select gnu-g++ in the left tree->switch-> and change the -l to the -lmapi32, but the problem is the IDE still does not invoke the `-lmapi32`. I reboot the PC restart …

Software Development c++ ide
Member Avatar for mitrmkar
0
145
Member Avatar for kumpul101

We have an exercise and it asks to create a program that will ask the user to initialize 2 character arrays, then compare the value of the variables(or the character array). My problem is with the initialization: I will create 2 char Arrays, then. How can I have the input …

Software Development java
Member Avatar for kumpul101
0
191
Member Avatar for Jiblix

Hey guys, I need some help again with this program I've been working on. Basically I'm trying to make it so that a user enters a year and then program prints if its a leap year or not. Here is what I have so far: [CODE]// LeapYear.java // Name public …

Software Development java
Member Avatar for Jiblix
0
232
Member Avatar for swathys

hi, If the condition = true How do i select all records stored in .txt (temporary text file) to be updated in sql table How do i do that. Please help Thank You

Software Development sql vb.net
Member Avatar for swathys
0
123
Member Avatar for DeadSoul

I have made a program in c# where the user will input some data and that program should prompt the user to specify the date to view all the appointments of that day.i have made the code but still the problem lies is i can only find that the date …

Software Development
Member Avatar for hanvyj
0
292
Member Avatar for Simran Kaur

Hi friends, I am migrating VB6 project to VB.Net. I am stuck with these warnings for which I am unable to find solutions. I would be grateful if I get solutions to atleast some of the below warnings. Warnings: ------------- Need VB.Net equivalent for the below code as they are …

Software Development vb.net visual-basic
Member Avatar for Simran Kaur
0
2K
Member Avatar for W1ND0W5

Hello Daniweb, it's me (again). I am making a web browser app and would like to have a loading bar. I'm using the default ProgressBar control but I don't know how to program it! Help! Thanks for your help, -Toby -------------------------------------------------------------------------------------- If you put in your two pence worth, then …

Software Development vb.net web-browser
Member Avatar for brijeshsonagara
0
219
Member Avatar for Nicko_FaTe_

I have written a program designed to show grades in a table form, however my first input isn't working ie, if a enter for the first input 55.5 9, the output does not match this, i really have no idea why, any assistance would be greatly appreciated [CODE]#include <iostream> #include …

Software Development c c# c++
Member Avatar for Nicko_FaTe_
0
161
Member Avatar for _neo_

How can I get results from exec()? Any suggestions appreciated!!! [CODE] #!/usr/bin/python import socket sock = socket.socket(socket.AF_INET, socket.SOCK_DGRAM) host = socket.gethostname() port = 1234 sock.bind((host,port)) while True: cmd, addr = sock.recvfrom(1024) if len(cmd) > 0: print("Received ", cmd, " command from ", addr) exec(cmd) # here how I can get …

Software Development python socket-programming
Member Avatar for _neo_
0
5K
Member Avatar for _neo_

How can I get error message? [CODE] try: ...# some operations except: sock.sendto(err_msg,0,addr) # send client err_msg from exception [/CODE]

Software Development python
Member Avatar for _neo_
0
272
Member Avatar for eduard77

Hello I passed to functions and I have the next exercise. you are expected to write a program that computes the sum of all the integers in a range specified by the user. In addition to the main function, there should be a function that accepts two parameters that specify …

Software Development c++
Member Avatar for eduard77
0
85
Member Avatar for aviavyne

Hello, I recently started a c++ class, and one of the assignments is that we need to create a c++ program which converts Fahrenheit to Celsius. I have succeeded into doing just that, but I need to validate user input's values, meaning that the program must reject any entries that …

Software Development c++
Member Avatar for Akill10
0
152
Member Avatar for rcanter

I am getting an error when trying to build. Error is that ReneApp.Item does not contain a definition for Item and no extension method 'Item' accepting a first argument could be found. Any assistance would be greatly appreciated. I am new to C3 and this is my first try at …

Software Development
Member Avatar for rcanter
0
2K
Member Avatar for LevyDee

Is there a way to dynamically add a menu to a window using win32 API rather then using a resource? Ive done some googling, but all i can find is the resource method. Thanks

Software Development api c++
Member Avatar for LevyDee
0
111
Member Avatar for TahoeSands

Once again, I found some code that seems to be doing something that I would like to try, but I get a Static Error when I try to run the code (apparently, I may be the only one). By the way, the code comes from the book, "Swing Hacks" By …

Software Development java java-swing
Member Avatar for TahoeSands
0
170
Member Avatar for gerard4143

Could someone please verify. Is it proper to have pointers to containers(vectors in this example) where you allocate memory for them and then free them. I googled and found a posting that stated its considered poor coding style to do this...I doesn't seem like it should be poor programming style …

Software Development algorithm c++
Member Avatar for gerard4143
0
2K
Member Avatar for Ghostenshell

I need to check for floating point numbers inside my class but it doesn't seem to be working. Any suggestions? [CODE] class Rectangle: def __init__(self, length = 1, width = 1): self.__length = length self.__width = width ##Setters to float def set_length(self, length): self.__length = float(length) try: #self.__length = float(length) …

Software Development python
Member Avatar for Ghostenshell
0
218
Member Avatar for Suzie999

Hi all. I'm having some difficulty getting some hardware info I can get the Hdd serial, and CPUID. [code] string cpuInfo = string.Empty; ManagementClass managementClass = new ManagementClass("win32_processor"); ManagementObjectCollection managementObjectCollection = managementClass.GetInstances(); foreach (ManagementObject managementObject in managementObjectCollection) { if (cpuInfo == "") { //Get only the first CPU's ID cpuInfo …

Software Development
Member Avatar for Suzie999
0
159
Member Avatar for Reverend Jim

Can someone please fill in the missing line of code in OnPageChange? I have a notebook control and on a page change event, I want to retrieve the label of the tab that was just selected. GetLabel and GetLabelText both return '' [CODE] import wx import wx.lib.mixins.inspection class Frame(wx.Frame): def …

Software Development python
Member Avatar for Reverend Jim
0
1K
Member Avatar for robertmacedonia

Hello to all, I did not know how to entitle this post,since it is more of a logical problem,but it's connected to the writing of my objects to a file. So, my server expects connections from multiple clients. The clients vote for the candidates offered to them by a menu, …

Member Avatar for robertmacedonia
0
154
Member Avatar for crodriguez08

Hey, I keep getting this error, but from its description, I can't really tell how to fix it besides from what I've already tried, so any explanation would be great. The error I get is: clientrectlib.cpp(32) : error C2664: 'calcMinMaxValue' :cannot convert parameter 1 from 'overloaded-function' to 'float &'. The …

Software Development c++
Member Avatar for StuXYZ
0
193
Member Avatar for hurbano

i need help making an add function for an array. i know how to initialize it and have it started. when i add content into the array, i need to add it as a linked list. i have my function for the linked list completed alrady. if anyone can help …

Software Development c++ linked-list
0
75
Member Avatar for rowanmck

Hi, I'm a newbie to C++ so please be patient. I have to create program that outputs a simple moire pattern or a graph of y-values from a .csv file depending on which one is called. The code below is what I have before main and is where I am …

Software Development c++ file-stream
Member Avatar for uridvir
0
2K
Member Avatar for Anon17

Okay, so I've got a TCP Asynchronous Multithreaded server running which interacts with multiple clients at the same time. It works fine unless a client sends many messages in a short peroid of time, for example five messages within about half a second. For some reason it only recieves the …

Software Development client-server
Member Avatar for Anon17
0
619
Member Avatar for hurbano

Hi there! I need help with my assignment. The point if it is to make an array table that will hold various linked lists that hold other items. I already have my code to add and retrieve information from a linked list. I need help making an array that will …

Software Development c++ linked-list
Member Avatar for hurbano
0
83
Member Avatar for nirali7

Hi, I am kind of new to C++ and really stuck with a problem. Here I am trying to parse a string and after comparing to a pre-declared array save the tokens in a vector of vectors. It is giving a number of errors and I'm not sure what to …

Software Development c c# c++
Member Avatar for nirali7
0
3K
Member Avatar for hehe31

Please help with this problem... I'm still learning java and i got stuck with a problem posted through our school campus... this is the one....and it's supposed to be the sequential structure.. Write a program that classifies a given amount of money in dollars. The program outputs a report listing …

Software Development java
Member Avatar for hehe31
0
147
Member Avatar for NewOrder

i read this on the net. and i cant understand why i have this mistake? [QUOTE]Thrown when an application attempts to use null in a case where an object is required. These include: * Calling the instance method of a null object. * Accessing or modifying the field of a …

Software Development java promotion
Member Avatar for NewOrder
0
265
Member Avatar for aprilchica3

Hello, I am supposed to write a statement for a Codelab review test that asks: [I]"Given that two int variables, total and amount, have been declared, write a loop that reads integers into amount and adds all the non-negative values into total. The loop terminates when a value less than …

Software Development c++
Member Avatar for aprilchica3
0
1K
Member Avatar for GBoyle

I am writing a model economy in which corporations (class BCorp) and persons (class BPrsn) act as agents buying and selling goods and services. I have a pool of contacts (class BContact) in which contact information is retained about each contact between agents. In a contact object I store a …

Software Development c++
Member Avatar for GBoyle
0
149
Member Avatar for nssltd

Hi i have finished my web browser program and i want to be able to set it as the default web browser. I was just wondering how this was possible? Please can you post some links or code examples. I was thinking that this would be done with registry values? …

Software Development web-browser
Member Avatar for Momerath
0
79
Member Avatar for jack223

[code] #include <stdio.h> #include <iomanip> int main() { int binary1[8] = {0,1,1,1,1,0,1,1}; //8 element array int binary2[8] = {1,0,1,0,1,1,1,1}; //8 element array int binarySum[9]; int overflow [9]; int i; for (i=0; i<9; i++) overflow[i] = 0; for (i=9; i >= 0; i--) { binarySum[i] = binary1[i] + binary2[i] + overflow[i]; …

Software Development c
Member Avatar for harunosakura
0
1K
Member Avatar for LianaN

Hi Everyone! I have a problem with reading data from the txt file into the 2d array. In general, the above code is workable. The only thing that doesn't work is: userdata[row][j] = tokens[j]; The problem is that my array "userdata" gets values "null". However, if I replace this code …

Software Development file-stream java
Member Avatar for LianaN
0
134
Member Avatar for lucaazori

hi, here is my data base structure: [ATTACH]17124[/ATTACH] i try an sql command that return for each examen its number of tests, so i tried: [CODE]Dim sqlQRY1 As String = "SELECT Int_Exa,count(*) as 'TOTAL' from TEST T1,TEST T2 where T1.Int_Exa=T2.Int_Exa"[/CODE] that`s did not work, so i tried to do that: …

Software Development data-structure sql vb.net
Member Avatar for lucaazori
0
116
Member Avatar for JDuch

Somebody was so kind as to indicate to me an interactive Python learning program. I started using it, but lost the URL. I cannot find it back in the threads i started. Can this Python forum member remember me of his suggestion? Thanks

Software Development python
Member Avatar for JDuch
0
145
Member Avatar for november_pooh

hi... i want to play wav file on my form. ex : media file on windows -> C:\WINDOWS\MEDIA\TADA.WAV how can i do this?? please help me thanks. best regards :)

Software Development visual-basic
Member Avatar for l0oky
0
206
Member Avatar for BryantFury

a 'challenge' question by my teacher asks me to look in my C++ book, and do a question. it asks me to: write a function powfun() and make it raise an integer number passed to it to a positive integer power and returns the result to the calling function. it …

Software Development c++
Member Avatar for BryantFury
0
121
Member Avatar for sadaka

Hello again everyone, How are you all doing? I am an fairly familiar with C/C++. I have five books on my shelf about programming in C/C++ but none could provide me with a satisfactory solution to this one problem. I would like to graduate from the Hello World project in …

Software Development api c++ opengl windows-api
Member Avatar for sadaka
0
112

The End.