199,114 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for .watts.

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 …

Member Avatar for chrishea
0
174
Member Avatar for kur3k

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 )

Member Avatar for kur3k
0
53
Member Avatar for helpfullProgram

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 …

Member Avatar for mrnutty
0
165
Member Avatar for skypower

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 …

Member Avatar for eager
0
193
Member Avatar for manvis2484

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 …

Member Avatar for Ancient Dragon
0
243
Member Avatar for Isaaac

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 …

Member Avatar for Isaaac
0
72
Member Avatar for Chammarox

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 …

Member Avatar for Chammarox
0
128
Member Avatar for corby

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() { …

Member Avatar for Ancient Dragon
0
162
Member Avatar for nishankyadav

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 …

Member Avatar for Ancient Dragon
0
6K
Member Avatar for Swiftle

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 …

Member Avatar for Swiftle
0
107
Member Avatar for Poonam_l

How to create Database connectivity for sql server express edition 2008? plz Help me.. i am confused so much...

Member Avatar for paslanmaz
0
121
Member Avatar for ranuvishwakarma

hello, plz tell me how to show some value in message box in asp.net using c# on the same page.

Member Avatar for paslanmaz
0
147
Member Avatar for hno

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

Member Avatar for diafol
0
68
Member Avatar for Chammarox

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 …

Member Avatar for paslanmaz
0
139
Member Avatar for Olliepop

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 …

Member Avatar for diafol
0
96
Member Avatar for sahildw

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

Member Avatar for sahildw
0
38
Member Avatar for judithSampathwa

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 …

Member Avatar for sknake
0
152
Member Avatar for Fou7a

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 …

Member Avatar for BestJewSinceJC
0
260
Member Avatar for OffbeatPatriot

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 …

Member Avatar for ~s.o.s~
0
180
Member Avatar for abyan

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 …

Member Avatar for abyan
0
151
Member Avatar for jockfaire

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 …

Member Avatar for finito
0
149
Member Avatar for WargRider

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 …

Member Avatar for WargRider
0
77
Member Avatar for Roses89

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 …

Member Avatar for NathanOliver
0
129
Member Avatar for anusri555

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 ?

Member Avatar for NathanOliver
0
74
Member Avatar for prototyppe

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 …

Member Avatar for NathanOliver
0
62
Member Avatar for BLKelsey

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 …

Member Avatar for mitrmkar
0
104
Member Avatar for carelvos

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: …

Member Avatar for Ramy Mahrous
0
197
Member Avatar for Roses89

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] …

Member Avatar for Roses89
0
58
Member Avatar for grub87

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 …

Member Avatar for kakashi_sensi
0
156
Member Avatar for trpsjt2008

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

Member Avatar for trpsjt2008
0
100
Member Avatar for ismael ahm@d

*********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> …

Member Avatar for jayreis
0
297
Member Avatar for Kruptein

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]

Member Avatar for HiHe
0
168
Member Avatar for ceyesuma

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, …

Member Avatar for ceyesuma
0
127
Member Avatar for royaloba

hello every one, i just want to know if it is possible to install . NET into Mandrake Linux server.. thanks..:confused:

Member Avatar for kvprajapati
0
96
Member Avatar for gangster88

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 …

Member Avatar for gangster88
0
107
Member Avatar for jeanfrg

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 …

Member Avatar for moutanna
0
142
Member Avatar for Mitja Bonca

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 …

Member Avatar for Ramy Mahrous
0
86
Member Avatar for GeoffC

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 …

Member Avatar for GeoffC
0
83
Member Avatar for prem2

Hi, I want to know the general information about java. Is java is opensource or not? Thank you, Prem

Member Avatar for prem2
0
84
Member Avatar for basma.lm

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. …

Member Avatar for basma.lm
0
212
Member Avatar for bettybarnes

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 …

Member Avatar for moutanna
0
243
Member Avatar for jasneg16

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. …

Member Avatar for moutanna
0
133
Member Avatar for drweere

please give me a java codes to print this triangula shape using for loop........... 1 22 333 4444 55555

Member Avatar for javaAddict
0
48
Member Avatar for pinsickle

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. …

Member Avatar for javaAddict
0
115
Member Avatar for Reprise

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 …

Member Avatar for Reprise
0
92
Member Avatar for Hawkeye Python

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 …

Member Avatar for lllllIllIlllI
0
95
Member Avatar for jv_05

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 …

Member Avatar for lllllIllIlllI
0
178
Member Avatar for KBL

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 …

Member Avatar for KBL
0
11K
Member Avatar for triumphost

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 …

Member Avatar for triumphost
0
343
Member Avatar for prototyppe

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 …

Member Avatar for prototyppe
0
134

The End.