132,726 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for harish_s

Hi All, "incremental" flag is used for incremental compilation i.e. when this flag is used, csc compiler will compile only those file that have changed. [B]This flag is exist in C# 1.1, but obsolete in C# 2.0 compiler[/B]. Can anybody tell me the replacement of this flag in C# 2.0 …

Software Development c#
Member Avatar for ddanbe
0
196
Member Avatar for adam291086

I have this script and it was working a couple of weeks ago. Now when i run it nothing is printed out other than white space. WHY??? [CODE]#!/usr/bin/env python from xml.etree import ElementTree as ET import os import urllib def find_text(element): if element.text is None: for subelement in element: for …

Software Development python xml
Member Avatar for adam291086
0
106
Member Avatar for revenge2

hello there. I'm using notepad++ at the moment and i want to switch to something a little more 'better' suited to python. Ive already gone through the huge list of text editors on [URL="http://wiki.python.org/moin/PythonEditors"]wiki[/URL]. but yeah cant decide.... what would you recommend?

Software Development python
Member Avatar for Ene Uran
0
91
Member Avatar for Aundrey

Hi Guys, I'm looking for this program that i can type in about 10 letters and 10 numbers and it will generate for me all the sequences that exist in those numbers, is there such program?

Software Development c++
Member Avatar for Nick Evan
0
142
Member Avatar for TobbeK

Hi I am completely new to C#, so please bare with me .... What I am like to do is to pass variable values between the methods below, and finally print the results in the last method. I have commented the code with explanation. This is for test purposes and …

Software Development c c# c++
Member Avatar for ddanbe
0
163
Member Avatar for jake88

Hey, I have a template xml file that i am passing a pointer to into a function. In that function i need to read and write into the template and pass it as the output file. What is the best way to go about reading and writing in the template? …

Software Development c++ xml
Member Avatar for jake88
0
289
Member Avatar for riahc3

Hey Why does the following code comply in Dev-C++ and it DOESNT in MS VS 6.0? [code=C] #include <ctype.h> #include <errno.h> #include <limits.h> #include <float.h> #include <locale.h> #include <math.h> #include <setjmp.h> #include <signal.h> #include <stdarg.h> #include <stddef.h> #include <stdio.h> #include <stdlib.h> #include <string.h> #include <time.h> void main() { int num; …

Software Development c c++
Member Avatar for riahc3
0
134
Member Avatar for navinlearns

I have been working on a program that Should Scan a small Subnet i.e for eg 10.1.1.1 to 10.1.1.255 with the subnet mask 255.255.255.0 I am attaching screenshots of the main screen of my project as "Screenshot 1" source code :jMenu.java I am posting the code here: [code=java] package projectpack; …

Software Development java java-swing open-source
Member Avatar for masijade
0
177
Member Avatar for tzushky

Hello , I have had a little surprise and maybe because I haven't read the manual well enough or can't understand all the underlying details. Imagine a small class and another file's main using an instance of that class. If I try to modify (not define !) an INEXISTANT attribute …

Software Development python
Member Avatar for Gribouillis
0
227
Member Avatar for morecrab

Hi all, I wanna take file from a folder in ftp. I have connected. But when i want to change directory, it throws an exception : 505 Here's the code : nmFtp.Host := '10.11.12.3'; nmFtp.UserID := 'anonymous'; nmFtp.Password := 'kob3'; nmFtp.Connect; nmFtp.ChangeDir('/apolo/'); Any Adv?

Software Development pascal
Member Avatar for LizR
0
116
Member Avatar for maykofs

Hello! Can somebody help me? I'm reading C++ for Business Programming and there is a exercise asking for a program able to write the folowing: X XXX XXXXX XXXXXXX XXXXXXXXX XXXXXXXXXXX XXX Using nested loops someone can solve this?

Software Development c++
Member Avatar for yukapuka
0
141
Member Avatar for ezkonekgal

When you put an item on a queue, how do you show the items inside the queue? do you use peek method? the situation is a linked queue...

Software Development java queue
Member Avatar for ezkonekgal
0
139
Member Avatar for Speedy Hawk

This is my coursework. It is test a web server written in C++ code. It must be concurrent server using Posix threads. I have got skeleton server programe already given to me (Everyone gets that). That works perfectly. I am using linux to test and write the code. I need …

Software Development c++ web-server
Member Avatar for Speedy Hawk
0
131
Member Avatar for Board22

plz help me , i would be very thank full to you i want to build a software in vb6 with folloeing features 1. i want to enter a numerical data sequenc vise in five rows and unlimeted colums like entering a data in microsoft office exel. whether it would …

Software Development microsoft-office visual-basic
Member Avatar for Board22
0
143
Member Avatar for dinilkarun

Please help me in positioning the scroll bar at the bottom of text. Please help me by providing the code snippet.

Software Development visual-basic
Member Avatar for Comatose
0
264
Member Avatar for l_03

import java.io.*; import java.util.*; import javax.swing.*; import java.util.StringTokenizer; public class Sample { public static int count = 0; public static String s[]=new String[2]; public static String s2; public static String s3; public static void main (String args[]) throws IOException{ isRead(); } public static void isRead()throws IOException{ int count2 = 0; …

Software Development java java-swing
Member Avatar for verruckt24
0
110
Member Avatar for Rombosia

Hi guys, I have OPOSPOSPrinter.ocx that I'm supposed to use to connect to a fiscal printer and print. I have installed it's drivers. According to the OCX's limited documentation, it says there should be an entry in HKEY_LOCAL_MACHINE\SOFTWARE\OLEforRetail\ServiceOPOS. I've juggled all I can on this entry with no avail. Is …

Software Development printer visual-basic
Member Avatar for jaasaria
0
612
Member Avatar for taichou

help me to find out how to make a program about tictactoe game...its really hard..[B].im hoping for an immediate answer[/B]..thanks>>by the way this is only one of my problems to be finished...

Software Development c
Member Avatar for ajay.krish123
0
90
Member Avatar for CPPRULZ

Hello I was making a program called englishweight and it has three main components englishweight.h which is a class declaration, englishweight_def.cpp which defines the public member fucntions, and EW_driver which uses the class to calculate what to do with the englishweight and preforms very basic operations. My program works WITHOUT …

Software Development c++ ide
Member Avatar for Manutebecker
0
187
Member Avatar for homeryansta

[CODE=C++]/************************************************* Student: xxxxx ID number: xxxxx Instructor: Dr. Julstrom Class: CSCI 301 Project 1 *************************************************/ #include <iostream> #include <cmath> #include <cctype> using namespace std; const int SIZE = 61; int getinput(char []); void compare(char [], char [], int, int); /************************************************* The purpose of this program is to have a user …

Software Development c++
Member Avatar for homeryansta
0
208
Member Avatar for swappy

Hello guys... First of all I don't know if I starting this thread in a correct Section..If I`m wrong then sorry mods... Well I`m developing something from which you`ll be able to control any electrical item(Make it ON/OFF) from anywhere. I just wanted to know who will any company benefit …

Software Development assembly
Member Avatar for Salem
0
139
Member Avatar for arun_lisieux

QUESTION : 2520 is the smallest number that can be divided by each of the numbers from 1 to 10 without any remainder. What is the smallest number that is evenly divisible by all of the numbers from 1 to 20? While trying to solve this problem, i came up …

Software Development c++
Member Avatar for arun_lisieux
0
495
Member Avatar for nishidh

[CODE]header.h file: #include <stdlib.h> #include <math.h> #include <malloc.h> #include <stdio.h> #include <string.h> #define STRBUF 256 /* Default string buffer size */ #define SEPARATOR(a) (a == ' ' || a == ',') ? 1 : 0 #define SUCCESS(a) if(a == NULL) { printf("\nUnsuccessful Allocation");\ exit(0);} #define HASHTBLSIZE 101 typedef struct tupleclass{ …

Software Development c dataset
Member Avatar for Salem
0
109
Member Avatar for ashishchoure

can anyone tell is there any utility like glib-mkenum for windows

Software Development c c# c++
Member Avatar for ashishchoure
0
74
Member Avatar for anu123d

Hello all! I am trying to write a program in C , which works as an efficient Login function. It is expected to have following properties: 1.Should accept the username( valid usernames are : '11user1', '12user2' & '13user3' ). The usernames are hardcoded in the program and not stored in …

Software Development c
Member Avatar for anu123d
0
11K
Member Avatar for raghavendra83

Hi All, I want to write a generic function which takes in a void pointer and length as input and writes the data referenced by the pointer to a file. Another generic function which takes in a void pointer, length and offset and reads back the data to the memory …

Software Development c
Member Avatar for Murtan
0
2K
Member Avatar for SoulMazer

For reference, I am using Python 3.0. So, I have a small script I am working on trying to improve. I am now trying to create it with only dictionaries and loops. My problem is that I keep getting a Key Error at one of my lines. The line with …

Software Development python
Member Avatar for SoulMazer
0
161
Member Avatar for FrancisC07

i am using an two dimensional arrays... and i inputed five names on it.. anyone can help me on how to output the five names?? i dont need the whole program.. i just need the code... thnx... ^_^

Software Development c++
Member Avatar for Agni
0
104
Member Avatar for shasha821110

Write my own string class is my assignment and there have some problems i can't figure out why? here is my code: [ICODE]//this is one kind of constructor--this one i couldn't change; String::String(char ch, size_t count /* = 1 */) { memset(m_buffer,ch,count); m_length=count; }[/ICODE] [ICODE]//this is overload operator String &String::operator …

Software Development c++
Member Avatar for shasha821110
0
69
Member Avatar for Ole Raptor

I have a Stored Procedure that is called through VB6 for a report. The Reports were working great until yesterday. Now all of the reports that use that sp are timing out. The default time is set to 60. I have adjusted this to 1000 and the report finally displays. …

Software Development visual-basic
Member Avatar for Ole Raptor
0
169
Member Avatar for rude04

i used setundecorated(true); to remove the buttons and border of the window,,the problem is the frame only stays where it is, because the title bar is removed i cant drag it around the screen anymore.. what code should i add to be able to drag it anywhere in the scree …

Software Development java java-swing
Member Avatar for darkagn
0
218
Member Avatar for DemonGal711

I'm working on this program for a new professor and he wants us to write out what are program is going to do before we work on it. So, I've been thinking about the program and I think I'm making it more complicated. Basically, I'm going to be given permutations …

Software Development c++
Member Avatar for DemonGal711
0
124
Member Avatar for kenji

Hi, Im having some trouble with the function and I hope some one can help. The function is supposed to go through an class array and loop for an empty spot. If it finds one its copies data to the data members. Otherwise it creates a temporary array and copies …

Software Development c++
Member Avatar for StuXYZ
0
285
Member Avatar for Coyboss

Hello everybody, I know what I want to do with the code, but I am not sure where exaclty to put the "if" statements. I am working on a weekly payroll program and I need to put in an if statement so it throws an error if the weekly hours …

Software Development java
Member Avatar for Coyboss
0
274
Member Avatar for orwell84

I'm getting into bash shell scripting with Ubuntu 8.10, and the tutorial I'm using is telling me to open the file .bash_profile which is allegedly in the home directory. However, I cannot find this file, except in /usr/share/doc/adduser/examples/adduser.local.config.examples/skel and it's called "dot.bash_profile". Plus, the whole thing is just comments. The …

Software Development file-system shell-scripting ubuntu
Member Avatar for Aia
0
207
Member Avatar for daviddoria

Anyone know a good, simple set of classes to do thing like cartesian to spherical conversion, coordinate system transformations, etc? I wrote some of this stuff, but my code keeps breaking because of "special cases" that I have not handled. I just want to be able to use this stuff …

Software Development c++
Member Avatar for StuXYZ
0
201
Member Avatar for wheatontrue

Hello - my Python 2.5 IDLE used to start up, but now it won't. I tried looking at the preferences - those don't have any glaring mistakes. When I try to start it command line I get the following error: Microsoft Windows XP [Version 5.1.2600] (C) Copyright 1985-2001 Microsoft Corp. …

Software Development microsoft-windows python
Member Avatar for wheatontrue
0
320
Member Avatar for rataiii

hello. im new here.. i was wondering if any of you would know where to look for some literature for how to make simple lan messenger. nothing fancy just for chat.. ty

Software Development
Member Avatar for jbennet
0
89
Member Avatar for Stefano Mtangoo

I have python 2.6 portable and would pop error when I import wx. After some search, I found The prementioned package missing in the XP system. I downloaded and Installed and went fine. My Question is : Is there any way to add vcredist_x86.exe's missing DLL direct to wxpython directory …

Software Development c++ python
Member Avatar for Stefano Mtangoo
0
177
Member Avatar for rock9449

[code=cplusplus] #include <iostream> using namespace std; int main () { int choice,num1,num2,answer; cout<<"This is a caculator program which will do math for you\n"; cout<<"Please Choose From one of 4 math operators\n"; cout<<"1 +\n"; cout<<"2 *\n"; cout<<"3 -\n"; cout<<"4 \\n"; cin>>choice; if (choice==1) { cout<<"please enter in two numbers to add" …

Software Development c++
Member Avatar for shasha821110
0
94
Member Avatar for codedhands

Hello.Please i have a problem with my code.I am trying to edit a file.The problem occurs when i use the seek function.for example,i have a file outlined like this: [CODE] myfile.txt <Name>Ben</Name> <Age>32</Age> <Sex>Male</Sex> <Country>Mars City</Country> [/CODE] Now,when i try to edit the Age,i use the code: [CODE=python] f=open('myfile.txt','a') f.seek(17,0) …

Software Development file-system python
Member Avatar for lllllIllIlllI
0
100
Member Avatar for samtan

Was wondering about Null pointers , do they really point to location zero in memory and does that location got all the bits zero. Does this mean a NULL pointer points to itself? [CODE] Node<Type> *A = 0; A = Find_Node(Position-1)->R_Link; [/CODE] I have this code , where "Find_Node" function …

Software Development c++
Member Avatar for samtan
0
116
Member Avatar for starzstar

Hi, I am new to Python and have a requirement to develop a simple requirement to design a login screen, and then a screen which will have two parts in it one will show local files and other files on server I am planning to use tkinter for this is …

Software Development python tkinter
Member Avatar for jlm699
0
115
Member Avatar for Blackeagle

Hello, i'm trying to print specific lines from a file using only [U]one command[/U] for example: a file contains 30 lines , i wish to print the content of lines 13, 14, 15, 16?? what command to use for that?

Software Development shell-scripting
Member Avatar for Salem
0
100
Member Avatar for Stonehambey

Hi guys :) Did a bit of searching but couldn't find much on this, so I thought I'd ask here. I want a Tkinter Label to display a polynomial, so naturally I need to put some superscript formatting onto it. But I can't seem to work out how to. Any …

Software Development python tkinter
Member Avatar for Ene Uran
0
2K
Member Avatar for leegeorg07

hi again i have been looking at the bacon cipher and i have made this [ICODE]import re dictionaryofcodes = {'A': '11111', 'B': '11110', 'C': '11101', 'D': '11100', 'E': '110111', 'F': '11010', 'G': '11001', 'H': '11000', 'I': '10111', 'J': '10110', 'K': '10101', 'L': '10100', 'M': '10011', 'N': '10010', 'O': '10001', 'P': …

Software Development python regex
Member Avatar for leegeorg07
0
125
Member Avatar for puneetkay

Hello everyone, Im back, with a new problem. LOL! I need to change Java datatypes to SQL types. I have sql queries as String object. like this one : [CODE=sql]create table MyTable ( id bigint, name String , city String , state String ) OR create table MyTable ( id …

Software Development java sql
Member Avatar for masijade
0
182
Member Avatar for Ravi Kant

Please Help me. Please see the attachment. I have created a project and have coding problem. Please help me. it's urgent.

Software Development visual-basic
Member Avatar for binoj_daniel
0
101
Member Avatar for smelf1

Hi all, I am currently displaying the information stored in the security logs in event viewer in vista. But i cannot get the category task to display like it is in vista (Special logon, logon, audit policy change) when i use evententry.category.tostring it just displays a number. Anyone know how …

Software Development vb.net
Member Avatar for rapture
0
203
Member Avatar for spanish

Hello, Please i need some assistance running a perl script, i obtained a Google API key, installed a a perl editor to run the program, The server for the program went down,so this is the only way to access the application, however i experience errors when debugging the program on …

Software Development api google-api pdf perl
Member Avatar for KevinADC
0
160

The End.