199,114 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for mjbor1

**my code should check if the Entered string is a palindrome or not** // stack.h typedef char comp; struct nodetype; typedef nodetype* nodeptr; class stack{ public: stack(); bool isfull()const; bool isempty()const; void push(comp elm); void pop(comp& elm); ~stack(); private: nodeptr top; }; /******************************************** stack.cpp */ #include<iostream> #include"stack.h" #include<cstddef> #include<cstdlib> #include<cstring> …

Member Avatar for Lucaci Andrew
0
271
Member Avatar for GlenRogers

Ive uploaded a site to my server. I have a very simple login form for the owner to lofg in and update content. But I am getting this error. 'Warning: Cannot modify header information - headers already sent by (output started at /websites/123reg/LinuxPackage22/re/pt/il/reptile-ni.co.uk/public_html/php/login.php:3) in /websites/123reg/LinuxPackage22/re/pt/il/reptile-ni.co.uk/public_html/php/login.php on line 28' Here the …

Member Avatar for diafol
0
341
Member Avatar for kindofsudden

Being somewhat new to VB.NET, I built a data solution by using wizards and drag-and-drop on forms. My data is in an Access DB and I opened up those tables with Server Explorer and dragged them into my dataset. I connected the tables to datagridviews. Worked like a charm. Then …

Member Avatar for john.knapp
0
416
Member Avatar for HelloJarvis

Hello everyone, I am working on a program that is sending some input to a thesaurus API, but not after stripping any non-alphanumeric characters. This would be easy, except I want to also preserve the original non-alphanumeric characters for output; for instance, if the user sends "hello;", the request to …

Member Avatar for HelloJarvis
0
210
Member Avatar for tabmanmatt

Hi everybody. Sorry for the newbie post. I have an assignment I was just looking for some help with. I need to create a dice game that generates a random two dice throw and then gives you three tries to guess the number. I seem to be a bit stuck. …

Member Avatar for JamesCherrill
0
278
Member Avatar for deepecstasy

So Im creating Simple Binary Tree, not BST. Im having problem in deletewith 2 child. Method for deletion is DELETE WITH COPYING. After deleteing, when I traverse the tree, it shows run time error, **Unhandled exception at 0x008B5853 in binarytree.exe: 0xC0000005: Access violation reading location 0xFEEEFEEE.** Here is the function: …

Member Avatar for mrnutty
0
269
Member Avatar for gelmi

here's my code class Program { static void Main(string[] args) { int num1, num2, num3, num4, num5 = 0; int categoryA =20000; int categoryB = 75000; int categoryC = 5000; int categoryB1 = 60000; Console.WriteLine("Please enter 5 numbers: "); num1 = Int32.Parse(Console.ReadLine()); num2 = Int32.Parse(Console.ReadLine()); num3 = Int32.Parse(Console.ReadLine()); num4 = …

Member Avatar for Momerath
0
401
Member Avatar for gelmi

whenever i'm entering 1, 2 or 3 digit numbers it just give me one output, i don't know what's wrong.. here's is my code. using System; using System.Collections.Generic; using System.Linq; using System.Text; namespace Balance { class Program { static void Main(string[] args) { int num1, num2, num3, num4, num5 = …

Member Avatar for Momerath
0
190
Member Avatar for biscayne

Trying to go thru the contents of a table with the following layout indexfield1,art1,art2,art3,art4 In this table indexfield and art1 are always filled art2, art3, and art4 can be empty. In pseudo-code this is what I want to do: for each art of table where indexfield = x: do bladibla …

Member Avatar for Schol-R-LEA
0
827
Member Avatar for shahai.ali

hi i am working in php. and my assigned task is to upload a file and save it into the directory. i have install wamp into D-drive but it not working and dont get the path. i was trying the following: <?php echo "Upload: " . $_FILES["file"]["name"] . "<br>"; echo …

Member Avatar for hakeemtunde
0
273
Member Avatar for jean1234

Hi, I am new to windows forms. I used the 2 lines of code below to launch a c++ code from a windows forms GUI and it worked: Dim lngReturn As Long lngReturn = Shell("c:\MyProgams\cfile.exe", vbNormalFocus) I hope someone can help with the issue below: My interface includes some text …

Member Avatar for AndreRet
0
312
Member Avatar for ku.heng.7

public int getRandomID () { Random r = new Random(); return r.Next(10000,99999); string value = ddlCType.SelectedItem.Value; switch (value) { case "Men Formal": return "KML"+r; } } i get an error Cannot implicitly convert type string to int in return "KML"+r; how to solve it?

Member Avatar for ChrisHunter
0
547
Member Avatar for adam.adamski.96155

Hello :) I'm working with a database of postcodes. I have an existsing query that returns the postcodes within a certain radius: `select *, acos(cos(51.496502411798 * (PI()/180)) *cos(-0.13982862499836 * (PI()/180)) *cos(lat * (PI()/180)) *cos(lng * (PI()/180))+cos(51.496502411798 * (PI()/180)) *sin(-0.13982862499836 * (PI()/180)) *cos(lat * (PI()/180)) *sin(lng * (PI()/180))+sin(51.496502411798 * (PI()/180)) *sin(lat …

Member Avatar for pritaeas
0
140
Member Avatar for ahmed_one

Hi All Experts, I am a newbie to C#, my development environment is: Visual Studio 2010 Ultimate Edition Sql Server 2005 Programming Language C# I've a form with Unbound Datagridview, from which data is save to Sql Server 2005 by looping through For..Each and pass SQL INSERT Statement when user …

Member Avatar for ChrisHunter
0
437
Member Avatar for sachins1986

how to get null field value from access in vb6 in my 2 record field the value is empty but i'm not able to get that empty field in vb6 ... .... set rs = new adodb.recordset rs.open ("select * from table1 where id = '2'") text1.text = rs!name please …

Member Avatar for AndreRet
0
2K
Member Avatar for jc.lembenguiste

Hello everybody you will excuse my poor englsih I am french, since two month I began to develop an application using Vb.Net . This application must use a database . I chose MS SQL Server for the database, but I dont know how to connect my application to MS SQLSERVER. …

Member Avatar for john.knapp
0
208
Member Avatar for stopah2008
Member Avatar for JamesCherrill
0
257
Member Avatar for M-rhodes

Hi, I'am creating a single JFrame UI, that uses multiple JPanels (implemented through JTabbedPane). The problem I'am having is aligning the objects within each JPanel. In the first JPanel all of the objects are centrally aligned. I'am unsure of what to do to solve the problem. I have read the …

Member Avatar for JamesCherrill
0
223
Member Avatar for Hopp3r

Ok, so currently I've been trying to recreate missile command, an old atari game. While I've had help from a group in creating the graphics for the game i.e menu, plotter class, etc. I've basically been flying solo as of the game's logic i.e missile detection, health, missiles spawning and …

Member Avatar for ravenous
0
199
Member Avatar for tscina

I have a working mailer script which has already started sending out mails. We need to send an email message to approximately 5,000 email addresses. I have a few problems though. 1.) It's sending out really slow. I'm guessing it's the embedding? The image is 300+kb big, is it supposed …

Member Avatar for tscina
0
333
Member Avatar for Krefie

Hey forum, I've recently started doing research on this topic but to no avail as i'm not getting the answers I wanted so I'm here once again: My question: I need to develop an application to run on a normal desktop, but as an extension we would like to run …

Member Avatar for adams161
0
158
Member Avatar for hakeemtunde

Hello guys, i've being searching for how is it possible to get value of a form element i.e selection tag that was injected by jquery be access on submitting the form. All the form element value where posted except for the selection element that was injected with jquery. how can …

Member Avatar for hakeemtunde
0
101
Member Avatar for coder91

I have an increment and decrement button to all users to record against 4 different options (how many times this option has been done) So they choose the options from a drop down menu and then the panel appears that the two buttons are sitting within. It starts with the …

Member Avatar for coder91
0
133
Member Avatar for solomon_13000

A web server is used to process http request and send a response back to the client browser. I was wondering how does a client browser send a http request to the web server? Is it done via socket connection? Which socket connection is used to establish a connection with …

Member Avatar for ~s.o.s~
0
226
Member Avatar for christinetom

Hi again everyone. This is going to sound really dumb but I have to ask it because I'm not very advanced at C++. If I have a function such as **Funct(int *arg1, int *arg2)** , how do I use this function in a program. Can I just enter the values …

Member Avatar for Gonbe
0
145
Member Avatar for ram_kumar8970

hi.... can you tell me how can i make the antivirus in visual basic 6? if you have somw source code it will be more benificial for me. thnaks in advance....

Member Avatar for AndreRet
0
237
Member Avatar for Bile

-->>Hi,I am getting tired of recreating the menus in every form I design my be due to lack of information... -->>Thus I was wondering if there is a way that I write codes in may be a module so that I may be using it... -->>by just calling it in …

Member Avatar for AndreRet
0
227
Member Avatar for christopher.magalso
Member Avatar for batman189

Hey guys, first post. I am at the end of the semester and running ito some trouble. I know this question has been askd a few months ago but I looked at the code that was supplied and it didnt work. I cant get it started, I think i can …

Member Avatar for NP-complete
0
143
Member Avatar for ponkhiraj

Hello, In my program, I have added a SplitContainer with Fill on Form. Where Panel1 keeps all Button and Panel2 keeps other objects, I'm trying to code on SplitContainer_MouseMove event. But it does not work when i'm Panel1, If i move mouse pointer to panel2 and go again in panel1 …

Member Avatar for ponkhiraj
0
596
Member Avatar for Shatrughan2010

Hello Friends, I want to write plug in in c++. I am using windows 2008 in which i choose project of Extensibility type and use C++ Atl language.I didnt find any link in the net regarding this.only theoretical help is given there. Please help me with some example so that …

Member Avatar for mike_2000_17
0
121
Member Avatar for xxmp

Hello i want to encrypt or hash some data and put them on the database. Which is more secure encryption or hash and how i can do this? thank you very much for your help

Member Avatar for jalpesh_007
0
872
Member Avatar for VEL Hassan

How to upgrade PHP 5.2.10 version to PHP 5.2.13? I have already had PHP 5.3.19 and downgrade the version to PHP5.2.10 and I need of PHP 5.2.13. I have downgraded version using the script file. Thanks in advance.

Member Avatar for LastMitch
0
163
Member Avatar for Vijaysurya

Hai everybody, I need help in making chat room similar to facebook chat. store in database userid based. anybody plz help me.

Member Avatar for paulinetaylor85
0
191
Member Avatar for marifard

Hi, It is possible to make a software with a database such as MS access and make it available for everyone without need of a server or without a need to install the database software and/or make the database from scratch? Thanks Mario

Member Avatar for Momerath
0
188
Member Avatar for aldred

<?php include 'include/AnonymousHeader.php'; $CON = @mysqli_connect('localhost', 'root', '', 'allyouneed') OR die('Could not connect to MySQL: ' . mysqli_connect_error()); ?> <table width="700"> <tr> <td> <h1>Sales Registration</h1> </td> </tr> <?php if (!(empty($_SESSION['LoginStatus']))) { $SQL1 = "SELECT * FROM sales"; $STM1 = @mysqli_query($CON, $SQL1); $ROW = 0; $SalesID = ""; if ($STM1) { …

Member Avatar for LastMitch
0
612
Member Avatar for tibormarias

Dear Programmers, I want to change accent characters in my smart URL to non-accent characters... For example : www.mysite.com/123/békítÅ‘ to www.mysite.com/123/bekito. Is it possible through .htaccess? Here is my current .htaccess DirectoryIndex index.php <IfModule mod_rewrite.c> RewriteEngine On #RewriteBase / RewriteCond %{REQUEST_URI} ^(.*)//(.*)$ RewriteRule . %1/%2 [R=301,L] RewriteCond %{REQUEST_FILENAME} !-f RewriteCond …

Member Avatar for LastMitch
0
451
Member Avatar for pitoloko

How to reproduce this error? Create a new winform Select a backgound image for the form Add a new panel Set color transparent for the panel, set autoscroll = true, and add some controls inside the panel Example: http://i.stack.imgur.com/YxRhx.jpg Now scroll down or up and see the what I say... …

Member Avatar for TnTinMN
0
275
Member Avatar for daino

Wondering if anyone has used SQLite. I'm having trouble with the basics. sqlite3_get_table function. The Apress book 'The Definitive Guide to SQLite' provides the following example. The first problem is that when declaring char *result[]; Things start to go wrong. I get an error message saying that *'the size of …

Member Avatar for Ancient Dragon
0
1K
Member Avatar for emilio

in my application i have a tabcontrol with two tabs. when i run the program the focus is on the first tab. how can i change the focus to the second tab, so the second tab is shown on certain event ?

Member Avatar for northtrench
0
118
Member Avatar for hwoarang69

trying to create table in Access2007. CREATE TABLE user (id Text(8), last Text(25), first Text(20), class Text(10), dob DateTime); but table is not being created. ERROR: query must have at least one destination field.

Member Avatar for BitBlt
0
146
Member Avatar for earlybirdsean

[B]Hello programming experts,[/B] I have a problem. Is it possible to make an OS with VB.Net with C, C++, Objective C, Assembly language, FreeBASIC, C#, BASIC, Java, Object Pascal and with a bit of machine language? And if possible how to mix the languages? And could you give me a …

Member Avatar for almondjoy
0
377
Member Avatar for eternalcomplex

Hi, I'm learning python and I just started to learn about classes. To get a handle on this, I decided to make a black jack game and create 3 classes: deck, hand, and card. I created a card class, but I am not sure how I would implement it in …

Member Avatar for TrustyTony
0
481
Member Avatar for nekoleon64

My name is Leonard E. Norwood Jr. I'm just practicing a simple bubblesort program but this time using classes and pointers with operators >> and << and also an overloaded operator =. I'm merely trying to sort a list of numbers from lowest to highest. And the purpose of the …

Member Avatar for nekoleon64
0
249
Member Avatar for davy_yg

Hello, I am a mysql table called: adsmgt which consists of: idads and time I would like to count the number of row in adsmgt how to do so? I try this: mysql_select("select TABLE admgt count(idads)"); This error appears: (it doesn't matter if the idads are twins they still have …

Member Avatar for diafol
0
181
Member Avatar for Sasquadge

Hi guys I got a question about how to reversethe little endian. My questions is how do I do it. Say the user inputs hex 4423, how do I get it to reverse in the program to read as 2344? and help would be greatly appreciated. I need this because …

Member Avatar for Sasquadge
0
120
Member Avatar for littledevils326

not sure how to write the code for this. i have two forms, one is the main form which has a listbox containing data which is loaded in from a text file. the other is a delivery form. when the user select an item in the list box and click …

Member Avatar for vicprogrammer61
0
993
Member Avatar for Violet_82

HI I was wondering if you can help me with this random number program. import static java.lang.System.out; import java.util.Scanner; import java.util.Random; class GuessAgain { public static void main(String args[]) { Scanner myScanner = new Scanner(System.in); int numGuesses = 0; int randomNumber = new Random().nextInt(10) + 1; out.println(" ************ "); out.println("Welcome …

Member Avatar for Violet_82
0
204
Member Avatar for cdays

i a student doing a degree in computing and information technology in zimbabwean am supporsed to create a project but i need help im what project to create.

Member Avatar for gabrielcastillo
0
129
Member Avatar for questorfla

I have read several replies here and I am in the process of testing them now but since this is a problem I need an urgent fix for, I thought it would not hurt to ask again. We have an Apache website that is extremely simple in design. It's main …

Member Avatar for yehuda2001
0
218

The End.