199,114 Archived Topics
Remove Filter ![]() | |
i wrote this module code but not sure if this is how you write a module. Is there anything i have missed?? [CODE]int FirstModule(int section) { cout<< "Pick a number " <<endl; cout<<endl; cin>>number; if (number == 1) value = 1.00; else if (number == 2) value = 1.10; else … | |
Hi guys, I am wondering how can I create a sorted linked list, without using Collection.sort(). Is there a way I can add element in a list in a sorted fashion? | |
Hi, I'm having a syntax issue with timeit while trying to measure the time taken by a function meant to concatenate two linked lists. [CODE] def get_time() : import cell import timeit for i in range( 1, 16 ): lista = cell.make_list(i) #this function return the root of a sll … | |
I am familiar with several PHP random image loaders. The only thing I can not seem to find very easily with these scripts is one that prevents repeats for so many reloads. I have a directory containing 3500 images. What I have noticed is that I can cycle through the … | |
There are a few things I need to know how to do to complete the Booking Form on my website found here: [url]http://www.n-v-m.co.uk/Booking.html[/url] Any help on the below points would be much appreciated: 1- I need to center the labels in line with the multi line text fields... ie. where … | |
Hi, so ive been teaching my self pointers, and I just wanted to clarify what I assume so far. You cant declare: int var1 = &var2; You MUST use a pointer to store an address: int *var1 = &var2; When assigning a pointer variable, it must always point to an … | |
So I am new to C++, but I have read on dynamic memory and pointers. I know java well, but java gives you a lot of helpers, C++ not so much D: Ok so I am using VS 2008, and I am just rather baffled on how to get started. … | |
Hi Everyone! I was wondering how I would use a javascript varible in jquery ?. [CODE] function postNewAnswerAlerts() { if (http_request.readyState == 4) { if (http_request.status == 200) { var result = http_request.responseText; $('div#question').load('responder.php?mode=readquestion&id=' + result).show().fadeIn('slow'); } } } [/CODE] Many thanks James. | |
[B]hi I want my delphi db programm to run automatically in resolution 1024.768 and when I close the programm it returens to previous resolution (windowes resolution)like the most games what should I do? [/B]:( | |
hi all, I'm designing my website and I create a form page and connected with asp code :this is the code ======= [CODE]<% USER NAME= trim(request.form("USER NAME")) E-MAIL= trim(request.form("E-MAIL")) PASSWORD= trim(request.form("PASSWORD")) CONFIRM PASSWORD= trim(request.form("CONFIRM PASSWORD")) FIRST NAME= trim(Request.Form("FIRST NAME")) LAST NAME= trim(Request.Form("LAST NAME")) SEX= trim(request.form("SEX")) DATE OF BIRTH= trim(request.form("DATE OF … | |
Hi there, I am new to C++ and trying to get my head around it. I am writing really simple and small programs and I have Visual C++. Now, can anybody summarize how I can run a program I wrote with C++ on Visual? The guide that comes with the … | |
Am embarrassed to ask this but RegEx is really my kryptonite. I have a RegEx line that extracts just numbers from a string. However, I need to tell it that I only want the numbers that come BEFORE a specific set of characters, let's say SDCSDC. Any numbers after that … | |
Hi. I have a working program that lets you put info about a coupon. and then later on you can search for coupons, display them or remove them from the linked list. My problem is that, we are not supposed to perform input operations from our classes. But the way … | |
[CODE]$page = implode ('', file ("http://examplesite/index.cgi?prod_id=" .$product_sku. ";vendor=" .$mf_name. ";shopname=url;lang=UK")); $mysite = $_SERVER['PHP_SELF'].'?link='; // request this page $page = preg_replace("/<a href=\"(.*)\">/i", "<a href=\"$mysite\\1\">", $page); echo $page;[/CODE] Now i can't find a way to get this work. I need product_sku and mf_name to be collected from a joomla vm site and … | |
hello friends I need to create a child window. but when i am triggering the same event mutiple window is creating. How can i check whether a the window is already visible or not? How can i focus on the same if it exists? | |
Hello.. I'm working on my project.. It's not done yet.. But i wanna debug these errors now first.. Please would someone check them for me. Thanks.. Here is the interface: [CODE]# ifndef MAINMENU_H # define MAINMENU_H # include <iostream> using namespace std; class MainMenu { public: MainMenu(); MainMenu(string the_name); MainMenu(string … | |
I want to launch a new process from a given string of input (including parameter). I tried to use system() but it appears that in the child process, getppid() is not the same as the caller in some runs (probably because system uses the shell as command interpreter). However, if … | |
Hi, I'm working on a project whereby I have a dropdown control and a formview control. The formview is linked to a datasource and the dropdown is supposed to utilize a stored procedure to update the row that the formview is displaying. Now the problem here is 1- is it … | |
I made a very simple website using ASP.NET and SQL Server. I will post all the code up if it will help. On my local machine, the website works perfectly. I can preview it from Visual Studio fine, and I set up the IIS on my localhost, and it works … | |
Please suggest how thius can be achieved and best approach to follow. a) Suppose server1 have application which is started using "java -[B]Xmx512M[/B] -jar <[B]app1[/B]>.jar" from command prompt from particular directory example C:\proj\application1> C:\proj\application1> Based on certain condition I want to stop this <app1>.jar on server1 and b) Start app.jar … | |
Hi, I have an application where I have to use two dll files as reference to my project. The thing is, my dll files both have the same name, but are something like different versions. I am not able to add both as references becoz of clash in name. And … | |
i wrote this shell given below. please i need any suggestions and assistance in making this created shell support the following commands: cp (copy), del (delete), hos (prints the hostname of the machine), cd (changes directory), clr (clears the screen), dir (lists contents in directory), environ(lists the environment setting), echo … | |
i cave this code [CODE] #include <iostream> #include <cstdlib> #include <cassert> using namespace std; typedef int typos_akmis; template <class typos_stoixeiou> struct korifi { typos_stoixeiou dedomena; /* i would like to do korifi<typos_stoixeiou> * ->kdktis */ korifi<typos_stoixeiou> * epomenos; akmi<typos_stoixeiou>* kefali; /* here is the problem */ int episkeftike; } ; … | |
Help!! I need to generate a bar graph out of the data from the MySql database, could anyone help me here? Thanks! | |
Ok, I know that I am missing something due to my lack of knowledge with Binary Serialization and wish I could find better material on it. In the mean time, thanks to one of the moderators help, I have now been able to store an array in my database. Once … | |
Hey, Im using visual studio 2008 trying to make a windows form application that uses a database. Currently The design looks like this a Table BandID -> links to a table of Contacts -> also links to a table of Songs If i have a member of Table BandID with … | |
hello everyone, im just confused on how to create GUI using the visual c++, could you help me.. coz i tried one but it doesnt work at all, do i haVE to setup anything on its properties | |
Hello guys, need a little help here! I wanted to create a fading effect on a groupbox but there is no opacity property for that control. Is there any way to set a control 's (i.e. button, groupbox, etc) opacity? Ive been searching the net but found no useful help... … | |
CREATE TABLE Item(Item_no varchar(10), Type varchar(10), Size varchar(10), Colour varchar(10), Brand varchar(30), Purchase_Date Date, Price varchar(15), Hiring_rate varchar(10)); What's wrong with this CREATE TABLE query? When I try to insert it, it was told invalid identifier. I dunno why. Plz help me. Thank you very much!!! | |
I am currently doing a college project using asp and c#. I have the sql database connected and I am able to write to it but i cant read from the database the way I want. So I have a dropdown list populated by dates from my database and I … | |
What is the link between php and mysql? Please anyone help me | |
Hi, I have to implement in C an distibuted algorithm, which counts the number of processes in a full-connected network when happens f byzantine faults. Could you help me with the algorithm ? Only a basic idea! I don't want the implementation. I am looking in web and I found … | |
<iframe id="theIFrame" onLoad="resize()" style="width:100%; height:100%;" frameborder="0"></iframe> I have this.. the src is file go.jsp in go.jsp changes occur.. how can I resize go.jsp the iframe so that there wont be scrolling dont give me solution use scorlling="no".. simply..data will be hidden below..I want to resize the page... | |
Hi, When I click BACK button on my Browser, all old variables were sent to URL are retrieved again. How can I destroy them? Thanks | |
Hello everyone, I'm new to C / C++, and just wanted to make a file which can delete an item. The code worked, but when I want to give a path, it doesn't work anymore. Any help? [CODE] #include <iostream> #include <stdio.h> using namespace std; int main() { remove ("c:\users\asus\new.docx"); … | |
Can anybody help me here... my application being developed in ASP.NET uses a master page. The master page is set out with a header table, site navigation table, and the content place holders.... when i load certain pages the site navigation table (on the left) will automatically resize to try … | |
Hi, I am new to java programming, but i have this problem: I open an image, i put ir in array 2 dimensional, teh idea is like this array[count][0]=x; array[count][1]=y array[count][2]=red; array[count][3]=green; array[count][4]=blue; array[count][5]=alpha; I do so becaude i need to work with colors, but later on i want to … | |
I am working on payment module which includes credit card transaction. I have a domain FOOXYZ.COM (IP: x.x.x.x) which is secured with SSL and I can access it with [url]https://fooxyz.com[/url] Now in fooxyz.com I have a page payment.php [url]https://fooxyz.com/payment.php[/url] In payment.php I am accessing an IFRAME and the source of … | |
Hey Guys, Ok so here is my problem, i have written a failrly long batch file that automates a lot of the jobs i have to do to new machines when built (im a PC Tech) and one of the things it does is tells you your processor arcitecture type … | |
Sorry to bother, what is the best site/avenue to find serious programmers interested in joining a project to develop a course-building program for ordinary experts (i.e., non-programmers) who want to help people learn who have never had the opportunity for a good education. I.e., this is a poverty-in-education fighting idea … | |
I know how to make 64 bit integers but how do I make 64 megabit integers? That is a bit rate of (1024^3)*64 bits. Is this a simple job as I don't know where to begin. I thought somebody might know of a library/script that will allow custom bit rates … | |
in my program i am getting this error what would be the reason Warning: include(/common.inc.php) [function.include]: failed to open stream: No such file or directory in C:\xampp\htdocs\oob\Product\manager.php on line 41 Warning: include() [function.include]: Failed opening '/common.inc.php' for inclusion (include_path='.;C:\xampp\php\PEAR') in C:\xampp\htdocs\oob\Product\manager.php on line 41 | |
Hi there Can somebody please give me a link to a tutorial regarding materialised views/snapshots (preferably in Oracle) and perhaps some sample scripts too. Thanks in advance. | |
I was trying to play a powerpoint presentation(.ptp & .ptpx - I think that is the old and new extensions) and get it to play once it has been uploaded. Now im 80% sure but I remember seeing a powerpoint presentation being played through a browser a year or so … | |
Hi I need to insert a flat text file into a SQL Server table using C#. The text file lines are 500 characters long and I will need to break it up into columns. Column 1 – 6chars, Column 2 – 1chars, Column 3 – 8chars I’ve managed to read … | |
So I tried making my first program but it didn't work, but I can't figure out what is wrong with it. I have added some commentary with the code: [code]#!/usr/bin/env python import sys from random import randrange, shuffle, choice, sample DOORS = ['ant','ant','ant','bee','bee','bee','car','car'] def pickdoor(picked): """Returns a number representing the … | |
My application is being developed in VS2008. Target frame work is .Net 2.0 This is a Desktop application. My application collects some information from User, Name of company address etc. Those are to be included in the report I am generating. I need to save these information and some other … | |
Hi, We are designing a windows application where we need to 'Get tables and columns from existing sql server snapshot file or backup file' . Does anybody know how it can be done. Please provide help. Thank you. | |
hello seniors, i am in need of getting some good tutorial or any helping example by which i can get an idea about how to serialize the objects in wxpython. your help will be highly appreciated. Regards Punter | |
The End.