132,726 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for Dmiller071

Hi all, I have a slight problem with a java applet of mine. I play a video game that tracks realm and world ranks and I'm making this applet to put on my site to display current standings. My main problem is currently in the testing of this applet. Once …

Software Development java java-swing
Member Avatar for Dmiller071
0
273
Member Avatar for nuclear

Hi, I would like to get an advice, lets take SDL lib as an example. Recently I've been declaring sprite sheets that certain classes use ( player, enemy... ) globally and thought that a better way would be to load sprite sheets inside a class thats using it but if …

Software Development c++ file-system
Member Avatar for Schol-R-LEA
0
151
Member Avatar for adohertyd

I am writing a spellchecker program and have some issues. First thing is that I need to make better use of the memory. My code iterates through a large dictionary file repeatedly. I know its better to read this into memory first then iterate through the block but I really …

Software Development c programming-construct
Member Avatar for VernonDozier
0
212
Member Avatar for ablitz

Im trying to to write a program in C# and I'm stuck. The program suppose to create a post on wordpress via xmlrpc. I can create the post successfully but I have problems creating custom fields for the post. So when I open created post, custom fields are never there. …

Software Development c c# c++ wordpress xml
Member Avatar for man7tomani
0
574
Member Avatar for Dregron

Hey first time posting about code so please say if you need more information than what i give you... I'm having trouble with a timer, am trying to wait 2 secs then add 5 to Defender.Bullets but they are a delay on this and it bugs out if i keep …

Software Development java
Member Avatar for Dregron
0
228
Member Avatar for MrEARTHSHAcKER

Hi, I'm playing around with pointers and I found out something. For example, I have the array of objects of structure, and wished to point to it over the pointer which already points to it ( pointer to pointer to array of objects. ). Confusing? Code: [CODE]struct person{int number;}; int …

Software Development c++
Member Avatar for MrEARTHSHAcKER
0
202
Member Avatar for VB 2012

Hi people is Krypton toolkit free or must you still pay because of trial They say you get free toolkit on download now do they mean if you pay the program or if you only download trial you still get free toolkit. Plus does anyone know how good the speed …

Software Development vb.net
Member Avatar for VB 2012
0
105
Member Avatar for princessotes

i have two files containing lists and I would like to perform some manipulations with the numbers. file 1: [list] A 1 B 2 C 3 [/list] and file 2: [list] A 4 B 5 C 6 [/list] I have written the following code to read in the files and …

Software Development python
Member Avatar for woooee
0
93
Member Avatar for akkbkht

Hello all. I am making an application like an antivirus, My question is that I am able to detect the infected hash value, can I delete or remove this infected hash value from this file? Thanks n Regards.:cool:

Software Development vb.net
Member Avatar for gusano79
0
193
Member Avatar for beckhris

Hello, I'm in a beginners c++ class and I need to write a program that calculates the area and perimeter of a triangle of sides: a, b, and c. The lengths of each side (values for a, b, c) are written in an input file (.txt), so the program has …

Software Development c++ file-system
Member Avatar for WaltP
0
3K
Member Avatar for toantk_55

I have some problem I have a file .s with codes: [CODE] #double cel2fahr(double *temp) #{ #return 1.8 * (*temp) + 32.0; #} .section .data cel: .double 30.5 scale: .double 1.80 output: .asciz "The fahrenheit value is: %lf\n" .section .text .globl _start _start: mov $cel,%eax call proc_cel2fahrenheit movl $output , …

Software Development assembly ubuntu
Member Avatar for gusano79
0
89
Member Avatar for jaai

hi, can anyone tell me how to draw a line using opengl es2.0

Software Development c++ opengl
Member Avatar for jerl
0
151
Member Avatar for alpdoruk

Hello everybody, I wrote a script as like below arr = [(line.rstrip('\n').split(';')) for line in open('C:/Config_Changer.csv')] import sys import fileinput for i, line in enumerate(fileinput.input('C:/1.cfg', inplace = 1)): for f,t in arr: if 'description' not in line: line = line.replace(f, t) sys.stdout.write(line) ok my problem is my config changer file …

Software Development python
Member Avatar for alpdoruk
0
266
Member Avatar for skp03

After creating a project in vb.net how to make a separate file so that by clicking on the file the project should directly execute

Software Development vb.net
Member Avatar for Reverend Jim
0
287
Member Avatar for kartouss

hello, can anyone help me how to encrypt an image that is how the values in the image are read and saved in a file... I need to load an image and then the program will extract the pixel values and save it in a file and then the values …

Software Development c++ image
Member Avatar for Zhassan
0
1K
Member Avatar for VB 2012

[CODE]Public Sub Makeready() Dim CurrentVersionFile As String = My.Computer.FileSystem.SpecialDirectories.Temp & "\Memory Freeo Plus Current Version.txt" Dim MemoryFreeoPlusVersionWriter As New IO.StreamWriter(CurrentVersionFile, False, System.Text.Encoding.Default) Dim StorageFile As String = My.Application.Info.DirectoryPath & "\Process Storage.MemFreoPls" Dim MemFreoPlsStorageWriter As New IO.StreamWriter(StorageFile, True, System.Text.Encoding.Default) If IO.File.Exists(StorageFile) Then MemFreoPlsStorageWriter.Close() Else MemFreoPlsStorageWriter.Write("") MemFreoPlsStorageWriter.Close() End If If IO.File.Exists(CurrentVersionFile) Then …

Software Development storage vb.net
Member Avatar for VB 2012
0
200
Member Avatar for Hussam Alahmadi

in this assignment make the program read 10 integers and store them in an array. Then, pass this array to a method that finds the largest integer in the array, and counts its occurrences. Your method should return a string of the form largestNumber

Software Development java
Member Avatar for stultuske
0
143
Member Avatar for oli82

Hi, Thank you for your help in advance, i am trying to create a dictionary, the code below works fine if I have two columns in each row with no spaces, however one of the columns data natively has spaces in it e.g. Sarah me hy uuuuu at the moment …

Software Development python
Member Avatar for oli82
0
2K
Member Avatar for placebo1

i want to read parameters from a file. but the program reads all parameters as if they are zero.any help? here is the code [CODE] typedef unsigned long int WORD; unsigned long int parameters[2]; WORD pt1[2]; void readConfig() { char a[3]; FILE *p; p = fopen("config.data", "r"); if (p) //we …

Software Development c
Member Avatar for placebo1
0
185
Member Avatar for FiToKa

Hello, everybody! I've been struggling on implementing the Binary Tree data structure with some standard functions in it. After reading information from many sources and some work on my own, I've came up to this: [url]http://pastebin.com/B6Gtjb61[/url] Problems occur in the main funciton. What I can't understand is why does the …

Member Avatar for FiToKa
0
274
Member Avatar for jimmymack

Can someone please help me break down the following examples so they are easier to understand because I don't understand them at all. Many thanks in advance Evaluate the following: 1) (true && true) || false 2) (false && true) || true 3) (false && true) || false || true …

Software Development c++
Member Avatar for v3ga
0
122
Member Avatar for gerchi152

Hi!!! I'm having hard time in manipulating a combo box with list view. For example if the selected index in the combo box is "boy" then the list view will display a database table allotted for boys and if the selected index is "girl" then the list view will display …

Software Development listview vb.net
Member Avatar for gerchi152
0
1K
Member Avatar for 03hasnam

[CODE]import java.awt.*; import java.awt.event.*; import javax.swing.*; import javax.swing.event.*; import java.text.*; import java.lang.*; import java.util.*; import java.io.*; public class PaymentNewGUI extends JFrame{ private JButton tenP, twentyP, fiftyP, onePound, twoPound, payButton; JTextField ticketID; Label lEntranceTime; Label lPaymentTime; Label lTimeDifference; Label lDue; Label lInserted; Label lMessage = new Label("Enter Your Ticket Number"); Container …

Software Development java java-swing
Member Avatar for JamesCherrill
0
1K
Member Avatar for roona

Hay everyone I need help I have project in subject programming languages about make one idea on two languages c and java . I have made it in java but I couldn't in c this is the code in java [CODE] Class Link // Link.java // to run this program: …

Member Avatar for zeroliken
0
218
Member Avatar for CReza

I have to write persian (farsi) characters to a text file, but after writin when I open the file ,it's contents are unreadeable in persian and ther is some special characters pleaseeeeeeeeeeeeeeeeeeeeeeee help :-(

Software Development c
Member Avatar for v3ga
0
179
Member Avatar for iPanda

How can I use the "datetime" class to get a different time zone than mine? (for example gmt = 0 or utc+2) Thanks!

Software Development python
Member Avatar for iPanda
0
131
Member Avatar for mangatmodi

Something is not going right in the following code. I am taking an array of strings from user and printing at the same time. Array can have [B]noe[/B] no. of strings, as noe is entered by user. [CODE]#include <stdio.h> int main(){ char **p; int noe=0,i=0,j=0; scanf("%d", &noe); p=malloc( noe * …

Software Development c
Member Avatar for v3ga
0
154
Member Avatar for peter20

Hi all, I have to check and give grades to some projects written in C. Do you know a free program which detects source code plagiarism ? I found CodeSuite but it asks me for key. Thanks in advance

Software Development c
Member Avatar for L7Sqr
0
304
Member Avatar for namratag

How to get value from key in map?

Software Development c++
Member Avatar for L7Sqr
0
66
Member Avatar for lohath

[QUOTE]: Hello every one. I have described what program has to do and what i have did plz help me. Program has to take input from the user(i1) and print it, but if the user doesn't give any within 2 seconds program has to print some other variable(i2) ( which …

Software Development c++
Member Avatar for L7Sqr
0
130
Member Avatar for jerrohnny

Hi Guys, Am one of those changing careers. I am retraining on an IT Conversion course at the moment and has just started java. Being a conversion program, it is running really fast and I am working really hard to catch up and fully understand, am gonna need all the …

Software Development client-server java
Member Avatar for JamesCherrill
0
117
Member Avatar for BCBTP

I was wondering if anyone has some good examples of running python functions and scripts within C++ using the Python C API. I can't seem to understand the ways of the Python C API, and was expecting something more similar to the Lua C API. The real question is "What …

Software Development api c++ python
Member Avatar for vijayan121
0
318
Member Avatar for dennysimon

usualy I run java app ( I create by my self) by click it's jar file. How to run it via click an icon on desktop ( how to link between icon and the jar file thank you denny

Software Development java
Member Avatar for dennysimon
0
584
Member Avatar for bhagyap

this.tableLayoutPanel1.ResumeLayout(false); An unhandled exception of type 'System.StackOverflowException' occurred in mscorlib.dll occurred for the above line.. Please help me...

Software Development asp.net
Member Avatar for bhagyap
0
233
Member Avatar for karthik.datt

The withoutcomment.txt file contains : [general] "PC", 0x0, 32, RW, reg , 1, "Program Counter (R15)"; "LR", 0x11, 32, RW, reg , 18, "Link Register (R14)"; "SP", 0x10, 32, RW, reg , 17, "Stack Pointer (R13)"; But i am able to print only first line but its not going to …

Software Development file-stream java
Member Avatar for stultuske
0
173
Member Avatar for ibthevivin

So basically I'm stuck at the do-while statement. Should I use a do while? or a for loop? This program is supposed to test my ability to use loops. [CODE]/*Create an application that reads an integer value and prints the sum of all even integers between 2 * and the …

Software Development java programming-construct
Member Avatar for stultuske
0
239
Member Avatar for Traicey

Guys I have been trying to figure this out until this very moment The problem is I need a piece of code that will not allow the user to enter any negative number in the text box This how it should work, if the user trries to enter this "-" …

Software Development java
Member Avatar for stultuske
0
166
Member Avatar for aishapot

Hello i want to the textbox that when I start to type in names it should be like this [B]Camille Aisha Cordova[/B] How do I do this?

Software Development vb.net
Member Avatar for aishapot
0
2K
Member Avatar for sulagno

[B]I need to convert this xml into another one to send a soap message[/B] [CODE] <?xml version="1.0" encoding="UTF-8"?> <SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/" xmlns:ns1="urn:Magento" xmlns:SOAP-ENC="http://schemas.xmlsoap.org/soap/encoding/" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" SOAP-ENV:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"> <SOAP-ENV:Body> <ns1:customerCustomerListResponse> <storeView SOAP-ENC:arrayType="ns1:customerCustomerEntity[2]" xsi:type="ns1:customerCustomerEntityArray"> <item xsi:type="ns1:customerCustomerEntity"> <customer_id xsi:type="xsd:int">1</customer_id> <created_at xsi:type="xsd:string">2007-08-30 23:23:13</created_at> <updated_at xsi:type="xsd:string">2008-08-08 12:28:24</updated_at> <increment_id xsi:type="xsd:string">000000001</increment_id> <store_id xsi:type="xsd:int">1</store_id> <website_id xsi:type="xsd:int">1</website_id> <email xsi:type="xsd:string">john.doe@example.com</email> <firstname xsi:type="xsd:string">John</firstname> …

Software Development xml
Member Avatar for sulagno
0
312
Member Avatar for ##k.k##

Hello All, I am copying file from one machine to another machine after that execute that file on remote computer using c#. I am using below command to copy file File.Copy(sourcePath, DestinationPath, true); and ManagementClass remote_Class = new ManagementClass ("\\machineName\root\\cimv2:Win32_Process"); object[] remoterun = { destPathwithFileName, null, null, 0 }; remote_Class.InvokeMethod("Create", …

Software Development microsoft
Member Avatar for ##k.k##
0
164
Member Avatar for stupidenator

Hi everyone, I am having a problem while trying to do an operator overload of operator<< I am getting: [CODE]Stack.cpp:96: `std::ostream& Stack::operator<<(std::ostream&, const Stack&)' must take exactly one argument Stack.cpp:96: no `std::ostream& Stack::operator<<(std::ostream&, const Stack&)' member function declared in class `Stack'[/CODE] I can't seem to find why I am getting …

Software Development c++
Member Avatar for journeyjie
0
10K
Member Avatar for matrixcool

Hello, I have a file and this it how it looks like: 6 {a, b, c, d, e, f} 1 1 1 0 0 0 0 1 1 0 0 0 0 0 1 0 0 0 0 0 1 1 0 0 0 1 1 1 1 0 1 …

Software Development java
Member Avatar for zeroliken
0
2K
Member Avatar for Ole Raptor

Hello, I am trying to go through a list of comboboxs and set the selected value from the itemdata. So far I have this working for a single combo. I have a few combo's that I need to do this for and was trying to find a way to pass …

Software Development visual-basic
Member Avatar for ChrisPadgham
0
170
Member Avatar for jessCPP

Doubts with sidt instruction. Hi Friends! I have a doubt with the sidt instruction. The Intel documentation for “SIDT m” stated: [code] Stores the content of the IDTR in the destination operand. The destination operand specifies a 6-byte memory location. If the operand-size attribute is 32 bits, the 16-bit limit …

Software Development assembly
Member Avatar for NotNull
0
145
Member Avatar for janvi.dodia

Hi everyone.. i m developing an application to backup files\directories to a server.. i initially developed it in RMI but then to make it possible to run over Internet i made some modifications and used sockets.. I have designed few packets for sending login details, file information to be backed-up, …

Member Avatar for zeroliken
0
1K
Member Avatar for matrixcool

Hello, I have a file and this how it looks like: 6 {a, b, c, d, e, f} 1 1 1 0 0 0 0 1 1 0 0 0 0 0 1 0 0 0 0 0 1 1 0 0 0 1 1 1 1 0 1 1 …

Software Development file-system java matrix-multiplication
Member Avatar for matrixcool
0
247
Member Avatar for Jean Declaix

In the following code : [COde]#!/usr/bin/python # -*- coding: iso-8859-1 -*- import Tkinter import os import threading class Fil (threading.Thread): def __init__ (self): threading.Thread.__init__ (self) print "Init Fil" def f1 (self): print 'f1' #app().ecrit(1) class App(Tkinter.Tk): def __init__(self,parent): Tkinter.Tk.__init__(self,parent) print "Init App" self.initialize() ping() def initialize(self): self.grid() self.bouton1L = Tkinter.Label(text="-", …

Software Development os-x python tkinter
Member Avatar for Jean Declaix
0
251
Member Avatar for Labdabeta

I am getting extra garbage at the end of the string returned by this function. Why? [CODE]char *read(char *fname) { FILE *file=fopen(fname,"r"); printf("Opening input file...\n"); if (file==NULL) return NULL; int length=0; char *ret=new char[length]; while (!feof(file)) { char ch=fgetc(file); char *temp=new char[length+1]; for (int i=0; i<length; i++) temp[i]=ret[i]; delete[]ret; if …

Software Development c++ file-system
Member Avatar for mike_2000_17
0
242
Member Avatar for NoUserNameHere

If there were 2 nodes like this: [url]http://i.imgur.com/21x2m.png[/url] Would newNode be pointing to itself if there was a code like: [CODE]newNode->next = intNode->next[/CODE] Also what would intNode be pointing at if this code was right after the one above it: [CODE]intNode->next->prev = newNode[/CODE]

Software Development c++
Member Avatar for mike_2000_17
0
147
Member Avatar for Lemony Lime

I'm making an RPG, and am trying to split things up into multiple files to organize things better. (I mean, character creation alone was over 2000 lines.) But this is something that I've never done, and I'm really not sure how to do it. So, if I could get some …

Software Development python
Member Avatar for ret801
0
289

The End.