199,113 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for darknight09

[QUOTE]This program was suppose to make a bingo chess game.. but i am totally clueless.. so far the notes i got was jumbled so i have no clue at all.. anyone mind helping me out? This is a sample image that it suppose to look like a bit: [URL="http://img86.imageshack.us/img86/2594/55923788ip0.jpg"]http://img86.imageshack.us/img86/2594/55923788ip0.jpg[/URL] What …

Member Avatar for darknight09
0
252
Member Avatar for Metahuman

[CODE]int k = 0; int g() { k = k + 1; return k; } int D[] = {13, 19, 47, 3, 7}; ….. D[ g() ] = D[ g() ]++ — D[ g() ]++;[/CODE] According to a book from which this problem comes this code will generate 5 to …

Member Avatar for Aia
0
107
Member Avatar for virtual008

Hello I'm trying to make a simple function to Rot13 strings and it's not working.I ran it through my debugger and it works until it get to the top of the loop again???Then some of the chars are rot13ed and some stay the same. [code=c++] void Rot13(std::string &buffer) { int …

Member Avatar for virtual008
0
215
Member Avatar for Phantom5800

I am using a program called FunEditor, I doubt many people know about it, but if you do help is requested. Before I go into my problem I will explain ProjectFUN a little bit first. Basically it is a C++ 2D game making program that is slightly simplified and does …

Member Avatar for rjsmith64
0
91
Member Avatar for Geek-Master

I've searched every where for any code examples for a manual sorting routine, but the only ones I can find are in C#. I've been able to convert it into its VB counterpart, however I'm having trouble with the data casting. The original C# code came from this address [URL="http://forums.asp.net/t/956540.aspx"]http://forums.asp.net/t/956540.aspx[/URL] …

Member Avatar for SheSaidImaPregy
0
332
Member Avatar for nate12457

Can anyone tell me why this is happening? All the code and input files are below. Stack.h [code] #include <iostream> #include <vector> using namespace std; const char FILE_NAME[] = "palindrome.txt"; typedef char StackElement; class Stack { private: vector<StackElement> myVec; public: bool Empty() { return (myVec.size() == 0); } void Push(StackElement …

0
82
Member Avatar for myth3_16

Hi all, I was wondering if anyone could help with this one. I've devloped an upload form where my customers can upload their own pictures to use in my personalised gifts business, you could call it 'Create Your Own' Range of products. I want to be able to store the …

Member Avatar for myth3_16
0
735
Member Avatar for bwjones

Hi all, so I'm stuck on a certain part of a program for my C class. Okay the program is supposed to query a user for a set number of entries for temperatures which is 26. It is supposed to take those temperatures and calculate the avg. at the end. …

Member Avatar for bwjones
0
187
Member Avatar for ithelp

which accepts an integer of arbitary length as an input and takes maximum polynomial time to execute , let us define a language L= {n | P does not crash for any input of size n} How is easy or difficult to prove that L belongs to NP ?

Member Avatar for Duoas
0
100
Member Avatar for flash121

Hello, I have an array with 10 random numbers ranging from 1 to 10. I'm trying to write a function that would create a new array which would contain the number of times a number apperead in the first array and return a pointer to it. For example: if the …

Member Avatar for flash121
0
61
Member Avatar for guitarrick

Looking for the best way to search a string for project that must test for bad input. Must be able to detect wrong characters, letters, etc.

Member Avatar for farag
0
103
Member Avatar for Jennifer84

I assigned String ^ Box1 like this. [code] String^ Box1; Box1 = comboBox1->SelectedItem->ToString(); [/code] What I am trying to do now and wonder is if it is possible is to put [COLOR="Green"]"comboBox1->SelectedItem->ToString()"[/COLOR] to a vector. For the std:: it would look like this: [code]std::vector<string> StdVector; StdVector[0] = "comboBox1->SelectedItem->ToString()"; [/code] My …

Member Avatar for Jennifer84
0
174
Member Avatar for farag

i want to make a c++ program to run or compile a c++ source file stand alone from hard disk thanks in advance

Member Avatar for farag
0
165
Member Avatar for Ryuji5864

I am currently taking C++, and I just want to know why it says,"Illegal Else without if," and I would like to know how to fix it so I will not encounter this problem again. I would like to know where to put the brackets, "{ " Here is the …

Member Avatar for Ryuji5864
0
175
Member Avatar for begyu

Hi, I should printout the value(s) of the "sum" of the end of the code... But i don't know...:( I am not good at C++. Please help! The code is not so difficult: it generates random 3 dimensional vectors, e.g. number of 5. Then makes a matrix of 3x3 from …

Member Avatar for Lerner
0
137
Member Avatar for geetajlo

Hi i want to convert only the first letter of a firstname n his lastname seperating by a space. Note every time he/she input firstname the first letter should be Uppercase and when she/he press the space bar the last name only the first letter should be Uppercase. Help Me …

Member Avatar for Alekhan
0
112
Member Avatar for sean_morris9

Hi, I'm looking for help with this. I'm tring to get an image back from my SQL Server Express database. The code below is where I'm calling the stored procedure from. If I leave out the IF STATEMENT and WHILE LOOP I'm getting an error saying it's trying to read …

Member Avatar for sean_morris9
0
965
Member Avatar for john_aa

Hey guys wondering, if you are using Adobe CS3 and do you think, if there are other alternatives to CS3. Would you recommend CS3 or wait for something else.

Member Avatar for sagedavis
0
125
Member Avatar for matabor

Hi guys :) I've just learn programming in turbo pascal, and my teacher made an assignment to make pyramid of numbers as this: [code] 1 1 2 1 2 3 3 2 1 2 1 1 [/code] so far i've only come up as this: [code] uses crt; var i,j,k …

Member Avatar for Duoas
0
362
Member Avatar for Marks256

What would need to be done in order to make an application go full screen? this means NO task bar, or Title bar. I did find a small bit of code (a while back), but it didn't work. Any ideas/solutions would be great! :) Thanks!

Member Avatar for clikka
0
242
Member Avatar for vladdy19

Could someone help me out I need to change a String such as "asu" I'm thinking of using the ascii but I'm not sure how i could do that

Member Avatar for javaAddict
0
168
Member Avatar for tactfulsaint

Hello EveryOne I need Help here ,i have been trying to view this GUI but it keeps showing me this erroe `NoClassDefFounderError`. Anyones help would be appreciated. import java.awt.*; import java.awt.event.*; import java.sql.Connection; import java.sql.PreparedStatement; import java.sql.ResultSet; import java.sql.Statement; import javax.swing.*; public class HeartLandHomeFinance2 extends JFrame { JPanel Panel; JLabel …

Member Avatar for Ezzaral
0
118
Member Avatar for tpluscomb

I've been working on a program which reads in a sequence of numbers entered by the user. It's read in as a string and then converted to numbers. Then I am suppose to get the sum of those numbers and report it back. I got most done and I know …

Member Avatar for Duoas
0
9K
Member Avatar for jasmin_java

Hello Could anyone help us , we have a minesweeper's game code in java the game is good but has two problem the first one is when you press a mine button the game should be over and you can not press on any other button but our code allow …

Member Avatar for jasmin_java
0
146
Member Avatar for JeniF

Good day all! I have been working on a project that requires me to to the following: Select a user from a list, on submit go to next page. The next page contains the session variable $id of the selected user. On this page, I am assigning menu permissions. I …

Member Avatar for nav33n
0
215
Member Avatar for jessel

hello sir i'm a new user,i just want to ask if you have sample programs which deals on linked list....if possible not the add.edit,delete program

Member Avatar for zhelih
0
89
Member Avatar for shery1995

Can someone through this forum help me out to design Financial Accounts System including Ledger posting, or provide me a copy of the database design or allow me to download such a database design I will realy appreciate the cooperation. Thanks my e-mail is [EMAIL="amjad_munir@hotmail.com"]amjad_munir@hotmail.com[/EMAIL] if some one wish to …

Member Avatar for peter_budo
0
80
Member Avatar for darknight09

im having trouble programming , but its suppose to look something like this,, can anyone help out? im a beginner in c++ so i don't know much... tthis are my notes and im not sure how to do it image that it suppos to look like: [url]http://img86.imageshack.us/img86/2594/55923788ip0.jpg[/url] what it would …

Member Avatar for zhelih
0
107
Member Avatar for Greg123

Hello, I have dynamically allocated memory that I would like to share across threads. More specifically, I have an ACE thread pool, which I use to process requests on dynamically allocated ACE_Method_Request objects. These objects are created once at startup, and then processed throughout the system's running state (i.e. the …

Member Avatar for Greg123
0
171
Member Avatar for Moporho

I need to build a simple integer caluclator that perform arthmetic functions of addition, subtraction, multiplication, modulus and disvision. The calculator contains an Accumulator that stores the current result. The Accumulator is also involved with each operation. Make sure that you define a class for this program. Once started, the …

Member Avatar for WaltP
0
191
Member Avatar for chankya

I want to change the color of the whole row("which is containing different data types in different cells") depending upon the value of one column. Have any idea????? Please help!!!!!!!!!!!!!!!!!!!!!!!1

Member Avatar for Phaelax
0
145
Member Avatar for sfurlow2

Here's a problem we're supposed to do for my class: Input five numbers from the user and print the highest, the lowest positive number, the highest (closest to zero) negative number and the lowest number. If the user enters all positives or all negatives, print "none" for the missing output. …

Member Avatar for WaltP
0
93
Member Avatar for s1986

i have a login page with a login button and reset button.now when the user enter its id and password and then press enter both the user id and password textbox becomes blank.i checked the tabbed index of the two button thinking it may be due to the reset button …

Member Avatar for SheSaidImaPregy
0
84
Member Avatar for sugantha

Hi friends, I am using Netbeans 6.0.1 and I've installed MySql on Fedora 8...I 've been able to configure the jdbc-MySql connector that's bundled with Netbeans and I can create tables and query MySql using the Netbeans GUI.So I guess my connection was correct...My connection properties are as follows: Database …

Member Avatar for Ezzaral
0
587
Member Avatar for msaenz

Getting this error don't understand really what i need to do to trouble shoot... hw.c: In function ‘PrintMatrix’: hw.c:14: error: subscripted value is neither array nor pointer hw.c: In function ‘main’: hw.c:27: warning: passing argument 1 of ‘PrintMatrix’ makes integer from pointer without a cast [ICODE] #include <stdio.h> #include <pthread.h> …

Member Avatar for WaltP
0
112
Member Avatar for ultratut

<?php function extract_url($main_url){ $cek_url = parse_url($main_url); $prefix_url = $cek_url['scheme'].'://'.$cek_url['host']; $f = fopen($main_url,"r"); $inputStream = fread($f,65535); fclose($f); if (preg_match_all("/<img.*? src=\"(.*?)\".*?>/i",$inputStream,$matches)) { foreach($matches[1] as $link){ if(!eregi('mailto:|javascript:|ymsgr:',$link)){ if(eregi("http://",$link)){ $url = $link; } else{ $url = $prefix_url.'/'.$link; } if(eregi('PHPSESSID',$url)){ $url = explode("PHPSESSID",$url); $url = substr($url[0],0,-1); } $output[] = $url; } } } return $output; …

Member Avatar for nav33n
0
274
Member Avatar for Rentro

I have a string that looks for example like this: "aabbccddeeffgg" I want to retreive the "ee" or the "cc" value from that string. How can I do that ? The tokenizer is not what I am looking for. I'm looking for the function that allows you to specify that …

Member Avatar for Parsu7
0
212
Member Avatar for Chris147

Hi All, I'm a complete novice when it comes to ASP, so please bear with me. I have a GridView bound to an Access Table that has no sorting on it (which is as it should be) and a Combo Box bound to the same table that is sorted on …

Member Avatar for Chris147
0
102
Member Avatar for turnerca902

Hi folks, I believe this is a simple task, but I'm having problems getting things to work the way I would expect them to. What I have is a master file containing about 1000 lines. Each line looks like this: 2008_06_01 07:55 24.8 83.1 What I need to do is …

Member Avatar for turnerca902
0
113
Member Avatar for c++ prog

i've been developing a game for quite some time now...it will be finished soon...my only concern now is how to make my game more interesting to the gamer's eyes...so i included a video to be able to give a brief background of how the story unfolds...but the problem is that …

Member Avatar for c++ prog
0
91
Member Avatar for werks

Hello Every time i input the character [B]'[/B] and [B]%[/B] in the textfield it generate an error in my query. [B]The error:[/B] Syntax error in query expression 'Title LIKE '%' %%';'. [B]My code:[/B] [CODE=asp]adoList.Open "SELECT * FROM qryOPAC WHERE Title LIKE '%" & varExp & "%';",CoNN,3,3[/CODE] tnx in advance..

Member Avatar for werks
0
134
Member Avatar for toomuchfreetime

Hey can any one help me i'm doing a hangman program and want to display blanks where a to z is. how can i do this? I've got it replacing "a" but can't get it to replace the rest i.e. b to z any help would be appriaciated. [code] show …

Member Avatar for toomuchfreetime
0
118
Member Avatar for serkan sendur

I dont clean the unnecessary namespaces that .net automatically generates. Is there any problem with that?

Member Avatar for SheSaidImaPregy
0
108
Member Avatar for s1986

how do i disable the BACK button of IE.can it be done using session.if so can anyone please explain me how it works and give me a bit of information about this session thing as i have no idea about it and when i searched the web it left me …

Member Avatar for SheSaidImaPregy
0
116
Member Avatar for nsoni

Hi Everyone, I am new user for this community and as a trend when we are in trouble then we remember friends. Don't mind . My Question: My application creates trace.txt file which contain debugging information when app. is running but in real production there may be a problem because …

Member Avatar for Ancient Dragon
0
147
Member Avatar for foundsheep

I have a page that inserts information to multiple tables. This part is working fine. What I want to add is when a user adds a new company not only is it inserting to the db but it is also posting the results on a separate page. For instance it …

Member Avatar for foundsheep
0
648
Member Avatar for psathish2

hi i am `asp.net` beginner, i doing login validation using `asp.net` in c#. here i was create the db in sql server 2005 ,fetch the data from db and compare the text box value. if condition error will be show. it is using visual studio 2005. given below my code …

Member Avatar for psathish2
0
259
Member Avatar for Jozin_z_Bazin

Hi I was create a form in Qt Designer and saved as UR.ui (main title of this forms is "MainWindow") next write in terminal: pyqt4 UR.ui > UR.py and open created file UR.py and write: import sys from PyQt4 import QtCore, QtGui from UR import Ui_MainWindow class StartQT4(QtGui.QMainWindow): def __init__(self, …

Member Avatar for nish88
0
141
Member Avatar for nish88

hi everybody..... i'm using an array to make a program but i'm not able to find the size (length) of the array.can anyone tell me how to do this?

Member Avatar for nish88
0
245
Member Avatar for mihirtalks

hello, i am uploading an excel file from my web application and is working fine from the local machine but gives an error "unspecified error" when i try to upload from another machine. i have used oledb connection with Microsoft.Jet.OLEDB.4.0. i have kept 'impersonation = true' in my web.config file …

Member Avatar for Kusno
0
207

The End.