132,726 Archived Topics
Remove Filter ![]() | |
hi, i doing a project to send MMS using PIC16F876.. how to define the pic16f876 in c++? thank in advance. | |
For this program I am trying to figure out how to sort/print the words out based on frequency of appearance in ascending order. As of now I can only get the words to sort/print based on alaphabetical order [CODE] from collections import Counter import string while True: filename=raw_input('Enter a file … Software Development python | |
Hello, I am trying to compute the log transformation of an image(very easy... I know). But I am not getting the right result and I really don't know what I am doing wrong. I know the image provided is in the range of 0 and 1.5x10^6. But when I save … | |
Can someone help me in implementing a JDate picker without using packages, whereby will click the calender icon and the calender will appear. Software Development java | |
[CODE]// erase.cpp - Script 4.1 // We need the iostream file in order // to use cout and cin. #include <iostream> // Start the main function. int main() { // Declare a variable for the user input. // Single character to store yes (Y) or (N) char answer; // Prompt … Software Development c++ hard-drive | |
I have an error in my project and I can't fix the problem [CODE] #pragma once class Node { int code; int count; Node* parent; Node* rightChild; Node* leftChild; public: Node(int c1,int c2); void setCode(int c); void setCounter(int c); void setRightChild(Node n); void setleftChild(Node n); void setParent(Node n); int getCode(); … Software Development c++ | |
hey guys I am new to the programming language and have an assignment due today and I am stuck on this. Its a scrable programming in C. I tried but cannot figure out how the main function should work out. Here is my code with the assignment instruction. If anyone … Software Development c | |
Here is the class definition that I have so far: [CODE]#ifndef SAVINGACCOUNT_H #define SAVINGACCOUNT_H #include<iostream> #include<string> class SavingAccount { public: /** Default constructor */ SavingAccount(); /** Default destructor */ ~SavingAccount(); string getfirstName() const; string getlastName() const; static double modifyInterestRate();//static method declaration static double calculateMonthlyInterst(double,double); void setannualInterestRate(double); double getannualInterestRate() const; private: … Software Development c++ | |
[CODE]#include <iostream> #include <cassert> using namespace std; struct node { int number; bool high_priority; node *link; }; class linkedPriorityQueue { private: node *high_priority_front, *high_priority_rear, *queue_front, *queue_rear; public: linkedPriorityQueue(); void addQueue( int number, bool high_priority ); void deleteQueue(); int front(); int back(); bool empty(); bool full(); void print(); int size( bool … | |
I've been working on a project for a while, which for my convenience is a console app. The time is nearing where I will be needing to add forms to it, so what I'm after here is any advice on things to consider and look out for, before I do … Software Development visual-studio | |
Hi guys, thanks for all the help lately, but I require some more :o I need it that the user is able to choose what is on the controller, when I type in a valid option I test for it that it gets to that point but it does not … Software Development python | |
how can i set the transparency of a bitmap that is displayed on the picturebox, i am making a digital makeup software and i want my makeup's tints or colors be reduced or increased. this is the code of that Public Class foundationfrm Private SelectedFoundation As Foundation Private MouseIsDown As … Software Development vb.net ![]() | |
I have added a .xml file to application resources. Now I want to access that xml file and fill dataset using that xml file in c#.net Can anyone help that how can i do this in C#.net | |
I need to know how to copy some folders not all from a source tmp/folder. I'm new to python and I want to better understand python. I can't use copytree because I don't wish to copy all folders. I want to be able to pick the folders I want to … Software Development python shell-scripting | |
i have combobox in which membership_desc=gold,silver,platinum is displayed and have textbox in which i want that fees displayed automatically in it as gold=100 silver=200 platinum=300 [CODE]form_load(); combobox1.datasource=ds.tables["membership_details"]; combobox1.displaymember="membership_type"; combobox1.valuemember="membership_id"; combobox1_selected_index_chanded(); da.selectcommand=neew sqlcommand("select membership fees from membership_details where membership_desc='"+combobox1.selectedvalue+"'",cs); textbox7.text=??????????????????????????????????????????[/CODE] as i do binding of text box it show ERROR that … Software Development | |
[CODE] std::string function(std::string buffer) { int Variable1 = 23; if( !buffer.compare("Variable1")) <--- i want the user to input the variable name..and have my program match the input with the variable name of the program and return the value it contains return Variable1; [U]<--- How do i convert this number into … Software Development c++ | |
I was under the impression that you could completely gaurd anything you wanted with an [icode]#if 0 [/icode]. Apparently this is not the case? I found some code that has opening /* comments but no matching closing */, and the /* seems to comment out the [icode]#endif[/icode], resulting in everything … Software Development c++ | |
i don't know how can i start or what classes i need in this project (wav player) with functions (play,stop,pause,record,mute) thanks in advanced Software Development c++ | |
![]() | Hi i need to make a [B]BASIC[/B] HTTP server for a project using [B]JUST[/B] TCP/IP Sockets so please don't suggest anything that would use some of C#'s higher level networking components, Thanks =). [B]Anyway my problem:[/B] i have created the server and it all works so far but i haven't … Software Development c# client-server http-protocol ![]() |
Hi everyone, I am new to this board. I am trying to figure out how to set up an SQL statement to grab a record from a database when I'm not sure what column/field the string I am looking for will be in. for instance: I am looking for "ABCDEFG", … Software Development sql visual-basic | |
I'm looking for a simple way to rotate a shape in python, tkinter. The shape I'm rotating is a triangle (polygon) if it matters. Thanks in advance for all the help | |
Hi! i'm doing a final project for a university introduction course in web programmation. I'v Coded this: [CODE]class MainHandler(BaseHandler): def get(self): #product_comments = Comments().get_all() user = users.get_current_user() if user: member = Members().get_by_id(user.user_id()) baskets=Baskets().get_by_member(member) template_args = {'baskets': baskets} products = Products().get_all() product_comments = [] for product in products: comments = Comments().get_by_product(product) … | |
Wondering how one goes about testing which button was clicked in an actionperformed method. For example if I have 2 buttons named button1 and button2, and create an if statement what is the proper syntax, ive tried this but get errors. Where am i going wrong? [CODE] //declaring buttons Panel … Software Development java | |
Hi, I am trying to write a program for my mum who is a teacher, the program needs to be able to store students information like their name address SAT scores etc. I have a basic background in c, but i decided to try and implement this program using c++. … | |
so I am creating a program that has a human bicycle car and truck and they all run on a street but they can collide. so I am confused on how I should write it, the car should be able to collide with the other three objects. I have more … Software Development java | |
Hey; I'm getting into Java. I'm coming from C++ base and I wonder how can we use "const" parameters in Java? For example if I don't want the function to be able to change the value of a parameter, what do I do? [CODE]void modify(RefObject parameter) { parameter.set(new RefObject); //should … Software Development java | |
Hi there ! Actually I am a beginner in c++ and i have a problem to convert pseudocode to c++. Hope that anyone can help me Input : number of people, height of persons Process: division, addition, comparison (greater than and smaller than) Output : smallest height, tallest height, number … | |
I can not run application on the other computer which have no crystal report installed. Please any one can tell me what is the way to run the application. What file I need in start directory? Thanks in advance. Software Development | |
hi guys am new to java and i have to display rotating images on a gui and use multithreading to alternate the four images. and i managed to create the gui but the images are not visible. the rotating images must be in the center of the frame. help.. Software Development gui java multithreading | |
I'm looking for a compact and small database engine to use, because i want to design an application that will store, record and get data from a database, i'm thinking of using VB or java as the programming language, the database that will work best for which programming please i … Software Development database-design java vb.net | |
[CODE]private void Form_AddMember_Load(object sender, EventArgs e) { da.SelectCommand = new SqlCommand("SELECT * from dbo.membership_details", cs); DataSet ds = new DataSet(); da.Fill(ds, "membership_details"); comboBox1.DataSource = ds.Tables["membership_details"]; comboBox1.DisplayMember = "membership_desc"; comboBox1.ValueMember = "membershiptype_id"; da.SelectCommand = new SqlCommand("select membership_fees from dbo.membership_details where membership_desc='" + comboBox1.SelectedValue + "'", cs); SqlCommand cmd = new SqlCommand("select … Software Development dataset | |
Hi there, I think im trying to do something pretty simple but i can't find a simple explanation. What i have: I have five Textboxs (1 to 5) I have a Button I have a Datagrid with five columns (1 to 5) What i want to do: on a button … Software Development vb.net visual-basic | |
As i click update button data is updated but all the data in the table get with it....(same data in whole table) suggest me what i doing WRONG in it.... [CODE] private void btnUpdate_Click(object sender, EventArgs e) { SqlConnection cs = new SqlConnection("Data Source=IRIS-CSG-174;Initial Catalog=library_system;Integrated Security=True"); SqlDataAdapter da = new … Software Development open-source | |
i want due date comes automatically as by adding after 15 days from date of issue................. [code] private void btnIssueBk_Click(object sender, EventArgs e) { SqlConnection cs = new SqlConnection("Data Source=IRIS-CSG-174;Initial Catalog=library_system;Integrated Security=True"); SqlDataAdapter da = new SqlDataAdapter(); cs.Open(); da.InsertCommand = new SqlCommand("Insert into Lib_issue_details Values(@book_tag_id,@member_id,@book_issue_on,@book_due_date)", cs); da.InsertCommand.Parameters.Add("@book_tag_id", SqlDbType.VarChar).Value = textBox2.Text; … Software Development dataset open-source | |
Hey All, I have written a script that uses elementTree to work on python 2.4. Took quite a while and worked a threat but now I need to get it working on 2.3.4. I can't upgrade the version of python. Is there an equivelent version of the element tree for … Software Development data-structure python xml | |
how to known whether system is available or not at the time of start up of operating system in unix systems Software Development c++ operating-system unix | |
I already make the thread as "solved" but i actually have 1 more question, about this thread: [url]http://www.daniweb.com/software-development/csharp/threads/359558/1534169#post1534169[/url] How can i copy the subitems of the checked items? Software Development | |
It's soon time for me to create some c++ program as a project for my class. But I have no idea what to do, any suggestions? | |
Hey guys, I have a problem. I created a quick sort program and it functions perfectly for quantity less than 100. I searched for errors and changed and now for more than 100 values, it runs perfectly and sometimes it hangs. I am unable to decipher whats the error. Did … Software Development c++ | |
It been a long time since i have coded ; mostly in Java. However, I am taking a class in vb.net and I am having trouble with the syntax and methods in vb. I have this goofy calculator project the part i am stumped on is taking a value from … Software Development vb.net | |
Probably easy for you guys but I'm not sure if I have this right!! Original function [CODE]int testing (int c, float d) { if (d > c) return (int) d; else return c; }[/CODE] What I need to do: The function returns the decimal value resulting from dividing d by … Software Development c++ | |
Hi, I looking for a solution for how to check if a connection to a remote computer exist or not using vb.net. I 'm writing a program which will request data from a remote sql server. I need to check if the connection to the remote server exist, before open … Software Development vb.net | |
Suppose we have two array inorder and preorder containing the elements in the said format. Using these two arrays how can i generate the binary tree?? Any help on the algorithm to be followed will be highly appreciated. For eg: inorder is : 2 3 4 5 6 7 8 … | |
Hi i am developing an windows application. In that i am using the xml file for data transfer. I want to encrept the generated file and decrypt it while uploading. can anybody help me to do this. Thanks in Advance Software Development xml | |
Hello dear C# programmers, I am kinda a beginner to C#, so I need your help, I really can not figure out why the calculations for sphere get's me the wrong result, the cube works just fine, but I am having a problem with the result of sphere's volume. Any … Software Development | |
there is a part in my program that you need to add item to listView, but for now it's only with text, and i want to add image as item with sub items of text. i mean that now i have something like this: _____________________________________________ a | subitem | subitem … | |
Hi i have a path of an image in a textbox which i would liek to display in a picturebox.. How can i do that pls? Software Development | |
Hi, I am trying to do a three tier architecture of windows application using C#. Main layout: Inserting Values into a datagridview from two textboxes. Problem : I have 3 layers in my application UI,Business,Data Layers.(form1.cs,Bal.cs,Dal.cs) I have created separate c# code files for each, the question is how can … Software Development software-architecture | |
Hello everyone, I have some problem with my windows application in my system. when ever i right click in the tool box and select choose items, the application got closing. Can, any one help me how can i resolve this problem. Software Development vb.net | |
Hello every body............ I am about to do a project on chatting application. Can any1 plzzz tell me how to create a .bak file using Java.:) Software Development java |
The End.