132,726 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for hery
Member Avatar for AndreRet
0
418
Member Avatar for anuraggupta16

when i compile, it gives the following error : Undefined first referenced symbol in file main /auto/usc/gnu/gcc/4.2.1/bin/../lib/gcc/sparc-sun-solaris2.10/4.2.1/crt1.o ld: fatal: Symbol referencing errors. No output written to a collect2: ld returned 1 exit status Can anyone please tell as to what's going wrong here.[code]I have some code where i want to …

Software Development c++
Member Avatar for MattyRobot
0
121
Member Avatar for ragheshpokkattu

Hi Anyone know how to correct a currupted database using vb code? Please help me out to solve........

Software Development visual-basic
Member Avatar for Davidpoul
0
254
Member Avatar for drabsch

I need to create a form using code. Is there a way to do this. like in the code i need to create a form with a name, caption and text box in it.

Software Development visual-basic
Member Avatar for drabsch
0
3K
Member Avatar for Web_Sailor

Hi, I am trying my hands on Java Regex. Here is my program below with the description of what I require it to do actually. The thing is that this MyKeyword May occur multiple times in a file. Also My program works for a file like this:- [CODE](\\S+)<tab>MyKeyWord<tab>(\\S+)<tab>(\\S+) (\\S+)<tab>MyKeyWord<tab>(\\S+)<tab>(\\S+)[/CODE] but …

Software Development java regex
Member Avatar for masijade
0
110
Member Avatar for Kombat

You are required to write a C program to carry out a strict-left-to-right evaluation of an arithmetic expression consisting of integer constants and the operators +, −, *, and /. Here, the operator / denotes integer division; that is, the remainder is discarded. In a strict-left-to-right evaluation, there is no …

Software Development c
Member Avatar for Salem
0
432
Member Avatar for mduduDan

I am trying to incorporate a biometric fingerprint reader into a c# application. The dll's associated with the reader hardware are Microsoft.VC80.CRT.manifest, msvcp80.dll, msvcr80.dll and id3CertisImage.dll. I think to be able to use the reader I need to add these files as references on the project, but this fails with …

Software Development assembly c#
Member Avatar for sknake
0
197
Member Avatar for vishalkhialani

Hi, I need to use the borland c++ complier for making my college project. I use only linux and I am unable find the compiler. Any help will be much appreciated as I am stuck. cheers, Vishal p.s- Gcc and other compilers are not allowed for the project .

Software Development c c++
Member Avatar for vishalkhialani
0
523
Member Avatar for linkpraveen

Where ever i see i find a Stack example on generics.. can anyone please point me to some real world example or sample project using Generics. Regards Praveen

Software Development
Member Avatar for Rashakil Fol
0
2K
Member Avatar for scootscoot

I am writing a circular/ring buffer of a specified size. I am struggling with figuring out if my code is working. It compiles and runs with no problem, but I try testing it with print statements and I get confused. Can anyone give me some advice for how to test …

Software Development c
Member Avatar for dkalita
0
146
Member Avatar for markfisher

Dear Programmers, Hi I wrote a simple asm program to output a char on STDOUT in windows (MS-DOS) Here is my code: ------------------------------------ .386 .MODEL FLAT .STACK 256 ;Reserve 256-Bytes .DATA char BYTE "a" .CODE _main: MOV AH, 02h ;Sub-function 02h -> Output STDOUT MOV DL, char ;Char to output …

Software Development assembly
Member Avatar for wildgoose
0
157
Member Avatar for NickyPhun

Hi, nice to meet you guys, i have a questions needs some helps from you guys, at the moment i have to get a title for my final year project, and i am totally got no idea in my mind, so can anyone give me some hints on the title …

Software Development java
Member Avatar for Rahul Bhat
0
179
Member Avatar for gerbanzo129

Hey i have this homework problem that i can't seem to solve. i have already did the rest of the program but i have to change the output of this program but i can't seem to make it work. the output they want is.. Home Owner Price of Home Seller's …

Software Development c c# c++ ios
Member Avatar for necrolin
0
95
Member Avatar for benjaminhan

Hi All, Is it possible to filter 2 fields in Adodc? My code is shown below: *****-----*****----- With Adodc2.Recordset .Filter = "DOC_DATE = '" & myDate & "'" If .EOF Then MsgBox "Item Not found" .Requery End If End With *****-----*****----- But I need to filter another field on top …

Software Development visual-basic
Member Avatar for benjaminhan
0
121
Member Avatar for benjaminhan

Hi, All I am trying to do 2 level filter on datagrid. First I search the datagrid for same customer number. Than search again by date. The problem I encounter is the first search works just fine (it return me records of a particular customer no.). But when it comes …

Software Development visual-basic
Member Avatar for benjaminhan
0
132
Member Avatar for PYGUY

HI, I've got a list of 10 websites in CSV. All of the sites have the same general format, including a large table. I only want the the data in the 7th columns. I am able to extract the html and filter the 7th column data (via RegEx) on an …

Software Development python regex
Member Avatar for PYGUY
0
1K
Member Avatar for AutoPython

The title doesn't really make sense, as a number with some thing like .23238382 attached to the back of it isn't an integer, but that's not the point. I want to make a program that places commas in the correct position in a number you give. Well, in some of …

Software Development python
Member Avatar for AutoPython
0
192
Member Avatar for Trekker182

Hello everyone, I'm writing some code for an assignment that reads in a line of characters into a STL list, sorts them alphabetically and then has to reorganize them vowels to the front. Right now I'm stuck on the step of writing a function that accepts the list as a …

Software Development c++ ios
Member Avatar for Trekker182
0
198
Member Avatar for Kombat

You are required to write a C program that accepts two decimal integers, say d and r. You may assume that the first decimal integer d is nonnegative and that the second decimal integer r which represents the radix, will be one of 2, 3, 4, . . ., 15, …

Software Development c
Member Avatar for yellowSnow
0
2K
Member Avatar for dbmikus

I am writing a function to extract decimals from a number. Ignore the exception and its syntax, I am working on 2.5.2 (default Leopard version). My function does not yet handle 0's. My issue is, the function produces random errors with certain numbers, and I don't understand the reason. I …

Software Development python
Member Avatar for dbmikus
0
237
Member Avatar for lotrsimp12345

I know their are some in C so shouldn't their be some in C++?

Software Development c++
Member Avatar for lotrsimp12345
0
174
Member Avatar for Merovingian

I have two function that replace certain strings in a text file. The first one works perfectly: [CODE] Dim readAlias As String Dim RxDIR As String = Nothing Try RxDIR = Registry.GetValue("HKEY_LOCAL_MACHINE\Software\RLtd\R", "MAIN", False) RxDIR = RxDIR + "\Bin\Configuration\alias.config" Dim sr As StreamReader = File.OpenText(RxDIR) readAlias = (sr.ReadToEnd()) sr.Close() sr.Dispose() …

Software Development regex vb.net
Member Avatar for Merovingian
0
122
Member Avatar for TGeorge824

Hi, for an assignment I have to do, we have to made a Stack and Queue, and read data from a file and add to queue and push onto the stack. Well, I made an array implementation of a stack that works fine, but the array implementation of the Queue …

Software Development c queue
Member Avatar for Dave Sinkula
0
925
Member Avatar for lllllIllIlllI

This code shows an example of using recursion to simply solve a problem. Note though, it can take a long time to do larger numbers such as the 50th fibonacci numbers this way. Hope this helps! :)

Software Development python
Member Avatar for sneekula
0
211
Member Avatar for nateuni

My unit doesn't teach this so I am unaware about the correct syntax to go about what I want to do. I have hit google but have produced no answers to my specific problem. So here we go. I have a series of nested structs. Is this possible that instead …

Software Development c
Member Avatar for nateuni
0
527
Member Avatar for newjavastudent

Hi guys, could anyone tell me why my code cannot input contents into the file, thanks in advance.[code]import java.io.*; import java.util.Scanner; public class FileIO { /** * @param args */ public static void main(String[] args) { // public void writeToFile(){ try { File outFile = new File(args[0] + ".txt"); PrintWriter …

Software Development file-system java
Member Avatar for freelancelote
0
84
Member Avatar for klabak85

Hi all, I'm a completely new user of python (and by new I mean I started using it yesterday) but I've been programming for a couple of years now in other languages such as Java. I have a question to ask you all. So what I want to do is …

Software Development file-system python
Member Avatar for jice
0
150
Member Avatar for Caleb2419

I was given an assignment to create a high/low program (well, the first part anyway) that fulfills the following pseudocode: • Print instructions to the user • Start with the variables high = 1000, low = 1, and tries = 1 • While high is greater than low ◦ Guess …

Software Development python
Member Avatar for Caleb2419
0
241
Member Avatar for ihatehippies

My app works fine when its a .py file, however as soon as I compile it with py2exe 0.6.9 I get LookupErrors when using the email MIME library. I tried including the "packages": ["encodings"] option in py2exe but to no avail. I'll post the relevant code and traceback. (note: not …

Software Development audio file-stream os-x python
Member Avatar for ihatehippies
0
135
Member Avatar for why1991

I have been trying to create a program that outputs four arrays created with random ints doubles chars and booleans. It will compile but when I run still gives me the same variables which have nothing to do with my input at all, but my char array works perfectly. [CODE]import …

Software Development java
Member Avatar for jasimp
0
82
Member Avatar for RedWinger

Hello everyone, I'm having a bit of an issue here. I'm doing a Knight's Tour program for class, and thought I just about had it until this problem popped up. While I was writing my code, I had some simple cout test statements after some of the function calls just …

Software Development c++
Member Avatar for Salem
0
101
Member Avatar for gendler.max

I'm trying to learn how to add and move objects in VB6 through the code module. SO far i've figured out how to insert an object but have no idea how to change the position. This is what i have so far: Option Explicit Private WithEvents cmdOk As CommandButton Private …

Software Development visual-basic
Member Avatar for gendler.max
0
242
Member Avatar for daviddoria

I have a function like this: [code] bool MyFunction(dist) { if(dist < 1.2) { std::cout << "Passed test!" << std::endl; return true; } else { std::cout << "Failed test!" << std::endl; return false; } std::cout << std::endl; } [/code] gcc tells me "warning- control reaches end of non-void function". However, …

Software Development c++
Member Avatar for StuXYZ
0
276
Member Avatar for Mafia619

i am tryin to make a c++ program to play tic tac toe.........there are some errors hope u guys can help me out......... [CODE]#include<iostream.h> #include<conio.h> #include<stdlib.h> char matrix[3][3]; void cou(void); int main() { int m,n; char ch='y'; while(ch=='Y'||ch=='y') { for(m=0;m<3;m++) { for(n=0;n<3;n++) { matrix[m][n]='\0'; int i,j,sum=0; while(sum<10) { if(sum==0) { …

Software Development c++
Member Avatar for sfuo
0
280
Member Avatar for Glasmensch

Hi, I'm writing an application which is intended to run as a service. Everything works fine except if I try to read a file. When running the app as a normal application I can read the file content. As soon I start the app as a service I got the …

Software Development visual-basic
Member Avatar for AndreRet
0
142
Member Avatar for johndoe444

The following is the randomized Binary search tree insertion algorithm mentioned in sedgewick's book. "This function makes a randomized decision whether to use the root insertion method of Program 12.13 or the standard insertion method of Program 12.8. In a random BST, each of the nodes is at the root …

Software Development algorithm c++
Member Avatar for johndoe444
0
142
Member Avatar for bond000007

Hello friends... I am Jasdeep Singh. I am pursuing my B.Tech in civil engineering from DAVIET, Jalandhar.. I require some help urgently. Actually, we have freshers on 4th September. In freshers, we have one event in which we choose Mr. Turbunator from boys and Ms. Smile from girls. I need …

Software Development engineering visual-basic
Member Avatar for AndreRet
0
86
Member Avatar for Supercharger

i need help with this C++ array excercise.... it seem quite simple but im not sure what code i need to put where. help is greatly appreciated... Excerise:: [url]http://www.lhs.logan.k12.ut.us/~rweeks/cp1/array.htm[/url]

Software Development c++
Member Avatar for dgr231
0
156
Member Avatar for Warcat

Ok, this is actually very simple I just can't figure it out... first of all I'm a complete beginner in C++ and I was given this assignment to do a dice game (yes assignment, please note that I'm not looking for a code, just help on how to do it). …

Software Development c++
Member Avatar for sfuo
0
113
Member Avatar for Gaiety

can i use statements like: int num; fread(&num,sizeof(num),1,stdin); fwrite(&num,sizeof(num),1,stdout); i tried this and debugged the code the variable is having the correct value. but that is not getting displayed. can't i use stdin , stdout in fread and fwrite.

Software Development c
Member Avatar for codeguru_2009
0
1K
Member Avatar for mckinnm

I have a Form A that is displayed on a thread that also contains a heartbeat monitor. When an error occurs, we need the new form, Form B to be displayed until the close button is depressed and for Form A to be non-functional until that time; however, we need …

Software Development
Member Avatar for mckinnm
0
93
Member Avatar for Quath217

I know just little enough about building macros in Excel with VB to be dangerous and currently have the following situation. I've created a macro for use with log files that generally contain the same information. The macro was recorded using the Ctrl+F action to find text string 1, go …

Software Development office-suite visual-basic xml
Member Avatar for AndreRet
0
215
Member Avatar for Mafia619

i am tryin to make a c++ program to play tic tac toe.........there are some errors hope u guys can help me out......... #include<iostream.h> #include<conio.h> #include<stdlib.h> char matrix[3][3]; void cou(void); int main() { int m,n; char ch='y'; while(ch=='Y'||ch=='y') { for(m=0;m<3;m++) { for(n=0;n<3;n++) { matrix[m][n]='\0'; int i,j,sum=0; while(sum<10) { if(sum==0) { …

Software Development c++
Member Avatar for Salem
0
104
Member Avatar for av_javabeg

could somebody help me creating a program through which i can control utorrent via bluetooth.. as in startin pausing or updating trackers and stuff.. could u please create 1 and explain me? plz

Software Development java
Member Avatar for Salem
0
117
Member Avatar for GooeyG

The assignment is to design a savings account program. The program has to include: a constructor that accepts an argument of type double and uses it to set savingsBalance. If the value is passed is less than 0, set savingsBalance to 0. Add a public member function named calaculateMonthlyInterest that …

Software Development c++
Member Avatar for GooeyG
0
149
Member Avatar for jhunluis

This program I wrote has the following error: (33,5):Declaration syntax error (64,2):Declaration missing ; [CODE]#include <stdio.h> #include <conio.h> int range1(int a); int range2(int b); int range3(int c); int range4(int d); int main() { int in, ctr, ctr1=0, ctr2=0, ctr3=0, ctr4=0, ctr5=30; for(ctr=1;ctr<=30;ctr++) { printf("Enter %d integer values within 1-200: ", …

Software Development c
Member Avatar for Salem
0
166
Member Avatar for TGeorge824

Hey Guys, sorry but i guess I posted a code snippet when I shouldnt've. That was my first daniweb thread. The program I'm trying to run checks to see if a number is perfect, abundant or deficient. It's perfect if its factors add up to the number(ie 6 = 3+2+1), …

Software Development c
Member Avatar for yellowSnow
0
96
Member Avatar for privs

Hi folks. I inherited an FTP program from a colleague that left the team so i have to do C++ programming now. The problem is that the FTP program throws up winsock errors. the FTP skips these errors but after a while it terminates the program. So I writing another …

Software Development c++
Member Avatar for VernonDozier
0
145
Member Avatar for rajesh.hck

Hey guys, I am new to C++ coding. Can anyone help me and tell me how can I get a C++ Compiler free for study purpose.

Software Development c c# c++
Member Avatar for dgr231
0
102
Member Avatar for perumar

Hello all, I could finally save my array to the textfile but how can I format the textfile so that i will have 9 rows and 9 columns [code] Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles SaveButton.Click Dim cellValue As String, i As Integer Dim returnValue …

Software Development vb.net
Member Avatar for perumar
0
114

The End.