199,114 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for dnyal-1

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 …

Member Avatar for jonsca
0
68
Member Avatar for alkeshtech

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?

Member Avatar for Andreas Hollman
0
116
Member Avatar for jmoran19

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 …

Member Avatar for lrh9
0
196
Member Avatar for the0ry

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 …

Member Avatar for kireol
0
654
Member Avatar for loll_l

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 …

Member Avatar for loll_l
0
151
Member Avatar for clutchkiller

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 …

Member Avatar for clutchkiller
0
77
Member Avatar for jigglywiggly

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. …

Member Avatar for mrnutty
0
323
Member Avatar for jamesxg1

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.

Member Avatar for jamesxg1
0
71
Member Avatar for seto.girl

[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]:(

Member Avatar for Ionelul
0
125
Member Avatar for joe111

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 …

Member Avatar for joe111
0
110
Member Avatar for Violet_82

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 …

Member Avatar for Violet_82
0
187
Member Avatar for SergioQ

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 …

Member Avatar for d5e5
0
169
Member Avatar for tizzo233

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 …

Member Avatar for Agni
0
111
Member Avatar for aashiqe

[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 …

Member Avatar for aashiqe
0
68
Member Avatar for revathskumar

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?

Member Avatar for lllllIllIlllI
0
152
Member Avatar for fadia

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 …

Member Avatar for WaltP
0
124
Member Avatar for paddy8788

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 …

Member Avatar for nezachem
0
241
Member Avatar for tryongliph

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 …

Member Avatar for tryongliph
0
93
Member Avatar for kylcrow

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 …

Member Avatar for yara.008
0
131
Member Avatar for valatharv

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 …

Member Avatar for vladimirdlc
0
161
Member Avatar for sathya8819

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 …

Member Avatar for sknake
0
83
Member Avatar for badboizEnt

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 …

Member Avatar for Salem
0
104
Member Avatar for xxmp

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; } ; …

Member Avatar for tkud
0
103
Member Avatar for aneeka

Help!! I need to generate a bar graph out of the data from the MySql database, could anyone help me here? Thanks!

Member Avatar for kireol
0
293
Member Avatar for sbanks_charles

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 …

0
63
Member Avatar for DevC++4.9.9.2

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 …

Member Avatar for DevC++4.9.9.2
0
247
Member Avatar for ferlyn

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

Member Avatar for donaldw
0
122
Member Avatar for zeeven

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... …

Member Avatar for zeeven
0
90
Member Avatar for cskfai1989

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!!!

Member Avatar for xxmp
0
158
Member Avatar for evanguiton

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 …

Member Avatar for evanguiton
0
158
Member Avatar for lotus2009
Member Avatar for almostbob
0
109
Member Avatar for bufospro

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 …

Member Avatar for bufospro
0
68
Member Avatar for hajjo

<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...

Member Avatar for hajjo
0
103
Member Avatar for veledrom

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

Member Avatar for veledrom
0
3K
Member Avatar for robinotje

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"); …

Member Avatar for robinotje
0
194
Member Avatar for MatthewKeyzer

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 …

Member Avatar for MatthewKeyzer
0
92
Member Avatar for oxxxis

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 …

Member Avatar for stultuske
0
131
Member Avatar for rkumaram

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 …

Member Avatar for rkumaram
0
223
Member Avatar for Psychoticus

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 …

Member Avatar for vbnetskywalker
0
126
Member Avatar for perumula

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 …

Member Avatar for perumula
0
136
Member Avatar for cwarn23

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 …

Member Avatar for cwarn23
0
143
Member Avatar for manishmannan

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

Member Avatar for vaultdweller123
0
138
Member Avatar for GL.Za

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.

Member Avatar for GL.Za
0
86
Member Avatar for OmniX

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 …

Member Avatar for Adward
0
938
Member Avatar for Jarq

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 …

Member Avatar for Jarq
0
3K
Member Avatar for pith

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 …

Member Avatar for Gribouillis
0
188
Member Avatar for RoyMicro

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 …

Member Avatar for sknake
0
179
Member Avatar for team_ferrari22

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.

Member Avatar for sknake
0
196
Member Avatar for punter999

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

Member Avatar for punter999
0
111
Member Avatar for Hawkpath

Hi, I'm just learning win32 and i wanna know: is it really necessary that i memorize all of the syntax. Is that what professionals do? Or can I just copy and paste it every time and just know what it does. Thanks, Hawkpath

Member Avatar for Rajesh R Subram
0
159

The End.