132,726 Archived Topics
Remove Filter ![]() | |
I know this is a homework question, but I have reached the end of my rope and really need guidance. I have had four years of Java programming then walked into my CS 3 class and was given an assignment in python. I have never worked in Python before but … Software Development python | |
I am trying to understand COM memory layout and using C++ classes just confuses me. In general I understand what is going on with the double indirection of function pointers but as so often is the case in programming one must understand the ugly details – not just the generalities. … Software Development c++ ide programming-construct | |
Hi everybody, I want to write enter in a text file. How to do this. I wrote the code as follows. see if i write like this, it is printing one special character like arrow. I want to print in the following line, instead it is printing in single line … Software Development c | |
Is there a reliable, cross-platform way to pause a program for a set amount of time? The getch() function will wait for user input, but I would like to be able to pause for say 3 seconds. If a for loop is used like so: [CODE]#include <iostream> using namespace std; … Software Development c++ | |
Hello I have a problem that I can't understand. This errror return when I try to compile: name 'image_name' is not defined. This is my code: [CODE] def LoadImage(image_name): file_name = self.clssSnc.sprites[slf.clssSnc.stat] if self.clssSnc.stat == 0: file_name = self.clssSnc.spritesi[slf.clssSnc.stati] #carrega a imagem do cenário ou do personagem fl = None … Software Development python | |
hi guys, i have manage to copy and paste files (excel, word, txt) in specified locations, but when i used it to copy exe files, the exe files are not being copied to specified locations. Software Development visual-basic | |
by using functions, write a CPP program that calculates a water bill for a user. In order to compute the water bill, user needs to input the unpaid balance, the current and previous meter reading. RM1.10 will be charged for every thousand gallons. A surcharge of 2% is added to … Software Development c++ | |
I am currently working on a program that takes input from a file and calculates the averages. I decided to just write the program they way I "thought" I could do it. [code]struct student{ char name[15]; double average; double score1,score2,score3; }; struct student num_students[50]; int main (){ int i = … Software Development c data-structure | |
I used a guide from Ticalc.org. ANd the assembler gave me this code, could someone please tell me what's wrong? I have all the requirements that are required for TASM. Heres the error that MS-DOS had given me. C:\ASM\TASM>asm hello ==== Now assembling hello.z80 for the TI-83 Plus ==== TASM … Software Development assembly | |
Hello I have been studing the tutorial at [URL="http://http://www.netbeans.org/kb/61/web/hibernate-vwp.html"]http://http://www.netbeans.org/kb/61/web/hibernate-vwp.html[/URL] I am starting to understand how data from a database gets to a webpage to a table via a selection box. But in the code I can not see where it actually build a SQL query is there a method in … | |
Please help me to make a sequencing program for my Operations Research subject. By this program, i basically need to sequence n jobs in an order. There are three column: jobs, A, B as shown below: Job A B 1 4 5 2 3 6 3 5 2 4 1 … Software Development c++ | |
hello, A small doubt regarding the context related functions.. I did a makecontext to create a new thread. ( C program) But in order to execute it,I need to know the main parent thread so that I can swap both. How do i know the parent thread..? i want to … Software Development c | |
Can anyone tell me which utility package includes wwIncrementalSearch? I am trying to change a system that a programmer created that has passed away and left no documentation. Any help would be appreciated. Software Development pascal | |
I have a problem with a redefinition when open a form. From Form15 I open Form13 wich works great: [code] #include "Form13.h" Form13 ^form13 = gcnew Form13; form13->Show(); [/code] Now when I add the same code on Form21 I will have the compilererror below: Why does this happen ? The … Software Development c++ | |
I'm trying to read from a text file multiple times but I only seem to be able to read the data once. Any advice would be greatly appreciated. [code] string input; while (!ifile.eof()) { getline(ifile,input); cout << input << endl; } while (!ifile.eof()) { ifile.get(ch); cout << ch; } [/code] ![]() | |
hello, im trying to make something using quotes in a string which is then used by system(d.c_string) heres the code: [code] #include <iostream.h> #include <string> using namespace std; int main() { string a,b,c,d; a="del C:\\users\\robocop\\desktop\\\""; cin >> b; c="\""; d=a+b+c; system(d.c_str()); } [/code] Lets say when running i type 'a … Software Development c++ | |
I have an if sentence in my vb.net windows form [CODE] 'If StrComp(WindowState.ToString, FormWindowState.Minimized.ToString) = 0 Then If Me.WindowState <> System.Windows.Forms.FormWindowState.Normal Then '[Object].ReferenceEquals(WindowState, FormWindowState.Minimized) Then ' System.Windows.Forms.FormWindowState.Minimized Then ' FormWindowState.Minimized Then ... [/CODE] The evaluation, as you can se I have tried in different ways, evaluates to true even it … Software Development vb.net | |
Hi friends, I am new to vb.net but i know vb 6.0 very well. Please tell me how can i start my programming in vb.net. At this time i have vb.net installed on my system. Thanking you Software Development vb.net | |
I'm working on a program, in which on the click of the button a new PictureBox is declared. The problem is, that i'm checking if the PictureBox exists first, using the code [code=VB.NET] If picCanvas2 Is Nothing Then Dim picCanvas2 As New PictureBox AddHandler picCanvas2.MouseDown, AddressOf picCanvas2_MouseDown Else End If … Software Development vb.net | |
Hi everyone...did anyone know any genetic algorithm in Vb.net syntax for the generation of time tables. It is meant for a secondary schools. | |
Hello, I have a web application that connects to a webservice. Usually I can step through the webservice and my start page loads up just fine. But starting yesterday this was not the case. Now I am getting the message "Unable to connect to the remote server." As an inner … Software Development vb.net web-server | |
Hey! :) I found the functions in the chilkat-library usefull, so i downloaded it. If you havn't figured it out yet, I use the programming language C++ and i use the visual studio express IDE. What I do, is: 1: Save the chilkat-folders at the HDD. 2: Open Project/solutions-settings and … Software Development c++ ide visual-studio windows-server xml | |
hi everyone, how are you! i need a c program to read a Segy format file. i hope that the program can output the trace header and seismic data information in ASCII format, who can help me ? Thank you very much! Software Development c | |
Hi, everyone I have a question about reading column data from file. helium.dat He 1.31 He 1.32 He 1.39 He 1.41 He 1.38 He 1.39 He 1.21 He 1.45 He 2.31 I want to print just the 2nd column data(number) from helium.dat like below 1.31 1.32 1.39 1.41 1.38 1.39 … Software Development python | |
hello folks, could anyone tell me how to access a spreadsheet from a java program? I tried using the javaexcel API but cant run the program. Any other APIs/ways I can find? thanks | |
It is quite hard to explain what I mean here, but... Say I have a class that is stored on a hard drive like this.. [CODE]project/helpers/MyToolkit.class[/CODE] i.e. the class MyToolKit is stored in the package project.helpers and would declare it in its code like this.. [CODE=Java] package project.helpers; public class … Software Development hard-drive java | |
I need helping writing the following code that does the following pls Implement the following String List ADT: A String List is a list (sequence) of strings with the following methods: 1. A constructor that initializes the list to be empty. 2. A boolean isEmpty() method that returns true if … Software Development data-structure java linked-list | |
I was making a app to store music in a libary and get mp3 ID3 tags but all the code snippets ive found are really complicated, i tried using the my.computer.filesystem.getfileinfo to add the tags to a box [CODE]Dim tags As ObjectModel.ReadOnlyCollection(Of String) = My.Computer.FileSystem.GetFileinfo(my.computer.filesystem.getfiles("C:\Program files\TuNeAgE music")) Dim Foundtags(tags.Count - … | |
Hi I have a some general questions, some are c others are c++ related. So I'll just post them here in the c++ forum. These question only relates to speed not so much design issues. So far most of my programming has just been about making it work. That is … | |
Hey guys I am creating a till system (EPOS system) in vb.net I have a textbox and a datagrid and I am using SQL Server 2005 as a DBMS. I have already managed to retrieve data into the datagrid by typing in an item number into the textbox, hitting a … Software Development vb.net | |
i did a codig to find the no. of words,no. of characters and no. of lines in a file i was not getting the output, can anyone help me [ICODE]import java.io.*; public class countCharacters { public void Lines()throws IOException { File f = new File("in.dat"); FileReader fr = new FileReader(f); … Software Development java javascript web-server | |
Hello I need an editor or IDE to edit source files over FTP. Sources and the development environment is on a Unix server and I need to edit these files. There's an editor or an IDE plugin to do this? Thanks in advance. ![]() | |
I have a 3D shape drawn by Maya. Besides, I want to write a small C# application for the users to view, rotate and scale the 3D shape above. I just want to ask is there a way for me to do that (e.g. integrate the 3D shape and navigate … Software Development c# | |
I was wondering if anyone was familiar with reading data from a file into your program. I tried using the file stream the same way cout is used but it doesnt seem to work properly. Would the getline(); function work? If so, how would that be implemented? [CODE]#include <iostream> #include … Software Development c++ file-stream | |
hey everyone, we have an argument that figured up the angle in a double. We need to convert that double to a char and send it out the serial port. I've tried this: [code] char t1 = (char)A; comBobbySue.Write(A);[/code] but i get errors. can someone give me a hand? :( Software Development | |
hey will someone give me a code of a fiel sharing peer to peer application so that i can get familiar with it because even though all the researches are helpfull but i have to read some code to understand it better thanks Software Development java peer-to-peer | |
Hi , I am new in C# programming and I am trying to implementate something like site in c#. On the top of my form1 I have four LinkLabels and when an user clicks one , he goes to another form but the initial form1 still exists. I am trying … Software Development | |
Hello I am currently writing a program that generates an XML file. I am having some minor difficulty. I need it to look like below [code=xml]<?xml version="1.0"?> <?xml-stylesheet type='text/xml' href='test.xsl'?> <!--sample xml file created using XML DOM object.--> <GovTalkMessage xmlns="http://www.govtalk.gov.uk/CM/envelope"> <EnvelopeVersion>2.0</EnvelopeVersion> <Header><![CDATA[<some mark-up text>]]></Header> <node3> <subNode1/> <subNode2/> <subNode3/> </node3> </GovTalkMessage>[/code] … Software Development visual-basic xml | |
I am really at my wits end now....i am unable to find ne proper code for autonumber generation...if i do find its not working. plz i want it ..i am using sql server 2000 and vb.net 2005. just tell me can we make use of max function ? ie. first … Software Development vb.net | |
Hi guys, well i have a application which changes the resoloution on the computer (works fine) i have the code to change it back to the original, say on a button click however i dont know the code for running it when the application is exited as i need to … Software Development | |
Hey everyone, im working on a project for uni. The question wants me to read from a text file, place the info into an array, sort the information in that array and write it to a new file with the sorted information. So far i have been able to read … Software Development file-system java | |
Hi i am facing a problem of passing data from a text file to array. i have read the text file but somehow i can't pass it into the array and it keep giving me nullPointerException. Can someone help? Is there something wrong with my code? And how do i … Software Development java | |
Hi, I would like to start a sub in 5 seconds from now. The sub will need to perform only once. Should I use the timer event or there better way ? Thank Dillen Software Development vb.net | |
Hi All, I am new in vb.net. I am using Visual Studio 2003 and sql 2000. I want to use configuration manager to retrive the connection from app.config But I am getting error " Name 'ConfigurationManager' is not declared" the code, I written, is as follows: Imports System.Data.SqlClient Imports System.Configuration … Software Development vb.net visual-studio | |
How can i get the time from the system clock in nanoseconds?? im using c++ here.. thanx.. Software Development c++ | |
In [code=c] int main(int argc , char *argv[]) [/code] What could be the maximum length of string in argv ? Software Development c | |
in my program [ICODE] class list /// list class { private: int *Data; int Size; num; public: list() // constructor { size = 1; num = 0; } void add(); // member function }; void list::add() /// { char choice; do { Data = new int[size]; cout<<" \n Enter item … Software Development c++ | |
i want to write a program that determine a student’s grade. It reads three test scores (between 0-100) and calls a function the calculate and return a student’s grade based on following rules: (a) If the average score is 90% and more, the grade is ‘A’ (b) If the average … Software Development c++ |
The End.