199,114 Archived Topics
Remove Filter ![]() | |
i've learned arrays, loops, Creating objects and classes, creating methods, Encapsulation, Polymorphism Overloading constructors, Stack what next should i learn ?? | |
I'm trying to pass several create statements through mysqli->multi_query, I tested the multi_query statements with a couple of queries and it works and when I called it with my actual create statements it just wouldn't go through... there weren't any errors and it returned true. I tested the query itself … | |
Hey I need to create a simple login. The question isn't actually that much about creating the login but about creating 2 views. One for the user who hasn't logged in, the other who is logged in. 1.The user starts program, the panel1 with login is displayed. 2. The user … | |
HI Friends i want to do the connective in C# window application with sql server and in that even i want that if client put information in text box's and click on submit the information should go in sql server db and then again if he is putting same information … | |
How can i cut a string into pieces according to a format i wanted for example ; 23:11 GoToUpperClass("324.223.22.1", "asdadas", 1989) 23 11 GoToUpperClass "324.223.22.1" "asdadas" 1989 what is the easiest way of doing this? | |
hi, i've been trying, without success, to maintain the style of the text in a jTextPane when it is copied into the clipboard. what I want is to copy the text in a jTextPane with styles (eg: bold, italic) and to be able to paste it into MS WORD with … | |
as above. [code] string s; cin >> s; [/code] for example, if the user enters Orange, i want it to convert to orange. please advise what i should do. thanks in advance | |
Hi. I am using boost.threads with SDL. Am using vc++2010. I have wrapped the SDL input functions in a class SDL_Input. eg. [CODE]class SDL_Input { public: bool* GetKeyState(); void ProcessEvents(){ static SDL_Event event; while(SDL_PollEvent(&event)) { switch(event.type) { case SDL_KEYDOWN: keystate[event.key.keysym.sym] = true; break; //and all cases as mousebuttonup....so on } … | |
Election Applicatin of Classes & Objects `create an election 2010 program with the following details: User Interface: Design your own user interface for the ff modules/methods: >User Leverl(admin & user) for admin,can manipulate the whole part of the program for user can only view voting part. >Registration: Assuming that there … | |
I have a very large table and would need to split into lots of tables. The large table has lots of fields of which `Model.ID` gives a number of the product and this is repeated lots of times with other fields used in the row. I need to create lots … | |
Is there any way of making an e-mail form using ASP/ASPX? I am limited in what I can do since I'm not a root administrator on the website this is for. The site uses Contensis as it's content management system so if there is some way of doing it via … | |
Hello, i want to pass variables in url with slashes for example if the url is [url]http://host.com/script/2008/05/05[/url] the script would get 2008, 05 and 05 as variables (year,month,day) i'm using mod_python/publisher. Thanks in advance | |
hi, i want to add an end time in my query using my time to call column. at the moment i have a time to call which will be the start time however i want to add timetocall as endtime which is 15 mins after the timetocall column. i am … | |
Hi there, I need to block port 80 (HTTP for internet). Is there a way to block give socket? Thanks! | |
This is my java assignment for school and I have done most of the work. But I still have some other features I have problems with adding. This is a guessing game where to program requests a number from the user between 1-1000. It will tell the user if the … | |
hi, im working with the queue class but not allowed 2 use the collections namespace, ok thats fine. paitent is the name for objects i want to queue. heres my paitent class [CODE] public class paitent { private string name; private string NHSW; private paitent next; } public string name … | |
Basically, its all to do with the inventory system, all the other reams of code work fine, thank God! with the inventory, the idea is that each character can hold 5 items, so an array, but the array needs to hold the itemID and the itemName therefore an array wont … | |
Hello, I am doing a C# win. application, and using crystal report for printing bills on a custom paper size The width of the paper is unknown (the program has to get the paper size - if this is possible), the lenth of the paper is infinitive (its a roll … | |
This may be a simple question and it may be a complex question. I am not sure. Lets assume I have a windows form app that has three different areas: Area 1, Area 2. If there a way to tell the program when I am assigning tabbing order that I … | |
Hi guys, i have a small problem... The coding works well but it have logic error, let say i have 5 reservation and the database will contain RSV001-RSV005. If i delete RSV002 from the database, and wanted to create a new reservation. The system will automatically will generate RSV005 although … | |
Hello friends, I have a small problem with WordPress. I have a page in WordPress and works great but "www" is missed in the URL. e.g. If the website is example.com and when I write [url]www.example.com[/url] then the address is changed in [url]http://example.com[/url] (correctly should be [url]http://www.exmaple.com[/url]). So, I want … | |
hello...how to open folder using vb??using shell function? | |
I am trying to get my database to display in a form using this code below. The problem is, the form (textfield) is not displaying anything. Can someone give me a hint? [CODE]<?php session_start(); if (!isset($_SESSION['memberusername'])){ header("Location: contractorlogin.php"); exit(); } mysql_connect('localhost','xxx','xxxxxx') or die( mysql_error() ); mysql_select_db('xxxxx') or die( mysql_error() ); … | |
this is a problem iv nt been able to solve..tried still not getting an answer Imagine that an NFA is divided into good and bad states represented by G and B resp..also G and B are mutually exclusive..now a string is accpted by the new NFA only if all computations … | |
Hi all, I am attempting data binding in WPF. I have a class Recipe and another called RecipeService. There seems a problem with the RecipeService class in terms of compatibility with the Recipe class as when I add its type to the ObjectDataProvider in the XAML file, I get an … | |
I would like to calculate the execution time of my bubleshort program in pascal. is there any function available to enable it?? | |
G'day guys, My boss has just asked me to develop a small CRM system. Now, writing a simple SQL Insert is not something im a stranger to, however for some reason i cannot seem to get this working. I've included all necessary libraries, and tested the actual sql statement in … | |
This isn't exactly a problem with C# coding rules, rather I need help with logic. Here's my situation. In my program, I deal with a JobID. Say, a print job, and there is a unique (obviously) JobID assigned to each print job. Now, regarding each job there are MANY files … | |
Hi, I want to know to rows and columns of numbers from a text file. I do not want to read it as a string, but one number (including numbers with decimal) by itself. I tried using FileInputStream and DataInputStream, but I'm not really good at it. I don't know … | |
hello members, i have wriiten a form in my php page and i did call an ajax function on onsubmit, based on my ajax response my form have to be submit...but i am not getting ajax response text some times. But some times i got it correctly..i have used post … | |
Hey guys. I am seriously not as smart as you all. I am working on this program and need read info from an access database to a DataGridView. Now that part i can do. the part i cannot do, and the code i dont know what it is, is to … | |
So I have a basic database of books set up. I am trying to use PHP to query the db and send back the results. I can sort of get it to work, but not working how I would like. The issue is that the search term that queries the … | |
Hi, I have some critical sutiuation for sending email. Example: A. [url]www.othersite.com[/url] B. wwww.oursite.com Lets say : A sendig request to B, the B sendback response to A. B site does not open. B site sending values internally using CURL concept in php. But A site still open. Once A … | |
guys plss help me with this need urgent why i cannot delete row in database this my code [CODE]Try Dim dsql As String Dim connect As New OleDbConnection(conString) connect.Open() dsql = "DELETE " dsql = dsql & "FROM InventoryItem " dsql = dsql & "WHERE TransactionDate = '" & TransactionDateText.Value … | |
Hello everyone, i'm new here but i've been having a problem lately with a sql query inside the code i'm writing, and i don't know what else to do. I've been trying to retrieve data from a table, and i want to use a variable for the "where" field in … | |
Hello all, I have an assignment that seems to be fairly popular. I've done some searches to see if I could resolve my issue but haven't stumbled across the exact problem I'm having. This is the assignment: [QUOTE]A parking garage charges a $2.00 minimum fee to park for up to … | |
A is [[ 0. 2. 0. 0. 0. 4. 0. 2. 0. 4.] [ 0. 0. 0. 8. 4. 0. 0. 1. 8. 0.]] B is [+0.016 +1.950 +0.016 -0.028 +0.121 +4.007 -0.016 +2.008 -0.028 +4.009 ] [-0.536 -0.121 -0.536 +7.684 +3.856 +0.179 +2.230 +0.358 +7.684 +0.214 ] When I … | |
I am testing out some PHP code from a book just to see how it works. This is it: [CODE]<?php $f = $c = ""; if (isset($_POST['f'])) $f = sanitizeString($_POST['f']); if (isset($_POST['c'])) $c = sanitizeString($_POST['c']); if ($f != '') { $c = ((5/9) * ($f - 32)); $out = "$f … | |
Hello, I'm new to this thread but have referenced to it before many times. I have finally joined thanks to all the great responses I have read in the past. Okay, I recieved an assignment which is as follow... "Declare a dynamic array of Person to store the information of … | |
Hi, Here I have my code which exactly functions as nl command in unix. How can I replace my buffer using malloc which reads unlimited line length and where as my code reads 100 char per line. [code] #include <stdlib.h> #include <stdio.h> #include <string.h> #include <errno.h> #define MAX_LINE_LENGTH 100 //Prototypes: … | |
Hey all, Since I am new to this forum I better intorduce myself first. Well, I plan to take C++ in June, but seeing it as being my weakness zone earlier on, I wanna train while I've got the chance. So, I'm studying on my own at home since uni … | |
Hello Everyone! Im making program using java that would look like the (attached file).. If i will choose an item in the combobox(with 3 choices) the corresponding Price would automatically appear on the Price Jtextfield, im having a difficulty if i should use switch or if then else or both..? … | |
I want to set the last 7 columns in the given matrix. Here is the code I used [CODE] temp = mat('[6 0 0 0 0 0 0 0 0 0; 0 0 0 0 0 2 0 0 0 4; 0 3 0 0 0 0 0 3 0 … | |
hello guys i need help in datagridview i know how to display all the data in database using the datagrid but the problem how can i display one data from one customer only in the databse if she input his name so far this is my code [CODE] Dim dt … | |
#include <iostream> using namespace std; int ScrabbleScore(string word) { int x=0; for(int index =0; index < (int)word.length() -1; index ++) { char ltr = toupper(word[index]); if(ltr == 'A' || ltr == 'E' || ltr == 'I' || ltr == 'L' || ltr == 'N' || ltr == 'O' || ltr … | |
This is a friend operator overload function that used addition. It adds two mix fraction by reducing them to simplest form the adding and converting them back to a mixed number [CODE]Mixed operator+(const Mixed& f1, const Mixed& f2) { int newnum, newnum2, gcd, tmpNumerator2, tmpNumerator, tmpInteger, tmpInteger2; Mixed r; tmpNumerator … | |
Hello, I have set up a searchable database code for my website and I was wondering if it is possible to filter the database if I have two of the same names. Example: my database consists of names and other information, but I have similar names but different information for … | |
my professor has a assignment for us... this is the directions "write a c++ program that declares an array alpha of 50 elements of type float initializxa the array the 1st 25 elemensts are equal to the square of the index variable and the remaining elements are equal to 3x … | |
I am making a php calendar script. I want to to store events on separate text files. Beside my calendar is an iframe which is where it will read the events. I cant figure out how to make php read just the portion that is the event, not the code … | |
Hi, I have some problem in solving my homework in java language. I was asked to produce a boolean array and implement some operation. private boolean[] set; How can I add integer into the array list?? thanks |
The End.