64,152 Solved Topics

Remove Filter
Member Avatar for
Member Avatar for alonewolf23

My original question stated: 1. Write a function named "digits" that takes an integer argument in the range from 1 to 9 , inclusive, and prints the English name for that integer on the computer screen.[B][U] No newline character should be sent to the screen following the digit name.[/U][/B] The …

Member Avatar for alonewolf23
0
922
Member Avatar for mbhanley

I need to restrict access to other table id's by making a check against an (id) of a table named users and then check that the (user_id) of another table is the same i.e table1 id username password table2 id somedata user_id if table1 id is the same as table2 …

Member Avatar for mbhanley
0
110
Member Avatar for LevyDee

for removing the last element from a chain in my linked list? [code] Action *temp = head; //Action is my node while(temp != 0) { if(temp->link == tail) //tail is my last node { delete last; tail = temp; tail->link = 0; return; } temp = temp->link; } [/code] I …

Member Avatar for LevyDee
0
110
Member Avatar for inamabilis

Hi All, Been coding Python on and off for a year now, but only just started looking at wx. Got a problem in a larger project I'm working on, trying to remove all items from a GridSizer - I've created the following test code to demonstrate the problem, but to …

Member Avatar for inamabilis
0
2K
Member Avatar for stefilina

hy, i'm new in .net -c# and I have a problem.I have a database with a field where is a long text, for example a description for a product.Well, i want to create a form where where i select something from a listbox, for example the name of product, i …

Member Avatar for stefilina
0
162
Member Avatar for kardklub

I have used this piece of code which is working great. It allows me to add different items from combo boxes to my order form. The problem is that i dont know how to extract the data from my db to display in a form view when i want to …

Member Avatar for Airshow
0
145
Member Avatar for FAITH2011
Member Avatar for Ignatius88

I have been searching for ways to do this but I was not able to find any. What I want to do is this: movie_genre (Table) movidId movieTitle movieGenre (Varchar) 1 Copying Beethoven (2006) Biography 2 Copying Beethoven (2006) Drama 3 Copying Beethoven (2006) Music movie_plot (Table) movieId movieTitle moviePlot …

Member Avatar for Ignatius88
0
146
Member Avatar for horserider

How to put this tool in vb.net 2010 plz check this image.. i hav rounded tat tool in red colour. [url]http://img192.imageshack.us/img192/6697/24961035.png[/url]

Member Avatar for codeorder
0
128
Member Avatar for neutralfox

Hello friends, You have been of great help to me till now. I got a new problem , I am unable to run the JAR file. When i click on the Jar file, I got the following error : "Could not find the main class: socketprog.Main. Program will exit." Thanks …

Member Avatar for Marin88
0
2K
Member Avatar for iqra123

helloooo i am trying this query to compare records of two different tables... i m geting this message!! no required out put pplzz somebody help me its really urgent.. values for these ($jobTitle $industry $stationBase $gender $maritalStatus)are coming from textboxes! here is the code... [CODE]$query = "SELECT *, MATCH(industry, gender, …

Member Avatar for iqra123
0
2K
Member Avatar for mrectek

HI all, Im trying to create a simple MP3 player. I hope that by amalgamating a series of strings, example 1, that they can collectively contain the full play and filename/path instruction instead of the self-contained method in example 2. When I try to compile the solution in example 1 …

Member Avatar for mrectek
0
756
Member Avatar for MasterGberry

[CODE]allPatches = patchFiles.Select(patchFile => Patcher.TryReadPatch(patchFile, true)).ToArray();[/CODE] I don't understand what this line of code does....allPatches is a class, and patchFile is a string. What is this doing? And is there a way to do the same thing in C++? Ty

Member Avatar for MasterGberry
0
90
Member Avatar for reemhatim

I'm doing a second year student in computer and information sciences and it is the first time for me to do a project so I need help . My problem is how to enter a branch information and update the branch information,update holder information .Ijust need a hint to start. …

Member Avatar for reemhatim
0
200
Member Avatar for MARKAND911

I have a number 2879068. I want to display it in currency format as like [B]28,79,068[/B] in C# Can any one help me

Member Avatar for MARKAND911
0
130
Member Avatar for public-image

Hi Guys! :) Erm I have made a section for members to post messages although I know some members will post messages to just observe what effect it may have on the layout as such or just to be pests. My problem is: I have got a table that displays …

Member Avatar for public-image
0
72
Member Avatar for vedro-compota

hi everyone)) Please tell me - where is the mistake here - [CODE]struct address {char* city ; char* street; int housenumb ;}; struct addinf {int age; struct address* address;}; struct student {int number; int kurs; char* name ; struct addinf* addinf;} stud; stud.number=1; stud.addinf.address.housenumb =123;[/CODE] thanks in advance)

Member Avatar for vedro-compota
0
302
Member Avatar for zetologos

this code doesnt work, as in it only asks the user for getchar once and putchar once. i tried putting it in two method and it didnt work either. also whether it be char or int it is the same. that leads me to another question. why is it allowed …

Member Avatar for Narue
0
136
Member Avatar for inilahs

Hello everybody .. This is the first time i post on to daniweb for a favour. Am just proceeding with a math contest. in general say n , need the catalan series with formula 2n!/(n!*(n+1)!) . i am in need of the answer for n=1000. I thought cud try this …

Member Avatar for JamesCherrill
0
118
Member Avatar for vedro-compota

Hi guys! please tell me - how to determine the length of the input stream without reading simbols ? (for save the input string) thanks in advance ))

Member Avatar for vedro-compota
0
86
Member Avatar for diafol

Hi All. I have been struggling with a form wizard all day. I'm using jquery stepy (form wizard) along with validation plugin. To cut a long story short, my first step is to get MySQL connection from form controls details. On submit ('next' button) a check is made on an …

Member Avatar for diafol
0
1K
Member Avatar for deanus

Hi, I've recently downloaded MSVC++ 10.0 Express from the Microsoft website, and I can't seem to find a new project template for 'setup and deployment'. Can I download it individually from somewhere? Thanks, Dean

Member Avatar for Ancient Dragon
0
97
Member Avatar for shack99

Hi all, I'm having a bit of a problem with my code. I've created an arraylist method and when values are inputted it prints them one by one. [CODE] import java.util.*; public class ArrayListDemo{ public static void test(int i){ List arrlist = new ArrayList(); arrlist.add(i); System.out.print(arrlist); } public static void …

Member Avatar for shack99
0
180
Member Avatar for AmerJamil

i have two questions 1st is can any one please tell me what is the role of setprecision in C++, why it is used? 2nd is : this statement [code]totalS+=sales[i][j];[/code] is equivalent to what, i.e what is the role of this += thanks alot

Member Avatar for frogboy77
0
148
Member Avatar for vedro-compota

Hi guys! )) please reply - how to clear the input stream of the console? thanks in advance ))

Member Avatar for vedro-compota
0
194
Member Avatar for tcollins412

i have a div like [CODE]<form method='post' action='send'><div id='fail' name='cool'>300</div><input type='submit' value='submit'></form>[/CODE] now how would i call that into a variable in php? i tried [CODE]$cool=$_POST['cool'];[/CODE] but it didnt work. help

Member Avatar for morteza_ipo
0
97
Member Avatar for cj333

Here is the json show: [CODE]{ "results": [ { "title": "Conflicting Reports on Iran\u2019s Arrest of a Foreign Woman", "multimedia":[ { "caption": "Moktada al-Sadr spoke to thousands of supporters on Saturday, stating conditional support for the Iraqi government." } ] } ...] }[/CODE] I tried this code, but I can …

Member Avatar for cj333
0
82
Member Avatar for abelingaw

Im getting this error: [ICODE] Arguments are of the wrong type, out of range or are in conflict with another [/ICODE] Here's my code: [CODE] rivate Sub cmdPrintSel_Click() Call Con("Database.mdb") RecSet.Open "Select Payroll.EM_ID, Payroll.EM_Name, Payroll.EM_Dep, Payroll.Monthly_Rate, Payroll.dDate, Payroll.xBonus, Payroll.xOT, Payroll.GSIS, Payroll.PH, Payroll.InTax, Payroll.Others, Payroll.absences, Payroll.Advances, Payroll.NetPay " & _ "From …

Member Avatar for jhai_salvador
0
109
Member Avatar for alonewolf23

[CODE]#include <cstdio> #include <cstdlib> #include <iostream> using namespace std; digits() { If(num==1) cout<< "one"; } int main(int nNumberofArgs, char* pszArgs[]) { int num; cout << "Enter a number 1 to 9:"; cin >> num; digits(); system("pause"); return 0; } [/CODE] I just want to make a simple function that when …

Member Avatar for jonsca
0
841
Member Avatar for MasterGberry

So basically I am working on converting a C# project to C++. And i am confused on how the beginning of the C# project works, it has the following code in it, and I am trying to make this C++ compatible, but I can't seem to find where the arguments …

Member Avatar for MasterGberry
0
92
Member Avatar for MasterGberry

Getting two link errors with my code provided below They are being generated by lines 38-46 I believe. I can't seem to find an issue... 1>AoE2Wide.obj : error LNK2020: unresolved token (0A000340) "public: static class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> > AoE2Wide::Program::_gameDirectory" (?_gameDirectory@Program@AoE2Wide@@2V?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@A) 1>AoE2Wide.obj : error LNK2001: unresolved external symbol "public: static …

Member Avatar for MasterGberry
0
181
Member Avatar for BaSk

I'm trying to run a date range query which works, but I also need to get data outside of the date range inside of the same query which I get to work. The issue I'm having is when the start date is in say 2011 and the end date is …

Member Avatar for BaSk
0
246
Member Avatar for EddyLLC

Hello all, working in VB6 I want to pull all records from Access table named Answers that in a field named Color have "White". Within that record there are 10 fields of various numbers that I want to sum and average. In short I want to pull all records with …

Member Avatar for EddyLLC
0
117
Member Avatar for michael1999

Hi i have multilang website when you entered homepage default site if you are from polonia it redirect to you polonia page this script works perfect but the problem is if you are trying to see [url]www.server.com[/url] instead server.pl and if you are from polonia you not able see because …

Member Avatar for michael1999
0
103
Member Avatar for NewOrder

i have my main and a function that deals with an array. [CODE] public static void Main(string[] args) { Pieces [,] pieces; ChessBoard(out pieces[,]); // The IDE shows that the mistake is here. It says that the overloaded method has some invalid arguments! How can i make it so that …

Member Avatar for Mitja Bonca
0
99
Member Avatar for globberbob

I have been looking around a while, trying to figure out at the very least, how to take a string like "25 from a car accident" and have 25 as a useable integer and "from a car accident" as a useable string. what i'm trying to accomplish is doing this …

Member Avatar for globberbob
0
119
Member Avatar for nasablast

This is currently the code I am using: [CODE]<?php //connect to database include 'global.php'; $case = date(ymdHis); //get form data $p1_firstname = addslashes(strip_tags($_POST['p1_firstname'])); $p1_lastname = addslashes(strip_tags($_POST['p1_lastname'])); $p2_firstname = addslashes(strip_tags($_POST['p2_firstname'])); $p2_lastname = addslashes(strip_tags($_POST['p2_lastname'])); $p3_firstname = addslashes(strip_tags($_POST['p3_firstname'])); $p3_lastname = addslashes(strip_tags($_POST['p3_lastname'])); $city = addslashes(strip_tags($_POST['city'])); //register into database $register_case = mysql_query ("INSERT INTO cases …

Member Avatar for brewbuff
0
81
Member Avatar for fairy1992224

I need to complete this project by next Monday. How do I do a menu selection EXAMPLE: Press 1 to enter the model number. Press 2 to delete a record. Press 3 to exit the program. I'm doing this project on NetBean using Java. Can someone please teach me? Thanks!!!!

Member Avatar for peter_budo
-1
106
Member Avatar for Viperino

Hello. I'm looking for a way to format lines on a MsgBox, so that the records don't seem out of place. What I have is this: [URL="http://sites.google.com/site/hqupt666/home/Untitled.jpg?attredirects=0"]http://sites.google.com/site/hqupt666/home/Untitled.jpg?attredirects=0[/URL] If you can't see it it's something like this: Num Name HF 1 something 11 2 somethingelse 22 3 andsomethingelse 33 I've been …

Member Avatar for Viperino
0
4K
Member Avatar for o0OPatriciaO0o

Hi! This is a real simple and stupid exercise I thought I knew how to handle. The complete heading is: - Write a function in C whose input is a real number and whose output is the absolute value of the input number. The following is the code I've developed. …

Member Avatar for o0OPatriciaO0o
0
242
Member Avatar for PeterWaij

I hope somone can help me. I made a page and used jquery for a popup page. In the popup page i have 15 images. I want the user to select a image and once the image is clicked it must be displayed on the main page. I have tried …

Member Avatar for JCWD
0
124
Member Avatar for amir malik

hello everyone... m writin a code that will take data frm stdin from user which can b of indefinte size.. but i cant make use of static arrays....and even calloc and malloc is not working properly...what sud i do??? thanks for help...

Member Avatar for amir malik
0
285
Member Avatar for Elandir

Hi there, I have a little problem with commands. I know this is about shell scripting but i couldn't find a thread for commandlines. So i have this assignment to "display all the lines for tcp- services and udp- services and count the lines" and i honestly don't have an …

Member Avatar for Elandir
0
210
Member Avatar for anita_86

Hi! I am trying to find a hint about Hierarchical login panel in PHP which authenticates the login user and gives rights as per his position in hierarchy like follows: [QUOTE] Administrator-> Manager -> Business Developer | Programmer -> Marketing Executive [/QUOTE] Where login rights are descending as per user …

Member Avatar for pritaeas
0
67
Member Avatar for SpecialForce

Hello, I have the following code: [CODE]#pragma warning(disable: 4786) #include <io.h> #include <string> #include <vector> #include <list> #include <iostream> using namespace std; // structure to hold a directory and all its filenames. struct FILELIST { string path; vector<string> theList; }; void TransverseDirectory(string path, list<FILELIST>& theList) { struct _finddatai64_t data; string …

Member Avatar for SpecialForce
0
196
Member Avatar for vedro-compota

Hi guys ) Please help me - I can't understand - what's the meaning of this error message . [QUOTE]Object reference not set to an instance of an object.[/QUOTE] for this piece of code - [CODE]CityName = "NY"; this.MapCityMass.ArrayOfCities[this.NumberOfCities].CityName = CityName; [/CODE] this class's code - [CODE]public class CITY { …

Member Avatar for vedro-compota
0
197
Member Avatar for ryathegr8

hi this is my code for forget password module..... i dont know why its not working....:(( i have attached the snapshot as well.... plz help me.... error is while updating..... [code] string strCon = ConfigurationManager.ConnectionStrings["ConnectionString"].ConnectionString; SqlConnection objcon = new SqlConnection(strCon); objcon.Open(); string str1 = "'"+txt_EmpFP_Uname.Text+"'"; string str2 = "'" + …

Member Avatar for kvprajapati
0
71
Member Avatar for HelenLF

I am displaying data from an sql database in a textarea which will be altered by the user then re-submitted to the database. The problem is displaying a line break. I get <br /> displayed in the textarea rather than the newline. Can anyone help?

Member Avatar for HelenLF
0
112
Member Avatar for methmignonne

hi, i want to convert a color image into a greyscale image. after loading the color image, i have to count pixel by pixel to get the frequency of the color (0-255) to be placed in an array. can anyone help me how to count the frequency? thx in advance.

Member Avatar for methmignonne
0
1K
Member Avatar for anita_86

Hi!, I have a contacts table in MySQL and I want output in a select menu. Problem is, some rows dont have any record in it, and it is displayed in very odd way as it outputs blank fields and some data in between. My overall code is: [CODE]<?PHP $query=mysql_query("SELECT …

Member Avatar for pritaeas
0
120

The End.