199,114 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for Hiroshe

I'm seeing if it is possible to write a pong game only using standard C with maximum portability. I've worked out everything except user input. When the game is playing, If the user has no key pressed down, the paddle does not move but the ball should keep moving. I …

Member Avatar for Duoas
0
2K
Member Avatar for datalinx1

HI, I am in need of a program that you can take a spreadsheet file and find all the duplicates with out haveing to go thru each entry. Is there such a thing out there or any way to make up something like that? :?:

Member Avatar for allancass
0
4K
Member Avatar for harry010

Hi, I've written a program that uses two objects that look like the ones below, and I was wondering why i would need an assignment operator and copy constructor for either of these classes. Are strings like[ICODE] char*[/ICODE] (dynamic memory)? It would not be difficult to write these methods, I'm …

Member Avatar for harry010
0
196
Member Avatar for daviddoria

There is a pure virtual const function declared like wayyyy up the inheritance hierarchy that I need to override, but I would like to override it with a non-const function. I tried and it just complained that the pure virtual const function const was not implemented. I got around it …

Member Avatar for daviddoria
0
419
Member Avatar for Cheeki

Hi guys, I was hoping some one could help me with a problem im having with Ajax. Im very new at Ajax and don't really understand it completely. My current situation is as follows: 1: I have a main page which loads a flowchart.gif image. 2: Along side the flowchart …

Member Avatar for Airshow
0
266
Member Avatar for no1zson

What exactly does the "Return 0;" indicate in this function? I know my code will not even compile without it, but I have just been putting it in out of habit without realizing that I do not even know what it does. I was under the assumption that it meant …

Member Avatar for no1zson
0
329
Member Avatar for 68thorby68

It's day 5 of reading expert analysis, white papers and a myriad of posted mailer classes, but I seem to be so far away of constructing my PHP script to prepare and send a text and attachment email. Below is the "hash" of different codes I have been able to …

Member Avatar for noelthefish
0
263
Member Avatar for tlaloc58

Greetings, I've just got 2 python books that are a few years old, they talk about python 2.3. My question is if they would still be useful to learn python? Or if python 2.3 is really that different from 2.6 are they worthless? Thank you.

Member Avatar for vegaseat
0
102
Member Avatar for EvilOrange

hi was just wondering what the difference is between the echo and print_r commands bacause when i run this code: [INDENT][CODE]<?php $output = "this sentence"; $face = explode(" ", $output); print_r($face); echo $face; ?>[/CODE][/INDENT] it outputs Array ( [0] => this [1] => sentence ) Array so the echo isn't …

Member Avatar for EvilOrange
0
129
Member Avatar for anithaca_333

Can any one please give me C implementation of the problem immediately if possible: In a field there are four animals, a dog, a snake, a mouse, a mongoose..dogs kill mongoose mongoose kills snakes and snakes kill mice.. The speeds of the mouse snake mongoose and dog are respectively 8, …

Member Avatar for anithaca_333
0
286
Member Avatar for goody11

How do I make a line of code such as this possible? [code] LTEXT spnV,IDC_STATIC,57,10,200,8 [/code]

Member Avatar for goody11
0
75
Member Avatar for jackiejoe

OK, this might be a bit too difficult to explain on the forum but I thought I would give it a shot. I have an excel sheet which has 3 columns, The first and second columns contain different figures and the third column has a figure which could be a …

Member Avatar for jackiejoe
0
120
Member Avatar for sonia sardana

Suppose I have two exes WindowsApplication1.exe WindowsApplication2.exe..On the form load of WindowsApplication2.exe,I m calling WindowsApplication1.exe & sending the command line arguements..I copy the WindowsApplication1.exe into the debug folder of WindowsApplication2.exe. WindowsApplication2.exe [code] Private Sub Form1_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load Process.Start(Application.StartupPath & "\" & "WindowsApplication1.exe", "one" …

Member Avatar for sknake
0
193
Member Avatar for agaba

input qty while qty > 0 input size call Calculate Scrap using 10 to get scrap 10, qty needed for 10 call Calculate Scrap using 25 to get scrap 25, qty needed for 25 call Calculate Scrap using 40 to get scrap 40, qty needed for 40 if scrap 10 …

Member Avatar for mrnutty
0
103
Member Avatar for brettu

I am trying to design a Query in SQL that will enable the user to enter a customer code. However being new to SQL I do not know the language. I have selected the data from the tables, however I want to add criteria. In Access I used [] and …

Member Avatar for sknake
0
98
Member Avatar for metdos
Member Avatar for Nick Evan
0
113
Member Avatar for shankbond

Hi, I need help with gridview? actually the gridview is supposed to show a view(aka join) consisting of two tables . In my case I have (userid) , (money depositted) fields in table 1; userid can also be left as null. I have another table I have first_name, last_name,phone numbers( …

Member Avatar for JuhaW
0
88
Member Avatar for fareast87

Greeting everyone.. This is my very first thread. I'm a final year student doing my thesis. I want to develop a software of Java that can encrypt an image so that it can be transformed to unreadable form. My idea is to transform the image file (i.e JPG, BMP) to …

Member Avatar for fareast87
0
184
Member Avatar for bumsfeld

Is there a good way to access browser like IE and run an HTML file from within Python code?

Member Avatar for you2
0
216
Member Avatar for samli88

i tried to read integer values from a file but it didnt work. fscanf could only read strings.. why? or am i not doing sumfin ryt?? here's my code: int a=0; FILE *p; p = fopen("Customer_Records.txt", "r"); while(x==a); { fscanf(p, " %[^\n]", profile[a].name); printf("\n %s", profile[a].name); fscanf(p, " %[^\n]", profile[a].phone); …

Member Avatar for Aia
0
107
Member Avatar for ctyokley

Ok so i have a Function that connects to a database and runs the executeschaler() command. the executeschaler is attached to an object. When running the command it will search the database for ceartin information and return certain values, however it returns an error when i use the Try End …

Member Avatar for sknake
0
103
Member Avatar for Jintu

Hi, I have a small doubt in C++ assignment. I have been assigned to do seat reservation in a certain foodcourt. I have already done the seat reservation thing using basic array and function. But my program can only do manual seat reservation. Which means the user gets to choose …

Member Avatar for mrnutty
0
230
Member Avatar for realone

see my code pls Imports System.Data.SqlClient Inherits System.Windows.Forms.Form Dim myConnection As SqlConnection Dim myCommand As SqlCommand Dim dr As SqlDataReader ' the database we'll be connecting to myConnection= New SqlConnection("Data Source=MSALAMEEN;Initial Catalog=Biometric;Integrated Security=True") I am having declaration in the last line above(myConnection)

Member Avatar for Stevoni
0
94
Member Avatar for craigallansmith

Goodday All. I have imported data from an MS excel spreadsheet into MS Access. All goes well unit I try to populate a MSFlexgrid with an open recordset. In my code it shows me that each and every field is found except when it gets to empty field it see's …

Member Avatar for craigallansmith
0
134
Member Avatar for metdos

We need a good open source issue tracking program which is compatible with SVN and windows platform. We are developing programs with VS 2005. Do you have any suggestions? Thanks.

Member Avatar for JasonHippy
0
119
Member Avatar for sophie_kiu

question 1 : I know that c++ could write/ read excel file by changing it into csv format. however, if the content of a cell has a "," inside, then we may have problem when we are reading it as the content may be split into two parts. So how …

Member Avatar for Frederick2
0
578
Member Avatar for Arunabh Nag

[CODE] Dim SchemaTable As DataTable Try NewFaceOptions.comboselecttable.Items.Clear() SchemaTable = createConnection.GetOleDbSchemaTable(System.Data.OleDb.OleDbSchemaGuid.Tables, _ New Object() {Nothing, Nothing, Nothing, Nothing}) Dim int As Integer For int = 0 To SchemaTable.Rows.Count - 1 If SchemaTable.Rows(int)!TABLE_TYPE.ToString = "TABLE" Then 'Add items to list box NewFaceOptions.comboselecttable.Items.Add(SchemaTable.Rows(int)!TABLE_NAME.ToString()) End If Next Catch ex As Exception MessageBox.Show(ex.Message.ToString(), "Data Load …

Member Avatar for sknake
0
117
Member Avatar for fadime

I want to now who create instance of my class For example at constructer I look who create me , and do something according to caller application / class Thanks

Member Avatar for sknake
0
75
Member Avatar for shaun.b

Hi everyone, Ive just got a bit of a problem with a program i am currently writing. Basically i have got a csv file with a load of flight info in it, i need to parse that and add it to a dictionary so thati can search through it easily. …

Member Avatar for woooee
0
449
Member Avatar for danimal132

this is a complete NOOB question but i need help. I have WAMP installed and was given a IP address, the user name and password to the site so i could edit the html. But i need to edit the PHP. I need to add a few more fields to …

Member Avatar for rahul8590
0
76
Member Avatar for ms_kichu

i have a file which contains some block of lines like - define host { use linux-box host_name node001 alias node001 address 192.168.36.133 } define host { use linux-box host_name node002 alias node002 address 192.168.73.19 } can anyone help me in getting a script which takes <node001> and <192.168.36.133> as …

Member Avatar for woooee
0
115
Member Avatar for fafi_ali

hellow everyone, i need to know any way to allowpaging in datagridview or datagrid in windowsformapplication any help would be appreciated:)

Member Avatar for fafi_ali
0
72
Member Avatar for dilbert_here00

Hi all, Following is a piece of code which tries to open an image using Tkinter, the root window opens but I am not able to see the image. I don't know what is wrong with my implementation. Could you please have a look at the code & see if …

Member Avatar for dilbert_here00
0
445
Member Avatar for Hiroshe

Kinda had an idea for artificial intelligence, though I don't think it's original. I don't know much about AI, so I'm taking a shot in the dark. My idea comes from biology and evolution (not new in computer science). The 'algorithm' for evolution is simple. Lets say you have a …

Member Avatar for Hiroshe
0
206
Member Avatar for Tkirbs

I am working on a website with a custom CMS built into it and on the index page of the site I am pulling two different sets of information from the database and there are read more links that I would like to have link up to two different pages. …

0
51
Member Avatar for rahul8590

i have created a database initially and had framed only one table. The php script was working fine , i could store values and reterive from them. I again created one more table in the same database , inorder to store data in it. but the PhP script is by …

Member Avatar for rahul8590
0
139
Member Avatar for turbomen

Dear Sir, Could you tell me what is (are) wrong of the following answer:- Question:- Create the first half of a game of rock, paper, scissors. Ask the user for R, P or S. Get the computer to generate 0,1or 2. Now convert the computer’s number to R, P or …

Member Avatar for TeejMonster
0
225
Member Avatar for gretty

Hello My task is to writ a function that takes in a char array & the array size as its parameters & reverses the array contents. I cannot use another array to reverse the contents. I am using insert & erase function to reverse the array,[B] although I dont know …

Member Avatar for mrnutty
0
120
Member Avatar for el33t

In visual c++, what is the difference between these three: WindowClass.style = CS_HREDRAW | CS_VREDRAW; //Found in winmain() UpdateWindow(hWnd); // Also found in winmain() WM_PAINT //It is a switch case in funtion winproc() I unerstand that all three of them does something like to draw/redraw the client window/window. But can …

Member Avatar for Frederick2
0
189
Member Avatar for robben

I've developed function which allows to skip to a desired line number within a text file (see function). However, what I would like to do is develop a function which takes me to the beginning of the file (i.e. line 0) after calling the navigateForwardToLine function. However, I can't seem …

Member Avatar for sneaker
0
204
Member Avatar for anuj_sharma

Hey Guys, I have a textbox which had readonly property set to true. This textbox is used to take LongDate as it's input from a pop up calender. When i click on the button, it gives an error "String was not recognised as valid datetime" But when i set the …

Member Avatar for chithrasujith
0
114
Member Avatar for darangho

Hi all I am working on a project with Python tk GUI and trying to make a scrollbar that scrolls more than one canvas horizontally tried to approach it as option command = ~~ and ~~ but it seems not working does anyone have any idea on this issue??

Member Avatar for darangho
0
3K
Member Avatar for nihan1

Hi:) I have a problem about DB navigator usage in SQl with borland c++ builder ? How can I use C++ codes with sql?

Member Avatar for twomers
0
151
Member Avatar for decay

Hi I am running on hosts shared server - windows 2003 with IIS 6 and apache but they can't redirect in IIS as its shared and I have no .htaccess rights even if I did my hosts say it is very limited. I also have front page server extensions installed. …

Member Avatar for decay
0
253
Member Avatar for riyas_26
Member Avatar for kameswari
0
309
Member Avatar for feoperro

Hi, I'm looking to create a drop-down menu with rather long option titles. The problem is that I want to restrict the boxes size otherwise the size changes to the length of the longest entry. When I use the length attribute, it forces the drop-down to be a certain length, …

Member Avatar for Airshow
0
111
Member Avatar for LW00

Hi, I wrote a program which runs a .bat file using os.system like: 'os.system(pathToBatFile)' and everything was good. Then I decided to turn my program into a service as opposed to being run with the command prompt showing. When my program became a service, I noticed that the os.system command …

Member Avatar for LW00
0
112
Member Avatar for Arunabh Nag

Well, i really got stuck into this problem. In my project i wish the user to be able to select a database using an open file dialog box. I am unable to connect with this database. i used the code.. [CODE] createConnection.ConnectionString = _ "Provider=Microsoft.Jet.OLEDB.4.0;Data Source=Tostring(ofdselectdatabase.FileName)" [/CODE] and [CODE] createConnection.ConnectionString …

Member Avatar for sknake
0
223
Member Avatar for coollife

Here i am converting image to binary and saving it in sqltable , i got this code from some website but NOW I DONT KNOW THE WAY TO RETRIEVE THE BINARY DATA FROM SQL TABLE AND CONVERT IT BACK TO **IMAGE FORMAT** AND DISPLAY IT IN WEBPAGE public byte[] FileToByteArray(string …

Member Avatar for peter_budo
0
118
Member Avatar for anuj_sharma

Hey guys, I'm trying to run a javscript on a page which also has a master page but it won't run. Please tell me the procedure for it.

Member Avatar for peter_budo
0
91

The End.