64,152 Solved Topics

Remove Filter
Member Avatar for
Member Avatar for AdamMagana

Hello all. I have a problem with a socket server program I writing. The server manages to set up the socket just fine, however, it now needs to be able to take in input from a client. I using the following command to receive information and print it out on …

Member Avatar for AdamMagana
0
147
Member Avatar for alanng.net

I'm modifying a 10-year old open-source utility written in C, even though I'm a PHP programmer, so the whole pointer business for working with strings is giving me a headache. Can anyone advise on why this string conversion snippet is not converting case? [code=C] #include <ctype.h> int set_keysig (s, ks, …

Member Avatar for alanng.net
0
124
Member Avatar for grandalf62

I would very much appreciate if anyone could throw some light on this error, not too hot with "C" as yet. When I try and compile the following with Keil C51, I get the following error message. Error C208 DS1302GetAll Too many actual parameters Seems to be line in Time() …

Member Avatar for grandalf62
0
249
Member Avatar for jackalope686

I am in a beginners programming course, and we have been doing C programs up until now, and the first C++ program we have confused me a bit. We have to make a simple tic tac toe program that plays against you [it doesn't have to be great at playing, …

Member Avatar for jackalope686
1
402
Member Avatar for moiron

im new to this forum and new to C++. i had a homework problem about arrays. the user inputs a number and i had to store it in an array. up to now i still don't know how to do it. and then after that i had to find max …

Member Avatar for jephthah
0
111
Member Avatar for f.ben.isaac

I need to know how i did? Any review will be appreciated... [CODE]/**program description: * * this simple program represents * the basic concept of threads. * main() process will create a * thread that calculate numbers * while main() output the results. * main() and threadProcess() share * share …

Member Avatar for Clockowl
0
151
Member Avatar for Alv45525

helo guys...i have a table in sql server express edition and 3 fields in it, UserID, Password and Role. I managed to create my login but now i want to add some piece of code in order to give acces according to the role field..that is admin and user will …

0
112
Member Avatar for Alv45525

helo guys, i have a little problem here. i've always been using MS access as database to connect my vb.net applications. Now i've design a webpage in asp.net and i want to connect the login.aspx page with the sqlexpress provided in vb.net framework..can anyone help me with the steps?? just …

Member Avatar for Alv45525
0
93
Member Avatar for J-KeRcA

[QUOTE] Hi everybody, I need some help with my project. I'm trying to retrieve some data from a combo box on which i used the "data bound item task" so I can select data from a table of my database. the problem I'm having is that when i try to …

Member Avatar for J-KeRcA
0
99
Member Avatar for katamole

Hi there, I'm quite new to python and have a question regarding list matching. What would be the most efficient method of searching for matching items in a list? Ideally, the code would look like: [CODE] list1 = ['spam', 'eggs', 'bacon'] list2 = ['spam', 'ham', 'king richard'] matchitems(list1, list2) ... …

Member Avatar for woooee
0
181
Member Avatar for sarmadirizvi

hello friends!! Can anyone of you help me know how to make the members of my forum send private messages to each other? I am building a discussion forum for my college students. You can take me as a novice in the field of Asp.net. I am using Sql server …

Member Avatar for sarmadirizvi
0
109
Member Avatar for jyotiu

[CODE]<div style="float: left; font-variant: small-caps;">movie link ([COLOR="Red"]zshare[/COLOR]) :</div><div style="float: left; margin-left: 10px;">Link <a rel="nofollow" style="color: rgb(0, 0, 221); text-decoration: underline;" target="_blank" href="[COLOR="Red"]http://www.zshare.net/video/58502819262e0ecc/[/COLOR]">[COLOR="Red"]1[/COLOR]</a> </div><div style="float: right;"><a href="javascript:DeadLink('http://www.movies-on-demand.tv/report.php?id=2845')"><img title="Report Dead Link" src="http://img.movies-on-demand.tv/templates/mod/images/broken.gif"></a></div></div><div style="margin-top: 2px; width: 550px; height: 20px; background-color: rgb(255, 255, 255); font-size: 13px;"><div style="float: left; font-variant: small-caps;">movie link ([COLOR="Red"]zshare[/COLOR]) :</div><div style="float: …

Member Avatar for martin5211
0
133
Member Avatar for pt_solar

Hi I need to find the mode and I'm just not getting the right output for the mode. The program is supposed to find the mode and display it if it exists and if it doesn't exist it's supposed to display -1. Any help will be very much appreciated. Thanks. …

Member Avatar for Clockowl
0
2K
Member Avatar for Jetman

Hi, I was having this problem with connecting my visual basics software to MS access. I wanted to connect the softwares so that the programe i am bulding on visual basics can use the tables i have created on MS access. Tables like customer details, account details, product details, etc... …

Member Avatar for debasisdas
0
96
Member Avatar for ning2009

Hi, Guys, I use RG to handle some txt files in Python to rearrange format of these text files. These text files look like below MATERIAL NAME=STEEL IDES=S W=76819.55 T=0 E=1.99948E+11 U=.3 A=.0000117 FY=3.447379E+08 NAME=CONC2 IDES=C W=23560 T=0 E=2.48211E+10 U=.2 A=.0000099 NAME=OTHER IDES=N W=76819.55 T=0 E=1.99948E+11 U=.3 A=.0000117 NAME=CON3 IDES=C …

Member Avatar for ning2009
0
348
Member Avatar for Vai

Using this code: [code] $query = "select * from `music` WHERE `music`.`catid` = '" . $catid . "'"; I cannot seem to add "ORDER BY artist so that it would be in alphabetical order. [/code] Second issue: What do I need to do to have Display X amount of records, …

Member Avatar for somedude3488
0
109
Member Avatar for fawadkhalil

Hi all Convert(decimal(10,1),(taxid*10)/100) as tax value in taxid is 1. And also im getting .0 result but it should return .1 Plz help me..........why im getting wrong answer.

Member Avatar for fawadkhalil
0
71
Member Avatar for rajeesh_rsn

Hai I had a search script in my web page. There are two inputs 1. Type 2. Location ( list with values --> Any,India,China) And location is not mandatory for search. When user submit search in database and show results. my query is like this [code]"SELECT * from dbname where …

Member Avatar for JRSofty
0
75
Member Avatar for bored4

This is part of my login form. im trying to lock the account if there are to many failed login attempts. but im not sure if my sql statement is wrong or i my ExecuteNonQuery() is wrong. heres part of my code. I should note that my "account_lock" column is …

Member Avatar for Ramy Mahrous
0
176
Member Avatar for shadiadiph

how do i find out the row size in kb? is it possible to automatically insert the size I have a mail table and have the field is there a way of automatically creating the value on insert by resetting the values of the field?? [code]`messagesize` int(255) NOT NULL default …

Member Avatar for shadiadiph
0
136
Member Avatar for shazzy99

Hi, How can I show a long value returned from a function to a textbox on a dialog box. Void CVideoDlg::OnBnClickedFrames() { m_AMC.get_FramesDrawn(); // retunrs long } I want to display the returned value in textbox as well as a messagebox. I tried MessageBox(CString(m_AMC.get_FramesDrawn())); But it didn't work out anyone …

Member Avatar for Nick Evan
0
208
Member Avatar for turbomen

I have a menu system which can allows me to list all the contestants. The following is my menu system: Program Student_millionaire; {$APPTYPE CONSOLE} uses SysUtils, OurCrt; Var User_Choice:Integer; Procedure ContestantsList; Begin WriteLn('1 pressed,listing all the contestants...'); ReadLn; End; Procedure Generate10finalists; Begin WriteLn('2 pressed,generating the 10 finalist''s numbers...'); ReadLn; End; …

Member Avatar for FlamingClaw
0
153
Member Avatar for max.yevs

I've learned quite a bit since my last post, i.e. it kept disappearing on me just because of syntax, but now I'm interested in something: Is it possible to make it so that when you run the .py as is , that it opens another program or directory? I.e. when …

Member Avatar for max.yevs
0
123
Member Avatar for Cardboard Box

Hi How do you draw GDI+ graphics within a class? In my normal starting form, I use the form_paint event but the seperate class doesn't seem to accept the _paint event. So I instead put my gaphics code in the same area as my second classes form propertoes. Class SenateTown …

Member Avatar for Cardboard Box
0
116
Member Avatar for MrAbbas

Hello there, I'm writing a simple code to make a n*4 matrix .. first i filled it with zeroes [ICODE]x0 = input("Please enter x0 = ") h = input("Please define step size h = ") s = input("Please specifiy the point at which you need the solution y(x) >> ") …

0
50
Member Avatar for kelechi96

Hi I want to learn asm but I have Windows XP64 how do I go about learning assembeler for this operating system.

Member Avatar for NicAx64
0
179
Member Avatar for wblakenc

Hello everyone, I have a fairly simple question about database design. I have a database for county voting equipment. Each county has multiple pieces of voting equipment. I currently have two tables, one with counties and one with voting equipment. Is there any reason to have a relational table between …

Member Avatar for wblakenc
0
130
Member Avatar for Tekkno

I am new to PHP. I have a MySQL database with a column of URL's. I have a PHP script that randomizes the URL's and echoes the result to the browser. I just need a need a way to turn the randomized URL into a clickable link. I would imagine …

Member Avatar for Tekkno
0
2K
Member Avatar for danarashad

I have users insert text on pages. When they do a copy paste from word. With a bullet point or a '. It shows up on the pages as []. Can someone help. Is there a safe html insert for coldfusion or a safe text insert. That would strip out …

Member Avatar for danarashad
0
149
Member Avatar for jonpb

Hello, I looked all over the forums here but couldn't find anything on this: I'd like to have a js random image (1 out of 4) load each time a user visits my page. Along with that image, I'd like a specific quote and sub heading (text) to appear -the …

Member Avatar for essential
0
284
Member Avatar for Grn Xtrm

Hello, I'm trying to write a program that evaluates a postfix expression using the vector class. I have done this successfully using stacks but I am experiencing trouble with vectors. Here is the error message I am recieving: I:\vector.java:26: type Vector does not take parameters public static int evalPostfix(String str, …

Member Avatar for Grn Xtrm
0
538
Member Avatar for Clockowl

Hey guys, How do I disable/get rid of that default exception message windows shows when you have an "unhandled" exception in your program? Here's my example code (sorry for not limiting the code's size to the problem only, it's readable enough I think): [code=cpp] #include <iostream> #include <fstream> #include <string> …

Member Avatar for Clockowl
0
163
Member Avatar for rgothard

OK.. I'm trying to write a query which combines data from two tables. (I'm pretty novice at SQL Queries, so bear with me!) However, I want to exclude duplicate data (based on just one column -- an address field). Basically, I want to only have one result per address. The …

Member Avatar for rgothard
0
21K
Member Avatar for Vanq69

Hi guys, I cant seem to work out a way to keep my paragraphs when using a text area as part of a form. I send the form using ajax and then display the text again in a textarea to allow editing before finally displaying it on a standard page. …

Member Avatar for Ezzaral
0
94
Member Avatar for Summerston

What SQL statement would I need to join the employees/work orders tables to create the desired output (below)? ++++++++++++++++++++ + employees + ++++++++++++++++++++ + id | name + ++++++++++++++++++++ + 1 | Jim Smith + + 2 | Susie Helms + ++++++++++++++++++++ ++++++++++++++++++++++++++++++++++++ + Work Orders + ++++++++++++++++++++++++++++++++++++ + id …

Member Avatar for Summerston
0
128
Member Avatar for HBMSGuy

Hi, I was wondering how in C# one would go about creating a worker thread, and after the Start Method is finished, have the thread preform another task. For example: I create a thread, and pass path[0].calculate. Now once that is complete I would like to be able to on …

Member Avatar for Ramy Mahrous
0
110
Member Avatar for Clockowl

Hey guys, I've this code: [code=cpp] #include <iostream> #include <fstream> #include <sstream> #include <string> using namespace std; bool load_file(const string &filepath, string &dest){ ifstream file; file.open(filepath.c_str(), ios::binary); if(!file.good()){ cerr << "Fatal error while opening file." << endl; return false; } //get filesize in bytes from ifstream //seek end, get pointer, …

Member Avatar for Clockowl
0
997
Member Avatar for veledrom

Hi, Code below generates this error [inlinecode]Warning: Missing argument 1, 2, 3for MyWebpage::pageElements(): Class_for_HTML.class on line 18 )[/inlinecode] but i cannot solve the problem. Thanks [code] <?php class MyWebpage { var $header = "<html>\n<head>\n"; var $title; var $keywords; var $content; var $footer = "</body></html>"; function generatePage() { echo $this->header; $this->pageElements(); …

Member Avatar for veledrom
0
52
Member Avatar for Newbie 123
Member Avatar for Designer_101
0
94
Member Avatar for jain4

Hi there, I am very new to ASP.net. I have just started making a website in ASP.net 2.0. In this website, i want to have a admin section which can be accessed only after the admin logs in with a login page. Now I am using custom asp.net script then …

Member Avatar for jain4
0
92
Member Avatar for pt_solar

Hello...I'm trying to write this program answering this question and I keep getting C2440 errors and C2664 errors and I did some research but couldn't find anything on how to correct it. The question says : Write a program that dynamically allocates an array large enough to hold a user …

Member Avatar for pt_solar
0
553
Member Avatar for jameswoodhouse

Hi i'm trying to write a simple SQL command to use within PHP. I want to select the whole table, sort by one of the columns, then only display the top 100 rows. Without the[B] WHERE rownum <=10[/B] it works fine. But it displays the whole contents of the table …

Member Avatar for saurav.prasad28
0
103
Member Avatar for leverin4

I'm working on a program to find a way out of a series of underground tunnels. The LinearStructure Interface and the Location Class were written for me and I wrote the LinearStack and LinearQueue Classes, and they are working fine (as far as I can tell). My problem comes in …

Member Avatar for BestJewSinceJC
0
121
Member Avatar for k2k

my last thread was just solved that i can run my java programs in my linux box. now i would love to know if some one knows how to make a html/xml page that has a link that if i clicked and it would execute my java program. all i …

Member Avatar for k2k
0
169
Member Avatar for SCHarris

I am quite new to C++ and while trying to 'link' functions (methods?) together to make more interesting code. I found that you cannot call a function that is below the function you are calling it from. example: main() { "code" run(); } run() { "code" } This doesnt work. …

Member Avatar for SCHarris
0
84
Member Avatar for jyotiu

Hi All I am new to PHP and just got a project ;) that needs me to extract links from the page, i have got the part of page that have links in a string and was wondering if i can extract all the links in that string. String is …

Member Avatar for martin5211
0
281
Member Avatar for neox183

My homework problem is the following :Write a program that accepts a string from the user and then replaces all occurrences of the letter e with the letter x. I got the following code below that can recognize to find characters and where they are at but I don't know …

Member Avatar for neox183
0
136
Member Avatar for tondeuse34

Hey guys, i just re-installed python and began writing a script, when i go to run it a syntax error appears. The syntax error allways points to the quotes i use, meaning something like [CODE]print "Hello"[/CODE] a syntax error will appear and point at the end quote ' " ' …

Member Avatar for adam1122
0
67
Member Avatar for jam7cacci

I'm trying to add all the square root answer but why am i getting this output: -858993430 #include <iostream.h> void main() { int input; int sqrt; int i, sum, add; cout << "Please enter your desire number: "; cin >> input; for (i=1; i <= input; i++) { sqrt = …

Member Avatar for jam7cacci
0
107
Member Avatar for HITMANOF44th

making php code to pull data for database now it pulls most data fine with the like statment now is there anyway to make it pull both things that are lower and uper case ? [code=syntax]$query = "SELECT * FROM `users` WHERE `$lookby` LIKE '%$lookfor%'";[/code]

Member Avatar for Designer_101
0
102

The End.