199,114 Archived Topics
Remove Filter ![]() | |
Hi, I have this website where there will be chat rooms. I would like to have a form(php script) of rules of conduct before people gets access to the chat rooms. The options: Yes to continue to the chat rooms, No to send them back to the Home page. Thanks … | |
I am getting the following error codes when trying to compile the following 2 files 1>c:\users\adam-7\documents\visual studio 2010\projects\chapter 13\exc_1\exc_1\cd.cpp(9): error C2533: 'Cd::{ctor}' : constructors not allowed a return type 1>c:\users\adam-7\documents\visual studio 2010\projects\chapter 13\exc_1\exc_1\cd.cpp(58): error C2264: 'Cd::Cd' : error in function definition or declaration; function not called Provided the code, any … | |
Hi While learning how to create and manage a session, I got through session time out technique, I got throw 2 ways : 1. Setting up garpage collection directive in php.ini file and 2. Create a session variable named, say, EXPIRE that holds the value [code]$_SESSION['EXPIRES']=time()+360;[/code] at the beginning of … | |
Hi, I am developing a website for a local group and want to include photo album. My idea is that users could create albums and if they belong to the same group, they can upload photos to the album. But I want to make it quite efficient and quick loading. … | |
Friends... I'm doing INVENTORY project... front-end : vb.net back-end : Access I'm having PURCHASE, SALES tables... In sales form, i need to create CONTROLS during RUN-TIME... i.e, when we gone for shopping to a DEPARTMENT store, we buy LOT things... they will give us only one BILL... when they are … | |
Dear respected programmers. Please could you help me (again) on how to put the following code into functions for my program. I have read on-line and understand how functions work but when I do it myself it all goes pear shaped(I am such a noob). Please could you help with … | |
Here's the code I have [code] $query = "SELECT partID, fname, lname FROM tblPartInfo WHERE lname = '$lname' or fname = '$fname'"; [/code] Works like a charm. Now, I want to be able to use wildcards so that the user can enter, for exemple, HO to search for HOUSE so … | |
I am writing a program to input an infix expression, convert to postfix, and then evaluate. Converting to postfix isn't the problem, but evaluating the expression is giving me odd answers. Simple expression like 1+1 is giving me 12 as an answer. I cannot figure out what the problem is. … | |
i have created new database it is there in C:\xampp-win32-1.7.3\xampp\mysql\data that directory but it can't visible in [url]http://localhost/phpmyadmin/[/url] in that phpmyadmin that combo box please can u help me | |
All, First, thanks for reading! I'm very new to python, and I'm trying to do something that seemingly feels impossible. I'm using Python 3.x to write a script. This script, so far, only runs Windows "net use" command and gets back drive mapping info. The problem is that I need … | |
Im new to C, this will probably become apparent. I've been working on this program for about two months now and im getting to the final stages of it being completed. I just need to clean a few things up. Anyways, one of the functions my program does is sends … | |
how to generate code to get output- input-12345 output-1+2+3+4+5=15 | |
I want to join 2 dots of the same colour that is 2 red dots or 2 blue dots ....but after applying my code...when i run the program it does not join the 2 same colour dots...even though it does not display any error. So basically i am trying to … | |
Hi, It is my very first post, im doing it because i know some C basics and now im stuck with more advanced problems, more catchy questions. Lets say iv allocated a memory block by function called calloc. i have 1 bit field [CODE]struct datatype { unsigned short int a: … | |
Hi friends... My friend s doing an online project... He wants to know how many users(REGISTERED) are LOGGED-IN CURRENTLY in his site... i.e if i'm ADMINISTRATOR of this DANIWEB, i want to know the USERS CURRENTLY LOGGED-IN... I need the logic for this... Help me... Thanks in advance... | |
Hi i was just wondering if anybody could help me with this code. #! /usr/bin/env python # -*- coding: UTF-8 -*- [CODE]import turtle def initialize ( color = "blue" , smallest = 1.0 ) : turtle.clear ( ) turtle.up ( ) turtle.goto ( -100.0 , 100.0 ) turtle.setheading ( 0 … | |
![]() | I have a table with roughly 50,000 records. Each record has 25 or so columns. One of which is a phone number column. Some of these records, while most not not the same in any other way (a few are identical), have the same phone number. Id like to delte … |
hello all my problem is a confusion on the second problem here i managed to solve the first problem and made the program i hope its correct as u see.. First problem Three memory locations A, B, and C contain numbers. Write down the algorithm for finding and printing the … | |
Hi! There is anyway to make the buffer size of a socket dynamic ? Because i need to download some things and my buffer of 1024 bytes cant get all the information. How could i do this ? Thanks | |
Whats the difference between using CC and CPP as the file extension for C++ programs? I thought C++ use the CPP extension for source files. I was reading this article and saw he used CC. [url]http://community.linuxmint.com/tutorial/view/111[/url] | |
Hi everyone...just going from console apps to windows forms apps....This is extremely basic and is annoying me now... [CODE] public partial class Form1 : Form { public Form1() { InitializeComponent(); } private void button1_Click(object sender, EventArgs e) { MessageBox.Show("{0}",hello2(2)); } public int hello2(int hello) { hello = 10 / 5; … | |
Hi this is the HW question, i can't understand the avail_list part can anyone explain?? (1) Write a program to implement indexing with avail_list support for deleted records as follows: a. The program maintains a data file called students.txt of students’ records which contains studentID and studentName. These records of … | |
Hi, i have class "User_registration" and in this class i need use many class: "Location", "Links", "Mail", "Module". i create include all class in file: include 'class/location.php'; include 'class/links.php'; include 'class/mail.php'; include 'class/modules.php'; Now create "User_registration" class. [CODE]<?php class User_registration{ public function insert_to_db($name, $country_code, $home_page) { //work with data return … | |
Hi team, Thanks for the view.. So here is my question... Here's what I am trying to do... I have a form that people fill in to send an email to selected people. They fill in the form and it now goes to a database to hold it until approved … | |
Hello, I need help transforming a current script into on that can loop through some data for me. As you can see I currently have the ItemName and Address commented out "-- Set @ItemName = '95B046125' Set @Address = '195 WELLESLEY ST E'" and then I have to uncomment it … | |
I'm in the process of converting a legacy app from D5 to D2009. I'm getting errors on AnsiToNative, NativeToAnsi (both DBTables) and DbiOpenSPParamList (BDE). Apparantly the parameters for these functions have changed. Does anyone here have a ready example on how I should use these in D2009 ? I was … | |
Hello there, I'm new to C programming and am following a course in C. I've got an example code for piping. It's not a very hard code to understand. It goes like this: [CODE] #include <stdio.h> #include <unistd.h> #include <stdlib.h> #include <string.h> #define READ_END 0 #define WRITE_END 1 const char … | |
I am having a problem with the following piece of code: [CODE] For countInteger As Integer = 0 To 3 seatsSoldInteger = ticketDetail(indexInteger).seatsSoldInteger costDecimal = ticketDetail(indexInteger).costDecimal totalTicketSalesDecimal = seatsSoldInteger * costDecimal Next countInteger [/CODE] I can't get it to break out the totalTicketSalesDecimal for each countInteger | |
when we write [javac abc.java] a bytecode is generated. AND THE BYTECODE CONTAINS INSTRUCTIONS FOR THE JVM and each instruction is 1 byte in length. NOW my question is where does the interpreter comes into action and what happens after the bytecode is generated. I was told that interpreter produces … | |
I am only new in vb 2008 .I Want to populate a combo box in vb 2008 with mysql, but when i run the thing that appear is "System.__ComObject"..kindly check the errors...plz.. [code] Dim conn As ADODB.Connection Dim rs As ADODB.Recordset conn = New ADODB.Connection rs = New ADODB.Recordset With … | |
hi all, i am a newbie to visual basic .net i have a vb.net database that has 3 textboxs that go to a listbox and also store in a database. i was wondering if i can extract the data from the listbox to excel like a csv file or something … | |
i use the window 7 with Turbo C(16-bit) compiler , now i have an assignment to generate the bicycle code in c++ graphics when i run any graphics program the TC show error and terminate . plzz help me as fast as possible. | |
I am still VERY new to JavaScript, so I will do the best at explaining what I am trying to do here... I have a database table where I store a bunch of invoices. I am now trying to make a front end to run queries. I don't know how … | |
So I'm trying to make my own version of Pokemon simulator and this is what i have so far.. [CODE] /* Pokemon.cpp */ #include <iostream> #include <vector> using namespace std; void battle( int enemyHealth, int Health, int enemyAttack, int Attack, vector <string> &att, vector <string> &enmAtt ); int main() { … | |
![]() | I need to create a serverless chat manager can some one help me |
I want to do something very basic and have tried many ways without success. I have a simple database table consisting of four fields. All it is doing is showing affiliated clubs. One field is 'webaddress' which is the http address. I want to make "title' into a hyperlink so … | |
Hi, I have an array, and I want to split the contence into textboxes. I have written some code to do so, but it won't work and I can't figure out what's wrong with it. Could someone please help me with this [CODE] Dim bh As String Dim x As … | |
I have program that wants the user to inter an array and revers it and alos serch for some elements in the array but I have an error C2679 binary'<<': no operater found which takes a rigth-hand operand of type 'void' ( or there is no acceptable convesion). and I … | |
I'm having trouble getting my python scripts to insert into a mysql database. I'm able to do other commands successfully such as adding or dropping tables, selecting items from tables but inserting into tables isn't working. I can manually insert but the script won't do it. I have an entry … | |
I need help with rand();. This program produces random number without repeating. In my error list there are no errors. Unhandled exception at 0x00414742 c++.exe: 0xC0000094: Integer division by zero. [CODE]int *numbers,range; void randomize(unsigned numberToSelect){ for(unsigned i = 0; i < numberToSelect; i++){ const int selectedElement = rand()%(range - i); … | |
Hi, I'm comparing String with array of Strings and I got this error Object reference not set to an instance of an object. This is my code: [CODE]For Each Str As String In Word If Str.Contains(w1) = False Then MsgBox(w1 & _ Str.IndexOf(w1)) out += 1 End If Next[/CODE] The … | |
Hi! How could I change custom cursor size? I was playing with Point(a,b), however the cursor is always 32x32 and it looks horribly. Below you can see my code snippet. Thanks! [CODE] Toolkit toolkit = Toolkit.getDefaultToolkit(); Image imageCrossCursor = toolkit.getImage(BeadToolbarColor.class.getResource("/icons/cross_cursor.png")); cross_cursor = toolkit.createCustomCursor(imageCrossCursor, new Point(0,0), "Cross cursor"); panel.setCursor(cross_cursor); [/CODE] | |
1.What is diffrence Between NULL and '/0' characters? 2.Does the last cell os a string has NULL or '/0'? | |
Hi, Could someone tell me how to open a file in C based on user input. This is what I have tried: [code=c] printf("enter the filename"); scanf("%s",filename); fp1=fopen("filename","r"); [/code] | |
This is not necessarily a Python or wxPython related question. Let's say i have GUI made with wxPython. How does one implement changing language of the GUI(menu names, help strings etc.) in a correct way. Thanks. | |
I am building a simple tree by pointer this tree would only have one child and one sibling if you call addChild more than once on the same node, it would add a sibling if you call addchild more than two times(assume it is three times) on the same node … | |
hi guys i need some help,i have installed ruby 1.91+rails 3.0+radrails 0.7.2 bu twhen im using the radrails it cant start the server it keeps like: "starting the server" and it never works! rails path: C:\Ruby192\bin\rails rake path: C:\Ruby192\bin\rake it says it cant load script/server thanks | |
I'm having a problem with my program. This program will display the numbers and get the average of them, average of positive and negative numbers, and also display the largest element. I have 3 files. For header, other functions and main function. Prog.h [CODE]#ifndef Prog #define Prog class Prog { … | |
how can I output 123454321, if i input 5. and 1234321 if i input 4? | |
hello... i am not sure..is there any chance to open my webpage in firefox. for example i am browsing mywebsite using IE. when ever i click link of the page then automatically it will open in firefox. this option is not for all pages only for specified page. thanks. |
The End.