64,152 Solved Topics
Remove Filter ![]() | |
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 … | |
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 … | |
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 … | |
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 … | |
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 … | |
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 … | |
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 … | |
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] | |
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 … | |
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, … | |
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 … | |
[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 | |
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. … | |
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 | |
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 … | |
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) | |
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 … | |
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 … | |
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 )) | |
![]() | 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 … ![]() |
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 | |
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 … | |
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 | |
Hi guys! )) please reply - how to clear the input stream of the console? thanks in advance )) | |
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 | |
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 … | |
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 … | |
[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 … | |
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 … | |
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 … | |
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 … | |
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 … | |
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 … | |
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 … | |
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 … | |
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 … ![]() | |
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!!!! | |
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 … | |
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. … | |
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 … | |
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... | |
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 … | |
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 … | |
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 … | |
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 { … | |
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 = "'" + … | |
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? | |
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. | |
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 … |
The End.