199,124 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for Love Story

hi everyone, it's my first thread here and i need help plz with this question below: The purpose of the program is as follows. A line of programming code is to be entered from the keyboard. Part of the code will be contained between a “Begin” string and an “End” …

Member Avatar for zandiago
0
104
Member Avatar for RichardNero

i keep getting this error (error C2447: '{' : missing function header (old-style formal list?) can someone give me a hint or help me out, I went from 23 errors to 1. [code=c++] // Enter a grade which is 1 and 100 for user. #include <iostream> using std::cin; using std::cout; …

Member Avatar for Salem
0
108
Member Avatar for Justmehere

All I want to do is for some block of code to run every 10 minutes or about. Can anyone tell me is there some standard or common way of implenting a block of code that just buys some time or is it a simple loop like the following: int …

Member Avatar for Justmehere
0
198
Member Avatar for Justmehere

Can anyone tell me if its possible to declare a function and use it with multi parameters with the special character like "..." as part of the parameter list. I'm not intested in function overloading. What is the ... used for then if I'm incorrect on its useage ? Thanks …

Member Avatar for Justmehere
0
287
Member Avatar for k88joshi

Hi , I want to read in a file that has string in it and i want to convert all those strings to hex and want to find a pattern. For Example, string = "dsofijdsoifjaslifdjaslidjlasjdlasjdlsaj" and i want to find a sequence of something in Hex: " 5A 1b 1b" …

Member Avatar for iamthwee
0
132
Member Avatar for Racoon200

Hi. Iam making an app to write and append to an html document blog-type blocks. I have the GUI finished, but I need to fusion it with my script. Look at this snippet of my script: [CODE] def link(href,target,linkName): partA = "<a href='"+href+"' target='"+target+"'>"+linkName+"</a>" print partA [/CODE] Now, this is …

Member Avatar for Racoon200
0
146
Member Avatar for tuxman

Hi all. First of all let me apologize by my english. I've googled a lot about my problem, but I had not find anything conclusive. I have the following piece of code: [CODE]vector < map < int , char * > > bank; bank . reserve ( 10 ); if …

Member Avatar for vijayan121
0
97
Member Avatar for michael123

How can I get future date by php date() function, for example today is 11/13/2007, I want to get the date after 60 days. Any advice will be appreciated.

Member Avatar for iamthwee
0
122
Member Avatar for danbellinger1

I am writing a program that asks for numeric input until a negative number is given. My question is how do I test for no input? I currently have: [code] if ( userInput == "" ) { cout << "NOTHING TO PROCESS" << endl; } [/code] But I get: " …

Member Avatar for Duoas
0
268
Member Avatar for spockenheit
Member Avatar for Duoas
0
90
Member Avatar for verbob

I would like to "hide" everything encompassed in a particular <p> tag that is 'named' by a variable(created a php script that reads from the db and echo's a users details in a <p> that has the name of the 'member number' via a variable - user. (yes it sounds …

Member Avatar for verbob
0
199
Member Avatar for huntatunc

so, everything works through the first iteration (don't know if this is an appropriate term for linked lists, but we just learned arrays) but then it stops. I thought that telling it to continue until position.next != null and increasing the position after every iteration would work but I think …

Member Avatar for cms271828
0
5K
Member Avatar for alexasmith

Hey! I am new to java programing and need some help with some homework, here are the requirements: Right now I am working on just setting up my arrays but it is not working. I read the size of the array from the user and then tell the user to …

Member Avatar for alexasmith
0
173
Member Avatar for vsr

Hi All, I have a webpage written in c# asp.net. The page has a datagrid and a print button. The print button has the javascript onclick="javascript:window.print();" I want to be able to change the print preference to LandScape. I tried using CSS but because I have a datagrid its not …

Member Avatar for ~s.o.s~
0
200
Member Avatar for parthiban

Hi da, Suggest me good books for Swing and JDBC(apart from Sun tutorials -which I will use) . I have basic knowledge of Swing which I read from Head First Java but I don't know anything about JDBC. Now I want to explore my knowledge in Swing and I'm going …

Member Avatar for Ezzaral
0
98
Member Avatar for dooda

I hope that you could help me and solve this problem to me: write a program to read lines of characters and prints the average number of vowels (a,e,o,i.u) and the average number of characters digits that appear in each line. the input is terminated by by intering '$'. you …

Member Avatar for joshua.tilson
0
105
Member Avatar for mishrarajesh44

hiiii.... i am just started php...The problem is that the web page blank when an syntax error occurs in code ,,,so i am getting difficulties to locate the problem...how can i know wher is the problem..? can any one please help me........!

Member Avatar for MitkOK
0
94
Member Avatar for Questions???

After several hours I have figured this out, but because the % statement is confusing to me I was wondering if someone wolud not mind explaining to me my for statement in the following program? using System; /*This program is designed to identify the prime numbers from 1 to 100. …

Member Avatar for Questions???
0
161
Member Avatar for susuoi

Hi, I'm learning perl and web application now. I have a xml data as shown below. <?xml version="1.0" encoding="utf-8" ?> <rsp stat="ok"> <photos page="1" pages="102" perpage="2" total="508"> <photo id="1969474222" owner="20137329@N04" secret="8ebd15f901" server="2185" farm="3" title="allen-iverson-dunks" ispublic="1" isfriend="0" isfamily="0" /> <photo id="1952424144" owner="7974492@N03" secret="a18966828b" server="2241" farm="3" title="Celtics vs. Nuggets" ispublic="1" isfriend="0" isfamily="0" …

Member Avatar for susuoi
0
119
Member Avatar for kartik14

I have a question regarding the test condition of the [I]for[/I] loop.. For example, if the loop is say: [CODE]for ( int i=0 ; ( C1 && C2 ) ; i++ ) {// some code}[/CODE] My question is, if either C1 or C2 is false then the test condition is …

Member Avatar for masijade
0
446
Member Avatar for nagaharish

Hi all, I would like to know whether there is any one who is hosting Tomcat/JSP with SVN. Please reply me if anybodyknows it, Thanks in advance. Regards, Harish

Member Avatar for masijade
0
397
Member Avatar for TOROOOLOLOOLO

HI I have created database with ms and linked it with vb6 user interface.But i have a problem linking or loading pictures to the records.I need help on how this can be done,and if possible how pictures can be loaded with it's corresponding data into the database at runtime. Thank …

Member Avatar for dilip_singh3
0
102
Member Avatar for Newton27

I am trying to create a C++ program that can calculate cube root. I was assigned to use the Newton-Raphson cube root. A website that speaks about it can be found here: [url]http://www.mathpath.org/Algor/cuberoot/cube.root.newton.htm[/url] Here is my overview taken from that website: X2 = 2(X1)+a(X1^2) ___________ 3 My writing of the …

Member Avatar for iamthwee
0
129
Member Avatar for jbstin

how can i make a new file and acces it from a class object? i refferd some book but i am not clear about it.

Member Avatar for Salem
0
98
Member Avatar for Richard26

Hi, I would like to use VB to access a field in MS Access db which contains an article but I only want to retrieve a select sample from each article not the whole article. Any ideas Thanks Richard

Member Avatar for Richard26
0
87
Member Avatar for veggen

I'm having trouble with the following scenario: drivers may have any of the 16 types of certificates, tasks may require any of the 16 types as well. What I need to do is build a query that will selectd all the tasks a certain driver can perform. Example: driver has …

Member Avatar for veggen
0
91
Member Avatar for volscolts16

Hi All, I have a new assignment which I have worked most of the way out, except I have one issue. When I sort the large text file it does not print out all the information at that moment, I have to hit enter a couple of times before all …

Member Avatar for mohanrobin
0
159
Member Avatar for Barefootsanders

Hey everyone, I'm working on function that will take in a char array, prompt the user to input a string, and then return that string to the function. Below is what I've been working on and yes, I know it is not the right syntax, but I'm hoping someone could …

Member Avatar for Salem
0
210
Member Avatar for jbennet

My compiler says my code isnt standard c++? [code] #include <iostream.h> //Decimal To Binary Conversion //James Duncan Bennet 2007 james.bennet1@ntlworld.com using namespace std; void binarynum(int); int main(void) { int intnum; int choice = 0; cout << endl << "Decimal To Binary Conversion" << endl; cout << endl << "Please enter …

Member Avatar for jbennet
0
152
Member Avatar for Richard26

Hi, I need to build an MS Access database and include abstracts and articles. I then need to retrieve this information using Visual Basic. I would like to design it so that when someone types in a word in a search facility then relevant info would appear just like in …

Member Avatar for debasisdas
0
86
Member Avatar for joygqy

if i wanna read an input file with an equation in it, for example 2+3, and need to give the result of this input file, how should i write this code?:?:

Member Avatar for ExplainThat
0
97
Member Avatar for shankar_ns

i am using vb6.0 and crystal report11 and MS ACCESS database how to create a crystal report at run time from a vb form i dont have any idea regarding this please give some suggestions or code would be very helpful to me

Member Avatar for debasisdas
0
137
Member Avatar for number1029

Ok, my name is Paul and i am new to this forum. I need some help and thought i can try my luck here. I need to write a program to do the following: 1. Need to write a shell script called fileutils.sh that will do: Accept one variable on …

Member Avatar for eggi
0
117
Member Avatar for nabilchampion

Hi all I need to read a program in c/c++ in linux which shall read rtf file text and then informs me the information about the fonts properties of the text in rtf file. Can anyone tell me how to do that.. does any library exists for this that I …

Member Avatar for nabilchampion
0
1K
Member Avatar for toolmanx

I've tried to clean down this code so that it will demonstrate my problem but contains little else. Just enough to make a window. This code will compile on "BCC32" or "cl". I can't figure out why I get an "Invalid handle error" when trying to create a DIB. I'm …

Member Avatar for Duoas
0
2K
Member Avatar for webster22

Hi, i have to programm this in c++ can anyone please help me and give me the code for this Material Weight (kg / dm3) Price (euro / dm3) Marbel 2,7 20 Stone 2,6 15 Tree 0,6 7 these three item have diffrent price and diffrent weight. Programming based on …

Member Avatar for ithelp
0
102
Member Avatar for Duki

Hey guys, Here's my code: [code=c++]#include <iostream> using namespace std ; template<class T> class Pair { public: Pair ( ) ; Pair (T v1 , T v2 ) ; void setFirst(T newV ) ; void setSecond(T newV ) ; T getFirst() const ; T getSecond() const ; private: T first …

Member Avatar for Duki
0
123
Member Avatar for complete

I got a list of items to program in Visual C++. I could write a linked list from scratch but I want to do something special and best. I am thinking about a hash table. What is best, linked lists or hash tables? I am not too experienced with the …

Member Avatar for vijayan121
0
84
Member Avatar for Kusno

Dear all, I get problem with this ASP.Net form. As you can see in the sources, I have Check Box (ChkAllCustomer), Combo Box (CmbDept) and Command Button (CmdLocateCustomer). And to avoid postback I use JavaScript event instead of Anthem.Net. Everytime user clicks ChkAllCustomer.Checked = true, CmdLocateCustomer enable property is set …

Member Avatar for Kusno
0
179
Member Avatar for jaymathew

So I have some PHP code that takes text from a mysql table and prints it to the screen with formatting. Problem is the spaces keep getting truncated when its formatted. Like: [QUOTE] I like cookies. They are tasty. [/QUOTE] would come out as: [QUOTE] I like cookies. They are …

Member Avatar for jaymathew
0
135
Member Avatar for sherwood12

i have a question is there any way that i can add up all the value in a multiplication table i create or parscal triangle i created? if yes i need to find out how to add up all values in a multiplication table. i can't figure out the logic …

Member Avatar for sherwood12
0
358
Member Avatar for sherwood12

[CODE] #include <iostream> #include <string> #include <cstdlib> using namespace std; int create_matrix(int* matrix[], int row, int column, int size); int create_pascals(int a, int b); int main() { //variable declaration int size; int* row = &size; int* column = &size; //output to the screen cout << " Please enter the size …

Member Avatar for sherwood12
0
120
Member Avatar for g_loughnan

Hi there, I'm trying to write a program to accept some details about mp3 files, and store them in an array. I am also hoping to process some of the parameters of each entry to the array. I am trying to create an object of type "Track", and then define …

Member Avatar for g_loughnan
0
95
Member Avatar for leetcheese

Hello there, first time poster, many time lurker. I'm currently working on an assignment for my CS class which has me creating a small program in which i create an array, call several functions to read intergers into the array, display the array, bur the part which is tripping me …

Member Avatar for vijayan121
0
82
Member Avatar for Arch_Bytes

is there anyway to get the cookie and destroy it in javascript? Thanks in advance!

Member Avatar for MidiMagic
0
95
Member Avatar for g_loughnan

Hi Guys&Gals, Just wondering, when using separate compilation, should the class definition and method definition(s) for a derived class be put in separate header and source files from the base class? Thanks, Ger.

Member Avatar for g_loughnan
0
75
Member Avatar for soujiro32167

Hi This may seem as a trivial question, but I'm new to VB so please bear with me. I'm writing a form to control one worksheet as a database. On PC, I used the ControlSource property of every textbox to bind it to a field in a record. [B]On Mac, …

Member Avatar for soujiro32167
0
115
Member Avatar for nedwards

Hi, I have an interesting question. I have this C# Application and I need to generate a report. I want to be able to print the report or save it to a file. Unfortunately I don't want it to depend on a third party software ( Crystal Reports, MS Word, …

Member Avatar for scru
0
113
Member Avatar for brian@oit

I have a file first line contains three int's. (These are the vari's I assigned) numStudents numScores total --I AM CONFUSED HERE- { in >> numStudents >> numScores >> total; } - Here I am mentally not getting it. I need to read the line in the file as a …

Member Avatar for brian@oit
0
117
Member Avatar for Trucks

Hi everyone, this is my first post and im just plain confused on how to get what i need here. in the past ive only had single lines of data and just used an input >> char; but now i have this line of code in a txt file, with …

Member Avatar for Lerner
0
101

The End.