199,114 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for Avatar99

It compiles and executes but for some reason my vectors do not initialize in the fillarrays function. What am I doing wrong? [code]#include <iostream> #include <conio.h> // for getch() #include <vector> using namespace std; bool and (std::vector<bool> p, std::vector<bool> q, int i); // returns bool for and bool or (std::vector<bool> …

Member Avatar for Avatar99
0
137
Member Avatar for destined2bbless

You have been asked to develop an application that will read book information from a text file to determine which publishers you use. The application will print a report of all unique publishers used. Johnny Smith xxxxxxxxxx Harper Collins Freedie Jones xxxxxxxxxx Harper Collins Lilly Laine xxxxxxxx Penquin Bobby Crosby …

Member Avatar for ~s.o.s~
0
110
Member Avatar for imclumsy

Hi I am trying to sort a generic object. When the object is created, it is created with three generic parameters and I want the parameters to be sorted when it is created. Here is my code: [code] import java.util.*; public class SortedTrio<T> extends Trio { T firstST; T secondST; …

Member Avatar for ~s.o.s~
0
235
Member Avatar for coollife

why crystal report displays empty fields with no data . Why dynamic binding is not happening . here in my case Cat_id cat_Name is displayed no values under it is displayed code: protected void Page_Load(object sender, EventArgs e) { SqlConnection con = oclsdbcon.Getconnection(); con.Open(); DataSet1 ds = new DataSet1(); string …

Member Avatar for Ezzaral
0
74
Member Avatar for scrypt3r

I have a program that injects a MessageBox Dll into a running process, although the user has to input the process to injects PID, is there a way to get the process PID from its image?

Member Avatar for William Hemsworth
0
167
Member Avatar for bal_1991

okay..so here's the thing......i have a test comin up tmrw regarding stacks and queues using templates....but my knowledge abt templates is minimal...could you plz suggest some links so as to understand templates from the scratch??? thnkx bal_1991

Member Avatar for bal_1991
0
92
Member Avatar for Tom Tolleson

Hey, guys. I've decided to learn C++ for fun while we're having some downtime here at work. I'm using Microsoft Visual C++ and it doesn't explain a couple of bits of basic syntax: On the line int main () What does "int" stand for? It seems to be used for …

Member Avatar for Tom Tolleson
0
129
Member Avatar for susan_151615

Hi am new to cold fusion. AM deigning a page where i need to list company names in dropdown1 and when i select any company i have to list the vendors belonging to the particularcompany in dropdown2. When i select a partcular vendori n dropdown2 ,the address of the vendors …

Member Avatar for ws1267
0
114
Member Avatar for Ultratermi

Hey. Im working on a new Project but i need your help converting a std::string to double! I dont know why i get the LNK error so i hope someone of you know it :). Here are the includes... [code=C++] #include "stdafx.h" #include <windows.h> #include <iostream> #include <stdlib.h> #include <stdio.h> …

Member Avatar for Ultratermi
0
137
Member Avatar for volscolts16

I am getting this error when I compile. I have tried taking Add out the code, but I do not get an output then. How can I fix this to produce an output?? [CODE] //This program serves as a test for the Matrix class #include <iostream> #include "Matrix.h" using namespace …

Member Avatar for Salem
0
184
Member Avatar for LKH

my program cant be resert to ask the user input data again after while(ans.equalsIgnoreCase("y"); pls somebody can tell me!

Member Avatar for exception
0
47
Member Avatar for sim_pack

how secure are php codes/scripts when they are deployed in a server (or when they become online)? if i put constants and/or passwords in my php codes, will they be visible and be 'sitting duck' targets for hackers?

Member Avatar for almostbob
0
323
Member Avatar for arunkumars

Hi, In my current project, Am drawing a set of boxes, all at run time, and inside them i have called few bitmap images for each box, this also happens at run time. now i need to click that image, the image should be selected and that image shud appear …

Member Avatar for arunkumars
0
202
Member Avatar for cybershark

Hi, I'm trying to get the IF\ELSE statement within the foreach to print "keyword," or if it's the last element in the array just to print "keyword" [CODE=php]$key = "mykey"; $url = "http://access.alchemyapi.com/calls/text/TextGetKeywords"; $text = <<<EOD Barrier Logic The barrier logic is a reliable cost effective solution to barrier electronics. …

Member Avatar for cybershark
0
127
Member Avatar for MrNoob

hello i m doing some function for saving a structure of some employee to text but i want to do it using ptrs to struct normally i tried first using ptr to struct in some main function to test some stuff abt it but i get runtime error [code] #include …

Member Avatar for yellowSnow
0
128
Member Avatar for freelancelote

Hi, I'm trying to print a string on the center of a window using GridBagLayout. All I see printed is a part of the string I expect (the current month) instead of the whole string. I don't seem to be able to spot where the error is and I'd appreciate …

Member Avatar for freelancelote
0
209
Member Avatar for avi-reiter

Does anyone know if there its possible to use a cfform within a cflayout, using type="tab"? I'd like to use the ajax calendar for a date input within the cflayoutarea but it doesn't seem to work. Thanks Avi Reiter <FAKE SIGNATURE>

Member Avatar for ws1267
0
100
Member Avatar for harshadap

how can i make os independent .exe file in java. I am using netbeans IDE for developing java project

Member Avatar for stephen84s
0
90
Member Avatar for xfreebornx
Member Avatar for VernonDozier
0
105
Member Avatar for varadharaja

Hi Friendz!!! Am varadharaj new to be this forum,and i would like to share your ideas,about php and more technical...anyone can reply for me... Thanks alot... varadharaj

Member Avatar for guru12
0
72
Member Avatar for Gaiety

Hello every one, I Request you to kindly provide me the description of Tree and its traversal meothds of using iterative. i tried for all recursive ones but this one i cant get. how to get back to the parents nodes when printing in inorder and post order methods. how …

Member Avatar for Tom Gunn
0
171
Member Avatar for j_limboo

I am new to PHP This is Google search results in your site or localhost Here is the code but I am stuck the page does not go to 2 page Please advice [code=php]<form action="search.php" method="POST"> <input type="text" name="search"> <input type="submit" value="Search"> </form> if (@$_POST['search']==""){ echo "What are you doing?"; …

Member Avatar for cwarn23
0
327
Member Avatar for amitabhpandey

plz tell me that how we can call one frame window from another frame window

Member Avatar for masijade
0
110
Member Avatar for sam023

i have included following code in .htaccess file and place it my project root folder..!! [code]Options +FollowSymlinks RewriteEngine on RewriteRule ^(.*)\.htm$ $1.php [nc][/code] but url still showing .php extension like localhost/project/index.php instead of localhost/project/index.htm.!! i have check the mod_rewrite is loaded.!! or anybody can tell another way to rewrite the …

Member Avatar for cwarn23
0
117
Member Avatar for railto

Hi guys and gals, Im working on a project at present where i need to be able to upload a batch of apporx 400 files each week. What i need the script to do is, when a driver enters his number and a pin that the script will then search …

Member Avatar for railto
0
148
Member Avatar for IAMEMINEM

i am developing a website in ASP.NET(VB) and SQL Server my website is basically a product based website in which visitors will come and buy products from my website they will be able to add different products in their carts, could to a good search for products listed in the …

Member Avatar for IAMEMINEM
0
112
Member Avatar for jrosh

When i run a java file through comand prompt it says.. "Unsupported class exception error"...Bad version number in .class file. (compilation is ok. this happens @ runtime) i checked the versions of jdk & jre . Both are same which is 1.6.0_01. When i compile and run the same code …

Member Avatar for peter_budo
0
108
Member Avatar for facadie

I basically new to C# and i need some help=) I have 3 combo box, 5 textbox and 3 buttons. One of the button[BTNAPPLY] is disabled and when we type in detail in textbox or change the selection in the combo boxx in runtime, it will be enabled. How do …

Member Avatar for sknake
0
175
Member Avatar for rajuchacha007

HI all, I would like to know about Network data mover used for Java APIs. Please do let me know where I can collect technical quality information about it? Thank you very much. Regards.

Member Avatar for masijade
0
506
Member Avatar for T'Scoopz

Hello! So, I created my own Arraylist class called myArrayList. I need to read a file that contains strings (which are just short phrases) into myArrayList. I created a class called Phrase that are to be the objects that will be stored into the Arraylist. I also have a class …

Member Avatar for sneaker
0
85
Member Avatar for atch

Hi, guys. Just installed new borland c++ 2010 - I think it's quite cool. One question though, where can I find comment and uncomment command? Thank you

Member Avatar for atch
0
159
Member Avatar for kerek2

Hi Alls, I really need help from u all regarding how to update database using checkbox in datagridview.... i got 4 columns from my access database that is:- Columns1 = Id Coulmn2 = Name Columns3 = Status Columns4 checkbox = I need to update any data in column that have …

Member Avatar for kerek2
0
256
Member Avatar for sudharani

Hi Friends, I have created web setup for my web application. If i double click the file [B][U]"WebSetup1.msi"[/U][/B] it is giving the message that "Please install IIS and run this setup again".Can I download IIS from any website.Or is there any other method to solve this. Please mention the site …

Member Avatar for thewebhostingdi
0
78
Member Avatar for crh0872

Hello DaniWeb, So I have a function: [CODE] time_t current_time = time( NULL ); while ( 1 ) if ( time( NULL ) == current_time + 3600 ) // execute body every hour { // stuff current_time = time( NULL ); } [/CODE] This is the only way I could …

Member Avatar for omri374
0
84
Member Avatar for matMalo

Dears, I would like to create a list of QWidgets (lets say QDial). No problem till here. self.motorDial = [] self.velocityEdit = [] for iMotor in xrange(3): self.motorDial.append(QtGui.QDial()) self.velocityEdit.append(QtGui.QLineEdit()) The problem is to connect each of these Widgets to a function, passing to the function the index of the QDial …

Member Avatar for satyapraveen27
0
113
Member Avatar for F2guy

Can you see why the code from simulation.cpp marked with: // clipped output start and // clipped output end produces the clipped output below.(The "..." is where I deleted repeating output to make it more readable) Letter key can be found below after output. Initializing neural network... SOMa memory usage: …

Member Avatar for Salem
0
140
Member Avatar for Hawkpath

Hello, I'm currently in High School and looking for a career in programming, and my dilemma is this: Game programming or Software Engineering? I have heard the horror stories of terrible hours and bad job security in game programming. But I haven't heard much about software engineering. Please enlighten me. …

Member Avatar for geoffy0404
0
456
Member Avatar for dissident85

Hi all, I just had a simple regular expression question. Why does this only match the first character in the string? it should find the 'a' no matter where it is in the string, right? [code=python]C:\Python26>python.exe Python 2.6.2 (r262:71605, Apr 14 2009, 22:46:50) [MSC v.1500 64 bit (AMD64)] on win32 …

Member Avatar for dissident85
0
90
Member Avatar for yakovm

[CODE]#include<iostream> using namespace std; struct Base{ virtual void print(){cout << "Base"<< endl;} }; struct Derrived : Base{ void print(){cout << "Derrived"<< endl;} }; template< Base* arr,int size = 10> class Template{ public: void print(){arr->print();} };[/CODE] [CODE]#include "template.h" int main(){ Base *b = new Base(); Derrived *d = new Derrived(); Template<b> …

Member Avatar for mrnutty
0
118
Member Avatar for BlackPhoenix

I'm working on a project. It involves networked code, so I wanted to send it to a friend to test it with. I sent him only the .exe in my Debug folder, and it had an error on opening. It said something similar to "can not open because side-by-side config …

Member Avatar for BlackPhoenix
0
104
Member Avatar for Talguy

is there a short hand way of passing just a row in a 2d array into a function that accepts only 1d arrays. for example something like this even though I know that this doesn't work. I don't want to have to use loops to copy a row from the …

Member Avatar for Talguy
0
99
Member Avatar for ronny22

can somebody help me by telling me what the problem is this is my error i keep getting Notice: Array to string conversion in C:\wamp\www\plaincart\library\config.php on line 61 Notice: Array to string conversion in C:\wamp\www\plaincart\library\config.php on line 61 Notice: Array to string conversion in C:\wamp\www\plaincart\library\config.php on line 61 Unknown column …

Member Avatar for darkagn
0
157
Member Avatar for tylerlemieux

Hey, I've been trying to install pycURL on my Python install on this Mac for the past 3-4 days now and I can't seem to get it to work. I have easy_install setuptools installed and I've been using the command: easy_install -U pycurl and it finds the package just fine, …

Member Avatar for woooee
0
368
Member Avatar for nunos

I was reading 'Starting Python' trying out in the shell some of the examples. However, I get an error with this [URL="http://www.daniweb.com/forums/post116650.html#post116650"]one[/URL]. What am I doing wrong? [code=python] >>> def sum_average(*args): size = len(args) sum1 = sum(args) average = sum1/float(size) # return a tuple of three arguments # args is …

Member Avatar for woooee
0
135
Member Avatar for nunos

Can someone please tell me what I am doing wrong. I know this is easy, but I haven't managed to make it work properly. [code=python] overwrite = None while overwrite != 'Y'.lower() or overwrite != 'N'.lower(): overwrite = raw_input("Do you want to overwrite (Y/N)? ") [/code] It doesn't exit the …

Member Avatar for sravan953
0
1K
Member Avatar for meanace

Hi. Im making a program which uses an array from the main function and passes it to a function which displays a table. However i am having a problem with calling the function in the main. When i compile my program it shows error LNK2001 (unresolved external symbol). Thanks for …

Member Avatar for meanace
0
102
Member Avatar for bigtreeworld

Hi there, I'm creating a program and I need to block out the keyboard completely. Including every button and key combo. Is there a way to do this? I already scoured the internet... any help would be greatly appreciated!

Member Avatar for bigtreeworld
0
102
Member Avatar for tig2810

Hi again I thought I had this sorted until I realised the date I needed to convert was 91202 (YmmDD). Also, when specifying the format, I have no idea the relevance of the lower-case/capitalisation of the letters (YmD etc?) Any help appreciated. [code] private static string ConvertDT(string date, string informat, …

Member Avatar for ddanbe
0
121
Member Avatar for geoffy0404

I am just starting out in C, i am doing this from what i remembered from the class i take and i just cant find whats wrong with this[CODE]#include <stdio.h> int main() { char lol[30] = ("hello everybody"); printf("%c", lol); return 0; }[/CODE] when i compile, i just keep getting …

Member Avatar for geoffy0404
0
78
Member Avatar for mrman208

I was wondering how if possible to get information from the internet and display it. Thanks, Mr. Man

Member Avatar for Salem
0
58

The End.