199,114 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for beckyzammi

Hey guys, i wrote a program in assembly for the 80C51 and it worked but now i have to write the same one for the PIC16F84A in assembly language, and it just wont work. Can someone figure out what mistakes i did? This program controls one 7-segment display to count …

Member Avatar for DENE@DANI
0
221
Member Avatar for conord

Ok - I've got an easy one for you all on this Friday. I know the answer is staring me in the face, but I can't seem to figure it out. The problem is that the following function does not return a value for me. However, if I insert a …

Member Avatar for conord
0
78
Member Avatar for pedroteixeira07

Hello there, I'm not getting the result's I want with my code. So this is my table: P_ID Latitude Longitude 9001 15 10 9002 23 54 9003 2 23 9004 23 12 9005 54 23 And here is my code: [CODE] //connect //ordering the latitude $query="SELECT Latitude FROM Position ORDER …

Member Avatar for conord
0
94
Member Avatar for anders10

Hi! I want to put up a network with a server and a client. The game shall be implemented in the server. The tictactoe game itself works fine.And I've just started to implement it as you can see from the code. There is supposed to be two players i e …

Member Avatar for BestJewSinceJC
0
145
Member Avatar for JuneM

I am trying to compile this java file and it is giving me an error say : java.lang.nosuchmethodeorror.main what could be the problem? [code=c] import javax.swing.*; import java.awt.*; import java.awt.event.*; public class JChangeFont extends JApplet implements ActionListener { JLabel banner = new JLabel("Your Name"); int fontSize = 18; Font theFont …

Member Avatar for sincerelibran
0
216
Member Avatar for lecotti

Hello all, long time since i've posted anything here. Working on a small project and nearing the end; however i am having some trouble regarding pointers to 'multidimensional' arrays, hopefully somebody can help me out. :) I have what i think is an array of 2D arrays of which I …

Member Avatar for lecotti
0
134
Member Avatar for babylonlion

Hi there, All i want to do is read the jokes from a text file (using Scanner) and then write them out to three different files with three different extensions (fileName1.obj, fileName2.dat, fileName3.txt), that's part A. Part B, Create a class called FileWatcher. • This class can be given several …

Member Avatar for BestJewSinceJC
0
147
Member Avatar for laelzio.mosca

I`m trying to write a sample program in java, but the book doesn`t explain how I should write my html code to execute it, I don`t even know what I should use to write a HTML code, I looked online, but didn`t find much. this is the java code: [CODE]import …

Member Avatar for sincerelibran
0
86
Member Avatar for chern4ever

issit possible to let java obtain the path that store the specific .java file?

Member Avatar for chern4ever
0
73
Member Avatar for fobos

Hello, im in a jam, i have tried to use count for my database to count a row, but i was wondering how to count individual things by name. ex.. +++++++++++++++ + id + name + color + +++++++++++++++ + 1 + joe + blue + + 2 + frank …

Member Avatar for fobos
0
111
Member Avatar for shanboy

I,m a novice in ASP.net programming. I wonder how to use functions and events associated with each control. I have seen few books and couldn't get it. Can anyone help me out.??

Member Avatar for apegram
0
133
Member Avatar for JuneM

I am trying to compile my java file here but I am getting 8 erros with the same sybmol : illegal start of an expression here is my coding: import javax.swing.*; import java.awt.*; import java.awt.event.*; public class JChangeFont extends JApplet implements ActionListener { JLabel banner = new JLabel("Your Name"); int …

Member Avatar for sincerelibran
0
406
Member Avatar for kedarm

Hi! My problems are more of porting a code to Windows, than the code itself. I need to download a file from a URL ( http://127.0.0.1/img.jpg ) and store it in a local file. I think I've screwed up the setting up of the libcurl libraries. I am using Visual …

Member Avatar for Salem
0
1K
Member Avatar for london-G

Hello everyone! I would like to create a quiz and wonder what is the best way. 1. Using a textfile to read in the questions/answer 2. Using radio buttons 3. Or something else you suggest? Ps: I have lot of questions in the quiz Thank you

Member Avatar for london-G
0
154
Member Avatar for jresh_101

\n is within a string... String str = request.getParameter("textfieldvalue"); I want to display the value of str to other pages..using this link below. window.open("page.jsp?param=<%=str%>") ....the problem is that the window is not opening due the str has \n. How to read \n in a string?

Member Avatar for toughlittleone
0
215
Member Avatar for sexyzebra19

I've followed an example from a website on how to use diff time, however its telling me that it took 0 seconds which obviously isn't right...can anyone please explain what I'm doing wrong? Thanks in advance! [code=php]int main() { time_t t1, t2; double dif; Matrix A(2); Matrix B(2); A.SetElement(1,1,1); A.SetElement(1,2,2); …

Member Avatar for Salem
0
421
Member Avatar for hgill006

Im brand new to C++ & Im having trouble with this program im writing i got all the way to the end of it working im just having problems using the setw function in reading and outputting from a file. I have my code attatched for what mine looks like, …

Member Avatar for lotrsimp12345
0
180
Member Avatar for katwalatapan

Hello, I have observed a data access misaligned error in my code. I am trying to isolate the issue and find reason for its occurrence. [code=c] float *mul; int main(void) { int i; mul=(float *)malloc(36000); *mul=0; for(i=1; i<9000; i++) { *(mul+i)=*(mul+(i-1))+(1/(float)(72000/2)); printf("%f\t", *(mul+i)); } free(mul); return 0; } [/code] Please …

Member Avatar for katwalatapan
0
339
Member Avatar for idreu2go4it

Boy, am I really confused about this!!! I have an assignment that is wanting me to create a python statement that will produce f(x) for: f(x) = 2xcubed - 8xsquared + x +16. Then, using the same function, write a python program that will find the extrema (both high and …

Member Avatar for vegaseat
0
409
Member Avatar for BDS_AT

Hi all, First time poster, but I'd like to ask a simple question in ASP.NET C#. I have a function that sends queries to an SQL Server. It takes a while, so I'd like to display the details to the user. Something simple, like "Sending x out of 12345 total …

Member Avatar for BDS_AT
0
119
Member Avatar for teh_m

I am new with ASP.Net and C#. I have problem with drop down list. How to declare drop down list and how to save user selection from drop down list into SQL database using C# ?

Member Avatar for jbisono
0
72
Member Avatar for iNach

Hey, I have a problem. I have a URL which is something like: [url]www.WEBSITE.com/player.asp?File_Name=[/url][B]URL_of_The_Video.wmv[/B]&Path_Name=URL_Which_[B][U]Changes[/U][/B] I need to get only the URL of the video. I know I can get off the: "www.WEBSITE.com/player.asp?File_Name=" out using a string.Replace \ string.Remove but the address AFTER the video URL is changing. [b]So what I …

Member Avatar for Geekitygeek
0
137
Member Avatar for JamesGeddes

Hi Everyone, I'm making a windows mobile app in C# that aims to help those affected by Alzheimer's Disease Part of it needs to send text messages at 5 minute intervals, however, the rest of the C# program needs to continue at the same time. I know that when you …

Member Avatar for Cory_Brown
0
133
Member Avatar for ryang96

hi, so im a newbie at coding, im trying to learn some c# (i think i have it down somewhat) but i cant figure out why it's giving me this error..if someone could give me a hand that would be great :) The name 'Send' does not exist in the …

Member Avatar for Geekitygeek
0
972
Member Avatar for YoungCoder
Member Avatar for eliza420

My problem is how to seek or search a word from my text file. here how it done. I want to search a word "Computer" found in my text file, and will output or will be print of screen as "Computer been found!" if the keyword are found and will …

Member Avatar for Fbody
0
170
Member Avatar for luap599

Hi I have a mysql table name ( Discriptions ) that holds many normal text discriptions (doh'). How do I write a mysql query to search this table! Example: the description 'red paint': If I enter 'paint red! My query will not find it! Thanks for any help! Paul

Member Avatar for Simon Tite
0
94
Member Avatar for Aurorian

Hello Daniweb, I'm new to C and I need help with this basic calculator. It's supposed to calculate investment, only it never gives me the correct result Here is the source, [code] #include <stdio.h> #include <stdlib.h> #include <windows.h> #include <math.h> int main() { double result; int a; int b; int …

Member Avatar for Aurorian
0
200
Member Avatar for mugun

i am writing a code where the user will update the staff,but my update command has some problems. i think its the comma's in my command,can somebody help me....... this is my code [code=vbnet] Imports System.Data.OleDb Public Class EditDeleteStaff Dim PwdCon As String = "Provider=Microsoft.Jet.OLEDB.4.0;Data Source=" & Application.StartupPath & "/Blindz.mdb; …

Member Avatar for JdTSC
0
151
Member Avatar for drewpee

Ok so i have a couple of [B]Strings[/B] and [B]Dates[/B] I'd like to use in making my reports. I can't seem to make it work. any help? This was my latest failure. [CODE]SELECTCCIF_No, Date_Recieved, FROM serviceRS WHERE Date_Recieved >= '" & DateFrom & "' AND Date_Recieved <= '" & DateTo …

Member Avatar for vb5prgrmr
0
114
Member Avatar for ndshah

This windows application finds the amount of your pay if your pay is doubled each day, starting with a penny a day or a nickel a day. Instead of one month's salary, a boss offers her new employees a penny the first day and experienced employees a nickel the first …

Member Avatar for TomW
0
551
Member Avatar for alcapone11

hi, i'm beginner in assembler, i'm just start study this language... please can someone explain me, what do this two functions? cbr flags, (1<<pressed) ;Clear status flag sbr flags,(1<<pressed) ;Set status flag please if you insert example, it will be only better...:)

Member Avatar for alcapone11
0
94
Member Avatar for wilsonz91

Hello, I know i'm suppose to ask programming questions but i'm stuck on how to do it in the first place, the question is: You are given 4 information-gross pay, number of extra hours worked, the hourly pay rate, and the income tax rate. Calculate the overtime payment: Overtime payment …

Member Avatar for thomas_naveen
0
131
Member Avatar for Mridula J

Hi All, What all the difference between Macros and Inline functions. Why do they prefer inline functions? When Do macros come in use? What are the disadvantages of Macros and inline functions? thanks in advance

Member Avatar for mattjbond
0
132
Member Avatar for halluc1nati0n

I was trying out a 2-dimensional integer array on a UNIX box. I hit up a 'Segmentation Fault' on trying to run it. [CODE]#include <iostream> #include <cstdlib> using namespace std; int main() { int matrix[2000][2000]; int i, j; srand ( 1 ); for (i=0; i<2000; i++) { for (j=0; j<2000; …

Member Avatar for halluc1nati0n
0
209
Member Avatar for awo

i am trying to simulate an alert for transaction being done on a bank account as my project but the person i asked to help me told me that using flexcube all i need is to execute the code below it would create a table OUTMESG which my own code. …

Member Avatar for debasisdas
0
309
Member Avatar for muralibobby2015

here is my code. this is working fine but small prblm is here.fading text is working only one time. it is not working multiple times. can anybody check what is the prblm is der? rotation not working.just copy paste this codeand see what is the prblm is there.first time loop …

Member Avatar for pushpakalpana
0
121
Member Avatar for ausmaya

Hi, I have created a .gif image in photoshop,then i have linked the location in html coding.But i am unable to see that image in internet explorer.I am able to see a red crossed line.How to make that image to display??

Member Avatar for preetg
0
81
Member Avatar for Pece__

Hi there! I have one problem and I'm asking for some help :).I want to change font from one column to Unicode... is there some easy way to do that? :S

Member Avatar for luap599
0
86
Member Avatar for tchiky

Hello I would like to create a reference field. I would like it ti have a fixed number of charaters/numbers, just like the videos reference of YouTube. Is there a mysql/php function to handle that? I mean a function that generates a unique string that doesn't exist already in the …

Member Avatar for tchiky
0
171
Member Avatar for nonexcep

Hi there. I'm learning Java and this is a sample applet in which I try some basic drawing operations. I hit some roadblocks and I'm hoping someone can point me in the right direction. What I want to do here basically is make a rectangle with exactly 10 pixels of …

Member Avatar for gangsta1903
0
108
Member Avatar for VibhorG

In my database application, there are three tables: class : c_id , c_name section: c_name,sec_id,sec_name student:c_id,sec_id,roll_no,s_name. There are 2 comboboxes: One for selecting class name and other for selecting section name . Now I want to add enteries to student table, such that : (i) I select class name from …

Member Avatar for VibhorG
0
289
Member Avatar for turbomen

Dear All, Could you tell me what is wrong or missing for my coding? Cheers, [CODE] unit Example3; interface uses Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms, Dialogs, StdCtrls; type TForm1 = class(TForm) Edit1: TEdit; Edit2: TEdit; Edit3: TEdit; Edit4: TEdit; Edit5: TEdit; Button1: TButton; Button2: TButton; Edit6: TEdit; …

Member Avatar for finalist
0
185
Member Avatar for c.ramkumar

hi, plz anyone one send how to create personal web page using asp coding. thank u.

Member Avatar for rajendra.parmar
0
107
Member Avatar for slyme

I don't want slashes in my $_POST values. I want to deal with that kind if thing myself. I am having problems getting rid of said slashes. You can see the results of the following code here: [URL="http://www.slyme.co.uk/sanitise.php"]http://www.slyme.co.uk/sanitise.php[/URL] View the source - htmlentities seems to work, stripslashes doesn't unless I …

Member Avatar for slyme
0
171
Member Avatar for kedarm

Hi! I'm trying to build a Python extension with C/C++. I'm following the steps given in the documentation [URL="http://docs.python.org/extending/extending.html"]here[/URL]. I've followed the steps mentioned and written my first code. However, I have no clue on how to compile the project! I do not know how to create the .pyd file …

Member Avatar for kedarm
0
5K
Member Avatar for clutchkiller

[url]http://en.wikipedia.org/wiki/Brainfuck[/url] Interesting. One day once I figure out c++, I might give this a whirl!

Member Avatar for clutchkiller
0
87
Member Avatar for Mandarinire

Hi guys, Can you help me out with this project. My head is fried with this now. I am getting confused when you have to call on functions outside the class and variables from outside the class. What i need to get done is the following: a. Add a close …

Member Avatar for javaAddict
0
2K
Member Avatar for solarb

hi! I have a form to add content in database(addcontent.php) and one file which shows the content(content.php).Database has id,title,content columns. IS it possible to make the content.php to "$_GET" the id's from the database and show them on the page as : content.php?id=1 And other thing. i have buttons in …

Member Avatar for solarb
0
109
Member Avatar for shubhamshah

Hey Guys, Im not so good at VB.NET , and ive been learning for about 3 months. I would really appreciate it if you guys would help me tackle this problem down. Well , im helping a school run a Spelling Bee aimed at children in year 7. And to …

Member Avatar for kvprajapati
0
267

The End.