199,114 Archived Topics
Remove Filter ![]() | |
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 … | |
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 … | |
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) … | |
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 … | |
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 … | |
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 | |
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 … | |
WHO know the best C++ Compiler for window 7 64 bit ?? thx for reply | |
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 … | |
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 … | |
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 … | |
Where is a good source for learning Design Patterns? Has anyone heard of what is called "Gang of 4" and "Model via Control"? | |
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 … | |
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 = … | |
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. … | |
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"; %> … | |
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 … | |
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 … | |
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 … | |
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 … | |
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;' … | |
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 … | |
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 … | |
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 … | |
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 | |
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... | |
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, … | |
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 … | |
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 … | |
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 … | |
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 … | |
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. … | |
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 … | |
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 … | |
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 … | |
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: … | |
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 … ![]() | |
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 … | |
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 … | |
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 … | |
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 … | |
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 … | |
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, … | |
Problem was solved, was using the wrong id stupidly... | |
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! | |
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 … | |
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 … | |
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 … | |
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 … | |
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 … |
The End.