132,726 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for SpS

Having return types of constructor means taking address of constructor(which is illegal)...can u explain me this....

Software Development c++
Member Avatar for Narue
0
352
Member Avatar for sara.rythm

Hello Everyone, This is my first day here. I've not browsed the site yet. But I wanted to know the answer of these questions. I'd be glad if anyone of you can help me. 1.Write a C++ program without using any loop (if, for, while etc) to print numbers from …

Software Development c++
Member Avatar for Dave Sinkula
0
943
Member Avatar for Nonie

Pls. help me. I have a list box that connect to a dao table. The list box is populated by a pnr_no field from that table whenever a command button is clicked to make it visible. From the list box, I can click whatever PNR No. that was displayed in …

Software Development display visual-basic
Member Avatar for Nonie
0
86
Member Avatar for jasna

hello! i am in a great dilemma.iam a student.ilove writing programs and love experimenting. i was writing a code in C to enter all directories and their files(in my computer) into a hash table and then to search for the presence of a file.if the file is present,itmust display the …

Software Development c display
Member Avatar for jasna
0
175
Member Avatar for G-Do

Here's a cute little encipher/decipher program with a Tkinter GUI I wrote a while back. It's an implementation of a derivative of the Vigenere algorithm; the algorithm is taken from Laurence Smith's [U]Cryptography: The Science of Secret Writing[/U], Amazon link [URL=http://www.amazon.com/exec/obidos/tg/detail/-/048620247X/qid=1125004078/sr=8-1/ref=sr_8_xs_ap_i1_xgl14/102-6170856-3267319?v=glance&s=books&n=507846]here[/URL]. It's a dated book (and the technique itself is …

Software Development algorithm gui python tkinter
Member Avatar for G-Do
0
390
Member Avatar for boki

1. I use SharpDevelop and i really need to use a WebBrowser component,i studied In Wikipedia how to do import ActiveX,but there is a little problem,if you want to import ActiveX you have to have SDK framework, i have 1.0 and 1.1 but they arent SDK,i have SDK 2,0 beta …

Software Development
Member Avatar for boki
0
181
Member Avatar for Drowzee

I spent a few hours grappling with data corruption until I found something interesting. My code was getting crunched after a certain point because of an sprintf overwriting the first byte of the array right after it. After some research, I found something interesting and irritating. According to MSDN, [quote] …

Software Development c gui
Member Avatar for Drowzee
0
2K
Member Avatar for mccarthp

Hello, I am new to Python and I am just starting to figure things out but this one has me stumped. I need to capture the exit code of my processes in order to track them in a database. I have all the other components working except this. In DOS …

Software Development first-post python sql
Member Avatar for G-Do
0
252
Member Avatar for Somfy

Hello, this is my first post ever sow please don't kill me right away but I am looking for some code to get started with ... I am a hardware guy :o but I would like to start using my basic knowledge on C++ for one of my personal project …

Software Development c++ first-post
Member Avatar for Somfy
0
126
Member Avatar for ramcfloyn

Hello I'm interested in manipulating a *.tif file using C++. I am aware of libtiff which features library files and utilities for tiff manipulation but this seems largely C based and also i'm having trouble setting up the environment in borland builder 6. Does anyone have any other alternatives to …

Software Development c++ image
Member Avatar for ramcfloyn
0
129
Member Avatar for c#dummie

hi how do i specify criterior using textbox and button in form1 and display results using textbox controls in form2? thanks! =)

Software Development display
Member Avatar for c#dummie
0
121
Member Avatar for Micko

Hello, I've downloaded PythonWin as a better IDE for writing Python code. I came across an interesting issue (as vegaseat pointed out) When I try to write this sentence in my native language "Ja sam

Software Development ide python
Member Avatar for Micko
0
181
Member Avatar for MastaPho

currently using JBuilder Foundations task is to display a .gif file in JApplet from my hardrive the URL is C:\MAGIX Should the image file be located elsewhere in a specific place? import java.awt.*; import java.awt.event.*; import javax.swing.*; public class Applet1 extends JApplet { public void init(){ Container contentPane=getContentPane(); ImageIcon icon=new …

Software Development display image java java-swing
Member Avatar for server_crash
0
87
Member Avatar for chiwawa10

greetings, I would like to build a subset from a Hashtable. The subset is a Hashtable too. How could I do it? Is there any API out there? Any advise or guideline are appreciated, thank you! :rolleyes:

Software Development api java
Member Avatar for jwenting
0
446
Member Avatar for kokopo2

Hi guys, do any of u know how to extract a certain amount of bits from a parameter(instruction) and return the bits as a integer in a range . for example i would like to extract the opcode field i would extract from bits 31 to 26. but if i …

Software Development c++ display
Member Avatar for Dave Sinkula
0
1K
Member Avatar for freesoft_2000

Hi everyone, I have a rather silly question but what is the maximum amount of characters the String object can hold? This is what i mean [code] String str1 = some buffer that contains about 5 million characters as a string [/code] What i am afraid is that if the …

Software Development java
Member Avatar for alpha_foobar
0
110
Member Avatar for shashankk

Can anyone pl. mail turbo c++ setup as attachment to << moderator edit: email snipped >>

Software Development c++ email
Member Avatar for kc0arf
0
386
Member Avatar for leonn

i gat a mmogame called RF online but the game is in korean some pp translated a little of it but i wont to know how to do it so i can finsh it its a EDF file and i wont to add more maps to the server becouse the …

Software Development c++
Member Avatar for kc0arf
0
99
Member Avatar for Sembiance

Hi folks :) I've been working on a C/C++ Source Code search website for over a year now, and just thought I'd let you all know that I put recently. It allows you to search over 136 million lines of open source C/C++ source code. It actually understands C/C++ syntax, …

Software Development c++ open-source
Member Avatar for Sembiance
0
109
Member Avatar for bops

hi again people, im working on a simple program to look into a text file and output details about it. It seems to work fine for the first part but at the end of a while loop the code seems to stop working, i have had a little play about …

Software Development c++
Member Avatar for bops
0
255
Member Avatar for baba0880

Hi Everyone, ColumnName DataType Length AllowNulls sampleKey char 10 engDesc char 40 Yes frDesc char 40 Yes When I try to add a record,if the Textbox is empty then I am getting an errror. If it's not empty then it adds to the table. But in database, I checked those …

Software Development vb.net
Member Avatar for baba0880
0
165
Member Avatar for dummy00

where can i download a java compiler? :confused:

Software Development java
Member Avatar for server_crash
0
135
Member Avatar for deepakkrmehta

hello sir sir i am doing data structure using c but sir i have some problems in how to get algoritham complexity.please tell me which site contain full detail on algoritham complexity although i have read full chapter but some little bit confusion so plz sir thanx from deepak kr.

Software Development c data-structure
Member Avatar for Ancient Dragon
0
115
Member Avatar for sbedford

Hi I am currently writing a program where it gets to a point where it has to ask a question. I have created a group box which pops up, asking the question and giving a yes/no choice. the onclick event of the "yes" button sets a bool to true and …

Software Development delphi pascal
Member Avatar for sbedford
0
386
Member Avatar for Busted

:confused: Could any one justify why is the result of the following code 100 100 100 99 99?? main() { static int arr[]={97,98,99,100,101,102,103,104}; int *ptr=arr+1; print(++ptr, ptr--, ptr ,ptr++ ,++ptr); } print( int *a, int *b, int *c, int *d, int *e) { cout<<*a<<" "<<*b<<" "<<*c<<" "<<*d<<" "<<*e<<endl; }

Software Development c++
Member Avatar for Ancient Dragon
0
95
Member Avatar for harshchandra

if i write [code] if(printf("C is Wonderful") { } [/code] It worked. But if i write [code] if(cout<<"C is wonderful") { } [/code] Can anyone tell me whats the reason behind it ?

Software Development c
Member Avatar for harshchandra
0
201
Member Avatar for tayspen

ok when i enter text in a text box and hit a buttonj i want it to replace the text in a url webBrowser1.navigate ("urlgoeshere"); i want it to replace a certain string in it but i dont know how any ideas?

Software Development
Member Avatar for tayspen
0
101
Member Avatar for MrConfused

Thus far I have always chosen the font Courier New because all letters are the same width. Is there any way of determining how "long" a string will be when using other fonts? I would like a way of checking the string's actual length so I can format a printout …

Software Development visual-basic
Member Avatar for MrConfused
0
181
Member Avatar for neologic

[code] class String { char* pData; public: String(); //default constructor ~String(); //default destructor String( String&); //copy constructor const String& operator=( String&); //overloaded assignment operator void operator==( const String&); //overloaded compare operator String operator+( String); //overloaded concat operator void operator[]( int); //index operator String( char*); //one argument operator char* GetBuffer() { …

Software Development c++
Member Avatar for Stoned_coder
0
123
Member Avatar for satrix36

I have recently made a program that stores peoples names, address, etc in a text file. On one of the forms, I want there to be a search option, so the user can search by name and then the persons address is displayed. Like a search engine in a database. …

Software Development delphi pascal
Member Avatar for satrix36
0
353
Member Avatar for vancasas

What are Algorithm simulation modeling (documentation )tools

Software Development algorithm c
Member Avatar for nattylife
0
100
Member Avatar for c#dummie

im a total newbie to c#, visual studio .net 2003 and even Access database 2000.. im doing my forms using visual studio and my data are all stored in access db.. i've some vague concepts abt how to design my app.. im not sure it'll work as i do not …

Member Avatar for nattylife
0
148
Member Avatar for a1eio

I want to read everything from a file using python. the one problem i am having (note: EVERYTHING from a file) is that python is returning an EOFError when i know that it's not the end of the file, is there any way to just read the damn thing till …

Software Development file-system python
Member Avatar for vegaseat
0
505
Member Avatar for abhay_fgr
Member Avatar for techniner
0
112
Member Avatar for marijana

HI! pls, can anybody help me, this is my problem: i have an application on two computers, it stores data in the access 2000 database. One database is design master, and another is its replica. Everything works fine, but i have to synchronise databases ( design master and replica) manually …

Software Development database-design vb.net
Member Avatar for marijana
0
167
Member Avatar for cleblanc

I'm completely new to python and really need help with this. I have written this basic cash fund program that allows a person to withdraw, deposit, and receive a balance from it. But now I need to now add email capabilities, by setting up a database (or list) of account …

Software Development email python
Member Avatar for cleblanc
0
254
Member Avatar for Drowzee

I'm trying to do some inheritance/polymorphism, and so I'm making a parent class. This is in the header. [code] class CProtoType { public: CProtoType(){}; virtual ~CProtoType(){}; virtual CString field1(); virtual CString field2(); virtual CString field3(); virtual CString field4(); virtual CString field5(); }; [/code] And this is the source: [code] #include …

Software Development c
Member Avatar for Drowzee
0
108
Member Avatar for princeinc

can anyone pls help me to complete this questions?? i'm new in programming , n i'm not very sure how to even start to do this programs....so help needed urgently..preferably the program can be done in Java or C ++... thank u No1. Develop a program to simulate a computer …

Software Development algorithm first-post java queue
Member Avatar for freesoft_2000
0
119
Member Avatar for iamthwee

Hi guys i have abadoned my ofther assinement becoz it woz 2 hard to learn classes and i stil need 2 learn a function proberly.my teacher said if i not understand functions yet then i wait to learn classes. tank u again 4 your help. Now i need to do …

Software Development c++
Member Avatar for iamthwee
0
227
Member Avatar for nephish

Hey there, i have a simple question about getting a script to do two things at once. like this. for i in range(100): print i time.sleep(.2) if i == 15: os.system('python /home/me/ipupdate.py') print 'done' when i run this, it stops at 15 and runs the script called out in the …

Software Development python
Member Avatar for nephish
0
176
Member Avatar for xav.vijay

Hai Friends This is my first post to this forum. I am new to Python but I find its quite interesting. I have a problem with the folowing code... ########################## import telnetlib import sys HOST = "192.168.10.5" USER = "somename" PASSWORD = "somepassword" telnet = telnetlib.Telnet(HOST) telnet.read_until("login: ") telnet.write(USER + …

Software Development first-post python
Member Avatar for xav.vijay
0
8K
Member Avatar for switty

Hi! I'm a student and I have a project in Java and its title is Virtual Keyboard....can you please help me on how to create that virtual keyboard pls...and also can you please leave your e-mail add so that i can chat with you....thanks a lot! :lol:

Software Development java
Member Avatar for switty
0
192
Member Avatar for nephish

i have an interesting project at work going on. here is the challenge. i am using the serial module to read data from a serial input. it comes in as a hex. i need to make it a binary and compare it bit by bit to another byte. They have …

Software Development python
Member Avatar for nephish
0
161
Member Avatar for cjm771

ok so last time I was here, I was programmin tic-tac-toe and its great. Now I have programmed hangman! :D . Anyways right now its for two players only. So I want it so the computer will choose a random word from a text file and assign that to my …

Software Development c++ file-system
Member Avatar for cjm771
0
4K
Member Avatar for akoloff

Here the code where I'm trying to set last-accessed attribute of the file to some value. [code]hFile = CreateFile(szDestName.GetBuffer(255), GENERIC_WRITE | GENERIC_READ, FILE_SHARE_WRITE | FILE_SHARE_READ, NULL, OPEN_EXISTING, 0, 0); GetFileTime(hFile,&createTime,&accessTime,&writeTime); writeTime.dwHighDateTime -= 1000L; accessTime = writeTime; SetFileTime(hFile,&createTime,&accessTime,&writeTime); // at this point access and write(modified) times are equal CloseHandle(hFile); // at …

Software Development c
Member Avatar for Ancient Dragon
0
166
Member Avatar for konacious

I am having problems with the most important section of this program. I must admit after reading, I understand the concept, but applying it to this particular program is not coming through. I am attaching the source code but the portion I am having problems with is the following: void …

Software Development c
Member Avatar for Ancient Dragon
0
139
Member Avatar for Avner .H.

Hello! I need some help... I parsed an xml file using the minidom.parse method, but when i printed the document object to the screen (using toxml() function), i noticed that the parser automatically replaced my " (inverted commas) chars into ' chars. for example : <Father_Tag> <Son_Tag title=' "Son" '> …

Software Development python xml
Member Avatar for vegaseat
0
230
Member Avatar for cancer10

Wot is the difference between declaring a Global Variable and a Public variable? I mean both variables can be accessed through out the project so wots the main difference apart from that Global variables cannot be declared in forms but modules only?

Software Development visual-basic
Member Avatar for jwshepherd
0
317
Member Avatar for winbatch

Here's what I'm trying to do: create an empty/NULL char * in one place, pass it to a function who will populate it (and tell me the size), and then use the char * elsewhere. However, when I get out of the function.. Here's the function that expects the char …

Software Development c++
Member Avatar for Narue
0
273
Member Avatar for rhari_81

Respected Sir/Madam, I am a beginner in vb programming and i want to try out some applications which might make me more confident.So,can you guide me what type of applications can i try and how to proceed further for implementing the same.Awaiting your response for the same. Yours Sincerely, Harish.R

Software Development visual-basic
Member Avatar for ndw2004
0
185

The End.