132,726 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for sarabhjeet

Can u please tell me how to detect ascii and non-ascii strings in python? Editor's note: In the future, please give your thread a meaningful title.

Software Development python
Member Avatar for woooee
0
113
Member Avatar for jonathanasdf

Hello everyone, I have been visiting this site often as a guest, and I've noticed that it is a very nice community. Now, I have a question myself, and I hope I will be able to get some answers =D Anyways, I started learning C++ about... 2-3 weeks ago. Not …

Software Development c++
Member Avatar for jonathanasdf
0
144
Member Avatar for Villanmac

Hi wait (unsigned int delay) wait (unsinged long delay) Whats the difference between the two, i forgot to test this out, basically its part of a delay for seven segemtn display which just cycles through numbers, what would be the difference between the two? thanks for nay help

Software Development c++
Member Avatar for vmanes
0
225
Member Avatar for XCal1ber

Hey guys, I just signed up, and I have a question. I am trying to develop a text-based game using Dev C++, and I am trying to get out of the "enter 1 to go east, enter 2 to go north, etc." approach, and am trying to move onto a …

Software Development c++
Member Avatar for Narue
0
268
Member Avatar for MONITORING

I am trying to create a folder with in a folder by passing a parameter. this is what I am trying to do parameter I am passing in a function today(date) is 20080124 and declared a variable dir=/ab/bc I want to create a directory with this this parameter value with …

Software Development shell-scripting
Member Avatar for MONITORING
0
101
Member Avatar for fayyaz

Dear All I want to Drag and Drop sum objects at Run time. For example I have som buttons, Edits, ... On a form and I want that (after runing the program) I can to Changing their Position By Drag and Drop opration. Please Help me Thanks alot. H.Fayyaz

Software Development pascal
Member Avatar for fayyaz
0
99
Member Avatar for loushou

Okay... my goal is to start with an array of for instance 5 entries. [CODE]int myArray[5];[/CODE] Then at some point once the array is passed to a function, change the number of entries (example: load a new list of something into the array that has a different number of entries) …

Software Development c++
Member Avatar for Narue
0
83
Member Avatar for paurik

Hi, is there any1 who has tried to read the SMBIOS using C. If yes, then i m having some problems in it. If possible help me out. As a starting to extracting Hardware information from SMBIOS, i hv written this code to find out the Structure Table Address. First …

Software Development c data-structure
Member Avatar for Ancient Dragon
0
1K
Member Avatar for GSTARRAW

I've been trying to solve this problem,but I failed.I stuck in runtime.I checked my codes and algorithm many times,but I can't figure where the problem is.So I need help!These are my code. [[CODE]//-------------------backTrack.h---------------------------------------------------// #ifndef BACKTRACK #define BACKTRACK #include "Application.h" #include "Position.h" class BackTrack { public: BackTrack (const Application& app); void …

Software Development algorithm c++
Member Avatar for vijayan121
0
156
Member Avatar for omeralper

i want to implement a binary tree code but i encountered a problem. after i insert some numbers to tree, i couldn't print my numbers except first one or i couldn't insert the numbers except first one. As a result my binary tree doesn't work, it only shows the first(root) …

Software Development c++
Member Avatar for sweety0
0
106
Member Avatar for missileh

If i have 4 contiguos bytes (Example: 78h, F2h, 43h, A0h) in memory that refer to a 32-bit physical address. Then how can i form a 32-bit physical address out of these? After forming the physical address how can i read contiguous data (1byte at a time) from that address …

Software Development c
Member Avatar for Ancient Dragon
0
127
Member Avatar for Zinc15

[B]I need help To comment this program for my college work[/B] [CODE]#include <stdio.h> int main() { int a; a = 0; while (a <= 300) { printf("%4d degrees F = %4d degrees C\n", a, (a - 32) * 5 / 9); a = a + 20; } return 0; }[/CODE]

Software Development c++
Member Avatar for sweety0
0
74
Member Avatar for eng_ams2007

[B][COLOR="Green"] hello everybody i need book about c # this book is mastering visual c# .net[/COLOR][/B]

Software Development
Member Avatar for ujwaliyer
0
102
Member Avatar for sharath61

hi, this is sharath. i m new to .net... i m doing this with c# in window based application can u just guide me i av a pbm, i have several rows stating from A to M, i av put tht in a panel say, in 1 panel i av …

Software Development c c# c++
Member Avatar for ujwaliyer
0
100
Member Avatar for Aashath

I have implement a desktop lookup mechanism . Indexing and retrival works fine. But when a file is updated , created or deleted i would like to get the notifaction so that i can update my index . Is there any C++ code availabe for FileSystemWatcher ( which is in …

Software Development c++
Member Avatar for vijayan121
0
166
Member Avatar for danielzee

i am a writing a program to captured a bitmap from one computer and send it to another computer on a LAN network the problem is that i alway get a prefect first bitmap pic on the picturebox on the client computer but one that follows it will be distorted …

Software Development client-server vb.net
Member Avatar for Eric132
0
138
Member Avatar for nikolabt

I have make connection with the Access DB in Visual C# 2005 everything is ok and working great. The wizard has make and toolbar for adding deleting data and saving.So my question is how i can make now when the user click on let say want to delete data show …

Software Development c#
Member Avatar for nikolabt
0
254
Member Avatar for Dell XPS

i have 20 numbers that i need to randomize to 20 variables.... any ideas example numbers would be: 1 5 10 20 50 100 200 500 1000

Software Development vb.net
Member Avatar for Dell XPS
0
103
Member Avatar for KimJack

Hello All, I am trying to parse a text file with the following type lines: Mr. Jones has a "dog" and a "cat" I need to extract the dog and cat and put them into an array of Items. Here is the set up: character = read.read(); char first = …

Software Development java
Member Avatar for KimJack
0
200
Member Avatar for loushou

So finally after a little waking up i fixed my write to a file in raw binary problem. Now I am trying to load the same data from the file i created. Here is the code I came up with. [CODE]#include <fstream> #include ".\vertexs.h" using namespace std; int LoadVerts(char *s_fName, …

Software Development assembly c++ file-system
Member Avatar for Duoas
0
111
Member Avatar for CodyOebel

Ok this is what I am wanting to achieve : I have a notepad filled with documentation, and there is some key words in the document that: IF EXIST = is copied from the document and then sent in an email to someone. IF NOT EXIST then the last three …

Software Development c++ email
Member Avatar for Ancient Dragon
0
124
Member Avatar for Ravi Singhal

Hi all, My query is that I have some tables in MsAccess. Using that tables I want to create some more table by putting some query. (Like I want to merge two table in a single table.) How it is possiple by using VB6.

Software Development visual-basic
Member Avatar for jireh
0
64
Member Avatar for ukinaru

RUN-TIME ERROR '40006' WRONG PROTOCOL OR OR CONNCETION STATE FOR THE REQUEST TRANSACTION OR REQUEST. that is my problem,, here is my code that has an error. Private Sub Text2_Keypress(keyascii As Integer) If keyascii = 13 Then keyascii = 0 List1.AddItem (Text2.Text) Winsock1.SendData Text2.Text Combo1.SetFocus End If End Sub please …

Software Development client-server visual-basic
Member Avatar for ukinaru
0
116
Member Avatar for Webbsta

I'm using a system.timers.timer in my console application, but i don't know what the sub would be to trigger each time the interval elapses, can anybody help, thanks. SOLVED: all i did was use this: Dim WithEvents Timer1 As New System.Timers.Timer and Private Sub timer1_tick() Handles Timer1.Elapsed MsgBox("TICK!!!") End Sub

Software Development vb.net
0
97
Member Avatar for vossch

I have two output files that are generated from a perl script. They are very similar but different. Out of the 25 characters or so in each output, there is only 2 that I need to compare against each other. What is the best approach for this? Thanks, Chris

Software Development perl
Member Avatar for KevinADC
0
72
Member Avatar for noodlneck

Hello I'm haveing a problem running my program because i keep getting error C2447: '{' : missing function header (old-style formal list?). Can someone explain to me how to fix this problem? Below is a copy of my program. The program is designed to take three number inputed buy the …

Software Development c++
Member Avatar for noodlneck
0
333
Member Avatar for bis student

I want to know what is the differnt between continue and the break ?

Software Development c++
Member Avatar for JRM
0
132
Member Avatar for nljavaingineur

Hello fellow developers, Does anyone know why I keep getting this error message "illegal start of expression"? I've already checked my braces. They matched. Still.....[This is code for the basic operation of a calculator n my code is as follows] [CODE]public void button2_actionPerformed(ActionEvent e) { applyOperator('+'); } public void button14_actionPerformed(ActionEvent …

Software Development java
Member Avatar for electron33
0
145
Member Avatar for starkman

Hello!! I thought I would try and post a problem I have been unable to solve as of yet, though I imagine is easy for experts ;oP I am trying to play around with the mouse functions of Windows, attempting to create a sort of mouse free environment that uses …

Software Development api c++ windows-api
Member Avatar for Lerner
0
637
Member Avatar for new_2_java

Hi all, I am reading values (user name and password) from user's input, and I need to mask the password which is entered by user in the command line... Can someone give me a hint which class do I need to look at? Appreciate your inputs. Thanks.

Software Development java
Member Avatar for new_2_java
0
163
Member Avatar for dmotah

hi, im new to java...and the rest like swing and all that stufss. i got a code but i want to change the applet a bit , i mean the way it is diplayed. ken u help. and yes i want wen i click exit button the applets closes and …

Software Development java java-swing
Member Avatar for electron33
0
119
Member Avatar for twoheadedboy

Hello, I'm looking for some help with this short and simple program which I've had problems with for ages. The code for the last solution was apparently right, just didn't work. Anyway here is the latest one: [code]#include <iostream> #include <cmath> using namespace std; int main() { const double dx=0.1; …

Software Development c++
Member Avatar for twoheadedboy
0
163
Member Avatar for HowBil

Hey guys, I'm new at this and was wondering if someone could help. I need to calculate the average amount of gallons used per km driven but I don't know how to do it. What do I need to include in my code(below) to include an average? I'd appreciate any …

Software Development c++
Member Avatar for Lerner
0
223
Member Avatar for programmingme

Hey Everyone! I have two - hopefully simple - problems that I need help with. I wrote an atm program in c++ that works except for two things... (1) the part where I calculate the balance based on the interest rates for the checkings and savings accounts need to be …

Software Development c++
Member Avatar for JRM
0
279
Member Avatar for ahmad usama

hello.....to all of you.... i m in urgent need of codeof download accelarator....if u kno plzz.....any link....tell me... byye...byeee....

Software Development java
Member Avatar for jwenting
0
281
Member Avatar for nilma

Dim dbnil As Database (not identifying the database name by the APP.Path) Dim rscustomer As Recordset Private Sub Command1_Click() If Text1 = "" Then MsgBox "please enter ID", vbCritical, "customer" Text1.SetFocus Else If Text2 = "" Then MsgBox "please enter the name", vbCritical, "customer" Text2.SetFocus Else rscustomer.AddNew customer(" ID") = …

Software Development visual-basic
Member Avatar for choudhuryshouvi
0
107
Member Avatar for loushou

I am trying to dump 2 longs, an array of floats and DWORDs, and an array of shorts into a file, USING BINARY out mode. Here is my code: [CODE]#include <windows.h> #include <fstream> #include ".\vertexs.h" using namespace std; int WINAPI WinMain(HINSTANCE hInstance,HINSTANCE hPrevInstance, LPSTR lpCmdLine, int nShowCmd) { OURCUSTOMVERTEX p_verts[5] …

Software Development c++
Member Avatar for Duoas
0
101
Member Avatar for olams

Hi, I am writing a program about getting the nth fibonacci number using a class that i have created. I am having problems with it. Any help is greatly appreciated. [code] *void lfib(int a){ int i; eArray x(500), y(500), ans(500); x=y=1; for(i = 1; i<=a; i++){ ans = x + …

Software Development c++
Member Avatar for Duoas
0
67
Member Avatar for baheddad

please could any one give a short note about java ajax?

Software Development java
Member Avatar for baheddad
0
91
Member Avatar for Flixter

Can someone help me with this task? Write a C++ class that implements all the functions of an ordered dictionary using (2,4) tree??? Needs me for today if someone now somethnig pls send something.

Software Development c++
Member Avatar for Narue
0
109
Member Avatar for hidash_in

hi, i have a problem in accessing an application from the domain server. can any one is there to clear my problem./ Advance thanks hidash

Software Development java
Member Avatar for electron33
0
139
Member Avatar for dexter1984

Hi, I did some C++ assignments and was confused about a certain code. [CODE=language] #include <iostream> #include <iomanip> using namespace std; int main() { long result, input, num, count; count = 0; cout << "key in number"; cin >> input; while (input>0) { count++; input /=10; } cout << count; …

Software Development c++
Member Avatar for dexter1984
0
95
Member Avatar for dee2020

hi friendz.., im working on "feedback form analysis" project the first main aim of my project is to store data submitted by the user from the feedback form in a text file which can be accessed randomly. For that.... i wrote the following code: [B] CODE:[/B] Private Type feedbackdata Laboratory(0 …

Software Development visual-basic
Member Avatar for dee2020
0
178
Member Avatar for rmd

hey there, i want to write a c program to read array from a text file .....which looks something like this ex.txt 123 245 465 12 37 84 984 i want to write a program to read these values and subtract each value from the next one(like 245-123,465-245,....and so on …

Software Development c
Member Avatar for Salem
0
110
Member Avatar for Abhishek Anand

Which files are needed to run assembly program? Where has to save this program? How this program will run? From where can I get those files? Thanks, Abhishek Anand.

Software Development assembly
Member Avatar for Tight_Coder_Ex
0
107
Member Avatar for hattusili

hi, when i compile my c code at visual C++ 6.0, i got some errors and i can't fix it, please help.. my C file uses the unistd.h and the code is /* This is defined as a real library function to allow autoconf to verify its existence. */ int …

Software Development c++
Member Avatar for Salem
0
238
Member Avatar for BlackPelican

I am taking a C++ course, though I am far behind due to my inability to grasp the material. and i must complete 3 projects by Jan. 29. I am having ALOT of trouble implementing the switch statement, and I don't know how to make it loop back the user …

Software Development c++
Member Avatar for Salem
0
987
Member Avatar for abar

Hi, I want to have a button in Borland C++ builder 6, for which the background color can be changed. The default TButton available in bcb 6 is wrapper to the windows button & does not have the color property. I went thro the net & found some code for …

Software Development c++
Member Avatar for abar
0
302
Member Avatar for SergioQ

Curious if anyone here has any experience with Image::Magick for Perl? The code in red does create a GIF file in the new dimensions, but it is blank, or should I say black. I know the $src handle is good, as I use it in the Thumbnail module and it …

Software Development image perl
Member Avatar for SergioQ
0
117
Member Avatar for kux

here is the thing: i have a constructor that calls a member function, the function throws an exception, i catch the exception in the constructor, free all dynamic allocated variables and then rethrow the exception when i rethrow i get this: Unhandled exception at 0x10210e32 (msvcr80d.dll) in Test.exe: 0xC0000005: Access …

Software Development c++
Member Avatar for kux
0
225

The End.