199,114 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for jemz

hello can you help me i make a program that will determine palindrome words using array...how can i determine if my words are palindrome... example if i input: radar == radar-->this is palindrome so if i input this notice--->this will print not a palindrome please help me here is my …

Member Avatar for jemz
0
387
Member Avatar for Anex

I am working on a program which would really become easier to write if I can use character variables as an index to an array.. for eg. if char_var is a character variable say initialized to 'a'(ascii decimal value = 97), then array1[char_var] should refer to array1[97] element. I wrote …

Member Avatar for Ancient Dragon
0
9K
Member Avatar for piro87

Hi guys, i really need help here. I must write a program in c that reads a file .RAW that it contains photos in sequential order, every photo has a head-board of 4 bytes. (0xff 0xd8 oxff 0xe0 or 0xe1) and that way I can identify the beginning of the …

Member Avatar for Adak
0
832
Member Avatar for Rasmalai

I was working on a project in my VB.NET Express and suddenly my code that was working fine and starting up as normal gave me this error: {An error occurred creating the form. See Exception.InnerException for details. The error is: Corrupt .resources file. Got an unexpected EndOfStreamException while trying to …

Member Avatar for Rasmalai
0
236
Member Avatar for jacg4

Hello everybody Could someone help me on this? I think it's pretty basic... newbie problems... I have a Windows mobile application and what I'm trying to do is that when the user clicks a button for the first time it changes it's text to finish task. Then when the user …

Member Avatar for jacg4
0
132
Member Avatar for IDC_Sharp

i made a Browser and i made tabs so i made MouseDown Event and i put there this: [CODE] addNewTab(); getCurrentBrowser().Navigate(adress); [/CODE] but it doesnt work.. so i want to do when i click a link with the Middle Mouse Button its will open the link in new tab// how …

Member Avatar for IDC_Sharp
0
60
Member Avatar for BhuvanRam

Hai friends what is the difference between sealed class and private constructor any way both doesnt allow inheritance? If any difference please tell me?

Member Avatar for BhuvanRam
0
3K
Member Avatar for mariko

There is a Byki language program that I want, but alas, it's only for Windows and Mac. :'( I read somewhere that there is something with Wine that can be done....But I'm a Ubuntu and Linux newb and havn't the faintest idea of how to do something like that. Also, …

Member Avatar for mariko
0
83
Member Avatar for speakerbug

I am super new at coding PHP, and ive gotten this to work in the past, but for some reason it isn't working now. Can someone tell me what im doing wrong. Thank you so much in advance! [CODE]<?php $email = $_POST['email']; $firstname = $_POST['firstname']; $lastname = $_POST['lastname']; $addressone = …

Member Avatar for Flexor123
0
190
Member Avatar for maxzoran

Good morning, thanks in advance for the help. I am creating a pig latin translator for a class (with that in mind, sorry for bad coding form) and I am having trouble. I have my function working, but it seems like I am stuck in a loop. I'm having trouble …

Member Avatar for Adak
0
209
Member Avatar for MindFreaks

MindFreaks Downloader :- I Have Created A Great Software And Need To Enhance It More. It Has Been Downloaded More Then 2,000 Times In The Whole World We All VB.NET Developers Can Create It Better And Better. For Source Code Check Out Source Forge. The Source Code On Source Forge …

Member Avatar for MindFreaks
0
238
Member Avatar for sem123

Select syntext for database search i have a database and a table one colums with items name des items 1 pen,pencile 2 rubber,scale all are in one column with seperated with coma when search from only pen how it is possible to show me row for 1 whole row like …

Member Avatar for hielo
0
81
Member Avatar for pooja yadav

Hello friends plz help again How to coding in save button and how to convert the database in SQL Server 2005 in DropDown List becoz in sql take date in mm\dd\yy and in asp.net i m create the form dd\mm\yy? plz help me...

Member Avatar for simi pillai
0
140
Member Avatar for sial_m

Hello all, I have python 2.6 installed, i can see it in /usr/bin and I can run it in terminal. I cannot however seem to figure out how to open the Idle, or get the program to show in the redhat drop menu. Kinda new to linux (some ubuntu use, …

Member Avatar for Gribouillis
0
353
Member Avatar for Kanoisa

Hi, I think im trying to break c++ again in making it do something it does not want to do. Basically i have a logging class im making which simply takes a string stream and pumps it into a file. But i want 2 different versions one that trys to …

Member Avatar for Kanoisa
0
195
Member Avatar for PixelExchange

Hi all. I need help "binding" to a specific IP address. My program is able to "bind" when using inaddr_any, but I can't seem to bind to a specific IP address using inet_addr("...."). I am basically trying to "bind" a socket to MY home pc's IP address, and a random …

Member Avatar for Ketsuekiame
0
149
Member Avatar for wyssen

Hey everyone I have this huge program which comes with different directories like lib, include, test, modules, services etc. Every directory has a -Makefile -Makefile.am -Makefile.in The root directory has the following files -missing -Makefile -Makefile.in -Makefile.am -configure -configure.ac I added two classes with 2 header files and one of …

Member Avatar for wyssen
0
252
Member Avatar for skiabox

How can I declare on top of my code a function that takes an array of ints as argument? Thank you.

Member Avatar for skiabox
0
102
Member Avatar for rrothfeldt

I keep getting the following syntax error: Parse error: syntax error, unexpected T_VARIABLE, expecting ',' or ';' in C:\xampp\xampp\htdocs\xampp\getFriends.php on line 26 I'm hoping some fresh eyeballs on this will help. I've been puzzling through it for the better part of the day and I'll be doggone if I can …

Member Avatar for rrothfeldt
0
119
Member Avatar for cj232

[CODE=c++]#include <cstdlib> #include <iostream> using namespace std; int main(int argc, char *argv[]) { cout<<"x value x2 value x3value\n\n"; int x=0, y, z; back: x++; if(y=x*x) if(z=x*x*x) cout<<" "<<x<<" "<<y<<" "<<z<<"\n"; if(x<10) goto back; system("PAUSE"); return EXIT_SUCCESS; }[/CODE] how can i get the total of x value, x2 value, x3 value...??? …

Member Avatar for Stefano Mtangoo
0
128
Member Avatar for sana_moi

hi pleas i need help if it's possible ; i have a c++ code which can select from a DB but i can't do the code for insert a new data in my data base .

Member Avatar for sana_moi
0
140
Member Avatar for Saranya Ravi
Member Avatar for mike_2000_17
0
129
Member Avatar for ronnyrhymes

Hello folks, I tried writing my own function on string copy and this is what i managed to do.Though it somehow works, I have got a great problem with the manipulation of pointers. Please explain or modify it for me. Thank You. #include <stdio.h> #include <stdlib.h> int main() { char …

Member Avatar for ronnyrhymes
0
122
Member Avatar for nsandberg

I am new to PHP and I have an application that is suppose to take 6 pieces of information and insert it into the table. I essentially have this application working but the issue that I am running into is that when I select multiple checkboxes it will only insert …

Member Avatar for vibhaJ
0
3K
Member Avatar for pav6kor
Member Avatar for ronnyrhymes
0
97
Member Avatar for fire_

Hello. I'm using this constuction to write to file: [CODE]#include <iostream> #include <fstream> using namespace std; int main () { char data [50]; cout << "Enter data\n"; cin >> data; ofstream file("data.txt"); if (!file) { cout << "File opening error"; cin.get(); return 1; } file << data; file.close(); cout << …

Member Avatar for abdelhakeem
0
131
Member Avatar for pptech

simo1.java [CODE]import javax.swing.*; import java.awt.*; import java.awt.event.*; public class simo2 extends JFrame implements ActionListener{ private JRadioButton red; private JRadioButton yellow; private JRadioButton blue; private JRadioButton green; private JRadioButton magenta; public simo2() { setLayout(new FlowLayout()); setVisible(true); setSize(400,250); setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE); red=new JRadioButton(" red"); yellow=new JRadioButton(" yellow"); blue=new JRadioButton(" blue"); green=new JRadioButton(" green"); magenta=new …

Member Avatar for tong1
0
7K
Member Avatar for private bob4

Hello DaniWeb, I was wondering how I can have a server status in the Title bar. Such as: (Website name) - Server is online! or (Site Name) Server is offline!

Member Avatar for 84hd0ns
0
81
Member Avatar for kdmuk10

I am trying to do a program which does simple maths by scanning using provided three items (two number and an operator) then let the program do the calculatin and printout the result. The way i have attempted it so far (below is the code) the value of the operator …

Member Avatar for kdmuk10
0
167
Member Avatar for technical_amit

Hi guys, I am developing an invoice project. I am calculating amount of each section and assigning in grand total. For multiple invoice body section, I am adding dynamic html code using jquery append function. I am successfully added section and removed. When I added new invoice body on click …

Member Avatar for technical_amit
0
1K
Member Avatar for AngelicOne

Could someone tell me how could setting up index would affect my select statement? I read that it boost performance especially for finding specific values, but how?

Member Avatar for Geekitygeek
0
179
Member Avatar for rishabh_pesit

Hey hi all, I am new to jsp,servlets .. i am doing a small project on employee database management. In this I have a form which has various fields. And also buttons for add,delete,update,next and previous. Now what I want is I click on previous it should retreive values from …

Member Avatar for javaAddict
0
116
Member Avatar for lionaneesh

These are my 2 pages index.php:- [CODE]<?php session_start(); ?> <html> <head> <title>Enter Your Name</title> </head> <body> <form action="hello.php" method="post"> Wat's U'r name : <input type="text" name="name"/> <br/> <input type="submit" value="Next"/> </form> </body> </html>[/CODE] hello.php:- [CODE]<?php session_start() ?> <html> <head> <title>Hey <?php echo $name; ?></title> </head> <body> <?php $_SESSION['name'] = $_POST['name']; …

Member Avatar for lionaneesh
0
208
Member Avatar for AnkitPasi

Hello, Im an intern at a company.I've been asked to test different open source PHP-based help desk softwares and submit a report on a free alternative to a commercial solution. The report should compare at leaste two popular such softwares(according to me). How do i test such a software and …

Member Avatar for AnkitPasi
0
119
Member Avatar for gauravk_bhanot

this code shows the second oval only when maximize is pressed otherwise only the one oval is shown and the first oval does not go to the getHeight() where as the one appearing after maximizing repaints correctly [CODE][/CODE][code]import javax.swing.*; import java.awt.Graphics; class drawpanel extends JComponent implements Runnable { int i=10,startx; …

Member Avatar for tong1
0
312
Member Avatar for nbaztec

I've recently been programming J2ME apps for Mobiles when it struck to me - something I remembered: "A virus infected my mobile!". I find it strange. Obviously, the regular EXE files don't work on JVM so can no way infect mobile phones. So there should be Java-specific viruses, but J2ME …

Member Avatar for nbaztec
0
142
Member Avatar for Softwarez

Hi, this is going to be a very broad question and any info or suggestions are welcome! I am writing an application which uses a Mon-Sunday approach with times slots from 9.30am till 7.30pm. These time slots can be filled in with data (a single string). Currently this data is …

Member Avatar for Softwarez
0
289
Member Avatar for richman_tck

Hello, I'm having issues with my Boonex 7 community the error im getting is.. PHP Warning: Cannot modify header information - headers already sent by (output started at /mnt/Target01/326394/463756/www.handycappedsingles.us/web/content/langs/lang-en.php:1) in /mnt/Target01/326394/463756/www.handycappedsingles.us/web/content/inc/classes/BxDolSession.php on line 61 PHP Warning: Cannot modify header information - headers already sent by (output started at /mnt/Target01/326394/463756/www.handycappedsingles.us/web/content/langs/lang-en.php:1) in …

Member Avatar for richman_tck
0
432
Member Avatar for fire_

Hello. I'm writing DOS program with Visual C++ 6 and i want to log date and time to file. I'm new at programming so please tell me all #include <> and full syntax :) Also I tried time() but i recieved error: error C2064: term does not evaluate to a …

Member Avatar for fire_
0
6K
Member Avatar for paeez

Hello I am writing a class Test. I considered a field “int age” to see how long each instance of this class has been created. In other words i want to know the age of each instantiated object of this class. I assumed i should use the Timer class. I …

Member Avatar for Geekitygeek
0
117
Member Avatar for Shikhin

Hi To All, I just wanted to ask you all brainies that I wanted to attempt Microsoft Certification For C++ Language. Now when I searched Microsoft certification it showed up results such as Microsoft Certified ...(Something Something). Now can anyone give me a link to the information about Microsoft C++ …

Member Avatar for AkashL
0
88
Member Avatar for gurupts

how to fix a search function in vb 6.0 to search in ms access database. i have installed vb & ms access only.and i want to generate a report of search result in the form. thanks for any help...

Member Avatar for fourty
0
247
Member Avatar for PeterKerk

I'm running MSSQL Server 2008 I did this: set CLASSPATH= C:\Program Files\Microsoft SQL Server JDBC Driver 3.0\sqljdbc_3.0\enu\sqljdbc4.jar (I dont know where I can check if this has been executed correctly) Then when approaching this URL: [url]http://localhost:8983/solr/db/dataimport?command=full-import[/url] Using this data-config.xml: [code=xml]<dataConfig> <dataSource driver="com.microsoft.sqlserver.jdbc.SQLServerDriver" url="jdbc:sqlserver://localhost:1433;databaseName=wedding" user="sa" password="r00kw0rst" /> <document name="weddinglocations"> <entity name="location" …

Member Avatar for parry_kulk
0
609
Member Avatar for tong1

I am interested in Current threads, such as : rare program :s [url]http://www.daniweb.com/forums/thread300723.html[/url] how to create 2D array of enumeration values [url]http://www.daniweb.com/forums/thread300738.html[/url] which have a common goal: to store the names of Enums objects in a 2D array of String. For example, we have a pack of porker cards defined …

Member Avatar for ~s.o.s~
0
2K
Member Avatar for Haxifix

Hey guys, I wrote a TicTacToe program at my friends house in like 10 minutes, so I am sure I can improve some things. Can someone please give me some idea's on either stuff to add or stuff I can improve on (make more efficient). [code]#include <iostream> using namespace std; …

Member Avatar for mrnutty
0
151
Member Avatar for mkcee

I am having difficulty reading the following input file Jon 40 Chris 50 Pete 60 what is wrong with this code that I wrote to read the above file. thank you for your help. [code]//***************** #include <iostream> #include <string> #include <stdlib.h> #include <fstream> #include <iomanip> #include<cassert> using namespace std; void …

Member Avatar for nutristars
0
228
Member Avatar for Don_leon

How do get the content(Text or Numbers) of a text box in a windows form and take it to the next windows form and use it there.

Member Avatar for Geekitygeek
0
93
Member Avatar for jackabascal

It may seem like a simple answer, but how do I pass an image to a bitmaps constructor. for example: [CODE]Bitmap bmp = new Bitmap(########);[/CODE] what would I put in place of the pound signs If i wanted the default image to be C://Users/Me/Documents/Visual Studio 2010/Projects/MyProject/Image.jpg Please help.

Member Avatar for Geekitygeek
0
187
Member Avatar for ayesha789

Hi , I have 5 quries, each query showing expense of different category. like Lease,Diesel,Security,Electricity, Maintenance. 3 quries using 6 tables and 2 quries using 2 tables means 6 tables used in total. Now I want To Show Expense Using one query so I can Get complete Sum of Expenses. …

Member Avatar for ayesha789
0
85
Member Avatar for shazzy99

How can I read the contents (separate paragraphs) of a .doc /.docx file in C#

Member Avatar for Geekitygeek
0
258

The End.