199,114 Archived Topics
Remove Filter ![]() | |
Hello all, I've made my first wordpress theme from scratch and as expected I'm running into some trouble getting it to function. Here's the error message: Parse error: syntax error, unexpected $end in /home/seve4033/public_html/blog/wp-content/themes/sevensharks/footer.php on line 35 ...line 35 is </html> so I'm lost as to what is unexpected. If … | |
hey gues I search modules for console windows ( when program run ), i search few hours but for windows only find module Console .. I search module like for Urwid but for Windows, not Unix ( sorry, my english is not good ) | |
Hello daniweb forum members! Just a quick question which has hindered my programming greatly. I am creating an online role playing game: vorii - [url]http://www.youtube.com/watch?v=ePNxDlZ2H7Q[/url] And I have come across a problem with the chat interface. The way I have programmed my game is that each player as a place … | |
Hello, I am having some strings grammar problems. [CODE] char *eisodos1[50]; char e; int *a; int i; int main() { eisodos1[i]=getchar(); (1) e=eisodos1[i]; (2) if (eisodos1[i] == ' ') g++; (3) while ((e!=EOF) && (a!=EOF)); (4) } [/CODE] Please don't look the code like a complete program, I posted the … | |
I can compile and run the program, but cannot output the text file and print the member list result. Anyone can advice the solution? Thanks. 1. Add new member information 2. Print member list 3. Exit #include<iostream.h> #include<fstream.h> #include<dos.h> #include<conio.h> #include<stdlib.h> #include<stdio.h> #include<string.h> #include<iomanip.h> struct student { char Stdid[7]; char … | |
Hello I'm using an access database for a school project. The point is to get info out of a tag (stored in database). There's a path of a picture stored in the database. When i want to get it out, everythink works. But as soon the picture is displayed and … | |
Hi Every one !!! I want to know how i need to capture a duplicate value in database..For example if user enters the same E-mail which already in the database, I want to give a javascript alert or else re-direct to another page and wants to tell that "This is … | |
hey guys/gals. i get a segmentation fault whenever the for loop in the print function is executed. any suggestions? im not sure what i did wrong. [CODE]//class member functions #include "experiment.h" #include <iostream> #include <fstream> #include <cstdlib> #include <iomanip> using namespace std; int Experiment::numberOfTests = 0; Experiment::Experiment(){} void Experiment::setExpName() { … | |
HI, i am Nishank and have got a project -to make periodic table by using the following a. Data Structure b. Object Oriented Programming in C++ c. Data File Handling through the program the user should be able to: a.view the periodic table b.edit the periodic table c.delete a record … | |
Hello, U just started using acces and I need to make a query using multiple tables. I read some tutorials and watched videos but I can't seem to do it right. I have 2 tables: the first one is Login, the second one is Group. Login contains Username, Name, Group … | |
How to create Database connectivity for sql server express edition 2008? plz Help me.. i am confused so much... | |
hello, plz tell me how to show some value in message box in asp.net using c# on the same page. | |
HI every one I have tried 3 wysiwyg for my php web site , like ckeditor and openwysiwyg . I'm using the latest version but they have some problems and they didn't work good . I want a simple and good wysiwyg editor . What do you suggest ? thanks ![]() | |
Hi All the members in DaniWeb :cool: I need to know how to end a created session when user log out from the web site..I have created a web-site for my assignment..and i put Sessions..Each time user log in to system it create session object and identifies the user.. What … | |
Hey guys So at the moment i'm making an online strategy game a bit like tribalwars.net. I'm having a problem with building construction, unit recruitment, travel times etc. For example.. When a user clicks "build" for a building, the building will be added to a queue and will be completed … ![]() | |
hi, i want show my login form [B]on page load[/B] function, i have this ref [url]http://colorpowered.com/colorbox/cor...le5/index.html[/url] in this page see the option [B]Outside Webpage (Iframe)[/B] i need this function on page load not in click thnks in advnsss | |
hi there, how can i add a calender column by writing the code in C#, the below code gives and error: [CODE] CalendarColumn c = new (CalendarColumn)dgvAction.Rows[0].Cells[1].OwningColumn; [/CODE] what i want is when i click a check box in the datagrid view i want the current date to display in … | |
This is a code to solve a maze using A* search algorithm. When I run it, it gives me the following error: Exception in thread "main" java.lang.NullPointerException Can someone help me out? Below is all the code: [CODE] import java.util.List; import java.util.ArrayList; import java.util.Queue; import java.util.PriorityQueue; import java.util.Stack; public class … | |
I'm making a game engine and an integral part of the game is that it populates worlds based on maps loaded from a XML file, a method "Actor load(Map<String, String> code)" in a class ActorLoader takes a map and returns an actor based on this map. When you make a … | |
hi.. I'm new in VB, and I have a project to activate LED from VB, but the data from VB should be send first to microcontroller (I am using ATmega8535). so in simple way I suppose to activate the LED, yhe input is from VB, but it must be through … | |
Hello, I have a form with two list boxes and a button that, when clicked, removes the selected item from the first list box and adds it to the second list box. I can add the selected item to the second list box but i can't find a method that … | |
Hello everyone, so I am going to be developing a website for a friend of mine. He owns this business that allows people to come to his store, pay 20 dollars and play some games. He wants on his website, a paying system, where users can pay 15$ instead of … | |
Im trying to access the objects in the vector array that ive created in the bid class. I need to access the first ask bid and then continue to compare the price and the quantity with the first buy bid. I dont understand how on EARTH im supposed access these … | |
Hai friends, Me too have some doubts regarding C++. What happens if a pointer is deleted twice? Which is a better option --pass by value or pass by reference ? | |
Hello guys, My problem is that my code will automatically go through: [code]if((ask[i].getPrice()) <= (buy[j].getPrice())){[/code] where ask and buy are vectors. I need to know how I am suppose to compare them based upon the getPrice()...... Thanks in Advanced. The rest of the code is here: [code] int i=(int)ask.size(); int … | |
Hey all, I've elected to write a console hangman game and I've completed it just fine. However, one thing is evading my logic as to why it wouldn't work. I want it to "appear" to LOAD GAME" at the beginning like so: "LOADING GAME....." The total wait time I want … | |
Hi Guys, I have a problem connecting to a SQL Server from Windows 7 - this particular server I can only connect to by using the named instance from Win XP - I can connect to other servers that does not require you to connect to the named instance eg: … | |
I have a class which accepts vectors from another class called trader. This is the simulator class: [code] #include<vector> using namespace std; class Simulator { Trader trader; Auctioneer auction; public: void run(); }; void Simulator::run() { trader.setBid(); auction.BidID(trader.getBidID(vector<int>)); auction.TraderID(trader.getTraderID(vector<int>)); auction.Quantity(trader.getQuantity(vector<int>)); auction.Price(trader.getPrice(vector<int>)); auction.Type(trader.getType(vector<char>)); auction.showbid(); auction.matchBids(); }; [/code] In these lines: [code] … | |
Hi!! I'm using JSP+Servlets+JavaBeans to make a simple application of inventories. I have created some beans in the servlet that contain the name of a factory , and then i want to get that data in a jsp page. Since i'm having many names of factories i named the respective … | |
I use [CODE] Shell("explorer Path")[/CODE] Path is Directory But it Open My Document Path is D:/ I think It because The syntax "explorer Path" i try a lot like shell("explorer" path), shell(explorer path) , shell(""explorer" path") but it always open My Document | |
*********test.php************** ****************************** <form action="/forums/test_records.php" method="post" name="test" id="test"> <table width="385" border="1" align="center"> <tr> <td width="120">Date: </td> <td width="249"><?PHP echo date("Y-m-d");?></td> </tr> <tr> <td>Particulars:</td> <td><input name="Particulars" type="text" size="40"></td> </tr> <tr> <td>Debit:</td> <td><input name="Debit" type="text" size="40"></td> </tr> <tr> <td>Credit:</td> <td><input name="Credit" type="text" size="40"></td> </tr> <tr> <td colspan="2"><div align="center"> <input type="submit" name="Submit" value="Submit"> </div></td> … | |
somehow this does not work: [icode]self.list_box_1.SetForegroundColour(5,"red")[/icode] SetForegroundColour is though listed in [url="http://www.wxpython.org/docs/api/wx.ListBox-class.html"]the api reference[/url] | |
Hello Is there a way to get data from the db with ConnectStudentDAO and populate the StudentBean.java and then copy the bean over to the model (Student.java) Is this how it is done. I'm not sure how to work out the Cast error. Thanks [b]LoginInfoBean.java[/b] [code] public String loginAction(String newUser, … | |
hello every one, i just want to know if it is possible to install . NET into Mandrake Linux server.. thanks..:confused: | |
can someone plz explain why each option is valid or invalid..i have no clue of waht is going on in these questions? all i can see are they are being multiplied?.. i do not understand these attributes and instances and cannot find any helpful resources either? i know in the … | |
![]() | Hi, I need help with an Assignment that requires me to continue(inheritance) on an existing assignment that I previously did. When I run the program and choose option 4 or 5 nothing happens, it skips the rest of the loop and starts again. #This is the main code that uses … |
I would like to know how to send a sms (text message) from windows application to a mobile phone (with entering the number) - for free. One and the only option I know (and I tried) is to send it using email. But I do not have any provider in … | |
I have a parent table and a child table linked with an Id. The child table has two fields - ch_id and item. The parent table has a field which stores the value of ch_id for that row. I have set up a php script to generate a selection list … | |
Hi, I want to know the general information about java. Is java is opensource or not? Thank you, Prem | |
hi, i work on windows application and i have this code: [CODE] SqlCeDataReader rrs; SqlCeCommand comd = new SqlCeCommand("select CodePersonne from Table1 where DateR ='" + DateTime.Now.Date + "';", conne); rrs = comd.ExecuteReader(); [/CODE] while running, i get this error: The data type is not valid for the boolean operation. … | |
hi everyone can u please correct the errors in these codes? [CODE] // Testing the Stack class of the java.util package import java.util.*; import java.awt.*; import java.awt.event.*; import javax.swing.*; public class StackTest extends JFrame { public StackTest() { super( "Stacks" ); Container c = getContentPane(); final JLabel status = new … | |
Please help me out with this... Sorry, Don't know how to post in coding option. this might be hard to understand. | I just copy it and posted it.... thanks in advance. /* * To change this template, choose Tools | Templates * and open the template in the editor. … | |
please give me a java codes to print this triangula shape using for loop........... 1 22 333 4444 55555 | |
I recently starting learning Java, I have a pretty good grasp on C/C++ and wanted to expand my horizons. Anyway, I have being using the Headfirst Java book and recently finished the chapters on GUI. One thing that wasn't covered by the book was how to deal with child windows. … | |
I have the following code which basically acts as a typewriter: [code] int main () { char c; puts ("Enter text:"); do { c=getchar(); putchar (c); } while (!feof(stdin)); return 0; } [/code] However when I feed it a text file for input: [icode]$ ./typewriter < input.txt[/icode] it always adds … | |
Is this possible with pyhton? If it is, how can you do it? [CODE]def raise(): raise = raw_input('Do you really want to raise? y/n') if raise == 'y': bet = bet+1 return # Should RETURN to play(), after raise() # Like "goto LABEL" else: return def play(): bet = 1 … | |
First of all, excuse me for bad English, I speak Spanish... Well, my question is how do I implement sockets in my program? I'm working on a little game call "Battleship", I already have how to set your ships and the function to attack, but I need to connect 2 … | |
This is a small program that is suppose to find out the sum of even numbers entered into an array.... but everything works fine without errors but the output am getting is a negative number.... -1717986920. [CODE]#include <iostream.h> void main() { int sum=0; int i, a[6]; int range; cout<<"Enter a … | |
Ok here is what I want... I want to read the Dictionary file, and output its contents into the dynamic-text.dat file... But it reads the dictionary file and it will not write to the dynamic-text.dat file and I have no clue why... what am i doing wrong.. when I split … | |
Hello, I cannot figure out why my program crashes when it gets to the code below. Everything else in my coding works, except when I go to run this code... [code] void Auctioneer::matchingGame(){ vector<Trader>::iterator it; int i=ask.size()-1; int x=0; int y=0; int bId; int tId; char h; int temp=0; int … |
The End.