199,114 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for Radio2006

I am trying to start this java program using the requirements below, but I have no idea where to start. Just so you guys know, I am just starting out in this language. i have experience in Javascript programming, but this is completely different. I am used to Java programs …

Member Avatar for Radio2006
0
247
Member Avatar for NV43

I'm having a few issues with my code and trying to figure out the last problems with it. It would be a great help if someone could look this over and guide me in the right direction. This program is basically supposed to take the entered date, and tell you …

Member Avatar for NV43
0
148
Member Avatar for charat

So i am a college student and my assignment is to create a code that determines if an entered number is a palindrome or not. the assignment is as follows: "Write the following two methods: //Return the reversal of an integer, i.e. revers(456) returns 654 public static int reverse(int number) …

Member Avatar for weathernerd1990
0
3K
Member Avatar for aslamdoctor

Hello Friends, I am looking for a web based music player which has functionality like these 1. Play/Pause button 2. Shuffle button 3. Repeat button 4. Search from playlist option 5. Volume Up/Down button 6. Next/Previous button I am currently using wordpress to on my site & uploading sons through …

Member Avatar for aslamdoctor
0
157
Member Avatar for Ana_Developer

I am using hash_map<string, Word *> dict to store my Word objects. Each Word is a class that inherits from my Node class. The value in the label variable in the Word class is read from a text file. Once I start adding the objects to the dict structure, I …

Member Avatar for Ana_Developer
0
223
Member Avatar for Talguy

Does anyone know of an web based programming utility where I can program C++ in a web page and have it compile on my remote server. I run an LAMP server

Member Avatar for Ancient Dragon
0
540
Member Avatar for chinmc

I have installed a software program and i am not able to call it out : Here is the error message which i do not have any clues of as i am non IT literate , that's why i come to this forum . Warning: include(../config.php) [function.include]: failed to open …

Member Avatar for chinmc
0
132
Member Avatar for chamnab
Member Avatar for alex55
0
153
Member Avatar for Roebuc

Hello All, I am very new to YUI, as in tonight I used it for the first time. I have been reading some great tutorials and I was able to write my first small app with it. In my test app, there is one thing I dont understand but it …

Member Avatar for Roebuc
0
158
Member Avatar for rayden150

I created a little beginners program, and its about a Telephone network which has an operator and three clients: i made four classes, and it gives me error at planta and cliente In cliente it gives error on public class cliente private operadora Im Planta it gives me error in …

Member Avatar for kramerd
0
136
Member Avatar for DivineRose

Hello, everyone! I have a really basic Triangle program that I have to make (no applets or Scanner, just calculating), but I have no idea of where to start. I'm supposed to compute the lengths of the sides, the angles, the perimeter, and the area. Right now, I'm stuck on …

Member Avatar for DivineRose
0
135
Member Avatar for complete

Where is a good source for learning Design Patterns? Has anyone heard of what is called "Gang of 4" and "Model via Control"?

Member Avatar for Schol-R-LEA
0
149
Member Avatar for SanJuanWolf

I am fairly new at programming in C and I'm having problems with writing a program which combines n objects from n different groups and prints them; for example objects a1 a2 a3from group A with b1 b2 b3 from group B and c1 c2 from group C; both group …

Member Avatar for Airshow
0
221
Member Avatar for Davenavie

using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.IO; //first step add this namespace Project4 { class Program { static void Main(string[] args) { Random random = new Random(); { int m = 0, j = 0, k = 0; Console.WriteLine("Enter Statet(m or j or k)"); String state = …

Member Avatar for Davenavie
0
129
Member Avatar for g4george

Hi I have a session variable I wish to display in the title of a web page. This works well with IE. However, when I switch to Firefox it only works when viewed from my personal server. And not when I view my page when I go online using Firefox. …

Member Avatar for g4george
0
100
Member Avatar for nickoooname

Hey GUys, im trying to include a file inside my template. My code: [CODE=jsp]String get_act = null; get_act = request.getParameter("act"); boolean loggedin = (session.getAttribute("logginname") != null) ? true : false; if( loggedin == false && get_act != "login"){ out.write("Redirecting<br>"); response.sendRedirect("?act=login"); }else{ String include_page = null; include_page = get_act +".jsp"; %> …

Member Avatar for ushi324
0
325
Member Avatar for dmor574

Hey, this is my first post, and i'm a complete noob at Java. (i don't exactly know if i did the 'code tags' correctly, so if it didn't work properly, just know that I tried. my basic question is this: I'm trying to make a program that runs fullscreen on …

Member Avatar for dmor574
0
118
Member Avatar for Nicko_FaTe_

I am trying to make a text based game for a university assignment, this is an extension of a game i coded previously, with a fhew improvements, i originally had it where you choose two potions, you mix them together, and give it to the princess, i now have to …

Member Avatar for Schol-R-LEA
0
217
Member Avatar for a2usmani

HI Guys, I am trying to make a Result Management Sytem for our department on PHP. This system will add results online as well show up results. I have downloded a PHP inventory system named PHP Inventory 1.2 I want to change it into a Result System like I want …

Member Avatar for theonly
0
150
Member Avatar for tKc

I have to write a program that reads a text file that contains +/- values and characters and outputs any invalid characters (anything that is not an +/- integer) and also at the end i have to have it print out the total number of how many invalid characters there …

Member Avatar for tKc
0
85
Member Avatar for programmer12

Here is a snippet of my codes[CODE]<?php $animesql = "Select titles.name FROM titles WHERE titles.cat_id = 1 ORDER by name ASC"; $animeres = mysql_query($animesql); echo "<table id='MISC' style='display:none;' width='200' border='0' cellspacing='0' cellpadding='0'>"; echo "<tr><td><p class='al_toggle_txt'>"; while ($anime_list = mysql_fetch_assoc($animeres)) { //$str = str_replace(" ","",$anime_list['name']); $str = preg_replace('/[^a-zA-Z0-9]/','',$anime_list['name']); echo "<span style='cursor:pointer;' …

Member Avatar for programmer12
0
245
Member Avatar for vulcano224

I have to do a simple program for school I was wondering if anyone can please to help me. I already created the program but it is not working properly and I have no idea how to fix it. Everything looks fine to me Here's the assignment Write a program …

Member Avatar for griswolf
0
3K
Member Avatar for Megabyte89

Sorry if this is in the wrong thread, I haven't been here in a long time. Hi, I'm having a hard time in trying to position my wx.StaticText and wx.TextCtrl so that it's not stuck at the very top and very left. Life so [URL="http://i154.photobucket.com/albums/s274/Tye-Ann/daniweb.png"]Screenshot Here[/URL] Here is the code …

Member Avatar for Megabyte89
0
982
Member Avatar for fuston05

New to programming. I am using fopen, fwrite fead to read and add content to a flat txt file. I can check to see if file_exists no problem, but if file exists but its empty... not sure how to check for that. Was hoping to at least get pointed in …

Member Avatar for fuston05
0
79
Member Avatar for DanielWuVB

Is there anyone use VB to write the POS software (for intrenet use only, not online) ? I am thinking about to write a POS software for restaurant, any suggestion ? which is better VB, C++, C# or .... Thanks

Member Avatar for DanielWuVB
0
87
Member Avatar for python_user

hi, i am new to java programming, i do not know anything... can anybody post a sample program for implementing jeditorpane. it will be a great help .... thanks in advance...

Member Avatar for kramerd
0
147
Member Avatar for red999

I have 3 classes. Class A has an ArrayList of class B and class B has an ArrayList of class C. Within Class A, I have a function called contain [CODE] public boolean contain(int t, String n) { for(int i = st.size() - 1; i >= 0; i--) { if(st.get(i).contain(t, …

Member Avatar for red999
0
2K
Member Avatar for berwick53

In my computing class we have got to make a program which outputs the following "XXXXXXXXXX YXXXXXXXXX YYXXXXXXXX YYYXXXXXXX YYYYXXXXXX YYYYYXXXXX YYYYYYXXXX YYYYYYYXXX YYYYYYYYXX YYYYYYYYYX YYYYYYYYYY" We have to create a function and we can only use if and loops. but I'm having difficultly doing it outside of a function …

Member Avatar for Schol-R-LEA
0
127
Member Avatar for Alxandr

I'm creating a xml-file from code using Linq to XML. The code is prety simple: [code=C#] XNamespace appvisumnamespace = XNamespace.Get("http://appvisum.com"); XDocument doc = new XDocument(new XDeclaration("1.0", "utf-8", "yes"), new XComment(""), new XElement("AppConfig", new object[] { (from section in this select section.ToXml()) })); foreach (XElement e in doc.Root.DescendantsAndSelf()) { if (e.Name.Namespace …

Member Avatar for Nemachtiani
0
174
Member Avatar for hasanzia

I am a beginner & I need to implement this program which states that I have to reverse whatever is given in input via pointers... For Example: i) Input: This is reverse order program Output: program order reverse is This ii) Input: This is exercise eight Output: eight exercise is …

Member Avatar for kes166
0
1K
Member Avatar for rico001

Hello I was trying to compile programs using DevC++ for Windows, (I also looked at WxDevC++) I can get generic console apps I made in C++ to compile under windows. What I want to be able to do is compile some opensource programs that use make to compile. When I …

Member Avatar for rico001
0
194
Member Avatar for fuston05

i set cookies to expire at session end by just leaving time out. this works fine if i close the entire browser. but if i just close the tab w my script on it it doesn't expire cookies. I really would like for them to expire even in tabbed browser. …

Member Avatar for fuston05
0
97
Member Avatar for crodriguez08

Hey there, I can't seem to figure out why i can't access the member '*next' from the Node class to the Shuffle function. Any help would be great. [CODE]/* llist.h * LList */ #include <iostream> #include <string> using namespace std; typedef string ElementType; class LList; class Node { protected: ElementType …

Member Avatar for hag++
0
210
Member Avatar for usustarr

I have following code that execute .ksh successfully. My issue is, after executing ksh script, it does not return to C++ program to do my print. Therefore "ksh was executed" never gets printed. Can someone please show me what I need to do to make program comes back after executing …

Member Avatar for gerard4143
0
184
Member Avatar for ronaldpaul

Hello. I wanna integrate a site similar to [URL="http://www.superknowa.com"]http://www.superknowa.com[/URL]. In this site when you got Services menu, there they have different menu in the left side. Again when u goto Products menu they have a different menu in the left. In the other pages no menu will be shown. How …

Member Avatar for trilithon
0
227
Member Avatar for jeffrey.pry

Hey, I am trying to use multiprocessing via the Process module. I run two processes in unison and for some reason python or the os kills my process after roughly 50 seconds or during long processes (~3 min). I just get the following output: File 3 of 8 2010-10-11 13:28:09.090816: …

Member Avatar for woooee
0
165
Member Avatar for Reliable

Hello Everyone, Hope you're having a great weekend, especially in the Chicago land area where it's usually pretty chilly this time of the year and instead it's in the mid eighties. I'm looking to make an unsubscribe page. I don't know if everything can be done automatically or not and …

Member Avatar for P0lT10n
0
1K
Member Avatar for enja

i have to create a game using c++ language n i want to create something new...so i decide to create a games name "don't forget the lyric" which is the user need to fill in the blank on the lyric given. so, my question is how can i random the …

Member Avatar for enja
0
96
Member Avatar for trilithon

Hi All, I need to change the default values of checkboxes to 1 for checked and 0 for unchecked instead of 0 for checked and NULL for unchecked. If this is possible and how is it done. Here is the script that I am using: THE UPDATE FORM [CODE=php] <?php …

Member Avatar for trilithon
0
207
Member Avatar for RickSMO

I had a book exercise where I figured out how much carpet would cost, the code for that is here: [url]http://pastebin.com/nmfG8yd2[/url] Now I am trying to take that, and make it a useful program by asking you for the info instead of it being pre-set. What I have so far …

Member Avatar for RickSMO
0
154
Member Avatar for Efficience

Hello Everyone , I've this strange problem with using char pointer in my c++ programme with the gcc compiler (version 3.4.2). [code] char a='A'; char *c=&a; printf("%p %c\n",c,*c); std::cout<<c<<" "<<*c<<std::endl; [/code] I expect the output of printf and cout to be same but why am I getting strange output like …

Member Avatar for Efficience
0
617
Member Avatar for climberboy

I just wandered if there is a way to constantly update the time once it has been displayed on a console application. I am using the following code to display the time: [CODE]time_t rawtime; struct tm * timeinfo; time ( &rawtime ); timeinfo = localtime ( &rawtime ); printf ("The …

Member Avatar for Ancient Dragon
0
214
Member Avatar for samuel17

Hi all, I wrote this program for constructing an ID out of someones first name, middle name, last name, and address. I got it to work and run perfectly except for one small thing. There is suppose to be the possibility for the person to not enter a middle name, …

Member Avatar for samuel17
0
140
Member Avatar for awestove
0
67
Member Avatar for ivan3510

Hi! Sory for my bad english! How to make (simply, font color,size,bold,italic,underline,url,and image,undo,redo) tiny editor? Is there any website with tutorial? Thanks!

Member Avatar for ivan3510
0
197
Member Avatar for gaurav_13191

I have the following code for DDA Line Algorithm in C :- [CODE] //DDA Line Algorithm #include<stdio.h> #include<graphics.h> #include<conio.h> #include<math.h> #include<stdlib.h> #define Round(a) ((int)(a+0.5)) void linDDA(int xa,int ya,int xb,int yb); int main() { int gdriver=DETECT,gmode; initgraph(&gdriver,&gmode,"E:\\TC\\bgi"); linDDA(10,20,200,100); clrscr(); getch(); return 0; } void linDDA(int xa,int ya,int xb,int yb) { int …

Member Avatar for gaurav_13191
0
108
Member Avatar for arareyna

Hi everyone.. I'm new to python, the more to matplotlib :( and I am hoping that I can get help from this community... :) I have a .csv file, first column is a time stamp with format HH:MM:SS, next 8 columns are values of different parameters. I want to plot …

Member Avatar for Gribouillis
0
3K
Member Avatar for aizel

first of all happy 10/10/10 :twisted: btw i post my problem on my wordpress site here in javascript thread because i'm having a problem a problem on javascript script.. i am hoping you can help me with my problem the images can't read or open from the image folder. here …

Member Avatar for Airshow
0
292
Member Avatar for samurai14

Hi..We do have a project in school using visual basi 6.0 named "Memory Game". I have started to do it however i cant finish it. I have attached the interface of the program. Click image to match in pairs Card will randomize each test Each match will give 10 points …

Member Avatar for killbill07
0
2K
Member Avatar for kracko

I cant decide if it is appropriate to use user defined functions for every single action in a page..or it somehow may slow the work? I can alternatively make different php files instead of functions,,and they will do the same thing depending on values of some variables, but i would …

Member Avatar for kracko
0
114

The End.