132,726 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for daniweb2013

I'm trying to calculate sin(x) without using #include <math.h> i need to use Maclaurin Series to calculate sin(x) with recursive process. thanks

Software Development c++
Member Avatar for Rashakil Fol
0
448
Member Avatar for asilter

could u plz give 4 little files-sample (c and c++ code and header files) which shows how to call c++ class public member function. thanx.

Software Development c
Member Avatar for Salem
0
129
Member Avatar for me_j

Can anyone plz give me code for searchin multiple records stored in Access db and displaying them?!!? The code i wrote displays only 1 record.

Software Development visual-basic
Member Avatar for me_j
0
72
Member Avatar for bigbluesky

I can only get 2 of the buttons to work - what am I doing wrong? I have been working on this for 5 days. I also cannot get my icon to work - do I need more of an address? [CODE] import java.util.ArrayList; //For ArrayList public class Product implements …

Software Development algorithm gui java java-swing
Member Avatar for plasmafire
0
134
Member Avatar for ehsen

I started to learn C++ few days ago. When I Run a program it show a console window for a moment then return to IDE. I even couldn't see the output. for example followig Hello World Program [code] // a small C++ program #include <iostream> using namespace std; int main() …

Software Development c++ ide
Member Avatar for sd.lamba
0
114
Member Avatar for parnell6622

How do i get quick basic on windows xp? Thanks

Software Development windows-xp
Member Avatar for bregalad
0
299
Member Avatar for anto_nee

hi to all how to obtain the date and time of server from client by vb coding anyone plz tell me is it possible in vb somebody said we can use client side caching but i dont know hw to implement this thanx in adv

Software Development caching client-server visual-basic
Member Avatar for anto_nee
0
126
Member Avatar for locsin

HI I AM COMPUTER SCIENCE STUDENT. My Instructor gave me thesis project. Any database program at any programming languages. This is stand alone program. I designed my program in visual basic 6.0 which is record keeping. It works fine in my computer. But when i installed it in other computer …

Software Development data-science visual-basic
Member Avatar for locsin
0
182
Member Avatar for ceyesuma

I am using a example in a book to build my own program (java server pages) I can not even get the example to run. Is there someone to take a look at the program? (netbeans package)? [EMAIL="ceyesuma@hotmail.com"][/EMAIL]

Software Development java java-netbeans
Member Avatar for ceyesuma
0
142
Member Avatar for meekeen

How to solve this problem? Generate 200 integer random numbers in the range (1000,9999) in an one-dimensional array x. Then determine:- a) How many of these fall in the ranges 1000-2499 and 2500-4999; b) How many of these are (a) even numbers and (b) divisible by 5 c) Sort and …

Software Development visual-basic
Member Avatar for meekeen
0
70
Member Avatar for ceyesuma

org.apache.jasper.JasperException: Unable to compile class for JSPNote: sun.tools.javac.Main has been deprecated. error: Invalid class file format in C:\Program Files\Java\jdk1.6.0_02\jre\lib\rt.jar(java/lang/Object.class). The major.minor version '49.0' is too recent for this tool to understand. I'm not sure what to do to fix this error tomcat 4.0; any help?

Software Development apache java
Member Avatar for peter_budo
0
143
Member Avatar for Crouchinho

Ok guys, I could sure use some help regarding this search methond in C++. I have a 2D vector which i read from a text file. It looks like this: 000000000 000100001 000010000 The idea here is I have to search for the leftmost '1' in the highest possible row …

Software Development c++
Member Avatar for Dave Sinkula
0
8K
Member Avatar for daniweb2013

Hi, I'm using suse Linux 10.1, i wonder if there is any good compiler such as turbo c v.3 in Microsoft windows?! if anyone knows please help me.

Software Development c c# c++ microsoft-windows suse
Member Avatar for iamthwee
0
95
Member Avatar for staneja

Hi All I want to implement "FIX protocol" The Financial Information eXchange (FIX) protocol using java technology can any of you please guide me what are the things i need to know in java to implement this. and any further help from where i can get to know more about …

Software Development ide java
Member Avatar for sergeant
0
139
Member Avatar for amishosh

Hi! I compile this simple "Hello world" Win32 program: [code] [COLOR=green]#include[/COLOR][COLOR=green]<windows.h>[/COLOR] [COLOR=green]int[/COLOR][COLOR=green] WINAPI WinMain(HINSTANCE hInstance, HINSTANCE hPrevInstance, [/COLOR] LPSTR lpCmdLine, [COLOR=green]int[/COLOR] nCmdShow) { MessageBox(NULL, [COLOR=green]"Hello World!"[/COLOR], [COLOR=green]"Note"[/COLOR], MB_OK); [COLOR=green]return[/COLOR] 0; } [/code] When the program runs I get weird fonts. See attachement. Kindly advise. Thanks

Software Development c
Member Avatar for Ancient Dragon
0
79
Member Avatar for hungdt

I have an annoying problem with this piece of code: [CODE] int len = 5; char str[5]; do { cout << "Enter a string: "; cin.getline(str, len); } while (true); [/CODE] when the length of str is less than 5, the code runs fine. I can re-enter the string over …

Software Development c++
Member Avatar for hungdt
0
92
Member Avatar for mahvish

plzz anyone tell me does vs.net 2005 supports sql server 2000 coz iam not being able to connect it

Software Development sql vb.net
Member Avatar for Hamrick
0
74
Member Avatar for gratefulluke

I am at a real loss for what to do. My boss wants me to devise a way to extract user data from a Plone installation and I don't know how to do it. The best option I've found so far is the following piece of Python code. Below it …

Software Development python storage
Member Avatar for sharma_vivek82
0
615
Member Avatar for susuoi

I'm learning perl now. By using whereis command, I found out where perl command is. $whereis perl /usr/bin/perl I make a program and tried to execute it. But I got error message like this one. $perl yahoo_search.pl #!/usr/bin/perl -bash: !/usr/bin/perl: event not found Can somebody tell me what I should …

Software Development perl
Member Avatar for happygeek
0
789
Member Avatar for kahaj

Anyone else using Dev C++ v. 4.9.9.2 ? I can't figure out how to make it word wrap. Also, when I go to run a project, the window comes up for a split second, then just disappears. Never an error message, just disappears. Any ideas?

Software Development c++
Member Avatar for Ancient Dragon
0
601
Member Avatar for choudhuryshouvi

Hi to all, here is my question:- i've declared an user defined type like this - [B]public type user str() as string end type[/B] where str() is an string array with empty elements. now i want to create the elements dynamically. for that i wrote these - [B]dim x as …

Software Development visual-basic
Member Avatar for choudhuryshouvi
0
93
Member Avatar for anto_nee

rsYear1.Open "select count(ComplaintNo) from tblcomplaint where year(cDate) ='" + Year(DTPicker1.Value) + "'", ConSQL, adOpenDynamic, adLockOptimistic hi if u find any fault here reply me immediately rsYear1.Open "select ComplaintNo from tblcomplaint where cDate ='" + DTPicker1.Value+ "'", ConSQL, adOpenDynamic, adLockOptimistic i already try this also plzzzzzzzzzz

Software Development sql visual-basic
Member Avatar for anto_nee
0
70
Member Avatar for bops

Hey, I want to write a function with the following signature - BOOL checkPassword( char * input ); In this function I want to be able to check this password against the stored windows password in the SAM database. I'm completely new to this idea, so I would like to …

Software Development api c encryption windows-api
Member Avatar for Ancient Dragon
0
105
Member Avatar for sacbuddika
Member Avatar for venomlash

Hi, I took a course in JAVA and learned about exceptions...I'm not sure how to throw and catch in C++. Can I get some help please???

Software Development c++
Member Avatar for vijayan121
0
158
Member Avatar for w32.sysfile

i want to do a compiler but, now i am stuck in the compilation part, suppose that i want to compile "cool.java" that is located in the bin directory, what shold i do?? help please

Software Development java
Member Avatar for w32.sysfile
0
146
Member Avatar for trey.jonn

Is there any need to escape a Registry Key path when reading it from a file? eg. For the path :[B] HKEY_USERS\.DEFAULT[/B] When reading input from a file , is there a need for escaping the''? If I use [B]" HKEY_USERS\\.DEFAULT"[/B], I get the same string [B]" HKEY_USERS\\.DEFAULT"[/B] back - …

Software Development c++
Member Avatar for Ancient Dragon
0
156
Member Avatar for bops

[code=c] BOOL setContent( LPSTR szContent ) { HANDLE hFile; BOOL bSuccess = FALSE; DWORD dwTextLength; hFile = CreateFile( "data.txt" , GENERIC_WRITE , 0 , NULL , CREATE_ALWAYS , FILE_ATTRIBUTE_NORMAL , NULL ); if( hFile != INVALID_HANDLE_VALUE ) { DWORD dwWritten; dwTextLength = strlen( szPassword ); if( WriteFile( hFile , szPassword …

Software Development api c
Member Avatar for Tight_Coder_Ex
0
261
Member Avatar for echocpt

Hi, im new to DaniWeb, but hoping to join in a lot. My first post is a request for help. I am currently working on a project for fun at home in my spare time. I have currently coded nearly all the project, but am strugaling majorly on saving files. …

Software Development file-system vb.net
Member Avatar for echocpt
0
196
Member Avatar for amishosh

Hi! I learnt the C language (NOT C++) but the concept of threading is completely new to me. I'm having trouble finding a good tutorial or book on the subject. Can some one point me to a tutorial or book about threading specifically using C? I use Visual C++ 2005 …

Software Development c
Member Avatar for Ancient Dragon
0
246
Member Avatar for tonino.dna

I am building a device connected to the serial port of my PC. I need to chect the signal level of the RTS and DCD lines. How can I do that using MSCOMM? thanks tonino

Software Development visual-basic
0
76
Member Avatar for VIDHYAPREM

hai , i am trying to do online railway reservation project. In that project.if we give the source and destination station .it should give the number of tickets available,class name ,train name and time & in that form itself we have a reservation link.if any one reserved, the number of …

Software Development vb.net
Member Avatar for ritika_khanna
0
106
Member Avatar for Killer_Typo

how many of you out there use and what about it do you find usefull or to be a headache. I will be using it on a new system i was just picked up to support, the primary interface will be written in .NET languages but i will need to …

Software Development
Member Avatar for Rashakil Fol
0
145
Member Avatar for Crouchinho

Guys, Your help will be appreicated in this matter. i have to read a text file which has rows and columns into a vector. The text file could be of any size. 000000000 010010001 010010011 001001001 Now, how do I upload this text file on to a 2D vector? so …

Software Development c++
Member Avatar for Dave Sinkula
0
5K
Member Avatar for gaggu82

how can we divide two matrices in C++?

Software Development c++
Member Avatar for Rashakil Fol
0
79
Member Avatar for asilter

Variables in the data structure changes when they were sent to CreateRawDataBUFR at runtime. With gdb debugger, just one line before CreateRawDataBUFR, I print the value of rdi.sIdentName, rdi.sRawDataFilePath and rdi.sRawDataFileName to the screen, they are "IST" and "data/" "IST050906125859.RAWADM9" accordingly. They are true. But after i send the address …

Software Development c data-structure
Member Avatar for asilter
0
164
Member Avatar for Kshiteesh

Dear frens, I have made an application in VB.net using Visual studio 8, with ms access as a backend. I have crystal report installed in it. I have got a problem while connecting database to the crystal report. I have also got problem in designing part. Is there any solution …

Software Development vb.net visual-studio
Member Avatar for muskdial
0
105
Member Avatar for n.aggel

This question goes out to everyone who knows the latest c++ standard by heart:P. We have the following program: [CODE=c++] #include <iostream> using namespace std; void wow(int& x, int& y, int&z) { x=x+1; y=z; z=z+1; } int main() { int i=0; int A[2]={10,11}; wow(i, A[i], i); cout<<i<<endl; cout<<A[0]<<endl; cout<<A[1]<<endl; } …

Software Development c++ pascal
Member Avatar for n.aggel
0
123
Member Avatar for muskdial

Hello My name is Scott and I'm a physician and software developer. I'm new to this web site so please be patient if I'm not doing things properly. I write a lot of applications where I frequently need to calculate a patient's age based on their date of birth. I …

Software Development vb.net
Member Avatar for muskdial
0
139
Member Avatar for bcm

I have created a windows application in vb.net in my PC.How can I open an vb.net file in a pc where vb.net is not installed. Will I have create any [B]<name>.vb.exe[/B] file in PC where i have created it? Please tell me any ways to do it. Please soon...... :scared:

Software Development vb.net
Member Avatar for binoj_daniel
0
110
Member Avatar for ttamilvanan81

Dear all, I was stored the gif/jpg image into the MySQL Database as a buffered image. But when i was retrive the image from database and display in jsp page, it will not working well. The image is not displaying. The content get from the database, but it's type is …

Software Development java java-jsp
Member Avatar for ttamilvanan81
0
478
Member Avatar for Ashu@sym

hello everyone, i am a rookie in C++ programming, can someone please clarify my one doubt regarding difference between handles and pointers ?? actually i am little confused about handles, can any one please clarify what exactly is a Handle and why is it used??

Software Development c++
Member Avatar for SpS
0
263
Member Avatar for tech291083

Hi, If any body is interested in learning C++ on his own then here is a site which I have been using to a great effect and satisfaction. Although many might be aware of it. [URL]http://www.cplusplus.com/doc/tutorial/[/URL] I have bought some books on the language but none of the seem to …

Software Development c++
Member Avatar for Ashu@sym
0
130
Member Avatar for Probleminfinity

Hi, I have written some macro in VBA. It has 2 buttons one is SUBMIT and another is CANCEL. When i click on SUBMIT then it calls access and populate the data in another excel file and takes around 20-30 minutes to populate/complete the process. What I want is on …

Software Development visual-basic
Member Avatar for debasisdas
0
90
Member Avatar for dssengar

I am using the code:- [B]strCon = "Driver={Microsoft ODBC for Oracle}; " & "SERVER= abc; uid=abc;pwd=abc;" Dim oCon As Object Set oCon = New ADODB.Connection Dim oRs As Object Set oRs = New ADODB.Recordset oCon.Open strCon[/B] while connecting this with installed oracle client it works but without oracle client it …

Software Development client-server oracle visual-basic
Member Avatar for debasisdas
0
106
Member Avatar for sj87

Hello, Im studing functional programming using haskell and i have problems with some excercises about types. They give me an expresion and i have to wirte down the type for that expresion. I was wondering if there is any method or something that allow me to make that without loosing …

Software Development
Member Avatar for sj87
0
90
Member Avatar for taconator

I need some help. I have to translate a c app into java. Which would be no problem if I knew c. Is there a good uber begginers level tutorial somewhere, that i might be able to figure out what this c code is doing? I mean, i am seeing …

Software Development java
Member Avatar for taconator
0
121
Member Avatar for tech291083

Hi, [COLOR=#000000]I have this Java code not running properly with showing the following error at command prompt on Linux os.[/COLOR] [COLOR=#000000] [/COLOR] [CODE] [root@localhost PracJava]# javac clicker.java [root@localhost PracJava]# java clicker Exception in thread "main" java.lang.NoSuchMethodError: main [/CODE] [COLOR=#000000] [/COLOR] [COLOR=#000000]Can any one help please? Thanks..... [/COLOR] [CODE] import java.applet.Applet; …

Software Development java
Member Avatar for lookof2day
0
138
Member Avatar for sach_ak47

I want to maintain single session for every module I am working on one project ,in that i am using differnt module for(disply item,download item ,and billing) i want to maintain single session when request goes from 1st module to last module Please help me

Software Development java session
Member Avatar for lookof2day
0
88
Member Avatar for rusman

Hi all, I have two files, both have a list of 6 digit values. I want to compare them and output the values that match up. The lines in each file are not supposed to contain the same value (in other words, line 1 in each file may or may …

Software Development shell-scripting
Member Avatar for rusman
0
115

The End.