132,726 Archived Topics
Remove Filter ![]() | |
First off. Hello, I'm having issues with my little program I've got a few classes down to a tee and am having issues with the War class. With the following code I iterate a new game of War and I have stats that hopefully will help some figure out whats … | |
hai dani. can u pls help me how to create piechart in c. thanks in advance Software Development c | |
Hi, Some time ago, I wrote a program that used the write() function of an fstream object to write a large file to a 100MB-zip-disk (it was an old computer). When I "End Now"ed the program I found that the zip disk was corrupted. The file didn't show up but … Software Development c++ hard-drive | |
hello friends, I have two program: receive.cpp and send.cpp They re very simple, when compiling there is no error in both. I only wanna see them to talk to each other but when run these progs, both of them gives 10061 error. Below the codes, firstly receive.cpp: [code] //******************* SERVER … Software Development c++ client-server | |
I am attempting to upgrade to Python 2.6.2 from Python 2.5. Everything installed successfully but import _tkinter fails. I then proceeded to install tcl 8.5.7 and tk 8.5.7 and reinstall Python 2.6.2 after making sure the appropriate directory was in the included directories list in the setup.py file. Any idea … | |
Hi, i am using this code to show form2 in my program, [code] Form2 form = new Form2(); form.Show(); [/code] however when i want to use the on load event to change a labels name nothing happens, i suspect because it isnt loading just showing, does anyone have a solution … | |
Hi all, I hope you are well. I am trying to explain some code to a friend : [CODE]StringConcatenate StringConcatenate1 = new StringConcatenate(); StringConcatenate1.stringConcat(); [/CODE] I said that this code creates an object "StringConcatenate1 " of type StringConcatenate and executes method stringConcat() (which is from class StringConcatenate()) on object StringConcatenate1. … Software Development java | |
Hello everyone! I'm a beginner in programming so please bare with me =/ I have a problem that I just don't understand. Here's the problem: Write a program that uses a loop to display the characters for the ACSII codes 0 - 127. Display 16 characters on each line (c++). … | |
Hi, Currently having troubles in adding data to the listview i have created. It actually will add the first set of data to both the database and listview, but when i try to add a second lot of data it displays the error message that I have setup. Also how … | |
Ok, here is what I have for my compareDates() function in my class: [CODE] int Date::compareDates(int m, int d, int y) { if((month < m) || (day < d) || (year < y)) cout << "This date comes before previous valid date." << endl; else if((month == m) || (day … Software Development c++ | |
Hi, I have a URL like this: [code] $url="http://www.somesite.com"; [/code] I have to connect to this URL and download the data. Sometimes there will be problem in that particular site. So I have to reconnect and then again download the data. Here is the code to connect online. [code] #!/usr/bin/perl … Software Development perl | |
Brand Newbie to perl. Playing around trying to get a feel for how arrays work and encountered error in title. [COLOR="Green"]#!/usr/bin/perl -w use strict; my(@array) = (10, 20, 30, 40, 50, 60); my($marker); my($EOA) = @array; for ($marker = 0; $marker <= $EOA ; $marker++){ print "@array[$marker]\n"; #line where error … Software Development perl | |
Hello all, Note: This is a general question, and I did not find any other category in the forum to ask this question... Last year, I got a copy of VS 2008 (VC 9.0) as gift. I liked it a lot! I started developing some simple applications using C ( … Software Development asp.net c++ visual-studio | |
Iam finishing my little database based small project and I need to save current status for next time(The save option :) ) The stuff I want to save is just list of tuples and I have to save: 1. The List of tuple 2. The index of the last element … | |
hello frnds,i want to check if the computer is in sleep mode or not...Suppose my project is in normal state..I change the state to sleep mode,I want that now when the computer wakes from sleep mode,I want that my project is in minimized state..How to check dat? I have searched … Software Development vb.net | |
Can anyone help with this please? I my VB.NET app to list each of the documents that are currently open in Microsoft Word. If any docs are not saved then I need to save them. I have tried using the Word application object but creating a new App object doesn't … Software Development vb.net | |
hi, Well i am planning to develop the chatting application peer to peer as front end tool java so please guide me how the data will flow? Software Development java peer-to-peer ![]() | |
I have some code which "requires python 2.5.2 or bytecode compatible." Would 2.5.4 work? 2.6.2? Any harm in installing either of these on the same machine as 3.1 (separate directories)? Windows XP if that matters. Software Development python | |
Hey all, I'm currently working on a design for my first "big" program. I've done a small Object Orientated IDE before, however that code there was a bit of a mess... So I'm scoping around for online tutorials on how to design an OO program. Does anybody have a great … | |
I feel like an idiot asking for help every step of the way. My program is almost complete. I just can't seem to wrap my head around the constructor issue. Here is the check list of what I have left: Appropriately use the Dates(int,int,int) & the Dates(string,int,int) constructors; Appropriately use … Software Development c++ | |
Hello. I can't believe i'm stumped on this ok .. main menu again ..... nice fat quit button .. works great quit = Button(root, text = 'Quit', command = root.quit) awesome work hey .... i also have an about window (cleverly called awin) .. click it .. it tell you … | |
Does anyone have any game ideas I could do it pygame? So far I've done a breakout clone with special blocks that give you extra points or give you an extra ball Software Development python | |
Hy. I'm new in this programming and i wish to work with some device like cd-rom. So i wish to know how to open device. I know that i must work with socketfd but i just need some guidnes. Tnx Software Development c | |
Hey I'm really new to C# - I don't understand how to properly sort out the code based on the messages that I am getting. The messages are: } expected { expected ) expected Invalid expression term '}' When I simply enter these characters into the place that the debugger … Software Development visual-studio | |
[CODE] Creating Servers for handling Multiple clients Fog Edition By FireNet [/CODE] (This document is dedicated to my friend Aaron Anderson) (Fog Edition means I dont tell you everything stright.All the info will be there but you will have to do much thinking) Servers and Clients,the backbone of the internet … Software Development app-store asp c++ client-server data-structure display email first-post gui http-protocol open-source os-x windows-server | |
Private Sub InsertDatabase() Dim rowaffected As Integer Dim SqlInsert As String Dim fname As String Dim mname As String Dim lname As String Dim ConnPPC As New System.Data.SqlServerCe.SqlCeConnection("Data Source =" + (System.IO.Path.GetDirectoryName(System.Reflection.Assembly.GetExecutingAssembly().GetName().CodeBase) + "\test.sdf;")) ConnPPC.Open() fname = Me.txtfname.Text mname = Me.txtmname.Text lname = Me.txtlname.Text Dim cmd As SqlCeCommand = ConnPPC.CreateCommand … Software Development assembly open-source vb.net | |
how to make a Gridview editable / ie. a user can modify the contents of the particular row by clicking on that row ? What v write in this Event ?? and is this sufficient to make a grid editable?? protected void GridView1_RowEditing(object sender, GridViewEditEventArgs e) { e.NewEditIndex } Plz...help … Software Development | |
[url]http://www.mediafire.com/?sharekey=0d482638ea4b7c6ee3462c012be639112c5abae67716f914[/url] download this solution and plz chek that when i close the last windows form it actualy didnt close.it still running on underground.coz in VS it didnt visible the "run" button.the "pouse and stop" buttons are still running.so plz tel me a way to stop running the program underground on … Software Development | |
What is ctypes data for BOOL? I mean in C++ to ctypes we have: int--> c_int float--> c_float what about BOOL? | |
Hi, I need the solution to the below mentioned problem: A Scroll Banner is an applet which displays 2 scrolling messages across the applet’s Window. Since the scrolling of a message is a repetitive task, it is performed by a Separate thread, created by the applet when it is initialized. … Software Development java | |
Look at this thread: [url]http://www.daniweb.com/forums/thread206859.html[/url] In C# this would give: [CODE=C#]namespace ConsoleApplication1 { class Program { static void Main(string[] args) { int i = 0; i = i++; Console.WriteLine(i); Console.ReadKey(); } } }[/CODE] Also in C# it prints 0. I wonder why. I think Java is correct here. Although it … Software Development | |
import java.util.*; class FindString { public static void main(String arg[]) { Scanner ob=new Scanner(System.in); String st="I am a student, you're also a ."; String search; String st2=""; String st3=""; int i,c=0; System.out.println(st); System.out.println("Enter your word to search: "); search=ob.next(); do { i=st.indexOf(search); if(i!=-1) { st2=st.substring(0,i); st2+=st3; st2+=st.substring(i+search.length()); c=c+1; st=st2; } … Software Development java ![]() | |
I am currently doing a project on LR Parsers and need to code the algorithm using Java. The code should use the parse tables and determine wheather a word is accepted using the grammar provided and using the Parser tables. I am stuck on where to start so any advice … | |
the cursus i'm taking on python (free on internet). said i know enough and that i should try creating some simple games like oxo. the problem is that i don't know how the create a framework for such a game any help is welcome. mathijs p.s. my english may not … Software Development python | |
Hi If i add the try block it says syntex error at initlialization of for loop . Non -working code ... #!/usr/bin/perl -w use strict; try { print " 11111111111 "; } catch { print " 2222222222 "; } for (my $i = 0 ; $i < 5; $i++) { … Software Development perl | |
Dear all, I am making a new windows based application for my firm. My appli9cation is developing by vb.net. I accomplished most of the goal except custom links in rich text box. As my plan the link work with either pictorial or text. For example. If I am refering a … Software Development vb.net | |
hey everyone, i am newbie to python, i was trying to write a script for the following problem statement(no it doesn't work..:( ).. here, is the code.. i have a few general querries about python also, plz help me out... thanks! [QUOTE] Problem D - Australian Voting Australian ballots require … Software Development python | |
Hello friends ........ it's ma first post. As i know, constructors are called at the time of object creation. But if i want to call it explicitly, not at time of object creation, can i do this? if yes? then how? any help please?......... Software Development c++ | |
Hi, I am about to do a c project for my college term. My main aim is to spend my time and make a really useful software not just another project. I would like the community to give their ideas on something which I can make and develop and spend … Software Development c | |
Hi friends, I want to write a multiform application. if I am running form1, I want to call form2 and end form1. can anyone teach me how to do it? I tried to set form1 as invisible, but I found it funny that if I close form2 by clicking on … Software Development vb.net | |
i know that 6/5 returns 1 and 6/5.0 returns 1.2 but suppose i am defining n=6 and d=5, i want n/d to return 1.2 instead of 1, how do i do it? Software Development python | |
Hey there everyone. I David. I am have a problem with the end of line keystroke ( Ctrl+Z ) in the Netbeans and JBuilder Compiler, when I press the buttons simultaneously nothing happens but when I do it in Eclipse it works fine. Here is a look at the code.Help … Software Development java java-netbeans | |
Hello everyone, I'm quite familiar with Delphi, but I'm new to using threads and so I've got a question. Here's what I'm trying to do: I'm using the brilliant VirtualTreeView component and I wish to add to it from a thread. The tree is on the main form and is … | |
i'm working on a school assigment with Binary search trees im trying to find the localtion of the smallest key in the binary nodes so i created a function that retutns the point location to the smallest element key [CODE] template <typename DataType, class KeyType> BSTreeNode * BSTree<DataType, KeyType>::findMin (BSTreeNode … Software Development c++ | |
Hi guys i got a problem with this i can get data from the table by using sql :-Select * from staff_badgeTracking inner join staff_badgeTrackingNew On staff_badgeTracking.Badge_ID = staff_badgeTrackingNew.Badge_ID The point is if i wan to find a specific badge id like 1234 then it will get the data from … Software Development visual-basic | |
So here is how the program should work: It should accept a string in which there is a full operation (ex. 23 + 34) it should split the string into three parts. The first and the third part should be the numbers and the second should be the operation sign. … Software Development c++ | |
Hi Everyone. Consider this part two after solving part one of my output window issie basically 7zip i needed to output its text to a output window i had created inside my main menu where the button "backup" exists. The window within the window code looks like this. [code] outputLabel … | |
This is the code that i have, my project is to do this exact code, but with structs. I'm obviously very shaky on the structs concepts, however, i really need to get this assignment done. Any help in this matter would be greatly appreciated! [CODE]#include <stdio.h> #include <string.h> #include <stdlib.h> … Software Development c | |
I have to create a Gradebook program with a Mdb provided by our prof. it is suppose to compose a letter in a listbox to say as so Student Name address Dear student your grade for CMSC 100 are as follow finalexam: semester grade: Best wishes for a good summer, … |
The End.