199,114 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for isumasama

How to implement hamming code in C++ or C I have a prog same as other user (Melissa). I need help to get me started in coding as i'm almost forgot everything i've learned on C or C++. The task is implement a program for any hamming codes by using …

Member Avatar for MosaicFuneral
0
949
Member Avatar for SuPrAiCeR69

Looking for an example to fit into a demo I am doing... I'd like the user to be able to enter text and click search using POST method Once the next page has loaded, display that variable using GET Only in AJAX please. Thanks in advance for your help.

Member Avatar for SuPrAiCeR69
0
95
Member Avatar for saalvi

Write a C++ program that contains a structure named “Account” having four data members 1) Account number 2) Account holder name 3) Account type 4) Account Balance Account type may be Saving, Current, etc. In main function, declare an array of structure “Account” of size 10. Populate this array by …

Member Avatar for death_oclock
0
130
Member Avatar for sciwizeh

OK, i recently got a few books on OpenGL, i also got Microsoft flight sim x, and a nice logitech joystick to use with it. so i want to try to figure out how to make OpenGL take input from the joystick. i haven't read much of the books yet …

Member Avatar for death_oclock
0
121
Member Avatar for jackiejoe

I have a table in mysql which I can view perfectly using JSP, but there is a problem with inserting into the table which I cannot figure out. Here is my code: [CODE]<%@ include file = "database_ini.jsp"%> <% if(request.getParameter("insert") != null){ String name = request.getParameter("name"); String sql = "insert into …

Member Avatar for sillyboy
0
114
Member Avatar for PC_Nerd

Hi, I've just been looking at Hello World applications for programmign CGI's - and ive discovered that: [CODE]#include <stdio.h> int main(void) { printf("Content-Type: text/plain;charset=us-ascii\n\n"); printf("Hello world\n\n"); return 0; }[/CODE] Compiles to about 15.4 kb, compared to: [CODE]#include <iostream> using namespace std; int main() { cout<<"Content-type: text/plain"<<endl<<endl; cout<<"Hello World!"<<endl; return 0; …

Member Avatar for grumpier
0
154
Member Avatar for dfs3000my

Hi all, I have managed to get my average using cross tabs but only if I have grouped it by their categories. If I remove the GROUP BY clause, the cross tabbing doesn't seem to work. Can anyone help me? I would need to get something like:- [CODE]Year | Month …

Member Avatar for dfs3000my
0
148
Member Avatar for bdicasa

Hello all, I looked around with google for a while and couldn't find an answer to my question. I'm trying to use php to get the name (or ID) of an html tag. I need to do this because I am creating a shopping cart which has a checkbox beside …

Member Avatar for bdicasa
0
114
Member Avatar for yoyoaz77

I have a form written in vb6 that the user is able to show listed items in a listbox from criteria from 4 different comboboxes. The data is being connected to an Access db. Where I am stuck at is after the search lists the data in the listbox the …

Member Avatar for yoyoaz77
0
117
Member Avatar for fuatm16

Hi Everyone, I m trying to built a Web Vulnrebilty Scanner which will test CGI/RFI/XSS/ on a remote Web Server.Here are my baby steps for do this project. 1-Discover pages in remote site. (ex: [url]www.google.com[/url] , [url]www.google.com/x.html[/url] google.com/y.html ...) 2-Post some scripts to the link and test the response. 3-Read …

Member Avatar for mn_kthompson
0
204
Member Avatar for Jacky1

ok am new to C# and am doing good so far except I been having a problem with the exit button the code for the exit button is: close(); or I use = this.close(); and that close the form but the problem is that the program still in the process …

Member Avatar for Jacky1
0
96
Member Avatar for Lukezzz

I want to Show "ToolTips" when radioButton4 is Checked and when you Hover the mouse over textBox2. This works as expected. Now when I Check the radioButton5 wich makes the radioButton4 UnChecked I dont want the ToolTips to be seen when Hover the mouse over textBox2. I am trying to …

Member Avatar for cikara21
0
121
Member Avatar for mn_kthompson

I'd like to write up something that will generate random numbers that would plot into a triangle distribution. I know how to get a normal distribution, which is similar. [CODE=python] import random for i in range(200): print random.normalvariate(3,1) [/CODE] But there doesn't seem to be anything in the random module …

Member Avatar for mn_kthompson
0
2K
Member Avatar for codedhands

Hi all.Am trying to extract a group of words from a text file.but i dont get the expected result using regular expression.Here are my codes: mytext.txt contains: [code] Group=1 Name=mattew Sex=male Age=25 Group=2 Name=John Sex=Male Age=19 [/code] When i try to get the group=1 i end up get everything below …

Member Avatar for codedhands
0
107
Member Avatar for mrnutty

hi, I was trying to implement the sieve of eroathoses (I know I spelt this wrong) and it works. But i was trying to find all prime under 2 million. The .cmd for visual studio just corrupts if I try to find all prime under 2million. I am guessing It's …

Member Avatar for Freaky_Chris
0
366
Member Avatar for mmxbass

I am currently storing a hypermatrix of not very many objects over a 4d hyperspace. I am working with a 100x100x100x100 hypermatrix that is VERY sparsely populated. Only about 500 cells actually contain anything. The problem is that this matrix takes up huge amounts of memory even when it's mostly …

Member Avatar for mmxbass
0
157
Member Avatar for tymk

Hi all. I wanted to run this class by some experienced programmers to see if I have any obvious errors and to get any advice otherwise. I created a test suite and everything seems to function properly so I'm interested in feedback on overall class design, choice of data types, …

Member Avatar for tymk
0
132
Member Avatar for kischi

Hi I am trying to upload an excel file to the server. But it won't work, every time I am trying to upload an xls file and press the button. it writes: No file was uploaded. as if i had no file. you are welcome to try on: [url]http://radio.web.surftown.dk/admin/indset_program.aspx[/url] the …

Member Avatar for kischi
0
110
Member Avatar for anujtripathi

[B][COLOR="Red"]Primary[/COLOR][/B] (x) x.y f(x) a[x] x++ x--new typeof sizeof checked unchecked [B][COLOR="Red"]Unary[/COLOR][/B] + -~ ! ++x --x (T)x [B][COLOR="Red"]Multiplicative[/COLOR][/B] * / % [B][COLOR="Red"]Additive[/COLOR][/B] + - [B][COLOR="Red"]Shift[/COLOR][/B] << >> [B][COLOR="Red"]Relational[/COLOR][/B] < > <= >= is as [B][COLOR="Red"]Equality[/COLOR][/B] == != [B][COLOR="Red"]Logical[/COLOR][/B] AND& [B][COLOR="Red"]Logical[/COLOR][/B] XOR^ [B][COLOR="Red"]Logical [/COLOR][/B] OR| [B][COLOR="Red"]Conditional[/COLOR][/B] AND&& [B][COLOR="Red"]Conditional[/COLOR][/B] OR|| [B][COLOR="Red"]Conditional[/COLOR][/B] …

Member Avatar for Ezzaral
0
144
Member Avatar for ThatOtherGuy

Hi there, I am a VB.NET programmer and i have been programming for 2 years. I have been feeling that the way i do things are incorrect when it comes to the design and planning of a program. It always feels like the program is just a mess behind the …

Member Avatar for Ezzaral
0
115
Member Avatar for AceofSpades19

I prefer to write the backend first because thats how I think and it seems more logical to me, what do you prefer?

Member Avatar for mustafaneguib
0
99
Member Avatar for amt_muk

Hello friends, Suppose I want to write a dll file with MS-VC8.0 compiler. I need to add [B]__declspec(dllexport)[/B] for all of the functions which will be called from outside of that dll. Now my question is that whether it is possible to export all functions of that dll at a …

Member Avatar for twomers
0
121
Member Avatar for web_master

hey, I am developing this game of snake, just like the nokia phones have. anyway i have worked on windows till now, but now i am using geany on linux. so there are quite some methods which are not standardised for all platforms. one of them is gotoxy() and i …

Member Avatar for web_master
0
102
Member Avatar for Aamit

[code] <form> <table border="0" width="100%"> <tr> <td align="right" width="60%"><select name="select" size="1" > <option>Select Category</option> <? $sql1=mysql_query("select name from categories") or die(mysql_error()); $num=mysql_num_rows($sql1); while($row=mysql_fetch_array($sql1)) { $category = $row['name']; ?> <option><?php echo $category; ?></option> <? } ?> </select> </td> </tr> </table> </form> [/code] Here i got i.e. it display in list student, …

Member Avatar for kanaku
0
254
Member Avatar for Phillip_Hess

Greeting When it comes to SQL I'm a novice and I think what I want to do is WAY outside my expertise. I have a file management system called ProjectWise. Everything to create the folder path is located in a single table. You start with the lowest folder then you …

Member Avatar for Ramy Mahrous
0
161
Member Avatar for Rushyo

I took a backup of a database a while ago and I'm having trouble with running it on a new (Windows 2003) server through phpmyadmin 3. Whenever I execute it the resulting tables, fields and data are all converted to lowercase! If I use phpmyadmin to create them it works …

Member Avatar for pritaeas
0
150
Member Avatar for daz1034

Hi My first post yaa lol. This will lily be the 1st of many posts as i trty to get my head round things. Basically i am going to need to post info from a form in to a database but all so post it to a remote api url …

Member Avatar for openwave
0
119
Member Avatar for sonia sardana

Is it possible that Treeview have Backcolor transparent. Cz when i select the properties of Treeview & choose BackColor transparent..error is there property is not valid.

Member Avatar for Alexpap
0
105
Member Avatar for WJSwan

Hi, I have an application where I would like to add the following: When the user clicks on a button the FileOpenDialog must activate and allow the user to select an EXE file. When the user clicks OK, the selected EXE should execute. I am new to C# so I …

Member Avatar for Ramy Mahrous
0
100
Member Avatar for dinilkarun

I am coding in VB to add 3 fields of MS Access back end. If there is no value (or blank) in a particular field, I want 0 to be considered in addition. Following code is not working for checking the blank field. If IsNull(DE_hours) Then DE_hours = 0 End …

Member Avatar for ryan311
0
104
Member Avatar for chinni1

This is my code.Here Instead of query string can i use view. plz reply me. Protected Sub btnchk_name_Click(ByVal sender As Object, ByVal e As System.EventArgs) Handles btnchk_name.Click Dim str As String = "select ID from table1 where ID = '" & txtid.Text & "'" Dim con As String = ConfigurationManager.AppSettings("preeconn") …

Member Avatar for chinni1
0
119
Member Avatar for smnadig

Hello, The Hexadecimal value of EBCDIC has to be converted to corresponding character as the user inputs it. The following table shows the hexadecimal value of characters in ASCII and EBCDIC. Can anybody help me with an efficient C-Algorithm for this conversion? Char----Deci-------Hex.ASCII---Hex.EBCDIC A ------65---------41------------- C1 B-------66---------42-------------C2 C-------67---------43-------------C3 D-------68 ---------44-------------C4 …

Member Avatar for ArkM
0
1K
Member Avatar for bvssam

Hi Group , A small Query ,I need to know how can I notify a new row entry in a table. to be more specific I have a table Users If at all a new users registers from web his details are stored in database. i would like to know …

Member Avatar for kanaku
0
135
Member Avatar for saswati_mishra

Hi , I have an ajax code which works well in IE. I receive the responseText and thus the alert messages. However, i receive no responseText in Firefox. The code snippet is as follows. function pingip() { var ipaddress=document.baseform1.serviptxt.value; var xmlHttp; try { xmlHttp=new XMLHttpRequest(); } catch (exception) { try …

Member Avatar for khaisarpasha
0
169
Member Avatar for orgilno1

Guys, I'm in need for a java jar named tidalwave and drew. Is there someone who can tell me where can I find this jar?

Member Avatar for peter_budo
0
129
Member Avatar for majesticmanish

Hi, i have seen few codes where assert macro is used to make some checks on conditions. They used 'assert' so frequently (like in every destructor) that makes code looks too bad. My question is: [LIST]why people rely on assert so much. is it because is it easy to use …

Member Avatar for majesticmanish
0
149
Member Avatar for smile4evr

hey all! please help me to check for validaiton such that... i hv few textboxes and combo boxes and if data is not entered in them then the submit button should be locked... and also tell me where should i write the code as in .... in form_load or submit_click... …

Member Avatar for smile4evr
0
203
Member Avatar for psaziz

Dear friends I am new to this forum and looking for help here. I am building an application in JSP with TomCat and MySQL. The application is to be stored on C:\ on the server while the data it will be dealing with will be on D:\. When I use …

Member Avatar for stephen84s
0
84
Member Avatar for Potato.Head

hi to all, I have a page that contains two frames (before you start telling me that frames are not good, I know but this is the requierement from my course, what I can do?), anyway I have a main page that contains leftframe.aspx and rigthframe.aspx, everything is working ok …

Member Avatar for Aneesh_Argent
0
98
Member Avatar for srs_grp
Member Avatar for Manutebecker

Learn how to fully use the windows header with help from [URL="http://www.winprog.org/tutorial/simple_window.html"]Windows.h Tutorial[/URL], I'm pretty well along in the Programming world and was wondering if this would be really useful in becoming a programmer in the future.

Member Avatar for Manutebecker
0
91
Member Avatar for abcdofc

Hi There, I am very very new to C#. I need to create a Windows Service, which should check my sql server database for every 30 seconds, and it should do some calculations on some table and insert them in some other table. I have the C# code to do …

Member Avatar for iDeveloper
0
136
Member Avatar for abhims

I want to develop a system where the MS Access Database on the client machine, gets updated from an MS Access Database located on a remote server. How can this be achieved? Is vice-versa possible too. Thanks in advance :)

Member Avatar for iDeveloper
0
116
Member Avatar for roberteregina

I have developed, along many years, a system using VB6 for Windows, using XP Professional. Now, I purchased a iMac, that uses an Intel Core 2 Duo 2.66 Ghz processor, so that installing Windows Vista Home Premium 32 bits edition, I could use resources from Windows and OS X Leopard, …

Member Avatar for roberteregina
0
124
Member Avatar for Phreak

Hi all, It's been a long time since i was last logged in here. Comatose was probably glad to see the back of me and my non stop questioning ;-) Well today i have a small question which i hope someone can help with... Here is my question... im trying …

Member Avatar for Comatose
0
303
Member Avatar for agentkirb

I'm making a program, and I'm at the beginning where I'm just reading the information in. The goal of this short bit of code is to read in a date (when I finish the program it should be able to read in multiple dates from a file, but I'm keeping …

Member Avatar for agentkirb
0
128
Member Avatar for presario

Where should I include other header files, in header file or source file? What is the difference between the below two: Example: [code] //file1.h #include "file2.h" ... [/code] OR [code] //file1.h class class2; ... [/code] [code] //file1.cpp #include "file2.h" ... [/code]

Member Avatar for grumpier
0
127
Member Avatar for fireballnelson

A pointer points to a memory location containing a specified value right? If a pointer is defined without something to point at, it can point anywhere, right? Here is my question: What are the practical uses of pointers? I mean why wouldn't you just make a reference to the variable …

Member Avatar for ArkM
0
169
Member Avatar for nrupparikh
Member Avatar for ndalli

Hi, I am learning ASM and have encountered a problem. I have the following statements. When debugging I am seeing that the value in AL is not being inserted as 02h. On the other hand if I change "mov al, [myNumber]" to "mov al, 02h", I get the desired value. …

Member Avatar for jt_murphree
0
121

The End.