199,114 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for Julamotte

Hello, I would like to know if there is an easy way to transform the following table CarId | PropertyName | PropertyValue 1 | Size | XL 1 | Name | Porsche 1 | Color | Red 2 | Size | XS 2 | Name | Smart 3 | Name …

Member Avatar for cgyrob
0
101
Member Avatar for ki72

Java Code I don't know how to show odd or even digits from an integer number. For example I ask the user to enter a 4 digits integer number. For example the user enter 4875. I want to display odd digits (7 5) and even digits (4 8). By Extract …

Member Avatar for peter_budo
0
155
Member Avatar for psyb0rg

I have Ghostscript and IMagemagick installed on my local machine. I can access the IM functions from the command line. The environment variables are also set. The problem is that when I try to execute the IM function using PHP's exec() method, I get no result. The same script works …

Member Avatar for ShawnCplus
0
139
Member Avatar for ceng_angel

hi, i want to do a web downloader, but i don't know where i should begin from? Could you help me, please?

Member Avatar for ceng_angel
0
41
Member Avatar for jnick12

I'm stuck and I don't know what to do I need help. I need help on how to do the nested for loops and how to get to data from the input file to display corresponding values. Can somebody help me please. Read the attached documents and see if you …

Member Avatar for Ancient Dragon
0
129
Member Avatar for sethm

I have the script updating everything else in my table with no issues at all, but when I go to update the image it never updates the image, but replaces the current image with the image that is only supposed to show if there is no image uploaded to begin …

Member Avatar for sethm
0
130
Member Avatar for soccertainer

I've embeded the below into PHP dynamically, and for some reason although its displaying my windows media player, its not playing the tracks. Can anyone help please? [CODE]<embed height="20px" type="application/x-mplayer2" name="MediaPlayer" src="thepower.wav" autohref='true' autoplay='true' />[/CODE]

Member Avatar for psyb0rg
0
64
Member Avatar for ashwini jadhav

hi, i am new in programming. i know that c++ used in development of games.so,i want to also some simple games to develop.please give some question for developing game? thank's

Member Avatar for ashwini jadhav
0
93
Member Avatar for Your_mum

Had a look at pointers in the tut I am following, and I can't really get my head around why their useful. It says they are, but tells you no more???

Member Avatar for Your_mum
0
102
Member Avatar for Mehh

Well, im a beginner programmer, trying to make my own proggy in Dev C++ but i have massive problem with dialog, this doesnt work (using mdi example): mdi_unit.h [CODE]#define CM_WINDOW_TILEVERT 9084 #define CM_WINDOW_TILEHORZ 9083 #define CM_WINDOW_ARRANGE 9082 #define CM_WINDOW_TILE 9081 #define CM_WINDOW_CASCADE 9080 #define CM_EDIT_PASTE 9079 #define CM_EDIT_COPY 9078 #define …

Member Avatar for Ancient Dragon
0
222
Member Avatar for seoudi

Create a program that displays a pyramid , square and a triangle using the multiply character “*” as follows: welcome to c++ shape for pyrasmid sqyare trinagle

Member Avatar for ashwini jadhav
0
86
Member Avatar for sumain

Hi All, Hope all are fine. I need some help, that is i want to show email address after provides the username and password. it will happen in my personal site.

Member Avatar for diafol
0
168
Member Avatar for ddanbe

Hello everyone! I know how to use a Timer class: [CODE=C#]static void Main(string[] args) { System.Timers.Timer MyTimer = new System.Timers.Timer(); MyTimer.Elapsed += new System.Timers.ElapsedEventHandler(MyTimer_Elapsed); MyTimer.Interval = 2000; MyTimer.Enabled = true; //etc. } static void MyTimer_Elapsed(object sender, System.Timers.ElapsedEventArgs e) { //do something every 2 seconds }[/CODE] What I like to do …

Member Avatar for ddanbe
0
2K
Member Avatar for blsnls

I am having problems figuring out what I did wrong to my highest, lowest and average for grades entered by a user. I searched for help but have not found any. Any hint in what I did wrong would be greatly appreciated. [code] #include <iostream> #include <iomanip> using namespace std; …

Member Avatar for blsnls
0
116
Member Avatar for tlj333

I read the guidelines on posting homework questions and I think this one is within the rules. A little background, currently taking my first computer program class, its an online class (big mistake), it's very hard to get feedback or assistance. I have been ripping my hair out trying to …

Member Avatar for tlj333
0
194
Member Avatar for Ace1.0.1.

Just picked up a beginners book on C++ so i'm pretty new at this. trying to write a program to test what i have learned so far, but it's not coming out as i had hoped so i'm hoping someone can help me out constructive criticism welcomed Here it is: …

Member Avatar for Ace1.0.1.
0
109
Member Avatar for monicka87

Hi I need some help to get this done using php: 1 - I have few hyperlinks say 500 in format like: [code=html]<a href="http://domaina.com/1.html" target="_blank">http://domaina.com/1.html</a> <a href="http://domainb.com/1.html" target="_blank">http://domainb.com/1.html</a> <a href="http://domainc.com/21.html" target="_blank">http://domainc.com/21.html</a> <a href="http://domaind.com/new.php" target="_blank">http://domaind.com/new.php</a>[/code] etc etc Now I want to convert them into format like: [code=html]<a href="http://domaina.com/1.html" target="_blank">keyword 1</a> <a …

Member Avatar for diafol
0
307
Member Avatar for rjay_lolerzz

import java.io.*; import javax.swing.*; class GS { static public void main(String[]args) throws Exception{ double q, q1, q2, q3, q4, q5, q6, q7, q8, q9, q10, q11, x, x1, x2, x3, x4, x5, x6, x7, x8, x9, x10, x11, quotient, quotient1, quotient2, quotient3, quotient4, quotient5, sum, sum1, sum3; System.out.println("PRELIM LEC"); { …

Member Avatar for peter_budo
0
245
Member Avatar for desimator55

I'm using VC++ .net to write a program for searching through files in a directory and then opening them. The only problem I have run into is opening the file. I tried using streamreader but this does not work for opening pdf files. Currently I'm using system ("start //location and …

Member Avatar for Ancient Dragon
0
273
Member Avatar for just_me

hi guys.. I have problem regarding my project. I have drop down menu which contains of maximum and minimum. I want it if user choose maximum, the description (located in the table in same page) will be change to "larger is better" and if user choose "minimum", the description will …

Member Avatar for just_me
0
63
Member Avatar for Junian

Hi all I am a newbie to Ajax and Javasript. Please help me out... I am using Ajax and Javascript to show real-time data on the web page. On my web page, a 4-digit number is displayed in a text box and this number updates every 10 millisecond automatically to …

Member Avatar for Junian
0
119
Member Avatar for VisualMelon

Hi All, I have bean (for a while) trying to make a program of mine - a simple music player - display the intensity of the sound being produced at any given time. I am using a MCI MMControl to play the sound, and am open to any suggestions as …

Member Avatar for VisualMelon
0
125
Member Avatar for niezam

please help me solving a program about booking a ticket for a flight that need to show the seat, the price and the class

Member Avatar for vmanes
0
122
Member Avatar for ashishchoure

hi, I have one query that create process funcion retuns bool value. And i want to know the exit code of my exe which i ran through create process function. EX. [CODE] int main() { return 5; } [/CODE] this exe is returning 5. I ran that exe by createprocess …

Member Avatar for ashishchoure
0
105
Member Avatar for necrolin

If I have 2 classes a) class Business b) class Customer I want the Business class to be able to store a dynamic list of it's customers. So I thought the easiest way to do this would be to use a vector. [code] class Business { vector<Customer> customers; public: Business(); …

Member Avatar for necrolin
0
203
Member Avatar for nehemiascr

Can anyone help me with the algorithm for the height of a n-ary tree, I have been looking and could only found for a binary tree, thanks in advance.

Member Avatar for Unix*
0
648
Member Avatar for rmsagar

In my file, I have lines similar to this <Log LogID="633198520" LogLevel="Normal" Date="10/01/09 19:18" Type="Error" Source="Mentor" Text="Failed to process the request." /> When the line is read, if it is converted as field value pair I thought it will be easy to take required field. Please advise how this can …

Member Avatar for rmsagar
0
119
Member Avatar for sravan953

This code snippet allows you to know whether a word/sentence you have entered is a 'Magic Word' or not. A 'Magic Word' is a word which has at any position two consecutive letters. This can be achieved by taking the ASCII values of the characters. For example, if I enter …

Member Avatar for rnthelord.2008
0
6K
Member Avatar for tiara

Hello guys.. i am really new to C++. I feel a bit confused with the using of const in this code. [CODE] class B { private: int x; public int func() const { return x; } } [/CODE] Viewing at that source code,, what is really functions of const ?? …

Member Avatar for Ancient Dragon
0
113
Member Avatar for vampshay

can u help me how to connect to MS Access database using java codes?? import java.applet.Applet; import java.awt.*; import java.awt.event.*; import javax.swing.*; import java.lang.StringBuffer; import java.io.IOException; import java.io.*; import java.sql.*; public class sample1 extends JFrame { private DataPanel myDataPanel; private Connection dbconn; private static int numPeople=0; private static String info; …

Member Avatar for masijade
0
123
Member Avatar for maey_kich

hello, I can't figure out how to create an array that can be called from any module. Global or public sounds familiar but they don't work. Cheers.

Member Avatar for Tom Gunn
0
95
Member Avatar for colweb

For a project I'm working on, lots and lots of jpg files need to be converted to thumbnails and shown on a website. It is not complicated to read a directory, filter out all the jpg files and create thumbnails. So far no problem. But.... Some files do contain characters …

Member Avatar for colweb
0
324
Member Avatar for Honkey_Magoo

I have created the code to connect to a MySQL database and retrieve the values of a table. This is the function for printing the table: [CODE] # Name: dbHistory # Purpose: prints srvHistory table from database # Parameters: N/A # Returns: N/A # This is the implementation of the …

0
105
Member Avatar for xonxon

[code] import java.util.*; public class course { static Scanner sc=new Scanner(System.in); public static void main(String[]args) { String name,students,addStudent; int numberOfStudents; String courseName,getName,getStudents; int getnumberOfStudents; Course course1=new Course("C++"); Course course2=new Course("Java"); course1.addStudent("Peter"); course1.addStudent("Brian"); course1.addStudent("Anne"); course2.addStudent("Peter"); course1.addStudent("Steve"); System.out.println("Num of student in course1:"+course1.getnumberOfStudents()); String[]students=course1.getStudents(); for (int i = 0; i < course1.getNumberOfStudents(); i++) …

Member Avatar for Grn Xtrm
0
108
Member Avatar for soffie

Need to make a random size (x = rows, y = columns) matrix which is filled with random numbers (only 0 or 1). So, if I don't know the size of the matrix, I use dynamic array. So far I have made this far, but obviously it isn't quite correct... …

Member Avatar for soffie
0
2K
Member Avatar for 4ukh

dear experts, how to compare two different columns to check that whether the values in the cell are same or different using excel 2007... thanks in advance, 4ukh

Member Avatar for 4ukh
0
106
Member Avatar for PoRco1x

Hey guys, This is my first post here :) I have to compare to strings and then continue on with the loop.. [CODE]void HighScore::removePlayer(const string& name) { int i,j = 0; cout<<"Attempting to remove " << name<<endl; while (i<d_nPlayers) { if (d_players[i].name==name) { cout<<"Found : " << name<< "at slot: …

Member Avatar for PoRco1x
0
86
Member Avatar for bingot

hi there . im new here and also in developing a site using php. if could anyone give me an idea for for adding a textarea after a others value was selected on select(dropdown) ohh i can explain it clear. ok im just gonna give a sample [url]http://ph.jobstreet.com/myjobstreet/registration.htm[/url] when you …

Member Avatar for muralibobby2015
0
143
Member Avatar for vegaseat

A small Windows Application to show you how to play a wave (.wav) sound file. I am using the C# IDE from SharpDevelop and the runtime dotnetfx 1.1 from Microsoft, both free downloads. This forms a small and fast student system to write and debug C# programs. From there you …

Member Avatar for ashley dane
0
1K
Member Avatar for kat12

Hey, I'm brand new to Python and I'm sorry if my code/question is sloppy and ridiculous. I had to make a snowman for homework, but now I have to make the entire snowman move 6 times wherever the user clicks. I used this at first, but it obviously only moves …

Member Avatar for vegaseat
0
1K
Member Avatar for Jehanneman

Hi everyone! I'm trying to make a function in Python that converts a csv file into a xls file. I have to convert about 500 files so you understand that I need it to be as clean as possible. This is the code I wrote, just for one file later …

Member Avatar for ramwins1
0
734
Member Avatar for sfuo

This program asks for integers from the user and stores them into a multidimensional array that adjusts its size.

Member Avatar for VernonDozier
0
1K
Member Avatar for portfood

I am having trouble getting into my website on Wordpress. I get the following message and cannot sign-in. Parse error: syntax error, unexpected T_STRING in /home/portfood/public_html/portfood/wp-admin/admin.php on line 9 Here is the text that is on that page. Can someone help ? <?php define('WP_ADMIN', TRUE); if ( defined('ABSPATH') ) require_once( …

Member Avatar for portfood
0
113
Member Avatar for xonxon

[code] this is the simple program that i write import javax.swing.JLabel; import javax.swing.JTextField; import javax.swing.JFrame; import java.awt.FlowLayout; public class ShowFlowLayout extends JFrame { public ShowFlowLayout() { setLayout(new FlowLayout(FlowLayout.LEFT,10,20)); add(new JLabel("firstname")); add(new JTextField(10)); add(new JLabel("MI")); add(new JTextField(10)); add(new JLabel("Lastname")); } public static void main(String[] args) { JFrame frame=new JFrame("ShowFlowLayout"); frame.setSize(400,500); frame.setLocationRelativeTo(null); …

Member Avatar for xonxon
0
106
Member Avatar for 17ashis
Member Avatar for bk_yogeshvaidya

I am using railway reservation project. I am using for passenger Reservation Train_No,Boogie_no,Seat_No. I have problem with While Selecting Same Train_No,Boogie_no,Seat_No from two Pc's. It gives error duplicate values. What I will do When Two user selecting same values simultaneously. Please Suggest me Idea for this Project. I am Using …

Member Avatar for ramulal
0
139
Member Avatar for abhipro

Hey guys, I am trying to implement something in VC++ and have to use a library for this purpose. This library is in C++ and the authors have provided a seperate download for VC++ How exactly do I use the functions provided in this library in my own code? They …

Member Avatar for Tom Gunn
0
145
Member Avatar for Namibnat

I am sorry to ask such a beginner question: I am just learning to use classes and objects in php and would like to know one simple thing - how to you reference one function (or should I call them methods?) from another within the class. When I specify a …

Member Avatar for omoabobade
0
162
Member Avatar for nicsmr

description: Reading data from active directory. some names have the French accented E. when I write to screen, no problems. when I write to a .txt file the program errors out with... [I]Traceback (most recent call last): File "ad-listing.py", line 20, in <module> print >> OutFile, person.displayname,"~",person.title,\ UnicodeEncodeError: 'ascii' codec …

Member Avatar for vegaseat
0
129
Member Avatar for lifeworks

Hi So story goes, Ive recently started hashing user passwords to protect access, but have come to a bit of a problem in that if a user forgets their password, Im unable to retrieve it for them, because all I have is the salted-md5 hash? How has everyone else overcome …

Member Avatar for liamfriel
0
269

The End.