64,152 Solved Topics

Remove Filter
Member Avatar for
Member Avatar for bhoot_jb

can anyone tell from where i can download the latest bloodshed dev C++ IDE... my problem is i am not able to access the [url]www.bloodshed.net[/url]... :( so is there any other link to download it??

Member Avatar for bhoot_jb
0
156
Member Avatar for musicmancanora4

Hey guys with regards to <xsl:value-of select="Catalog/Product_Type/Name"> how would i put that in a <h1> html tag which is defined in my css file. [code]<h1><xsl:value-of select="Catalog/Product_Type/Name"></h1>[/code] i get errors in xalan when i do that? The results of the value-of select i want it to be in a different font …

0
96
Member Avatar for Mackjan

Hi I have a function which rand digit between a and b. it maybe 2,3 or more digits. I want to save these digits in a list and then use them in another part of my program. How can I do it? [code] def dela(x): sum=0 while sum <x: b= …

Member Avatar for Mackjan
0
85
Member Avatar for jmines

This is my program of stacks. The problem is this that it does not show output. whenever I run the program, the output screen flashes and nothing else happens. (using Dev-C++) Don't know what's the problem with it. [CODE] //****************************STACKS******************************** //===============Stacks using linked list(Arrays)================= #include<iostream> using namespace std; int avail=-1, …

Member Avatar for jmines
0
120
Member Avatar for gpdrums

I'm looking for a php/mysql customer service module that will do two things: [LIST=1] [*]manage user login/session without self registration [*]allow customer to download document packages in pdf [/LIST] Our customers are overseas. We want to provide documents to them online to save document shipping costs. Ideally, I will provide …

Member Avatar for gpdrums
0
192
Member Avatar for choudhuryshouvi

Hello Folks, I'm trying to write a program though which I can access my system registry. Both reading and writing actions have been encapsulated. Among these I have successfully done with reading a key value from my registry. But the storm arises when I make my move to write to …

Member Avatar for choudhuryshouvi
0
223
Member Avatar for mofoparrot

Hey guys, I have been working on this program for my entire semester. I got it down to do what I want I think... except when I compile it, I get no errors or warnings (using Dev) and when I execute it runs through half of it and it stops …

Member Avatar for mofoparrot
0
156
Member Avatar for saurabh.verma

hi, i am basically adding files to my listview through this code [code] For each n as string in my.computer.filesystem.getdirectories("C:\Testing\") Listview1.items.add(n,Imagelist1.images.count - 1) Next [/code] so all the files inside testing folder show up on the listview the problem is that they all show up but they show up with …

Member Avatar for saurabh.verma
0
104
Member Avatar for Edwards8

OK, here is a litting script I wrote (admittedly with some help from [URL="http://www.pythonware.com/library/tkinter/introduction/hello-again.htm"]http://www.pythonware.com/library/tkinter/introduction/hello-again.htm[/URL])that will allow me to cloak in with ease here at work. Only.... since I sometimes log into the computer multiple times in the day, I wanted to use Tkinter to give me a yes/no button. But.... …

Member Avatar for Edwards8
0
160
Member Avatar for comjisu33

First, write a class called TFQuestion that represents a true/false question. This class should have exactly two instance variables: a String variable that holds the statement of a true/false question, and a boolean variable that holds the correct answer. This class should provide the following public methods: A constructor that …

Member Avatar for comjisu33
0
121
Member Avatar for jedi_ralf

I am new to awk, so please excuse any mistakes. I was hoping someone would be able to tell me if it's possible to include variables in a regular expression, and if so, how. The code I currently have is the find the beginning of link (<a) and image (<img) …

Member Avatar for jedi_ralf
0
244
Member Avatar for dottomm

Hi. I'm trying to search multiple DB fields with a Select Menu and I don't know where to start. for example, from the code below I would like the value ='strAuthorname' to actually search the fields 'AuthorFirstName' AND 'AuthorLastName'. [code] <form method='post' action='{$_SERVER["PHP_SELF"]}'> <!--select tag --> <select name='metode' size='1' > …

Member Avatar for dottomm
0
77
Member Avatar for bhoot_jb

hey friends i am in dilemma of which compiler to use.. i have been working on windows OS. also the C++ concepts that we are taught in our college are practically taught on Borland Turbo C++ compiler (dunno how aged it it :P) :( i mean we people write the …

Member Avatar for bhoot_jb
0
143
Member Avatar for Hercf

Help! Hi, everbody! I have this problem: There is a “textbox” and a “submit” button. “Submit button” is disabled until something is written within “text box”. I am not able to do this switch. Could anybody help me? Here you are the code: [code=html]<html xmlns="http://www.w3.org/1999/xhtml"> <head> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" …

Member Avatar for jamba
0
159
Member Avatar for swaters86

Basically, I'm building a aspx calculator page for a client. What the visitor has to do is fill out the textboxes with a number. it takes the sum of all the text boxes, multiplies the sum by one number to get the minimum value and then another to get the …

Member Avatar for bwkeller
0
178
Member Avatar for henpecked1

How do I prevent the user from entering characters when a float is required? I'm using a bool for valid entry so if they enter text it sends my loop running

Member Avatar for henpecked1
0
141
Member Avatar for majestic0110

Hi all - hope you are well. I am trying to print out only the first 15 characters of each line of a text file. The trouble is I am not sure how I would go about doing such a thing! Any help will be greatly appreciated. Thank you for …

Member Avatar for majestic0110
0
326
Member Avatar for dinilkarun

i'm popping up a form from a function and i want the code to stop executing further till a button on the form is clicked. Right now the form is popping up and the appln continues executing the code after that. Please help me

Member Avatar for dinilkarun
0
111
Member Avatar for Mackjan

Hi I have an idea to rand some digit which sum is equal to my inputs digit. If I put in 12 then I like to have 4, 2, 6 or 4,4, 4 or 3, 3, 3, 3 …….etc. Not more and not lease then my input. In my function …

Member Avatar for Mackjan
0
102
Member Avatar for Karkalash

Hi. I'm supposed to reverse a number based on user input. Example, if the user inputs 123, the output should be 321. However, so far, the way it is now, if the user inputs 123, the output is 312. I'm a little lost -_- help please. [code]while ( input != …

Member Avatar for peter_budo
0
111
Member Avatar for pip86

Hi all, I have just upgrade from php 4 to 5 and now I get a hole lot of weird text on my site. I have try to disable all errors and warnings, but I cant get it to dissapear. hope somebody can help me. [url]http://demo.topnordic.com[/url] [url]http://demo.topnordic.com/info.php[/url] Thanks

Member Avatar for OriginalCopy
0
86
Member Avatar for nurulshidanoni

I have this data, but when i sort it different from what i want. I want to sort in descending order like this 2 30 1 20 3 15 [U][B]jest.txt[/B][/U] 1 20 2 30 3 15 [U][B]after compile[/B][/U] 1 15 30 15 15 15 [code=C++] #include <fstream> #include <string> #include …

Member Avatar for nurulshidanoni
0
83
Member Avatar for orangejuice2005

Am working on this assignment that involves having to make our own Hashmap ADT and am working on it but i can't see to get further because i don't know what this error its giving me is: [inlinecode] unresolved external symbol "class std::basic_ostream<char,struct std::char_traits<char> > & __cdecl operator<<(class std::basic_ostream<char,struct std::char_traits<char> …

Member Avatar for orangejuice2005
0
71
Member Avatar for Agni

Hi.. whats the best way to initialize a char* ? i tried using char* p = ""; and it gives segmentation fault at times. not sure how to initialize it. this is the function where i'm using it. screenReturnValue variable is not getting initialised properly everytime, when i call this …

Member Avatar for Agni
0
15K
Member Avatar for GPXtC02

How can i read in data in different functions without losing the stream's place in the file. i.e function a and function b both open a data stream to read in first and last names from a file. however function b reads in the first name as well rather than …

Member Avatar for Ancient Dragon
0
109
Member Avatar for NeroMaj

Here is the background: I am working on a project in which I have a base class called Account. In this base class I have the functions updateValue(int num_of_years) and void toString(); Next I have three subclasses of this base class, which are MutualFund, Bond, Buried. Each of these is …

Member Avatar for NeroMaj
0
105
Member Avatar for henpecked1

In my cdrom class I have a member function called returncost, and a private data member cost. [code] float cdrom::returncost() { return(cost) } [/code] Later, in a free function I call that member function to calculate a total cost and average cost. [code] void showcosts (cdrom &cd1, cdrom &cd2, cdrom …

Member Avatar for henpecked1
0
500
Member Avatar for blcase

[code=cplusplus] bool fun1() {if (root) return doFun1(root); else return false;} bool doFun1(Node *ptr){ if(ptr->left) doFun1(ptr->left); if(ptr->right) doFun1(ptr->right); if(ptr->left) doFun1(ptr->left); ptr->data=ptr->data*7; if (ptr->data>500) cout<<.5*ptr->data<<endl; else if (ptr->data<50) cout<<5*ptr->data<<endl; return true;} int main( ) { Tree t; t.insert(14);t.insert(13);t.insert(31);t.insert(27);t.insert(12); t.fun1(); return 0;} [/code] I am trying to trace through this and the output …

Member Avatar for hacker9801
0
120
Member Avatar for henpecked1

If I have a class called cdrom, and one of the member functions is loadinfo, what is the difference in these calls? cd1.loadinfo cd1->loadinfo I ask because my compiler is choking on the first and actually asking me if I meant to do the second.

Member Avatar for mitrmkar
0
96
Member Avatar for mansi sharma

Sorry I got the answer Dats y i delete it the question. But I do not know how to delte the thread...

Member Avatar for Jx_Man
0
97
Member Avatar for hezfast2

I'm working on a program that reads a file of scores and then outputs the number of scores in certain ranges. I've got it to read the input file (scores.txt) which is set up as follows; 76 89 150 135 200 76 12 100 150 28 178 189 167 200 …

Member Avatar for hezfast2
0
154
Member Avatar for bvrclvr1

Hi All, I am a student and this is a project I am working on. The main idea is that this program will calculate the number of months it will take to pay off a loan. There are catches in place to only allow positive entries and to check to …

Member Avatar for bvrclvr1
0
111
Member Avatar for rotsap

I am new to php and am getting the following error; Parse error: syntax error, unexpected '+', expecting T_VARIABLE or '$' in… on line 14. Here is the code; [code=php]<?php /* Subject and Email Variables */ $emailSubject = 'Monthly attendance report'; $webMaster = 'phil@coxwebink.biz'; /* Gathering Data Variables */ $ChurchField …

Member Avatar for mom_of_3
0
217
Member Avatar for kevin wood

i am trying to write a function so that when a user enters onto a page selected images change with each page that is entered. the page uses an iframe to load the new data so i need to swap the images on the main page which holds the iframe …

Member Avatar for kevin wood
0
101
Member Avatar for majestic0110

Hi all, hope you are well. Just a quick one here that you pythons will be able to answer in no time (I am new with python). What I am trying to do is read a text file and print only the first and last line of that file. Any …

Member Avatar for majestic0110
0
3K
Member Avatar for DigitalPackrat

I am creating a game, without using any game related libraries, only the "standard" (read aside) ones and an [URL="http://www14.brinkster.com/aditsu/dev-cpp-faq.html#conio"]edited conio.h[/URL]. So I get to use getch(), kbhit() et al. My problem is with kbhit(), is there no way of resetting it, so that I can reuse it? Aside : …

Member Avatar for DigitalPackrat
0
132
Member Avatar for DigitalPackrat

[code]class Customer { private: char name[50]; int acc_no; char acc_type; float balance; public: void getData(); }; int main() { Customer cust; cust.getData(); cust.getData(); } void Customer::getData() { cout<<"Name : "; cin>>name; cout<<"Acc No. : "; cin>>acc_no; cout<<"Acc Type : "; cin>>acc_type; } [/code] The second time I call the function …

Member Avatar for DigitalPackrat
0
141
Member Avatar for Mr NiceGuy

Hi all, Im new to python and I need some help. I have tried to get this piece of code to work for quite some time now. I finally made it work by using two while-loops. [INDENT][B]THE PROBLEM[/B][/INDENT] What I really wanted to do at the first place was to …

Member Avatar for SUBHABRATAIISC
0
110
Member Avatar for q8_dreamy

Hi, if I connected access data base to vb form and I want to insert value of dropdown list(Items are yes and no) into the data base (field is type of Yes/No) what will be the insert statement?!

Member Avatar for Jx_Man
0
115
Member Avatar for n3XusSLO

how do i use a function without calling it from a different class? (i have more files in my project) i made a test function called dostuff() { } inside some random file outside a class. but when i want to compile i get this: Error 1 error LNK2005: "void …

Member Avatar for n3XusSLO
0
278
Member Avatar for Thirusha

Hi what i want to do is create a session scoped bean in my servlet and also get the values in that same servlet i have created a bean in my servlet with a session scope(not sure if it really is in session scope) using this code: [CODE] HttpSession session …

Member Avatar for Thirusha
0
134
Member Avatar for anish.anick

Hi All, Is there any way to send email in php without user interaction.The scenario is some thing like this.. I want to send email's to persons based on his/her birthday.I need your help. Please help me to solve this... Thanks :)

Member Avatar for anish.anick
0
92
Member Avatar for kahaj

With the following code, the debugger keeps telling me "Too many arguments to 'Public Sub New()'. " What needs to be done w/ it? [code] ' create new object and store into Client array clients(count) = New Client(firstName(count), _ lastName(count), account(count), _ balance(count)) [/code] Also, it's letting me know that …

Member Avatar for kahaj
0
72
Member Avatar for wiglaf

I was once trained in C and C++ and am now brushing off the cobwebs and relearning C++. I am restudying the Borland C++ Builder and realized I needed to know more C++, so I began restudying Visual C++...by Spencer and Perry. I am writing software to anazlyze lake water …

Member Avatar for vijayan121
0
398
Member Avatar for buddha527

I have the following code but every time I go to compile it i get the same 3 errors and do not know why I am getting them. I have tried googling why but can't really understand any explanations that I am given and therefore cannot fix the errors. Any …

Member Avatar for buddha527
0
100
Member Avatar for mcgarry101

Hi, I was on the forum yesterday asking for help with using command line parameters. As described I am new to vb.net programming, and I am stuck with what is probably a very simply problem. I am trying to create a vb.net program to which I will be passed parameters …

Member Avatar for mcgarry101
0
181
Member Avatar for demroth

I have been reading older C programs to try and understand how to convert them to C++. One particular line of code still confuses me however. fscanf(fin, "%d", &n) I understand that fscanf reads from the stream (the file pointed to by fin), it reads the data which will be …

Member Avatar for demroth
0
150
Member Avatar for compovet

I have a task of bank program . At the begining of the program it will requst from me to enter the user name and password I want the password to appear like **** I want your help ,I searched about it but I didn't find how

Member Avatar for majestic0110
0
114
Member Avatar for swapna7999

hi there in vb is there any possibility to get the ip of a system hope help thank u very much

Member Avatar for swapna7999
0
112
Member Avatar for Yogesh Sharma

What is @@rowcount and with small code snippet explain the usage? Is the foll. code is rite-- Create procedure get_emp_count ( @emp_id int) As Select * from emp where emp_id =@emp_id If @@rowcount = 0 Begin Select 'no rows with emp_id= ' Select @emp_id End . Can u pls explain …

Member Avatar for rayofhope
0
135

The End.