199,114 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for gamer88

Hello! I was wondering if there was a command in C++, specifically visual C++ .net 2003, in which I can take what was partially entered in the console and save it to a variable before the user presses enter. I am creating a mini-irc and I want to store what …

Member Avatar for caut_baia
0
118
Member Avatar for zachcoenen4

I am trying to learn C++ by myself using a book and want to work through everything it says. I am on a program that you have to write kinda like a cash register program that tells you how many 5's, 1's, quarters, dimes, nickles, and pennies you should get …

Member Avatar for WaltP
0
391
Member Avatar for ankit.pandey3

[CODE]<html> <title>Micro Elite Brigade - Registration</title><LINK REL="SHORTCUT ICON" HREF="images/favicon.png"><?php require_once('upper.php'); require_once('database.php'); echo $error_msg=''; if(isset($_POST['submit'])) { $LoginId=mysqli_real_escape_string($dbc,trim($_POST['LoginId'])); $Password1=mysqli_real_escape_string($dbc,trim($_POST['Password1'])); $Password2=mysqli_real_escape_string($dbc,trim($_POST['Password2'])); $Name=mysqli_real_escape_string($dbc,trim($_POST['Name'])); $Age=mysqli_real_escape_string($dbc,trim($_POST['Age'])); $BloodGroup=mysqli_real_escape_string($dbc,trim($_POST['BloodGroup'])); /*if(!isset($_POST['Sex'])) { echo 'Please enter Sex<br>'; }*/ //else{ $Sex= mysqli_real_escape_string($dbc,trim($_POST['Sex'])); //} $Qualification=mysqli_real_escape_string($dbc,trim($_POST['Qualification'])); $ContactNumber=mysqli_real_escape_string($dbc,trim($_POST['ContactNumber'])); $Email=mysqli_real_escape_string($dbc,trim($_POST['Email'])); $Address=mysqli_real_escape_string($dbc,trim($_POST['Address'])); $AboutYourself=mysqli_real_escape_string($dbc,trim($_POST['AboutYourself'])); //$countCheck=count($_POST['checkbox']); //echo $countCheck; //$checkbox=$_POST['checkbox']; //$countCheck=count($checkbox); if(empty($LoginId)){echo 'Please enter Login Id';} elseif(empty($Password1)){echo 'Please enter …

Member Avatar for qazplm114477
0
971
Member Avatar for mangualmanuel13

I don't mean to complain, but I have gone to forums, but not this one, and received e-mails, and e-mail and e-mails of useless codes regarding the tittle to my dilemma. Now, I am working on a C++ form, in 2008, where I click on an image and I can …

Member Avatar for jonsca
0
184
Member Avatar for manugm_1987

Hello everyone I have an windows application proj which contains 4 to 5 forms and an database in it. One form performs insertion operation, other performs search operation and other form displays data from DB. Now how to find the total memory or the minimum memory required for this app …

Member Avatar for manugm_1987
0
202
Member Avatar for RMelnikas

I have created a contact form for a website but it doesn't seem to email when I submit a form. here is the form code [CODE] <form action="email_contact.php" method="post"> <input type="text" name="name" value="" placeholder="Your Name"/><br> <input type="text" name="email" value="" placeholder="Your Email"/> <br> <textarea name="projectDetails" placeholder="Your Project Details."></textarea> <br> <button> Submit! …

Member Avatar for qazplm114477
0
236
Member Avatar for Karkalash

Hiya I don't know what I'm doing wrong that getline() does not work for me. My program is not finished but this is what I got so far: #include <iostream> #include <vector> #include <string> using namespace std; struct Term { string word; string definition; }; struct Dictionary { vector<Term> term; …

Member Avatar for Karkalash
0
132
Member Avatar for RickettRackett

Hey I'm using jgrasp and the objective is to get the robot out of a maze and I have done just that but after the robot makes it out of the maze I need to have it print out how many spaces it has moved in each direction such as …

Member Avatar for RickettRackett
0
188
Member Avatar for Arjun_Sarankulu

There are nearly 150-200 char in the line from a file which i am reading but while writing to another file i want to make it 1000 chars padding spaces after few char from a file which i am reading. Can any one help me for the same

Member Avatar for Momerath
0
106
Member Avatar for saj_amo

hi friends, i have a problem with using vb.net application, i want to take backup of my database from my vb.net application so that user clicks the button and backup can be copied in a drive .

Member Avatar for geoamins2
0
140
Member Avatar for oliver10

hi, can you help me how to update record in database? here's my code, i don't know whats wrong in my code. nothing happened every time, I want to update my records. [CODE]<?php mysql_query ("UPDATE from registration SET firstname ='$firstname_x', lastname ='$lastname_x', MI ='$MI_x', address ='$address_x', gender ='$gender_x', age ='$age_x', …

Member Avatar for happytogether
0
78
Member Avatar for Awah Mohamed

hi people. i am building a simple social network for my CAS (i am doing IB diploma) and when i came to the home page where i all the friends statuses are viewd i got a problem here is my home page's code: [CODE] <?php if(!isset($_COOKIE['ln'])) { header("location : index.php"); …

Member Avatar for happytogether
0
260
Member Avatar for epew23

Hey i am currently really stuck on a school assignment. No rush i have plenty of time, but without a little help i am pretty much lost. The question is as fallows. Design a class named QuadraticEquation for a quadratic equation ax2 + bx + c = 0. (The book …

Member Avatar for jonsca
0
662
Member Avatar for Glenner

[code]import java.awt.*; import javax.swing; public class ATMko extends JFrame { JPanel p1; JButton b1,b2,b3,b4,b5,b6,b7,b8,b9,b10,b11,b12,b13,b14; JTextField t1; Container c= getContentPane(); public ATMko() { t1=new JTextField(" ",100); b1=new JButton("1"); b1.setBackground(Color.GRAY); b1.setForeground(Color.BLACK); b2=new JButton("2"); b2.setBackground(Color.GRAY); b2.setForeground(Color.BLACK); b3=new JButton("3"); b3.setBackground(Color.GRAY); b3.setForeground(Color.BLACK); b4=new JButton("4"); b4.setBackground(Color.GRAY); b4.setForeground(Color.BLACK); b5=new JButton("5"); b5.setBackground(Color.GRAY); b5.setForeground(Color.BLACK); b6=new JButton("6"); b6.setBackground(Color.GRAY); b6.setForeground(Color.BLACK); b7=new …

Member Avatar for peter_budo
0
704
Member Avatar for Rakesh Mall

I want to design a login form using Asp.net login controls. Please guide me as to how should I implement it. Thanks in advance.

Member Avatar for himanshusikka36
0
99
Member Avatar for Ignatius88

[CODE]SELECT movie_id, movie_title, movie_release_year, movie_genre, movie_plot, (SELECT AVG(sum_movie_rate) FROM (SELECT SUM(movie_rate) AS sum_movie_rate FROM user_movie_rate WHERE movie_id = ?) AS t1) AS average_rating FROM movie WHERE movie_id = ?[/CODE] when I retrieve a specific information of a movie, I want to calculate the average ratings of the movie. user_movie_rate looks …

Member Avatar for smantscheff
0
138
Member Avatar for fugmag

Hello, I am trying to validate a response from a webservice that contains 3 tables with the same name: [CODE] ... <SUBTABLE3> content </SUBTABLE3> ... <SUBTABLE3> content </SUBTABLE3> ... <SUBTABLE3> content </SUBTABLE3> ... [/CODE] I am using the example on: [url]http://www.soapui.org/Functional-Testing/xpath-and-xquery-assertions.html[/url] The problem, the way I see it is when …

Member Avatar for fugmag
0
616
Member Avatar for jmensah

I have a main form with datagridview attached to the form. i calling datagridview when the form load, but am getting the 'property access must assign to the property or use it's value. Please help me correct the error. Attached is the form to help analysis the problem. thanks Gyamfi …

0
76
Member Avatar for kheddy

I'm new to C#.I have created a MySQL database. My problem now is to get the data from the database tables into text boxes and or combo boxes in window forms(visual studio 2010),allow for editing and send the edited values back to the database. if I select the account_no(primary_key field)...the …

Member Avatar for muzikhera
0
497
Member Avatar for ravish_26490

[B]I've tried out suggestions from several posts related to BGI Error (on daniweb n innumerable sites)but it just doesnt get solved.. Whenever i try to execute (after compiling successfully) a graphics program it either exits out of C and into DOS mode or it gives an error "The NTVDM comp …

Member Avatar for niran manandhar
0
1K
Member Avatar for GooeyG

I'm having difficulty of inserting a value into a column. When I enter a "ID" number and a value in the "last name" text field, I get an error saying that the "mi" text field can't be an zero length string. So, i enter a value in the "mi" text …

Member Avatar for masijade
0
272
Member Avatar for bharath54321
Member Avatar for alleybye

please help me! im doing a date comparing project where in i compare the expiration date and the current date i put this on the general [CODE]dim mydate as string[/CODE] then at the formload [CODE]mydate = format(now,"mm/dd/yyyy")[/CODE] and also on my database id format the Expiration field as Date with …

Member Avatar for AndreRet
0
205
Member Avatar for Boubakr

Let's say this: [CODE]print """ Wleomce... * To start the quiz press <s> * For more information quiz press <i> * To exit press <q> """ main_menu = raw_input('Your choice: ').lower().strip() if mai_menu == 's': print """\ * Press <n> to write yoyr name. * Press <l> to choice your …

Member Avatar for Boubakr
0
117
Member Avatar for kgizo

hi i'm new to php, i already have a database called msansi its table called provinces i've already created a drop down list of all my nine provinces now what i want to do is, i want the cities associated with the provinces to display on the same page as …

Member Avatar for kgizo
0
144
Member Avatar for lohit kumar

Hi everyone, I have small Problem. I have to take input as a string say blue,green,red, etc split this into blue green red respectively separately and then add those into an ArrayList Clr. I have written System.out.println(" Enter Color "); String input = br.readLine(); ArrayList clr = new ArrayList(); String …

Member Avatar for lohit kumar
0
171
Member Avatar for juve_

Hi there, thanks for all the help you're providing overhere to everybody. I would like to know if It is possible to have an auto increment column that is somehow attached to the value of another column. so it keeps increasing as long as that value of the other column …

Member Avatar for debasisdas
0
122
Member Avatar for MrCapuchino

Hello, I've been searching for a library that comes with the necessary classes to manipulate id3 tags of mp3. I think there is a popular one called TagLib# but I don't know how to download it and implement it in Visual Studio 2010. I end up in the Novell site …

Member Avatar for Momerath
0
93
Member Avatar for reemhatim

I'm doing a a program that converts time from 24 hours to 12 hours . I'm doing it using the constructor in class time 12 taking one argument which is of type class time 24 and making the conversion . I've got an error and I don't know where is …

Member Avatar for reemhatim
0
251
Member Avatar for Zvjezdan23

I have many things done so far in my project. However, in my switch statement it does not generate random numbers like it did earlier. You'll see what I mean. Other than that I need help with the scoring part of the assignment. Can anyone please help me? I feel …

Member Avatar for Fbody
0
625
Member Avatar for bLuEmEzzy

Please Help, the user can only input today's date and tomorrow's date... How can i get it?? example valid dates are: Today's date: March 01, 2011 and tomorrow's date: March 02, 2011 if the dates are not valid then error.... Thank You... [CODE] Dim DD As String : Dim MM …

Member Avatar for codeorder
0
321
Member Avatar for Irina77

It looks as an MDI application (I can open multiple documents within a window). However I cannot get the handles of the opened documents (MDI children?). I tried with FindWindowsEx(..) and EnumChildWindows(..) and could not find any children. Then I tried with Spy++ and I got that the handle of …

Member Avatar for Irina77
0
110
Member Avatar for reneeschultz

Need to write a script wit the following criteria using VBScript: Am an English teacher and have some programming experience but not to this extent that is needed. Just trying to make it easier on me for grading... 1. prompt user for a # of quiz scores to input, should …

Member Avatar for Tarkenfire
0
125
Member Avatar for Poopster01

Below are the instructions for what I am currently working on. I am having 2 problems first is printing the values stored in my array right now i have it set up in a for loop but there seems to be something wrong with the syntax of my System.out statement …

Member Avatar for Poopster01
0
335
Member Avatar for aeinstein

Hi All, Just starting my online C programming class and my textbook states "In a computer language, a token is the smallest unit of the language that has a unique meaning. Thus, the reserved words, programmer-created identifiers, and all special mathematical symbols, such as + and -, are considered tokens …

Member Avatar for aeinstein
0
191
Member Avatar for mandy011

Hi all, I have implemented some code for simple columnar encryption. The algorithm is encrypting properly as I want. But during decryption it's giving me some errors. Please go through and suggest me if any idea [code] public static void encrypt(RandomAccessFile f,RandomAccessFile d,int columns) throws Exception { d.seek(10); // SEEK …

Member Avatar for mandy011
0
158
Member Avatar for kimmi_baby

Hi there, I'm new to C# and I have to admit it feels very overwhelming. I was wondering if anyone could help me and explain it to me so that I can understand. Here's my code... [CODE]using System; using System.Collections.Generic; using System.Linq; using System.Text; namespace Counter1 { public class Counter …

Member Avatar for lianpiau
0
109
Member Avatar for pramod90786

Actually I cant able to decide the topic of project, can any one suggest the topic for that or any web related to that. [CODE] [/CODE]

Member Avatar for lianpiau
0
120
Member Avatar for Jessurider

Hey can anyone tell me how to give an icon image to the project...............the icon image is also attached below

Member Avatar for lianpiau
0
90
Member Avatar for hopefree
Member Avatar for lianpiau

object reference not set to an instance of an object I'm develop a C# window form application in VS2008. when run the exe file in PC. It come out message box.(object reference not set to an instance of an object). When I change the connection string to normal style like …

Member Avatar for lianpiau
0
397
Member Avatar for jharrigan

Hi Guys / Gals, First off, if I'm not in the right forum for this question, I apologize. For this question I figured I would ask some seasoned coding professionals :). I do realize that this type of question is not a simple yes / no, but i would just …

Member Avatar for Tarkenfire
0
203
Member Avatar for gl7

hello i am trying to write a program that allows user to make a list using vectors and iterators i am able to add a title, list items, remove all, but were my trouble is when i want to remove just one from the list i am not sure how …

Member Avatar for gl7
0
155
Member Avatar for markdean.expres

Guys, is there a way to programatically and more efficiently sort records displayed in a datagridview control? If so, how?

Member Avatar for markdean.expres
0
131
Member Avatar for gl7

new to c++, working with vectors my question is can a string in a vector hold for example a string like " super mario bros" ( with the spaces) to continue i am trying to to make a list that people can add to , and if user where to …

Member Avatar for gl7
0
305
Member Avatar for zachattack05

Is anyone aware of a way to do this? I considered adding a while statement to the listening loop of the server to evaluate if an integer is >= a certain value, and if so to enter another loop until it's not true, and that would allow the server to …

Member Avatar for zachattack05
0
2K
Member Avatar for Howdydoody

Basically the user puts in a linear list like "1234" and a permutation such as "2431". My program works on the example above but my instructor pointed out that the program gives the wrong answer for the entry "1234" and "3241". I put in an extra check which should fix …

Member Avatar for Howdydoody
0
696
Member Avatar for moone009

I am receiving an error 'Incorrect syntax near the keyword in Any ideas? [CODE] declare @item varchar(100) declare @stopid varchar(100) set @item in (select itemtypeid from laitemtype where itemtypeid like '88BBA7AD-BD25-E011-94E0-001B214A75A5') set @stopid in (select stopid from lastop where stoptypeid like '7D14FC8C-B184-DD11-9BCC-0014221E87F0') insert into lalocationitemtyperequest (itemtypeid,requestprocesseddate,createddate, stopid) values (@item,getDate(),getDate(),@stopid) [/CODE]

Member Avatar for BitBlt
0
136
Member Avatar for lynnajoe

Hi, I am getting an error message as follows: java.lang.NoClassDefFoundError: inventorypart1/Beverages Caused by: java.lang.ClassNotFoundException: inventorypart1.Beverages I have been running programs with no problem and with this message I am confused. I cannot see what I am doing wrong but I think I have been looking at it too long. Any …

Member Avatar for mKorbel
0
165
Member Avatar for McFae

I'm stuck on this project and not sure what's going wrong. I need to return the temp conversion of a users input on click. Any help would be appreciated. [code] <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml" lang="en" xml:lang="en"> <head> <title>Temperature Converter</title> <script type = "text/javascript"> <!-- …

Member Avatar for McFae
0
107

The End.