199,114 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for Manal.M.K

hi.. I'm a new user and I hope you be my new friends.. I have homework to do tic tac toe game allwo 2 player or one player with computer I did this program but I don't study any thing about GUI in C++ and it is order from me …

Member Avatar for jejemon
0
1K
Member Avatar for zmstevens

I am a first time user to Java and I am stuck and cant figure out what to do.. Please help. My code is [code] import java.util.Scanner; public class rshomework2 { public static void main ( String[] args) { Scanner input = new Scanner(System.in); sales; final double base = 800; …

Member Avatar for Zaad
0
361
Member Avatar for Gustavo_B

Hi, I'm writing a small application that gets some data from the user and launches a second application related to what process the user is working on. So, sometimes the user needs to choose from different versions of the same aplication. I decided that after the Ok button is pressed …

Member Avatar for JoshuaBurleson
0
1K
Member Avatar for Labdabeta

Is it possible to use [URL="http://msdn.microsoft.com/en-us/library/45yd4tzz%28v=VS.80%29.aspx"]__asm blocks[/URL] with Code::Blocks IDE? And if so how??

Member Avatar for mike_2000_17
0
238
Member Avatar for Publius

Hello, I'm writing a program using wxPython. I've got this code: [CODE]class captchaFrame(wx.Dialog): def __init__(self, parent, title, id): wx.Dialog.__init__(self, parent, id, title, size = (390,350)) self.panel = wx.Panel(self) self.vbox1 = wx.Sizer(wx.VERTICAL) self.hbox1 = wx.Sizer(wx.HORIZONTAL) self.hbox2 = wx.Sizer(wx.HORIZONTAL) self.hbox3 = wx.Sizer(wx.HORIZONTAL) self.hbox4 = wx.Sizer(wx.HORIZONTAL) self.yt_username = wx.StaticText(self.panel, label = 'YouTube Username/Email:') …

Member Avatar for woooee
0
510
Member Avatar for Ravic85

[QUOTE]Write a program that uses a class named Rectangle. The class has floating point attributes length and width. It has member functions that calculate the perimeter and the area of the rectangle. It also has set and get functions for both length and width, The set functions verify that length …

Member Avatar for Ravic85
0
152
Member Avatar for shanker31

Hello every1, I want to take two integer value from the user and display the result(sum) as output.. I am using the following JS code : [CODE]function message_comm() { var num1=prompt("Enter the 1st number"); var num2=prompt("Enter the 2nd number"); alert('The sum :'+num1+num2); }[/CODE] The output I am currently obtaining is …

Member Avatar for Taywin
0
180
Member Avatar for vaironl

Hello forum, Vaironl here. I have to do an assignment for school and I was about 3 hours designing the prototype and everything was going right but I had to add arrays and a for loop to my system and after that everything just got ugly. Therefore I started from …

Member Avatar for vaironl
0
3K
Member Avatar for 918_Nix

I wrote a bit of code at school using a copy of Net Beans that they have installed on the computers in the lab at my school. I saved my file to my thumb drive as Lab2.Java. When I got home I opened my copy of Net Beans 7.0.1 and …

Member Avatar for 918_Nix
0
274
Member Avatar for msPriesterM

Hi, I haven't seriously written Java code in over 5 years. I am looking to find good online resources to help me refresh in a few weeks. Thanks! Marquita

Member Avatar for NormR1
0
151
Member Avatar for sifuhall

I have not done development work for many years now but I decided to download the new (and free!) Visual Studio 2010 Express C#. I'm enjoying this, but for the life of me I cannot figure out how to data bind controls. Here is my setup: I have a SQL …

Member Avatar for sifuhall
0
111
Member Avatar for aecha

Hi all.. Can anyone help me with this problem? This code already said successfully update and successfully delete but actually there is no data updated or deleted. There is no error shows too.. These are the code for update and delete data.. update_user.php [CODE]<?php $con = mysql_connect("localhost","root","root"); if (!$con) { …

Member Avatar for aecha
0
183
Member Avatar for moparman426

alright iam working on this code and it is driving me nuts someone please help me alright here is my code :[CODE]import java.util.Scanner; public class TestScoreApp { public static void main(String[] args) { // display operational messages System.out.println("Please enter test scores that range from 0 to 100."); System.out.println("To end the …

Member Avatar for hfx642
0
160
Member Avatar for isebas

I have to write a code that will print out the sum of all numbers between 1 and 100 that 7 and 5 go into evenly. I can't really think of how to write it. This is what I have but it doesn't work.[CODE] import java.io.*; public class work {public …

Member Avatar for hfx642
0
184
Member Avatar for gowans07

I currently user logon information stored in one file, i wish to be able to delete users from this file currently i am selecting the users from a lstbox which retrieves all the user names from the txtfile. [CODE]Public Sub CmdRetrieveUsers_Click() LstUsr.Clear CmdEditUsr.Enabled = True Open App.Path & "\Logon.Password Info.txt" …

Member Avatar for gowans07
0
117
Member Avatar for phorce

Hello, I have wrote a OO program and I have been able to compile ok when using Dev cpp however, I have moved to mac and now compiling through the terminal. For classes I use a main.cpp (the main script), Numbers.h (The header file for the class) and Numbers.cpp (all …

Member Avatar for phorce
0
154
Member Avatar for ericko10kip

Please assist in Formatting the input text to upper and lower cases e.g Start with a capital. Thanks.

Member Avatar for ericko10kip
0
126
Member Avatar for FinaL111

I'm having trouble wrapping my brain around this concept. I have taken two java classes before so this is my first C class. My question is about a portion of my assignment. Basically the assignment is it reads in data about a word search in the format like so: [url]http://pastie.org/2582599[/url] …

Member Avatar for FinaL111
0
280
Member Avatar for androidz

hello everyone i have this error saying "requested operation requires ole db session object which is not supported by the current provider"..i wonder why this appears.i am using an ado and using vb6..can someone enlighten me with this problem..thanks

Member Avatar for hkdani
0
568
Member Avatar for aadi_capri

hello folks, let me tell you the plot first. I am developing a windows application through vb.net,i have done the database connectivity through ms access, which has only two columns, i.e firstname and lastname. what i want is to maintain a session id so when i browse through all the …

Member Avatar for lolafuertes
0
204
Member Avatar for gowans07

Hi, I am trying to query a database to retrieve information about a product. Firstly the user must select a product from a Combo box, and what i want it to do is when they have selected a product for it to search for the items that are within the …

Member Avatar for hkdani
0
118
Member Avatar for ericoscarj

Write a function count_digits (s) that counts the number of digits in the string s and returns answer (an integer). The function must internally use a for-loop. Example ; [CODE]>>> count_digits("1q2w3e4r5t") 5 >>> count_digits("42") 2 >>> count_digits("tea")[/CODE] , Id appreciate any help:)

Member Avatar for Enalicho
0
111
Member Avatar for darelet

Hi all, I need a setup involving a client or front-end program that sends some tasks to a back-end process for processing and collects results for output. I know this involves socket programming, but one issue here is that the front-end is a windows program and the back-end is a …

Member Avatar for darelet
0
205
Member Avatar for dr.4030

i used session in my admin panel so when i click on log out button in server i faced with this msgs Warning: session_start() [function.session-start]: Cannot send session cache limiter - headers already sent (output started at /home/royalfa/public_html/admin/logout.php:2) in /home/royalfa/public_html/admin/logout.php on line 5 Warning: Cannot modify header information - headers …

Member Avatar for dr.4030
0
89
Member Avatar for Purrenhage

I am trying to get this Program to print. Most of it is working correctly except for the part of the Fragrance. When it prints it is printing the whole list not what I selected. The exterior and interior are printing correctly and I tried to set the combo box …

Member Avatar for lolafuertes
0
154
Member Avatar for minimi

My program compiles and runs, but does not print any output. It is supposed to read the text file and output lines that contain the pattern (which this in case is Bob - so it should print Bobby, Bobbie, etc if those names are in the text file).. This is …

Member Avatar for minimi
0
247
Member Avatar for leftovas17

Okay, first off, I know my code is atrocious. I am not a c++ programmer, but my OpenGL course requires it. My lack of c++ knowledge is most probably my biggest problem here. I am simply looking for quick fixes to my ignorant mistakes. I just need the algorithm to …

Member Avatar for leftovas17
0
268
Member Avatar for aadi_capri

Public Class Form1 Inherits System.Windows.Forms.Form Dim con As New OleDb.OleDbConnection Dim dbprovider As String Dim dbsource As String Dim ds As New DataSet Dim da As OleDb.OleDbDataAdapter Dim run = New OleDb.OleDbCommand Dim sql As String Private Sub Form1_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load dbprovider = …

Member Avatar for aadi_capri
0
194
Member Avatar for Epicurus

I'm trying to create my own linked list for handling bullets in my game. When the bullet has gone too far I want it to be removed but as soon as this is happening (when the bullet has travelled 11 steps) the game crashes. These are the functions used when …

Member Avatar for Epicurus
0
491
Member Avatar for bala2111

hey all, Am trying to display the div tag and its content by clicking it. the code below displays the whole source code when cliked on the div with id = softros. I want to make this script to display the div in view source format of the browser when …

Member Avatar for Ezzaral
0
71
Member Avatar for babalipk

I am new to this forum and this is my first post. I am working on a C# project. General outline of the project is: FORM 1 collects data as entered by the user (in text boxes, radio buttons, check boxes, numeric up-down controls etc) . FORM 1 then does …

Member Avatar for skatamatic
0
146
Member Avatar for javaNooblet

Hi all, I am having trouble with class communication to reset some textfields through event handling. Any help would be appreciated. Here is a portion of my code. [B]The class that contains the textfields that I wish to use a reset button for:[/B] [CODE]import java.awt.*; import javax.swing.*; import javax.swing.border.*; public …

Member Avatar for mKorbel
0
216
Member Avatar for falconmick

Now, I know the first thing I am going to be told is that I should add a balance function to my binary tree, well I have asked the group member who created our tree to do it, but he hasn't got back to me yet. So rather than wait …

Member Avatar for mike_2000_17
0
439
Member Avatar for juniorsilver

Please i am trying to compile my programme, and each time i do the access database is outside the executable. I was wondering if it is possible to compile it and the database will be within the executable, or better still how do i make it an installer kind of …

Member Avatar for lolafuertes
0
147
Member Avatar for tayler

[CODE]#include<stdio.h> #include<conio.h> #include<dos.h> main() { int a,b,c,number; clrscr(); int ad() { clrscr(); printf("Enter first number"); scanf("%d",&a); printf("Enter second number"); scanf("%d",&b); c=a+b; printf("The answer is %d",c); } int sub() { clrscr(); printf("Enter first number"); scanf("%d",&a); printf("Enter second number"); scanf("%d",&b); c=a-b; printf("The answer is %d",c); } int mult() { clrscr(); printf("Enter first …

Member Avatar for hszforu
0
166
Member Avatar for OblibSystems

I was thinking of making a program which creates a console in which it sends a ping to an domain, in this case "www.google.com". then read this into my vb application. Probably looking to read each line into a listbox, this way i can add a parser to only take …

Member Avatar for Reverend Jim
0
123
Member Avatar for cse.avinash

Hello..! I am newbie to java and I have got frustrated using notepad, can anyone please suggest me a good compiler for java. I am using Windows 7 as O.S.

Member Avatar for hszforu
0
110
Member Avatar for functionalCode

Hey everyone: Can someone tell me why when I called printf in main I get a blank character. I ran this code in a C interpreter and it works fine, but when I compile with gcc and run it, it doesn't print out the new string. I get a empty …

Member Avatar for NP-complete
0
103
Member Avatar for maria536

This is supposed to generate a password, but It is not displaying the way it is supposed to display, can someone please look at my code and let me know why it is not printing out Enter 5 character string: hapPy Password is: jAaRY Press any key to continue_ This …

Member Avatar for maria536
0
498
Member Avatar for adem87

the compiler see this codes (ara.Text="\";) like a new line how can ı equal to this \ char

Member Avatar for Mitja Bonca
0
85
Member Avatar for pthom35

can someone help...here's the assignment and what i have thusfar...I'm confused with adding the addtl constructor. [CODE]//Create a class called Fraction with the following member variables and methods: //" Variables //1. numerator and denominator (Integer) // Methods //1. Accessor methods for member variables (could be inline functions) //2. Mutator methods …

Member Avatar for Fbody
0
176
Member Avatar for Sarama2030

Hi I'm working with sql server and ado.net datasets.Is there a way the dataset can be paged to the client for local access without contacting the server.If this is not possible how does one post back to the server from the client say in javascript after client side events like …

Member Avatar for omar isaid
0
149
Member Avatar for Xide

Hey, I am only leraning c++ at the moment so sorry if this sounds a stupid question or if the answer is really obvious but anyway... [U]How do you have a variable name itself?[/U] What I want the program to do is to take the input from the user and …

Member Avatar for mrnutty
0
167
Member Avatar for G_S

Hello. I recently started studying Java and OOP. I am currently creating a class that writes text to a file in a particular format. I have 'finished' it, and it works, but I am unsure as to the quality of the implementation. This is how it works: * First of …

Member Avatar for ~s.o.s~
0
212
Member Avatar for cdudefire

For a class in C programming I have been asked to create a dice game. Here are the requirements. A player rolls two dice. Each die has six faces. These faces contain 1,2,3,4,5, and 6 spots. After the dice have come to rest, the sum of the spots on the …

Member Avatar for cdudefire
0
2K
Member Avatar for DeOiD

hi i'm making a little application in vb.net and i need to use a data base. so i used some of my aspx functions and the same data base. the problem is that every time i run the application and do something that needs to get values from that db …

Member Avatar for aadi_capri
0
393
Member Avatar for samsnov

I am building a static website, and I have images in my index page each image has a title name, how do I make an image clicked to open in a different window if clicked, I have a template page designed to be used for opening an image in a …

Member Avatar for samsnov
0
165
Member Avatar for Phaelax

Can't seem to figure this out. [CODE] string *array; void addNodes(string names[]) { array = names; //how many elements in the array??? } [/CODE]

Member Avatar for Diego.Corso
0
27K
Member Avatar for effizy

First off, this is my first c program and i am by no means a programmer so ignore me if i don't meet your standard and let those willing to show me how it is done respond. Problem Statement: I am trying to use "strtok" to tokenize the strings in …

Member Avatar for Ancient Dragon
0
5K
Member Avatar for SyncMaster170

So this is my problem my fellow programmers: In my C# app, I have one button and a datagrid that is showing info from a sql table. Everytime I add a person into my datagrid, the data replicates instead of updating certain columns for that member. I need to somehow …

Member Avatar for Mitja Bonca
0
137

The End.