199,114 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for gneisler

The code on lines 44-53 is suppose to check see if the user enter a negative and produce a message, however, when the use enters a positive code produces the display again. #include<iostream> #include<cctype> using namespace std; int main() { char carType; int A, B, C; char keepgoing; char condition; …

Member Avatar for cambalinho
0
143
Member Avatar for cambalinho

i'm trying doing a static clas, but i, always get errors... now i have head pain:( class Pessoa2 { private: static string strnome; public: Pessoa2() { strnome="ana"; } void setnome(string value) { strnome=value; } static string getnome() { return strnome; } }; just seen these static class, what i'm doing …

Member Avatar for cambalinho
0
214
Member Avatar for cambalinho

i read several time about Bitwise Right Shift Operator (>>\<<) but i continue without understand them:( can anyone explain to me? i don't undertand what will be the next results:( Half = 25 >> 1; Half = 25 << 1;

Member Avatar for cambalinho
0
391
Member Avatar for anga08628

Define a 5 x10 2-dimensional array of integers (5 rows of 10 columns), randomly generate 50 numbers between 1 and 100, assign them to the array elements and display all the numbers on 5 lines of 10 integers each. [code=cpp] #include <iostream> #include <ctime> // For time() #include <cstdlib> // …

Member Avatar for irum.nageen.3
0
11K
Member Avatar for Thermalnuke

Hey Guys Im working on an assignment dealing with arrays. I have to Delete the duplicates in the array and re-display the array with the duplicates deleted. I Have code that I written up that is able to step throgh the process and will display the duplicated elements in the …

Member Avatar for JamesCherrill
0
478
Member Avatar for weathermans

Hi, looking for help on how to get data from an xml file, or txt file and then automaticly send it over the serial port. I am looking to program a sports score ticker

Member Avatar for Ancient Dragon
0
262
Member Avatar for blueguy777

I've cust_name and install_no columns in table, each customer's name repeated 12 times as rows how to insert numbers 1 to 12 in install_no column for all rows. table sample: ----------------------------- cust_name | install_no ---------------------------- ROGER | 1 ---------------------------- ROGER | 2 ---------------------------- ROGER | 3 ---------------------------- ROGER | 4 …

Member Avatar for diafol
0
207
Member Avatar for Programmer629

Hey guys. I want to learn how to make a speech recognition program. I don't want it to be JUST commands. I don't want it to be JUST dictating either. I want it to be commands, dictation, and I want it to be kind of like talking to a real …

Member Avatar for Mr.M
0
261
Member Avatar for sam.escott4

Hi, im writing a type of password generator, you insert a keyword and it gaves back a password by substituting letters and adding numbers/symbols to the string. Is there a way to split the text from one textbox into several strings every few letters? I´m new to programming, and have …

Member Avatar for Mr.M
0
216
Member Avatar for gmmorpheus

Private Sub Load_Faculty() Dim con As New OleDbConnection Dim cmd As New OleDbCommand Dim dr As OleDbDataReader Dim arrImage() As Byte Dim myMS As New IO.MemoryStream Dim sSQL As String = String.Empty Try sSQL = "SELECT b.FacultyID, b.Image, b.Course, a.Course" sSQL = sSQL & " FROM studentsrecords as a left …

Member Avatar for Mr.M
0
164
Member Avatar for debrah.rutherford

procedure TMSDE2005Fm.ButtonInstallClick(Sender: TObject); Var txt: TextFile; aFileName, s: String; begin aFileName := GetTempDir + '\PROD_Name.bat'; AssignFile(txt, aFileName); ReWrite(txt); s := GetSetupString; WriteLn(txt, s); CloseFile(txt); MessageDlg('Setup will now begin for SQL Server 2005 Express.', mtInformation, [mbOk], 0); ShellExecute(0,'open',PChar(aFileName),nil,nil,SW_SHOW); ButtonCancel.Caption := '&Finish'; end; function TMSDE2005Fm.GetSetupString: String; begin Result := '"' + Trim(wwDBEditSetup.Text) …

Member Avatar for oussama_1
0
256
Member Avatar for joester007

I'm making a random number game. The user only gets three chances to guess. If the user guesses wrong all three times, a message box should appear asking if he/she wants to restart, if yes then reset the game and it's controls. I'm not sure if i'm suppose to use …

Member Avatar for Mr.M
0
214
Member Avatar for Mr.M

Hi DW I'm creating an application in VB.Net which is using the command to complete the tasks the reason why I'm doing this on VB.Net is that I have an interface where the user will be able to type in and also choose the prefered options, the vapplication will then …

Member Avatar for Mr.M
0
170
Member Avatar for muhammadwaqar.siddiqui.3

Hi everyone!! i have a problem here. i am writing a database program in C in which i used files and structures to store data. but my code is not running :/ here is my code:: #include<stdio.h> #include<conio.h> #include<stdlib.h> struct std_info { char name[15]; char seatno[9]; float ssc; float hsc; …

Member Avatar for Ancient Dragon
0
408
Member Avatar for JayGeePee

Alright I'll try to be as clear as possible. I'm currently doing tutorials online because I'm learning php. I'm stuck on an issue I'm not really sure of. I'm currently coding on my local machine and think it may have something to do with that, but I'm not sure. Here …

Member Avatar for paulkd
0
202
Member Avatar for vikasgiri

<script type="text/javascript"> (function($){ $(function(){ $("#frmmsg").submit(function(e){ e.preventDefault(); $.post( 'templatemsg.php', $("#frmmsg").serialize(), function(){ document.location.reload(); }); }); }); })(jQuery); </script>

Member Avatar for JorgeM
0
100
Member Avatar for sonunclejalil

Private Sub cmdfind_Click() Dim search As String search = txtfind.Text Con.Open "Provider=Microsoft.Jet.OLEDB.4.0;Data Source=" & App.Path & "\HOSTEL STUDENT.mdb;Persist Security Info=False" Rs.Open "SELECT * FROM STUDENTS WHERE [REG] LIKE" & "'" & search & "'", Con, adOpenStatic, adLockOptimistic Do Until Rs.EOF Rs.MoveNext Loop If Rs.EOF = True Or Rs.BOF = True …

Member Avatar for sonunclejalil
0
3K
Member Avatar for Yna Aurielle

i am making a reservation system and i am having a a problem with time conflicts(the system must not accept a reservation where in there is already an event reserved art that time. . my table looks like this ![0fac31edf20c874089f52ed4a0be4fb6](/attachments/small/4/0fac31edf20c874089f52ed4a0be4fb6.png "align-left")

Member Avatar for Reverend Jim
0
382
Member Avatar for nitin1

I am doing a course in recommender systems on coursera.org. I have got an assignment in that. They have told us to use IntelliJ IDE and Lenskit to use. I am very good at C, C++, but not that well in Java. So finding it difficiult to get up these …

Member Avatar for pritaeas
0
121
Member Avatar for somjit{}

I like watching stuff like google tech-talks , josh bloch seminars/talks etc for Java. Can somebody provide something similar in nature for C# ?

Member Avatar for somjit{}
0
166
Member Avatar for fugio

Hello Everyone, I tried to insert the column name from datagridview1 to rows of datagridview2 and that was work, but the first row problem. when moving the mouse to the end position and back to the first position, the value does not appear. Thanks for your help http://img10.imageshack.us/img10/617/xtv9.png Private Sub …

Member Avatar for ddanbe
0
246
Member Avatar for Shantanu88d

Hi all, I am beginner in javascript. I am attempting to change border color and style of a asp.net text box using javascript. The function is inside a .js file. It is as follows. [CODE]function checkMoney(controlID) { var control = document.getElementById(controlID); var text = control.value; var letter; if (text == …

Member Avatar for designershiv
0
5K
Member Avatar for sujskiez

For some reason my java program can't find my textfile if i use file.next to display contents of the file but if use file.readLine it finds and shows the contencts of the filebut not the way i want for example: I want actual output like this: 1: Humps Black Eyed …

Member Avatar for stultuske
0
354
Member Avatar for skran

Hi all! I have a user interface where I want to filter a datagridview.. I 've achieved to create filters but I 've failed to filter tha data by date.. I have a sql db and the column of date is of datetime type. When I try to filter the …

Member Avatar for eldarzeynal
0
1K
Member Avatar for castajiz_2

Is it posible to install and deploy my c# apllication on my phone (name in the title)?

Member Avatar for pritaeas
0
82
Member Avatar for Affable zaki

i have page in classic asp which shows records from database. i have checkboxes in front of each row. i want to delete all records that are checked.

Member Avatar for designershiv
0
116
Member Avatar for MWEB

Hello everyone !! I need some help with jquery toggle :D . So , I have 2 left bars (one for login , one for register ) but they can be toggled on simultaneos and that is not good ( 1- don't make sense 2- don't look good ) . …

Member Avatar for designershiv
0
178
Member Avatar for designershiv

Hi, Please look at this code <div class="box"> <a href="http:www.google.com" target="_blank">click</a> </div> //css .box { width:250px; height:250px; border:1px solid red; } //script $('.box').click(function(){ $(this).find('a').trigger('click'); }); How to set target _blank when clicking the div.box. click is working fine but it opens the page in same window. Can you anyone have …

Member Avatar for paulkd
0
319
Member Avatar for Christine121

**Can anybody help me??? I'm newbie in php, I'm trying to make this code as one below.But it always gives me an error. Any help would greatly appreciated ** my table name is trans ![Fields[1] * *$id = $_POST['id']; if(isset($_REQUEST['command']) && $_REQUEST['command'] == 'update'){ $name = $_POST['name']; $email = $_POST['email']; …

Member Avatar for Christine121
0
201
Member Avatar for pars99

How can I get the value of an input field in Javascript? For example, someone types somehing into an input field and I want them to press a button to in turn, store the data in a JS variable. I believe there is such a thing as .value, but it …

Member Avatar for Bachu
0
228
Member Avatar for asif49

To develop an app which can access real time data from the camera (i.e. when the video option has been activated or to take a picture every 3 seconds for some kind of analysis to be carried out on that image. At the moment my interest just lies in whether …

Member Avatar for jimmyparker
0
143
Member Avatar for GeekPlease

Good day folks, I have here a code that will animate 2 divs. But, when I hover over a div multiple times, the animation fires several times. Can someone shed some light on this one? Thanks~! <!DOCTYPE html> <html> <head> <!-- This is where jScript/jQuery starts --> <script src="http://ajax.googleapis.com/ajax/libs/jquery/1.10.2/jquery.min.js"> </script> …

Member Avatar for GeekPlease
0
302
Member Avatar for praba_web

Hi **I have doing the project for my purpose. it is working properly on localhost engine. after i have uploaded to server(cpanel) it is not working. i have posted my code here for reference: Please help me anyone!!!** ** Login.php** `Inline Code Example Here` <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 …

Member Avatar for pritaeas
0
221
Member Avatar for lloydsbackyard
Member Avatar for rithish

is form validation impossible using jsp???because i surfed google all are using servlet or javascript none of them is using jsp??? whats the reason???

Member Avatar for stultuske
0
125
Member Avatar for ganges

Hi, I am using eclipse j2ee juno eclipse market place is not working this is the error i am getting "Unexpected exception java.lang.reflect.InvocationTargetException" give me solution to fix it. thanks for your time.

Member Avatar for stultuske
0
501
Member Avatar for subhraakasuny

Hi All, I want a make a system logger in java to track all the activity that is going on my system. Like 1)User Login 2)File Copy 3)Other Activities But,Being a beginner I don't have much knoweldge regarding my goal. Please provide your valuable feedback.

Member Avatar for stultuske
0
133
Member Avatar for cakka

Hello, is there any other method to compare string in java beside using equal() and == operator ? Thank you

Member Avatar for stultuske
0
342
Member Avatar for kal_crazy

This is the code that I have done so far: import java.util.*; import java.awt.*; import javax.swing.*; import java.awt.event.*; class TSP extends JPanel{ int weight[][],n,tour[],optDist; final int INF=1000; public TSP(){ Scanner s=new Scanner(System.in); Random r = new Random(); System.out.println("Enter no. of Cities:=>"); n=s.nextInt(); weight=new int[n][n]; tour=new int[n-1]; for(int i=0;i<n;i++){ for(int j=0;j<n;j++){ …

Member Avatar for kal_crazy
0
1K
Member Avatar for victor_3

I have this assignment where the user has six guesses for the correct letter out of 1 to 4 games. I only have one error that won't let me pass my build and I can't seem to figure out how to fix it. Can anyone help me figure out what …

Member Avatar for Appaso
0
2K
Member Avatar for Lejan

Hi, need some help. How can I retrieve data from MS Access database into DataGridView that allow me to ADD/UPDATE/SAVE/DELETE? Thanks. Hope someone can help me.

Member Avatar for elie.karkafy
0
253
Member Avatar for elie.karkafy

i am using an access odbc to connect my database to a crystal report , when i ma generating the report up to 10 times successivly the access con stop working , can i know why ?? and how i can make the odbc access more faster and can hold …

Member Avatar for elie.karkafy
0
118
Member Avatar for Robert_9

Hello, I am a student and I was assigned to create my first entity relationship diagram and I'm kind of lost. The professor hints the paintings should be broken into a generalization hierarchy since they have so many attributes but I can only break them into two sub(entities) based on …

Member Avatar for Robert_9
0
1K
Member Avatar for patk570

I created a change password script and it seems to not want to work. when I put in the wrong password it doesnt error out and say Old Password doesn't match exisiting. when I put in 2 passwords that dont match it doesnt error out... if(isset($_POST['changepass'])){ //Getting Variables $oldpass = …

Member Avatar for patk570
0
211
Member Avatar for donlxu

Hi. I'm trying to create a program to compute the Riemann zeta function which is defined as **1**+**(1/(2^x))**+**(1/(3^x))**+**(1/(4^x))**+.... for user input of x and will keep adding as long as the term is less than (1e-7). but I keep getting 1.79301e-307 for every number I put #pragma hdrstop #include <iostream> …

Member Avatar for donlxu
0
197
Member Avatar for sportguy98

Hello everyone, I am having trouble with an assignment. The assignment consists of a basic encryption and decryption program already written for me, I just have to write the encryption function. What we have to get the program to do is enter an integer and a text, and get the …

Member Avatar for ddanbe
0
192
Member Avatar for </scorpion>

I have a gridview that is populated and a button outside the gridview that I want to enable editing on the selected row when clicked. I have this in the code behind. What goes in the button event to invoke the grid view editing? Protected Sub GridView1_RowEditing(ByVal sender As Object, …

Member Avatar for </scorpion>
0
1K
Member Avatar for jemartalaban_1

hi, everytime i print a form with "printform" it always on print into left side of the printer paper and im using a left feed printer. What if the printer's feed is center and my printer paper is small how can i make it the printing of the form is …

Member Avatar for jemartalaban_1
0
195
Member Avatar for ricardo.scheufele

I have a datagridview and a bindinglist. They work together pretty ok, but I want to make the properties appear in the rows´ headers, not on the column. Other thing I want to do is to make the headers´ text be different from the properties name. Is there any way …

Member Avatar for ricardo.scheufele
0
280
Member Avatar for matthew.s.thomas.14

I am looking for help in how to implement function avg() that takes as input a list that contains lists of numbers. Each number list represents the grades a particular student received for a course. List for a class of four students. ([95,92,86,87],[66,54,],[89,72,100],[33,0,0]) the function avg should print one per …

Member Avatar for BearofNH
0
384

The End.