199,114 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for sdhawan

HI I ama reading text froma file that have word like "you're" and it gives me Unclosed quotation mark before the character string ') error.Can anyone help me with this .Thanks [code] using System; using System.Collections; using System.ComponentModel; using System.Data; using System.Drawing; using System.Linq; using System.Text; using System.Windows.Forms; using System.Data.SqlClient; …

Member Avatar for kvprajapati
-1
727
Member Avatar for edbirdmann

I am writing the following program that calculates the average of a group of test scores where the lowest score in the group is dropped. It has the following functions: void getScore()-should ask the user for a test score, store it in a reference parameter variable, and validate it. This …

Member Avatar for schoenfelder.p
-1
460
Member Avatar for itmasterw

I am trying to learn how to populate a tree, I did this same thing back in Vb6 and am trying to learnhow to do it in VB.Net, but I am having trouble with the code. It just jumps out put leaving the tree blank; and it gives no error …

Member Avatar for finito
-1
286
Member Avatar for hetalraithatha

Hi Everyone, I would like to get some help in a way to convert C code to DLX assembly code.I have tried to search if there are tools available which would perform this, but whatever I find is to convert to MIPS assembly code. Guidance to move further in this …

Member Avatar for UncleLeroy
-1
578
Member Avatar for Brokenpwn

Hello, I've been having this error come up whenever I try to compile this code: [CODE]#include "stdafx.h" #include "Strides.h" int m_Stride; bool chams = true; bool onetime = true; int main(); { if (chams) { const BYTE bRed[60] = //red { 0x42, 0x4D, 0x3C, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, …

Member Avatar for Brokenpwn
-1
458
Member Avatar for kalaiselvi.v

File file = new File("filename"); FileInputStream fis = new FileInputStream(file); len = (int)file.length(); //prepared stmt st.setBinaryStream(1, fis, len); I have uploaded the file into mysql database from servlet program. But how to read that file or tell me how to upload a doc into the database.

Member Avatar for electricrain
-1
921
Member Avatar for khan17

hello, is it possible to sign out from the website programmatically.. if possible means how can i? thanks in advance

Member Avatar for khan17
-1
298
Member Avatar for superchica08

hello everyone i was wondering if anyone would be able to help me in an program i have to do. the program wants me to use my initials A and G and plot them on using gotoxy() function to make some thing that look like the picture in the link …

Member Avatar for superchica08
-1
919
Member Avatar for apurva agarwal

hi!! i want to know about the huffman algoriyhm and its implementation. how the huffman code works and its use, a code in c/c++ language

Member Avatar for asim88
-1
420
Member Avatar for abdulgirei

Hello Forum, Pls I present to you a problem which has denied me sleep for the past 2days. I'm working on my final year project which is titled "DIGITAL ALARM CLOCK USING PIC16F84A" and I seem to be having problem with the source code. Im a newbie in pic programming …

Member Avatar for joycekram1021
-1
1K
Member Avatar for TrustyTony

I started to think how to create up and down style loop, and what I ended up was this. Wanted to do it little unconventional way though to demonstrate the property of range as list.[code]for n in range(8): for i in range(n)+range(n-2,-1,-1): print i, print """ Output: 0 0 1 …

Member Avatar for TrustyTony
-1
484
Member Avatar for lionaneesh

[B]Introduction[/B] Hey! Guyz.. Welcome to my very short tutorial explaining basic uses of "malloc" function in C language. [NOTE : You need simple understanding about pointers to understand this tutorial] Hey guyz see by reading this tutorial you'll not be a malloc expert .. This tutorial is only for the …

Member Avatar for lionaneesh
-1
402
Member Avatar for Samoht VII

Ok so I am trying to write a piece of code that when a user inputs say "A = 'ls'" instead of outputting the files from the directory it will store the output in 'A'... If you get what i mean. SO say the directory /Desktop has stuff.txt and main.cpp …

Member Avatar for Salem
-1
284
Member Avatar for anjaliua

I have created an owl ontology using protege.Is dere any way to query the owl ontology n give the results to python code??

Member Avatar for merchise
-1
420
Member Avatar for tquiva

Hi everyone. I just finished creating a program similar to minesweeper, but it's called miensfeld. The rule of the game are stated in the intro of the program. I was just wondering if anyone would mind checking it out for me? I just can't seem to compile it. But please …

Member Avatar for jephthah
-1
617
Member Avatar for nonemsludo

I am trying to write a function that returns true if the number of vowels in a word are equal to the consonants or false if otherwise, but I keep on getting an error that the word is not defined, I need help to debug my code [code] def word(n): …

Member Avatar for nonemsludo
-1
462
Member Avatar for larvee

How to create an assembly program that will allow the user to enter somer characters and group the characters according to the following: alphabets, numbers, and special characters. ASAP. thanks.

Member Avatar for thines01
-1
3K
Member Avatar for Ntsoaki

Hi i am new at python,i am getting problem in the above code,the problem reads as follows: Having several accounts on several servers, one has to remember many passwords. You can imagine a situation where someone forgets one of them and he or she only remembers that it consisted of …

-1
337
Member Avatar for a1eio

Hi, all you daniwebber's!!! Simple (ish) question, AI seems to be a really cool subject, the one problem for me is that i havn't a clue at all what it is and how it works (more to the point, how i could learn to implement it) So i'm just wondering, …

Member Avatar for rico001
-1
278
Member Avatar for brain007

Make a project, consisting of 3 modules: student.cpp, course.cpp and register.cpp. Write source and header file for a program that registers students for courses. Design a class student that stores the name of the student, the id number and array (vector) of all course numbers for which the student is …

Member Avatar for Salem
-1
385
Member Avatar for cuddlers89

I saw somewhere that invision power board is free unless you want technical support, but on the website i can't find anywhere to download a free copy. Am i right, if so where can i get a free copy of ipb from? Thanks

Member Avatar for Assinaters99
-1
7K
Member Avatar for kneiel

Hi i am trying to write a script to match a '' at the END of the line. For eg. i have a file Temp1 which contains :- [code] a = b + c \ +d; printf("\n"); [/code] Objective: To match the '' in the 1st line and NOT the …

Member Avatar for cfajohnson
-1
890
Member Avatar for saura

Hello anyone, I am a new visual studio C++ user. and i had the same problem that " error LNK2019: unresolved external symbol ". Now i solved it through your tellings ( menu Project --> Properties (bottom item of the popup menu) -->expand the Configuration Properties tab --> Linker --> …

Member Avatar for saura
-1
1K
Member Avatar for tyson.crouch

G'day, I'm obtaining a set of data from the DB. I know that i must use an array, however i cannot for the life of me remember what type of array i need to use. My data set contains String, Double and datetimes. Should i use an arraylist ? or …

Member Avatar for javaAddict
-1
347
Member Avatar for emilyp

Hello. I'm using Visual C++6.0, and Windows XP. I am trying to connect to a database. I want to add some records to it, reading the values out of edit boxes. Here is my Code: [code=cpp] CDialog::EnableConnections(); ::CoInitialize(NULL); _ConnectionPtr con; con.CreateInstance(__uuidof(Connection)); con->Open(L"Provider=Microsoft.Jet.OLEDB.4.0;DataSource=C:\\Documents and Settings\\204504519\\Desktop\\webcam.mdb",_bstr_t (""),_bstr_t(""),adOpenUnspecified); _CommandPtr cmd; cmd.CreateInstance(__uuidof(Command)); cmd->ActiveConnection = …

Member Avatar for iravishekhar
-1
550
Member Avatar for KatWoman27

This is what I need help with: "Write an application to simulate the rolling of two standard six-sided dice. The application should use an object from the class Random to roll the first die and then again to roll the second. Each die can have the values of 1 to …

Member Avatar for javaAddict
-1
381
Member Avatar for freakvista

Hello guys. I need for my homework to make a game, and i wanna do "who want to be a millionaire" but i donno much commands in pascal:| so .... i wanna be like reality>:) it's to hard? i dont think so...

Member Avatar for jwenting
-1
619
Member Avatar for niths

hi all, i had created a page in which users can be seen. and a edit button to edit. wen i click on the edit button a popup window will open and after edit is done and press submit button i wil get a msg that data editted. But the …

Member Avatar for rajarajan2017
-1
2K
Member Avatar for sasisam

i want to record report printed date and time when user click on the crystal report print button (which is in the crystal report viewer control). is there are any event like click event.. for that crystal report print button. i want to keep record of printed report. i am …

Member Avatar for sasisam
-1
2K
Member Avatar for vladdy19

I'm having trouble running C in eclipse. It first gives me weird syntax errors or tells me that # include <stdio.h> is an "Unresolved inclusion" It also will not let me build, saying "(Cannot run program "make": Launching failed)" Am I missing something? please help. Thanks

Member Avatar for lmpmbernardo
-1
814
Member Avatar for abar_sow

I need a java code for downloading files from the internet ..For example I want to download doc,pdf files from the internet means i have to do it through my code ..So can anyone help me

Member Avatar for peter_budo
-1
889
Member Avatar for lwschjang

I'm pretty lost on this. I have no idea how to get my program to work. Basically, when an option is selected a price should show up in the text box automatically. Thank you all for your help. Exception in thread "AWT-EventQueue-0" java.lang.ClassCastException: javax.swing.JComboBox cannot be cast to javax.swing.JTextField at …

Member Avatar for lwschjang
-1
4K
Member Avatar for johnroach1985

Hi there. In a day I have to connect to a lot of networks and each network has its own setting. Each time I have to re-configure my Windows Vista Home Edition IP confiugrations which is both slow and quite annoying. Thus I decided to write a program in C# …

Member Avatar for johnroach1985
-1
292
Member Avatar for mister-fett

Since no one has posted in this forum as of yet, I decided to tap out a quick scheme. This program, when run through the Mr Ed part of dr scheme available from [url]www.drscheme.org[/url] , will cause a window to pop up with text and a button. By clicking the …

Member Avatar for Rashakil Fol
-1
306
Member Avatar for Haxorz

Guys, I really need your help !! I am using VB.Net & I have a Data Grid View in which I have 3 Columns and Dynamic Rows (user can insert rows based on their requirement). My problem is, I want to populate the value's in the rows that are being …

Member Avatar for Haxorz
-1
314
Member Avatar for anshuman444

I am using XSL to transform the XML.I am generating a Excel sheet using XML/XSLT. I want to password protect the sheet. If a user try to modify any cell then it ask for password? <?xml version ="1.0" encoding ="utf-8" ?> <xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns="urn:schemas-microsoft-com:office:spreadsheet" xmlns:msxsl="urn:schemas-microsoft-com:xslt" xmlns:user="urn:my-scripts" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:x="urn:schemas-microsoft-com:office:excel" xmlns:ss="urn:schemas-microsoft-com:office:spreadsheet" …

Member Avatar for WenCounty
-1
251
Member Avatar for lionaneesh

The books i have already read :- 1. C ANSII Edition ( Cant understand their language ) 2. C tutor 3. Pointers and memory ( Stanford )

Member Avatar for Narue
-1
250
Member Avatar for mosespascal

I am a first year engineering student and i am very intresred in programming using c++ basically to use it in creating my own search engine.Please anyone to help in step by step as I have started learnig c++ language because I dont have prior kowledge in programming.

Member Avatar for Fbody
-1
879
Member Avatar for pateldeep454

[COLOR="Red"] This is my assignment: [/COLOR] The field of calculus is largely concerned with the concepts of the derivative and the integral of functions. Derivatives and integrals are closely related because they "undo" or reverse one another. If the derivative of a function is taken, a new function is obtained …

Member Avatar for javaAddict
-1
760
Member Avatar for Iqbal_h_a

[code] Can anybody please tell me how to calculate/find total remaining(unused/free) memory in the system(using any functions)? Thanks Iqbal [/code]

Member Avatar for wsgeek
-1
454
Member Avatar for rceena
Member Avatar for hurricane123

I have written a scanner program for oberon language compiler but its incomplete,in the botton i need to write certain code to make this program work properly,so can anyone help me to make this program work properly. [code] FILE *input; int row, col; token t; char buff[bufflen]; int tabwidth; int …

Member Avatar for WaltP
-1
593
Member Avatar for rukshilag

Im working on this searh field and i finally can search from the database using an entered name or national ID no, when i press the find button. But i dont know how to incorporate radio buttons to be submitted to execute a query. can someone help me . my …

Member Avatar for rukshilag
-1
2K
Member Avatar for fruymercado

[split from [url]http://www.daniweb.com/forums/post1162537.html#post1162537][/url] how can i create like that program but i need to have more questions and i dont nid to use the life time because lifetime is dificult so please help me or give me a program to use in our c++ subject here in MAPUA. please i …

Member Avatar for jhaiskie
-1
526
Member Avatar for Dudani

The Fibonacci sequence is the series of numbers 0, 1, 1, 2, 3, 5, 8, .... Formally, it can be expressed as: f ib0 = 0 f ib1 = 1 f ibn = f ibn−1 + f ibn−2 Write a C program using the fork() system call that that generates …

Member Avatar for Dudani
-1
7K
Member Avatar for Gnawk

C++ program that will implement the popular numerical procedure called Thomas Algorithm. this is my final project in the lab which i have no idea how to start off... and i am really bad at c++ because this was my first ever programming class i ever took in my life... …

Member Avatar for WaltP
-1
1K
Member Avatar for pythonNerd159

hey all. i need some help with my calculator and i was wondering if anyone knew how to make it so if you click on a button it would pop up the value of that button in the entry screen. [CODE]## -*- coding: utf-8 -*- ## SDD, Major Project, Extreme …

Member Avatar for Alq Veers
-1
292
Member Avatar for edDev

Ok, I've got this code that needs to load a .wmv file - the client is adamant about using .wmv files and not Flash files - and the client insists that it use variables for the width and height parameters. Thanks to a couple of you, I've now got the …

Member Avatar for jasonc31
-1
452
Member Avatar for Adnan Saleem

Hey everyone i as a student of Computer Science need ideas for project in Operating System course......It is restricted to be on Linux and can be coded on only C/ C++......Please any ideas are welcome and reference material as well Thanks!

Member Avatar for BestJewSinceJC
-1
3K
Member Avatar for Aisha25

Suppose you save $100 each month into a savings account with the annual interest rate 5%. So, the monthly interest rate is 0.05/12 = 0.00417. After the first month, the value in the account becomes 100 * (1 + 0.00417) = 100.417 After the second month, the value in the …

Member Avatar for kvass
-1
816

The End.