132,726 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for sabah88

hi, i doing a project to send MMS using PIC16F876.. how to define the pic16f876 in c++? thank in advance.

Software Development c c++
Member Avatar for awie10007
0
216
Member Avatar for aaronmk2

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
Member Avatar for TrustyTony
0
3K
Member Avatar for HashIncludeDotH

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 …

Software Development c++ image
Member Avatar for daviddoria
0
215
Member Avatar for cretaros

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
Member Avatar for cretaros
0
2K
Member Avatar for jimmymack

[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
Member Avatar for jimmymack
0
108
Member Avatar for eman 22

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++
Member Avatar for MattyRobot
0
120
Member Avatar for rhythm1576

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
Member Avatar for WaltP
0
283
Member Avatar for Dexxta27

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++
Member Avatar for ravenous
0
176
Member Avatar for esraa waqfi

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

Software Development c++ queue
Member Avatar for esraa waqfi
0
159
Member Avatar for Suzie999

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
Member Avatar for gusano79
0
2K
Member Avatar for ThePythonNoob

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
Member Avatar for Narue
0
83
Member Avatar for kazekagerandy

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
Member Avatar for Unhnd_Exception
0
244
Member Avatar for MARKAND911

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

Software Development asp.net dataset xml
Member Avatar for MARKAND911
0
401
Member Avatar for D_rOiD

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
Member Avatar for jice
0
4K
Member Avatar for niketakapoor

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
Member Avatar for abelLazm
0
63
Member Avatar for lochnessmonster

[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++
Member Avatar for Caligulaminus
0
105
Member Avatar for daviddoria

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++
Member Avatar for daviddoria
0
135
Member Avatar for mi2010

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++
Member Avatar for triumphost
0
132
Member Avatar for geekman92

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
Member Avatar for geekman92
0
263
Member Avatar for DeannaF829

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
Member Avatar for debasisdas
0
95
Member Avatar for Thropian

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

Software Development python tkinter
Member Avatar for vegaseat
0
22K
Member Avatar for TechnoDarrel

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

Software Development python session
Member Avatar for woooee
0
227
Member Avatar for neemo6

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
Member Avatar for neemo6
0
189
Member Avatar for 02marks

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++. …

Software Development c++ oop
Member Avatar for thelamb
0
203
Member Avatar for goyofoyo

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
Member Avatar for VernonDozier
0
402
Member Avatar for Tellalca

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
Member Avatar for Tellalca
0
387
Member Avatar for gla41247

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 …

Software Development algorithm c++
Member Avatar for Fbody
0
352
Member Avatar for lukasrzeznik

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
Member Avatar for kirtee2209
0
177
Member Avatar for lookuta2011

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
Member Avatar for JamesCherrill
0
103
Member Avatar for javacle

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
Member Avatar for kinger29
0
174
Member Avatar for niketakapoor

[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
Member Avatar for Mitja Bonca
0
90
Member Avatar for Alexkid

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
Member Avatar for Alexkid
0
173
Member Avatar for niketakapoor

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
Member Avatar for niketakapoor
0
258
Member Avatar for niketakapoor

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
Member Avatar for niketakapoor
0
164
Member Avatar for bertm81

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
Member Avatar for bertm81
0
226
Member Avatar for narlapavan

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
Member Avatar for L7Sqr
0
152
Member Avatar for IDC_Sharp

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
Member Avatar for Mitja Bonca
0
148
Member Avatar for sha11e

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?

Software Development c c# c++
Member Avatar for floatingDivs
0
104
Member Avatar for karthik.chopper

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++
Member Avatar for mbulow
0
417
Member Avatar for baldandwild

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
Member Avatar for baldandwild
0
98
Member Avatar for Loki55

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++
Member Avatar for EmilyJohnson
0
97
Member Avatar for jianhe99

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
Member Avatar for jianhe99
0
214
Member Avatar for basukinjal

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 …

Software Development algorithm c
Member Avatar for xinhedanti
0
516
Member Avatar for bhagawatshinde

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
Member Avatar for bhagawatshinde
0
141
Member Avatar for Executionerr

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
Member Avatar for Executionerr
0
114
Member Avatar for IDC_Sharp

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 …

Software Development image listview
Member Avatar for abelLazm
0
326
Member Avatar for xanawa

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
Member Avatar for abelLazm
0
76
Member Avatar for rahulvom

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
Member Avatar for amit tapas
0
164
Member Avatar for Saikalyankumar

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
Member Avatar for debasisdas
0
175
Member Avatar for dresposure

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
Member Avatar for masijade
0
295

The End.