132,726 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for Alerwi

Hi There ! I want to prepare SCJA certification and i need your help and guidance Please! if some has complete course or book for that ,i will appreciate it ... Thank you for All

Software Development java
Member Avatar for tux4life
0
115
Member Avatar for johndoe444

Is this possible to declare a template struct similar to template class: [CODE]template<class type> typedef _stack { type arr[MAX]; int tos; } stack;[/CODE] Thanks.

Software Development c++
Member Avatar for mrnutty
0
136
Member Avatar for annitaz

I am new to nasm and I need to write oprogram that reads (user input) numbers 0-3000 and converts them to roman numbers. So the user inputs a number between 0-3000 and the the program converts it and outputs the corresponding roman number. Please help!!!

Software Development assembly
Member Avatar for low_coder
0
1K
Member Avatar for wondergal04

hey i select any image from combobox.. the label should updated to display that image.. i tried this code. I am not getting through., Just see dis.. please help me... reply fast.. its urgent.. [code] import java.awt.*; import java.awt.event.ItemEvent; import javax.swing.*; public class x extends JFrame { JLabel l; ImageIcon …

Software Development java java-swing
Member Avatar for JamesCherrill
0
117
Member Avatar for checho

Hi, here is my problem. I have the next task //Write a program that removes from a given //sequence all the numbers that present in it odd //number of times. Example: //{4, 2, 2, 5, 2, 3, 2, 3, 1, 5, 2} {5, 3, 3, 5} The problem comes in …

Software Development java
Member Avatar for JamesCherrill
0
2K
Member Avatar for Androggles

Hey :) I wonder how i can make my program make a shortcut to itslelf, and put it in a specific directory?

Software Development c++
Member Avatar for Androggles
0
1K
Member Avatar for makdu

Hi, in order to organise the functions based on its usage, i want to add a new code file to the project. I tried to add a new code file and gave a name to it and then wrote a function in it . This function is called from another …

Software Development c#
Member Avatar for mahmoud_wow
0
239
Member Avatar for emir_gradacac

I have a folder with my game on Desktop. I've installed py2exe, 'cause it seemed to be a very good game and I wanted to share it. Now, I did everything right (i followed youtube tutorial), but when I start command prompt and typed 'a.py py2exe' it returned a message …

Software Development python
Member Avatar for Stefano Mtangoo
0
153
Member Avatar for gunbuster363

I want to use MySQLDB to connect MySQL but I got a problem. the problem is: --------------------------------------------------------------------------------- cs6201:/home/lamwaiman/python/data # python dm.py Traceback (most recent call last): File "dm.py", line 11, in <module> import MySQLdb File "build/bdist.linux-i686/egg/MySQLdb/__init__.py", line 19, in <module> File "build/bdist.linux-i686/egg/_mysql.py", line 7, in <module> File "build/bdist.linux-i686/egg/_mysql.py", line 6, …

Software Development mysql python suse
Member Avatar for Stefano Mtangoo
0
384
Member Avatar for roadmaster

As the Title states I'm trying to Display a Form that has a Listbox Docked to "Fill", theres no problem displaying the form but I want to Display the Items in the ListBox as each line is added to it (in this case the lines are added programatically through the …

Software Development display
Member Avatar for roadmaster
0
107
Member Avatar for -ordi-

[CODE]import java.io.*; import java.util.*; class Telefon { public static void main(String[] args) throws Exception { /* IO */ BufferedReader sisend = new BufferedReader(new FileReader("telefon.sis")); // IN PrintWriter valjund = new PrintWriter(new BufferedWriter(new FileWriter("telefon.out"))); // Out int n = Integer.parseInt(sisend.readLine()); // Reading first integer String abi; String abi2; String[] numbrid = …

Software Development java
Member Avatar for javaAddict
0
96
Member Avatar for a7med sh

Can any 1 help me or give me a tip i know that i have some mistakes what I want to do is : - Read the input until eof keeping track of each letter that occurs in the input as well as the number of occurrences of that letter. …

Software Development c++
Member Avatar for jonsca
0
146
Member Avatar for TheWhite

I have a class which extends LinkedList and implements Runnable. I also have a main class which modifies the extended LinkedList. So, the issue is, the LinkedList is being modified by 2 threads: main() in the main thread and run() in the thread which is created from implementing Runnable An …

Software Development java
Member Avatar for TheWhite
0
1K
Member Avatar for adams161

I have a gameboard class: class gameboard extends JInternalFrame In the constructor i have the line: setDefaultCloseOperation(DISPOSE_ON_CLOSE); my gameboards are actually in an array myboards[500] were each is an object of this class. the deal is I want to be able to tell which are open and i want to …

Software Development java
Member Avatar for adams161
0
102
Member Avatar for Hidden-Coder

G'day all, The program i'm currently working on has a search feature, I want to be able to search a Folder and any Sub-Folders contained within that structure. I'm really confused at the moment as to how i'm going to keep going deeper into a directory and still manage to …

Software Development
Member Avatar for Hidden-Coder
0
123
Member Avatar for OffbeatPatriot

I've been trying to read this binary file I wrote with a python script. The format of the file is this, first there is an integer that tells how many floating point numbers follow that integer(there will be 5 times this number), then the floats follow, another integer, etc. I've …

Software Development c++ file-system
Member Avatar for Ancient Dragon
0
146
Member Avatar for brandon1

Hey just need to ask a few questions hopefully one of you can answer as i have spent hours trying with no results and my code is a bit unorganised at the moment as im still learning: (code down bottom) 1.How do you stop your picturebox clearing when the form …

Software Development
Member Avatar for kvprajapati
0
123
Member Avatar for mahm240

i am a student of mcs and doing my project in the agent technology.but there is problem that how the agent monitores the user activities and propose the required solution for them.can any one help me that how can monitor the activities using java code.

Software Development java
Member Avatar for cbarton.a
0
152
Member Avatar for jigglywiggly

So ok, I have been doing like java for a year and a half, and this is my lovely 4th day of C++, and I have already read up on pointers, dynamic memory and all that fun stuff. I do know what the header file class does. However I got …

Software Development c++ file-system
Member Avatar for Agni
0
160
Member Avatar for amadaeliseo

Hi to all. How can I easily convert HTML to well formed XML? Does anyone has an idea how I can do that? Thank you for your time.

Software Development html-css xml
Member Avatar for MrTelly
0
102
Member Avatar for poojan

i have been trying to make a program to transfer any kind of files through [B][COLOR="Green"]serial port[/COLOR][/B] using [COLOR="Green"][B]VB6[/B][/COLOR], i was able to transfer the text file but not other files so please help me on this

Software Development visual-basic
Member Avatar for joekbit
0
84
Member Avatar for mnf

How can I write a media files like wav or mp3 in c#? because i don't know how i can start :?::?:

Software Development
Member Avatar for mnf
0
76
Member Avatar for kinvaras

First of all, hi to everyone. I need help with an assignment, need to translate this C code to assembly. im getting pretty desperate and thats why im turning to outside help... This code is suposed to calculate sqare roots of 16bit numbers, and is to be implemented on another …

Software Development assembly
Member Avatar for Salem
0
108
Member Avatar for Godflesh

Hello again! I have a new question. I have run a script and wants to run it again with a "keypress" input from the user, how do i code that. Like this: import subprocess drive=input(" If you want to start the script again , press 1: ") if drive == …

Software Development python
Member Avatar for Godflesh
0
2K
Member Avatar for phil750

I am currently writing a basic program scheduler (just started) which we have a text file with format of Process(id) (space) (quantum) (space) (priority). I am working on the first bit of the program actually reading in the text file and am trying to assigned the process ids, quantum and …

Software Development c file-system
Member Avatar for phil750
0
116
Member Avatar for froggy1976

Here is what is required: Create a new console application project and name it "Week1Lab_YourName". Create a new class called DayOfTheWeek. The class should have a data member that can store the day of the week such as Mon for Monday, Tues for Tuesday etc... STEP 2: Create the member …

Software Development c++
Member Avatar for C++Rookie
0
191
Member Avatar for Katsurou

Heyah Does anyone know how can I change the bacground color of my textfield by using : the commands if & else It's for one of my school assignments but I really can't get to solve it by myself i searched through web but nothing :S We must use the …

Software Development programming-construct visual-studio
Member Avatar for ddanbe
0
227
Member Avatar for El Duke

Hi, I am using Linux, and I was looking for free source code ( Python) for speech recognition, I found "Speech" for Windows. I have tried to run it on Linux, I got errors of missing modules, I found most of them online but when I got this error: [COLOR="Red"]No …

Software Development python
Member Avatar for El Duke
0
155
Member Avatar for cyberguy007

Can someone help me create a function to print all items with a Prod_Stockcount less than 5? Its missing some code but all you need is to add and then create a function to print items with stockcount less than 5 [CODE]# include <stdio.h> # include <string.h> # include <iostream> …

Software Development c++ ios
Member Avatar for jonsca
0
116
Member Avatar for iamcreasy

Im trying to solve a ACM problem 10189, LINK: [url]http://uva.onlinejudge.org/index.php?option=com_onlinejudge&Itemid=8&category=13&page=show_problem&problem=1130[/url] It looks ok to me...but, online judge is showing wrong answer... can anyone help me to figure out the problem. [CODE]#include<stdio.h> int row = 1, column = 1,i=0, j=0, a=0, b=0; char array[100][100] = {0}; int change(int a, int b) …

Software Development c
Member Avatar for iamcreasy
0
204
Member Avatar for asm2hex

Hello, I have a quick question I want to ask. How can I copy the data from a allocated variable, so that when I free up the allocated variable the copied data isn't erased with it. Thanks, -A2H

Software Development c
Member Avatar for Narue
0
104
Member Avatar for SasseMan

Hi, I have a problem with two classes who both has instances to each other. Here are the header files... [code] #ifndef ENVIRONMENT_H #define ENVIRONMENT_H #include <vector> #include "item.h" #include "actor.h" namespace game{ class Environment{ public: Environment(){} Environment(std::string name_, std::string description_); enum directions { north = 0, north_east = 1, …

Software Development c++
Member Avatar for Ancient Dragon
0
113
Member Avatar for ryy705

Java implements pass by reference right? So when I do cons("item", stack) with the following code I should print out --> itemabcd. But that isn't the case, why? String stack = "abcd"; cons("item",stack); System.out.println(stack); // public void cons(String item, String stack) { stack = item + stack; }

Software Development java
Member Avatar for tux4life
0
225
Member Avatar for pcpp

hello , i am starting to program my project in c++ i need help in direction. my project is like wikpedia . i should enter about 3 value in each catagory (3*7) . the search will be by pressing some value and then a list will open with all the …

Software Development c++
Member Avatar for VernonDozier
0
107
Member Avatar for jakesee

Hi, I am playing around and trying to understand template singleton class and I accidentally created something that I am surprise it even runs. What I don't understand is when did Apple and Orange instances get created? Could you also comment on the good and bad of the Singleton class …

Software Development apple c++
Member Avatar for jakesee
0
486
Member Avatar for TheStig01

Hi all, So i basically created a database with an arraylsit. All the data is stored in the arraylist and is added by a stringLine. [B][U]All this is shown in the code[/U][/B] My Database is an Insurance Database. Well basically i'm finding it hard to find out how to actually …

Software Development java
Member Avatar for TheStig01
0
215
Member Avatar for Shail011184

please how do i create a login page using gui in java?And also how do i make the login page move to the next java page when the password is correct?

Software Development gui java
Member Avatar for javaAddict
0
129
Member Avatar for freesoft_2000

Hi everyone, I have quite a problem. I have a text pane and three menu items which are cut copy and paste. In my textpane i have some text and an embedded icon. when i select all the contents of the textpane and click cut all the contents of the …

Software Development api email java
Member Avatar for javaAddict
0
2K
Member Avatar for xavier666

Suppose the user wants to input a string. The length of the string is unknown. I also don't want a character array of size 1000 or what so ever. I want the size of the character array increasing by 1 byte for every character entered. Here is a sample output …

Software Development algorithm c
Member Avatar for Narue
0
426
Member Avatar for JAM1011

Hi there , Just wondering if anyopne could help me out with a problem I am having with a update statement. I this error [I] ExecuteNonQuery: Connection property has not been initialized.[/I] I have been at this all day and still can't figure the problem. Hope someone can put a …

Software Development open-source vb.net
Member Avatar for JAM1011
0
165
Member Avatar for j4jawaid

Can anyone tell me that how can i open a site in webbrowser component of c#. Usually i open the site easily using the following code webBrowser1.Url = new Uri("http://google.com"); But now i want to access a site which is not allowed to be opened by IE and one can …

Software Development c#
Member Avatar for j4jawaid
0
185
Member Avatar for flying_bird

Hi guys, The following code doesn't compile, and I've been banging my head why. Some header code: [code] template <typename T, typename LESS_THAN> class RestrictedSet { private : int _size; int _max_size; set<T, LESS_THAN> _S; typedef typename std::set<T, LESS_THAN>::iterator tIt; public : RestrictedSet (int max_size); RestrictedSet (RestrictedSet<T, LESS_THAN> &other); ~RestrictedSet …

Software Development c++
Member Avatar for flying_bird
0
772
Member Avatar for Excizted

Hi people. :) I'm making a function callback system for a console, so I would dynamically be able to send a function pointer to my console class, and then it would be callable from the console. Well, it works - but only with functions that are not member of a …

Software Development c++
Member Avatar for Ancient Dragon
0
259
Member Avatar for musthafa.aj

hello! i have to create Jtable with two columns one is for data(string)and another one is for animated gif file ... how can i write a gif and data in two columns respectively.... please give any sample code snippet...

Software Development image java
Member Avatar for javaAddict
0
569
Member Avatar for pac-man

Hi guys, just playing about with pointers and keywords and to my surprise, this code does not throw up an error... can anyone tell me why? [CODE] int main() { int *P = new int; *P = 50; cout << *P << endl; // output: 50 delete P; *P = …

Software Development c++
Member Avatar for pac-man
0
125
Member Avatar for b3nsoi
Member Avatar for Nile55

Can anyone please point me towards a good C# SQL tutorial. I've been looking for about 10 minutes, but I can't find a good one that actually works. I would apperciate anyone that helps me! Thanks! Nile

Software Development c# sql
Member Avatar for mahmoud_wow
0
203
Member Avatar for tqmd1

Dear Experts, How to display INT value in textbox1 in this format 45,75,147.45 I do not want to use MaskedTextbox Please help

Software Development vb.net
Member Avatar for QVeen72
0
93
Member Avatar for vinnijain

Hi!! I am making an application for generating report containing marks of students in various subjects with percentage and corresponding grades. I have two forms one for "Entering marks" and other for "generating result" . For "Entering marks" ,there are 5 combos and a textbox. From combos we can select …

Software Development
Member Avatar for avirag
0
138
Member Avatar for palcy

hi!!! am palcy , am having problem in my listview with my save button whenever i try to edit something then press the command button for saving the update that ive' done it give's me the error "querry is too complex" then pointing my "rs.Update" code any solutions or proper …

Software Development listview visual-basic
Member Avatar for QVeen72
0
122

The End.