199,114 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for gingerfish

i have this code, i need to have [B]for()[/B] inside this boolean method, but it shows an error that return method is missing. how can i solve it? [CODE] public static boolean findPrevious(int dataIdx, int featIdx, String data, String[][] array){ for(int i=0; i<dataIdx; i++) { if(array[i][featIdx] == data) return false; …

Member Avatar for Ezzaral
0
189
Member Avatar for geekme
Member Avatar for mike_2000_17
0
163
Member Avatar for toto_7

Hello guyz, im new in assembly. I have this exercise using MIPS. The idea is to write a fuction that finds the bounding box of shapes in a bitmap. "0s" are the background and "1s" the foreground. I have Runtime exception at 0x00400254: fetch address not aligned on word boundary …

Member Avatar for rubberman
0
173
Member Avatar for jzng89

I've only just began learning assembly this semester and am having a problem with my assignment. I need to write a code to display 0-9 and then A-Z on a 5x7 LED matrix on a EDS-8086 board via BGC-8088. The problem I'm having is that the Data segment (DS) overrides …

Member Avatar for rubberman
0
228
Member Avatar for Runicode

I've looked around online a bit and have a few books, but none of the resources I've read seem to explain what an OPCODE is really for. Could someone provide some details? Thanks, Runicode

Member Avatar for rubberman
0
136
Member Avatar for tim.newport

Ok so I am writing code to a contacts database and as i add new info to the table it is not committing to the table. I have attached my program... idk if you will be able to open it. But I have 2 buttons one adds a new row …

Member Avatar for hercx
0
201
Member Avatar for matrixcool

I'm stuck here ! I hava a txt file that contains only integers , I opened the file and read its contents into an array of characters. [CODE] li $v0, 13 # system call for open file la $a0, file # output file name li $a1, 0 # Open for …

Member Avatar for rubberman
0
3K
Member Avatar for shyla

Hello guys it my first time trying c# i am trying to solve this problem and this is what i got so far i dont know where to locate the auto implementation properties to which class i a little bit confused appreciate any help the question is add below [CODE]using …

Member Avatar for shyla
0
133
Member Avatar for thunderbird24

hi everyone! this is my encryption routine (using standard call) in x86 Assembler __ASM{ encrypt: push ebp mov ebp,esp mov eax, [ebp+8] mov ecx, [ebp+12] push eax and eax,0xAA not al mov edx,eax pop eax and eax,0x55 xor ecx,edx xor ecx,eax rol cl,1 rol cl,1 mov eax,ecx sub al,0x20 pop …

Member Avatar for rubberman
0
265
Member Avatar for markfw

Hi. When I was looking at the header files of c library such as malloc.h, I saw that it defines some functions inside the struct (Function Pointer) and other functions outside, so my question is, why sometimes people defining function inside the struct and sometimes outside? Thanks -- Mark

Member Avatar for rubberman
0
86
Member Avatar for NOVICE3

I wanted to pause the execution of my program by requiring the input of a keystoke (any key). The idea was to put a message on a label something like "Change a switch to --- and then key any key to continue." I expected the program to wait until any …

Member Avatar for NOVICE3
0
142
Member Avatar for shauzi158

People, i have downloaded a game cod from the internet and it wont run.. it always gives a linker error and i don't know what to do. i am new to allegro game development and i really need help.

Member Avatar for rubberman
0
86
Member Avatar for TailsTheFox

Hello, I'm looking for an easy way to wait for a keypress in a non-gui application. Example: I press A, program says "You pressed A" I AM NOT LOOKING FOR STRINGS AND ENTER! THIS NEEDS TO WORK FOR THE ARROW KEYS!

Member Avatar for rubberman
0
106
Member Avatar for gedas

Hey, i have written immanence java program and now i have been asked to create sequence diagram for it. i am really unfamiliar with uml therefore i was wondering are there any good reverse engineering programs that would create sequence diagrams for me? p.s project has been written using netbeans …

Member Avatar for gedas
0
140
Member Avatar for frenzra

how we write array for dis problem: int movie title; int no of customer ; int no of day ; double ticketprice ; double drinksprice ; double studentprice ; anyone knows??

Member Avatar for frenzra
0
113
Member Avatar for Nooshin Z

Hi, It's about a year that I have been coding on Java but I still have basic problems working with threads. My main concern is that I can't understand the logic they obey in their behaviour. I know that they are processes which run independently but I don't know how …

Member Avatar for Nooshin Z
0
90
Member Avatar for eileenc87

Dear all, Can anyone tell me how can I call Java function to VB.net window application? Regards

Member Avatar for Sultan ALfarsi
0
98
Member Avatar for Jake.20

I need help i'm out of ideas, i don't know how to add numbers in a currency format. need help please. Thank you in advance.

Member Avatar for codeorder
0
216
Member Avatar for stupid guy

hi all, i have an applet code here..i wanna do database operations later on..but i m stuck to this basic applet function..have a look [CODE]/* * @(#)Appletsamp.java 1.0 11/04/09 * * You can modify the template of this file in the * directory ..\JCreator\Templates\Template_2\Project_Name.java * * You can also create …

Member Avatar for JamesCherrill
0
143
Member Avatar for cretaros

Is there any methods that in java can make or prevent its window frames from being moved or being dragged, like those in windows 7 installations. post it guys if any and it will help others too! thanx in advance.

Member Avatar for mKorbel
0
113
Member Avatar for kokfui

CODE 1 <?php ini_set('date.timezone', 'Asia/Kuala_Lumpur'); $today = Date('y.m.d H:i:s'); // current time echo $today; ?> CODE 2 <?php ini_set('date.timezone', 'Asia/Kuala_Lumpur'); $today = Date('y.m.d H:i:s'); // current time $query= "UPDATE items SET post_date = '{$today}' WHERE item_name='$item_name'"; mysql_query($query); ?> hi all, as you all can see, i have two similar code …

Member Avatar for diafol
0
133
Member Avatar for jimJohnson

I am trying to finish this palindrome program and the only output I get is output cannot be found. Can anyone show me what I am doing wrong. I will put the instructions in if needed for a guide to show what it needs to do... [CODE] #include <windows.h> #include …

Member Avatar for abhimanipal
0
173
Member Avatar for Armanious

Hey, everyone, as you can see, first post. I'm just stumped. I've tried everything I can think of to [COLOR="Red"]highlight certain keywords as the user types in a non-CPU intensive manner in JTextPane with a StyledDocument[/COLOR]. I'm almost sure there is a logical way that I cannot see, but here …

Member Avatar for Armanious
0
395
Member Avatar for abhi10kumar

[CODE] $lines = file('http://www.adexmart.com/product.php?id_product=276&utm_source=shopmania&utm_medium=cpc&utm_campaign=direct_link'); // Loop through our array, show HTML source as HTML source; and line numbers too. foreach ($lines as $line_num => $line) { if(htmlspecialchars($line)=="</div> "); echo htmlspecialchars($line)."<br>"; } ?> [/CODE] I am printing lines (all html code) successfully, but I dont able to check a condition for …

Member Avatar for vibhaJ
0
119
Member Avatar for codeyy

I am trying to write pop() function in a file but I am really stuck. It looks like it is asking to delete the top element of the stack and returns a Bookmark pointer. Please, help!! I am showing the header which explains what needs to be done. [CODE]#include "Bookmark.h" …

Member Avatar for Narue
0
165
Member Avatar for prakashghai

Hi Everyone I have a webform, from which i want records should be submitted into two tables under same database name. My code is [CODE]<?php $con = mysql_connect("localhost","************","***********"); if (!$con) { die('Could not connect: ' . mysql_error()); } $db=mysql_select_db("qserves1_uksurvey", $con); $sql="INSERT INTO forms (date, Receivingsky, Title, Firstname, Lastname, House, Street, …

Member Avatar for vibhaJ
0
118
Member Avatar for dornaled

hi any body tell me where use in PHP this function $_GET on websitedesign and why I use this. tell me ? thanks and advanced.

Member Avatar for diafol
0
108
Member Avatar for sergent

C:\Users\Kostya\Desktop\c++\MacroWriter\ifexists.cpp|27|error: ambiguous overload for 'operator=' in '((farm*)this)->farm::sendeachbase[i] = 0'| Ok so I am making a class for my program and I want to initialize some of its variables to 0's. I haven't done anything with classes for a while so I am not good with this stuff. This is my …

Member Avatar for mrnutty
0
255
Member Avatar for SWEngineer

I'm new to [B]Qt[/B]. What resources do you recommend for learning Qt? Thanks.

Member Avatar for SWEngineer
0
230
Member Avatar for Jessurider

hey can any one tell me what's the advantages of c#.............when compared to all other languages

Member Avatar for ddanbe
0
61
Member Avatar for cwarn23

Hi, I have 2 images stored in the variables [ICODE]Image img_arrowl; Image img_arrowr;[/ICODE] and now I need a function or method to set the opacity of these two images. So the syntax I'm after would be something like the following: [CODE] img_arrowl = set_imgopacity(img_arrowl,0.75); img_arrowr = set_imgopacity(img_arrowr,0.75); [/CODE] The only …

Member Avatar for mKorbel
0
2K
Member Avatar for Nfurman

Hello. I am doing an exercise and faced an problem my code is: [CODE] protected void ddlStudents_SelectedIndexChanged(object sender, EventArgs e) { SqlConnection conn = new SqlConnection(connection); SqlCommand comm = new SqlCommand("GetFullStudentProfile",conn); comm.CommandType = CommandType.StoredProcedure; comm.CommandText = "GetFullStudentProfile"; SqlDataReader reader; try { conn.Open(); reader = comm.ExecuteReader(); reader.Read(); StringBuilder sb = new …

Member Avatar for Nfurman
0
118
Member Avatar for dalip_007

Hey guys I have an encrypted ip address in php like $visitor_ip = ip2long($_SERVER['REMOTE_ADDR']); $visitor_ip looks like this 1860881473 can i decrypt this number to get a proper ip like "42.108.196.150""? if there is a way todo so? Thanks again

Member Avatar for dalip_007
0
74
Member Avatar for Jessurider

hey i'm planning to display all the datas that is in the database as shown in picture [B]output.bmp[/B]........but i can't print the whole thing in the database, instead i could print only the first row in the database as shown in picture [B]database.bmp[/B]..........can anyone tell me how to print the …

Member Avatar for Jessurider
0
99
Member Avatar for 54uydf

OK, I need help!!!!!!! I've tried every advice I could find on google, nothing works for me!!!!! my DB has data in hebrew I can't figure out how to set the collation and everything else right so that my site would show the data in hebrew when I echo it …

Member Avatar for 54uydf
0
175
Member Avatar for WDoherty

I want to create a 3 page search to bring back one result from a SQL database. The first page will be a image of a male and female, and the user selects themself, e.g either Male or Female. They click next. The next page asks for the day of …

Member Avatar for WDoherty
0
144
Member Avatar for Awah Mohamed

hey people . i am trying to set a cookie but when ever i try to set it, it says : [CODE]Cannot modify header information - headers already sent by (output started at C:\xampp\htdocs\signup\conf.co.signup.php on line 13[/CODE] please help me with this. this is my code: [CODE] <?php error_reporting(-1); if(isset($_COOKIE['logedin'])) …

Member Avatar for Awah Mohamed
0
244
Member Avatar for ursdestiny

Hello, I have date saved as varchar (Day,DD,MM,YYYY)in my database(DB) and it is displaying on my DB binded datagrid. I have binded it through VS.NET 2008. Is there any way I can get the sorting of my datagrid from date? Please tell me the possible solutions for it. Thanks Adnan

Member Avatar for abelLazm
0
73
Member Avatar for berben11

When I first started programming my TemporalWars 3D game engine in 2008, very few interfaces were used. However, as the program grew in complexity I quickly realize the importance of compartmentalizing code and abstracting the connections to those units using ‘Interfaces’. For those who are not aware of what an …

Member Avatar for Tellalca
0
249
Member Avatar for missc

hi, for a 'total cost' field in sql i used the data type 'money'.. in c# what data type should i use to match that of the sql?? decimal or float?? thanks

Member Avatar for Momerath
0
191
Member Avatar for gogs85

I have to make alikation which is to measure the response time of site. Application can not be blocked during the response / request process? Help please!

Member Avatar for gogs85
0
100
Member Avatar for sha11e

When writing this: [CODE] #include <iostream> #include <iomanip> using namespace std; int main() { float number = 2.12345; cout <<fixed <<setprecision(3) <<number; return 0; } [/CODE] I get 2.123 If I then cout another float variable that I want all decimal numbers at, and not setprecision(3)...... How do I do …

Member Avatar for sha11e
0
3K
Member Avatar for TrustyTony

I got a look one huge Java code suggestion from one [URL="http://www.daniweb.com/software-development/python/threads/86608/1525822#post1525822"]newbie high jacker of old thread[/URL], so I had to write this code. [url]http://oeis.org/A001235[/url] (for values with [B]minimum [/B]2 ways, first difference is 87539319 with three ways. You can of course change the if part of the print to …

Member Avatar for TrustyTony
0
4K
Member Avatar for MingMing

I was wondering how I could create a java application program which allows sending free sms to any network subscribers without the use of any hardware component (i.e. GSM modem). Is it possible? What are the things should I consider and how does the logic work? Can anybody tell me …

Member Avatar for MingMing
0
176
Member Avatar for niths

Hi all, I have some images path in database. So i need to get those images in a slide show like this [URL="http://www.trans4mind.com/personal_development/JavaScript/imageSlideShow.htm"]http://www.trans4mind.com/personal_development/JavaScript/imageSlideShow.htm[/URL] But in this link only 4 images were there. But for me i need images from database. so how can we do that can anyone help me.. …

Member Avatar for abelLazm
0
99
Member Avatar for bahed121

Hello All, Can any one tell me how we bind data to a ComboBox from a dataset? Thanks for your precious help

Member Avatar for bahed121
0
119
Member Avatar for choudhuryshouvi

Hello folks, I beg your pardon if I have posted the thread in wrong forum. But my query is related to sql server and visual basic 6, so I thought posting it here rather from visual basic forum will help me getting most replies.... I have developed an client-server based …

Member Avatar for choudhuryshouvi
0
544
Member Avatar for missc

hi, i have added a new tool to the toolbox in visual studio by adding an existing solution to my solution and automatically a new tool was added to the toolbox. now, how can i make it portable so that when i open my solution on another pc, it will …

Member Avatar for missc
0
105
Member Avatar for keldonkor

i would like you to help me to build my school database query rightnow

Member Avatar for Daave
0
103
Member Avatar for s7mo

I am 4 months new to PHP! So please be gentle with me. : ) I have an input form that contains check-boxes(it works and posts array to database correctly!) I have an update form that contains the same check-boxes (it updates and posts array to database correctly BUT IT …

Member Avatar for vibhaJ
0
1K

The End.