132,726 Archived Topics
Remove Filter ![]() | |
My question today is regarding multidimensional arrays, and synchronization.. I'm working on a client/server project and I'm not sure about the theory of an idea I came up with: I have an array: [INLINECODE]Object[][] myArray = new Object[256][];[/INLINECODE] It is an array of arrays. The length of myArray is 256 … Software Development client-server java | |
What am I doing wrong, I've done it before! [CODE]class Main: def __init__(self, master): self.master = master self.master.title('Role Playing Form V1.0') self.master.geometry('300x250+350+450') self.master.mainloop() self.cmdCreate = Button(self.master, text='Create Character', command=self.create) self.cmdCreate.grid(row=0) def create(self): pass root = Tk() main=Main(root)[/CODE] the button doesn't appear! Software Development python | |
Our company is doing a project for the City of Chicago and we are trying to communicate with their servers using web services. Their environment is java based but we are using .NET on our end. The problem we are currently facing right now is that we are not able … | |
[COLOR=Black][COLOR=Blue]Ok, firstly im new to this java thing...but i think its still exciting to do. but i have an error now...[/COLOR][COLOR=#0000FF][COLOR=Blue].. cannot find symbol symbol: constructor Employee location: class Employee Employee e = new Employee (" info"); and the arrow tingy pointin by the word new...so im wondering wat is … Software Development java ![]() | |
Hello I want to drag & drop an object like rectangle , would you please give me the code and intterupt of it? thank you in advance Software Development assembly | |
I am a student of comuter enginnering 6thsem. I have to make a project based on java. Please help me by suggesting an award winning project. Software Development java | |
Hi All!! I am relatively new to C++ programming so please forgive me if my question is very basic or silly. I am trying to read files in C++. It opens text based files properly but doesnt open csv files , though I am saving them in the same directory. … Software Development c++ file-system | |
A calendar can be created easily in VB..but can the details be stored in Oracle...will it be too complicated? I want to create calendars for different departments and store them in separate tables for a Patient Management system.. Please advice.. Software Development oracle visual-basic | |
Hi there, I have a problem with a BST program, whenever I try to run this a SIGSEGV error occurs. The files are: node.pas [CODE]Unit Node; Interface Type NodePtr = ^TNode; TNode = Class FData : Integer; FLeft,FRight : NodePtr; Constructor Create(PData : Integer); End; Implementation Constructor TNode.Create(PData : Integer); … Software Development ide microsoft-windows pascal | |
Can someone please show me a code syntax on how to update an SQL database programmatically ( execute on click of button). I want to get all records from the "Student" database table where StudentStatus = 'New'' .Find a particular RegDate (2001/02/02) , StudNo ( 200144176) and update it's StudentStatus … Software Development sql visual-basic | |
Hi, How can I call the program that have exetension *.pps(PowerPoint Show) ? Not .exe! thanks! :sad: Software Development visual-basic | |
Hello, I want to know how to implement semaphore without the use of while or any if statement The Problem is Thread A , B , C they all want to output the result at the same time A wants ot print 'A' B wants to print 'B' C wants … Software Development c | |
i can't run my program bcoz of this error.. [code=cplusplus] #include<iostream> #include<math.h> #include<string.h> #include<iomanip> { int main() int x,y,z,r; float a; char ch; cout<<" enter amount"; cin>>x; cout<<" enter number of years to be paid"; cin>>y; cout<<" enter the rate"<<endl; cin>>z; r= z/100; cout<<" what would you like to compute?"<<endl; … Software Development c++ | |
someone please help me on how to run this coding using knoppix linux.. using c language.. i really need help.. i want to know.. what is the output.. this is the coding :- [code] int main() { Pid_t pid; /* fork another process */ pid=fork(); if (pid<0) { /* error … | |
Hi all. I recently downloaded and installed Bloodshed Dev-C++ and have begun going through C++ tutorials and whatnot. I'm very green on the whole C++ thing. My current problem is that I want to use a .cpp file that someone else wrote that includes some so-called 'standard header' files, one … | |
Hello again, I'm slowly getting better, I would never have been able to get this far before, but I'm stuck. Here's what my program is supposed to do: [COLOR=#000000]1. [/COLOR][COLOR=#000000]Develop a C++ program that uses a while structure to input the miles driven and gallons used for each tankful. The … Software Development c++ | |
[B]EDIT:[/B] Again, after searching for some time and not finding any answers then asking here and going back to experiment a bit with my code, I figured out the answer just by trial and error :| Hi! My current homework assignment requires me to read some info from a file, … Software Development c++ data-structure | |
HOW TO CONVERT SIMPLE EXE FILE INTO XML FILE? For example ,how can i convert a db2 file inot xml n transfer it as a web service pls help Software Development xml | |
Hey Friends, Can you help me to code a program that sends email in C++? Maybe by Telnet or another way :S i dont know anything about this. Thanks. | |
I've been searching around the site, looking at the different types of coding, and come accross Assembly. This is one of the most complicating code ive seen yet and was just wondering what is it's most common use? Software Development assembly | |
I have written a program that allows the user to insert scores and the program then provides the average score, the number of scores entered, the amount of each letter grade, and the highest and lowest score. I've also used a sentinal to exit. I'm new to C++ and this … | |
;) Hey guys, I have another simple question today: Lets say I have a structure: [code=c++]struct Info{ string name; string id; double telNum; }; //.... Info person; //....[/code] Now, if I had a function in which I told it to output one of the elements in the structure, how would … Software Development c++ | |
Hi, I just installed MySQL on my computer and went though a decent MySQL tutorial. Now I need you guys help me out so I can get my java programs to connect to MySQL. I am using the following code from a book to connect. [code] import java.sql.*; public class … | |
Hello: I am interested in understanding recursivity; I have not knowingly used this much in my programming. I am reviewing certain areas of OOP in order to learn more and better about areas that I may not be[I] fully[/I] understood yet. Recursivity is one of these areas. I understand the … | |
can anyone help me with the simplest c++ code for solving the sudoku puzzle, without testing for correctness/uniqueness of entries? | |
hi im still finishing a calculator program. the problem is i am wondering what command to use to break out of multiple loops. my code is [code=c] [COLOR=Gray]#include <stdio.h> #include <ctype.h> #include <math.h> double do0p(char op, float acc, float num) { switch (op) { case '+' : return acc+num; break; … Software Development c | |
I have to pass this assignment which calculates the income of workers using pointers and structures.. I'd be very glad if you could help me with this.. uhmm.. could you also please tutor me about this program if you got any answer..?? thanks!!:cheesy: Software Development c | |
Problem background: I am writing a Visual Studio C++ app referencing an Api library provided by a third party. Problem: after calling the API function I am getting a 2059 "syntax error" that I don't understand. I have added the code exactly as the third party documentation has described. Error:c:\documents … Software Development api c++ visual-studio | |
Hello all, im a beginner to VB.Net and kinda annoyed at the "not able to print to the screen and clear the screen facilities". Anyways i need to make a program to display the numbers 1-10 (a counter) on the form, my code so far is Private Sub cmdStart_Click(ByVal sender … Software Development first-post vb.net | |
How to generate 50 distinct numbers in an array? I have the code for generating 50 numbers but thay are not different. I get same number sometimes twice or three time. Here is my code: [code=c] #include <iostream> #include <cstdlib> #include <ctime> using namespace std; int num; int main() { … Software Development c++ | |
im writing a calculator program in c and having some trouble.. basically it needs to have + - / * ^ functions as well as an integer only mode the code so far [code=c] #include <stdio.h> #include <ctype.h> #include <math.h> int main(int argc, char *argv[]) { float acc, num; char … Software Development c | |
i want to know abt algorithm to solve 15 puzzle problem | |
I wrote this code to produce a fibonacci seqeunce to a cretain number. However, when you get to a certain number, it starts producing negative numbers, and I don't know what to do. [code] #include <iostream> #include <stdio.h> using namespace std; int main() { long lMax; lMax = 0; long … Software Development c++ | |
Hi! I'm looking to learn something today, and I have just the question. In writing a recent program, I found no Java method suited to compare two byte arrays. Maybe the method exists, or maybe not. In any case, this is a learning expedition, and I came up with a … Software Development first-post java | |
hi everybody , I am new to python and interested in graphics . I like somebody to walk me thru monthly calendar using tkinter . I have already printed 07 calendar using python but I am stuck when it comes to use it with tkinter . it is no homework … | |
Hi I'm using Visual Studio 2005 to write C# code. The codes are as below;(which i got fron C# book).But, it says "There were build errors...bla3",. And i didn't get the output. Can anybody here explain me,why this happen?Well i'm beginner in C#. For all,Thanks :) [COLOR=#000000][COLOR=#0000ff]using[/COLOR] System; [COLOR=#0000ff]class[/COLOR] [COLOR=#008080]TypesSample … Software Development visual-studio | |
Does anyone know a good c++ compiler equivalent for MinGW on Mac OSX (10.4x)? I just started a class that requires the use of MinGW, but since it's native windows I obviously can't use it. And just to clear the air, I would rather not install Boot Camp just to … Software Development c++ | |
Whats better? C++ or VB? Im sure C++ is much more powerfoul and portable than VB...what do you think? | |
Hello, i am currently working on the Flapjacks problem, The program compiles correctly, only it keeps going into infinity when i input, it keeps asking for more inputs, and its supposed to stop when i input -1. Here is my Code. [code] #include <stdio.h> #define SIZE 30 int isinorder (int … Software Development c | |
Hi all, in one of the header file I have declared #define GPSINIT "version no" I need to find where this string is stored in memory location. I tried to test_string1 = &GPSINIT2STRING; LOG_Write(test_string1,sizeof((int*)test_string1)); /*this func writes the result to a new text file*/ Also is it possible to get … Software Development c | |
Is there a way to enter in graphic mode when a process is running in the MS console mode in WXP?. I used to us graphical mode with old borland C, but now in VC++, I can not found the way, I found the SetTextColor, but is not graphical mode.:sad: Software Development c++ | |
Currently, i created a datagrid that enabled user to insert , update and delete from the datagrid.. My problem is..How to validate the input when the user is inserting values into a new row in the datagrid. Any idea? Software Development vb.net | |
Hello, before I post my question I just wanted to thank those who helped me last time I posted. I was seriously considering dropping my class thinking that I wouldn't be able to do it. However, with my last hw assignment I came here and Niek_e especially pointed out some … Software Development c first-post | |
Hi there. Pointers confused me till the first day I used them (1 year ago) and still can't understand them 100%. My problem is: I've read from a book that when you have [B]a class with a char* member you must create your own copy constructor[/B],allocate memory dynamically... but this … Software Development c++ | |
Hi im new here...i am only an high school student, i hav a problem on my this output...im using turbo c, can u help me with ths?? i cant get it...pls help 1. 55555 4444 333 22 1 2. 12345 1234 123 12 1 3. ****5 ***4* **3** *2*** 1**** … Software Development c | |
hi. i really need 8-queens problem assembly source as soon as that you think! any body can help me?:?: Software Development assembly | |
A container that holds 50 distinct integers has two ends: top and bottom. When an input integer matches one of the integers in the container, it is then moved to the top, and all the integers above the matched integer are moved down to fill the gap in the container … Software Development c++ | |
Hello, Sorry for my "n00bness". I finaly choosed qt. I made an .ui file with qt4 designer and written main file. First: -I included "ex.ui"...IS that right? Will compiler accept that? HEre is the code, [CODE]#include "ex.ui" #include <QtGui/QtGui> int main(int argc, char *argv[]) { QApplication app(argc, argv); app.setQuitOnLastWindowClosed(true); QMainWindow … | |
Hello everyone. I need to write a Bash script to remove blocks of text from a given file. The idea is, the text to be removed will be marked by appearing between certain delimiter characters i.e. [code] Here's some text and ~this bit gets removed~, where tilda is the delimiter. … Software Development shell-scripting |
The End.