199,114 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for RonaldvanMeer

I'm writing a program wich is using an array -> startpoint[4] this array will be later filled by values from an other array. this is not the problem! the problem begins here: I have a class: computerPlayer.cpp with a method: getStartpoint() [code=cpp] int *startPoint[4]; // global variable int* computerPlayer::getStartpoint(){ int …

Member Avatar for RonaldvanMeer
0
165
Member Avatar for christiangirl

Hello, I need to test an array of chars to see if they are numbers. I am trying isdigit() but that is not working. Does anyone know how I can do this? Here is the code, it is in three seperate files. I try to test the char in the …

Member Avatar for christiangirl
0
148
Member Avatar for Trekker182

I'm trying to make my first base class header file and an inherited class from it. I've compared the syntax with at least two other examples that we did in class and they match, yet I'm getting a lot of errors when I try to compile. This is the code …

Member Avatar for sidatra79
0
109
Member Avatar for NinjaLink

I am currently doing classes, but I am unable to print out my cout statements in the "elmo.modifyALL" function. I can get the other stuff to print correctly so far. This is my first time doing this kind of program, so I do not understand why I can't get cout …

Member Avatar for NinjaLink
0
122
Member Avatar for rob_xx17

hello, I'm trying to import data from external file (it's a text file with fractions separated by space) and manipulate that data as a floating point. I've tried using 'fget' and 'getstring' and 'readline' and I'm getting an error that says that I'm trying to make a data out of …

Member Avatar for ArkM
0
319
Member Avatar for Leandro-AL

Hi all! I'm trying to write a "last login" message in my login script. The plan is to store dates in the database with UTC_TIMESTAMP and then show them back to the user with CONVERT_TZ, using each user's specified timezone (they have set that on registration). However here lies the …

Member Avatar for Leandro-AL
0
230
Member Avatar for Superstar288

Hi there people i have a problem i have been asked to Accept characters from a data file. Convert all the characters to upper case,Save the characters to a new data file which i have done. But for some reason im stuck on trying to get the following to work: …

Member Avatar for ArkM
0
111
Member Avatar for sistasweetpea

I have an assignment and I'm stuck. The program is supposed to read in names and test scores from a data file, compute the average, and display the letter grade. This is the code that the teacher gave us in class: [CODE=cplusplus] #include <iostream> #include <cstring> #include <iomanip> // // …

Member Avatar for sistasweetpea
0
116
Member Avatar for Madd0g17

I have searched many a site to find an answer to this question, so here goes: I'm doing a hangman program that needs to pull different quotes from a text file named quotes.txt. Each quote is on a different line. I have the entire hangman program written (I can post …

Member Avatar for Madd0g17
0
95
Member Avatar for vmars

WinXP Home, sp2: I am going thru the tutorial @ [url]http://zetcode.com/wxpython/firststeps/[/url] The exercises are great. BUT I am still running with 1) dle.exe, 2) python shell, and 3) an idle text input screen (Centre.py). [ C:\Program Files\Python26\Lib\idlelib\vm ] When I click on PythonW.exe it does nothing. I tried the directions …

Member Avatar for jlm699
0
291
Member Avatar for Avaviel

I'm having trouble with a program with class. When it runs, on the screen and on the file it shows one output, the last one in the input file. It USED to work, untill I tried to get fancy and add some other code... that will be below the main …

Member Avatar for Avaviel
0
343
Member Avatar for hightert

I am new to vb6. I am trying to automatically click a button on a web age. I keep getting the run-time error 91, object variable or With block variable not set at the line doc.All("btnAcknowledge").Click. I have also set the HTML object library. Can I get some advice. Here …

Member Avatar for hightert
0
107
Member Avatar for jack54

Hi everybody. I have a clothes and shoes Template with for example created buttons : "numericstepper" and "size" for shoes. I used "-visible=false;" and that is very good. But now, I wish to see these buttons "numericstepper" and "size in the shoes item and never in "bags" or "clothes" items..... …

Member Avatar for jack54
0
106
Member Avatar for marcosjp

Hello there! How can I convert an INT value into a string? I used the itoa function successfully in Windows: [code=c]itoa(the_int_number, the_string, 10);[/code] It worked fine in Windows (DevC++) but Linux did not recognize this function. Does anyone know another way of converting INT into char[n] in C that Linux …

Member Avatar for ArkM
0
9K
Member Avatar for sfrider0

Can somebody please tell me what I'm doing wrong? I am creating a TCPClinet. I have 2 errors and both of them come back to this line. [code] connectSocket.Send(System.Text.Encoding.UTF8.GetBytes(sendText)); [/code] The errors are: 1. The best overloaded method match for 'System.Text.Encoding.GetBytes(char[])' has some invalid arguments 2. Argument '1': cannot convert …

Member Avatar for ddanbe
0
168
Member Avatar for JustLearning

All this function is supposed to do is count each node in the queue and return the number of nodes. [code=c++] template<class SomeType> int TemplateQ<SomeType>::Size() const { int numberOfChars = 0; QueueNode<SomeType>* countPtr; if(IsEmpty) return 0; while(countPtr != rearPtr) { countPtr = frontPtr->data; numberOfChars ++; } } [/code] I am …

Member Avatar for Salem
0
165
Member Avatar for DhruvaRai

Hi there I would like VB6 procedure to execute the TAB key as soon as the maximum length data is entered on the text box without having to press the TAB key. Text box has a maximum length of 5 characters. What code do I use to automatically move the …

Member Avatar for jbennet
0
99
Member Avatar for Mike_99

I been trying to find with instruction was executed in this waveform and I narrowed down the choices to XRL A, @R0 or ORL 04H, A here is the picture [url]http://img511.imageshack.us/img511/959/97955260mp4.jpg[/url] I choice those two out of the rest because the write and the WR did change can I get …

Member Avatar for Salem
0
132
Member Avatar for dnmoore

I have to create a temperature conversion project using a method and driver class...... i did it b4 put only as one file , i started the driver class but when i compile i get a couple errors; the errors i get are: Degree.java:30: illegal start of expression public double …

Member Avatar for dnmoore
0
2K
Member Avatar for ronicasingh

Hello, I just started using Netbeans and, well, found it quite interesting. I've been working with Java but not fully with JFrames and stuff like that. What I want to know from anyone who has worked with Netbeans, how do I make a label fit within a sizeable JFrame, where …

Member Avatar for Ezzaral
0
98
Member Avatar for new_2_java

Hi all, I have an HashMap with key/value pair. The program processes each element of the hashMap, and should mark the HashMap element as "processed". i.e. I have the follwoing key/value pair. [code] 1/"090003453bc454" 2/"090003453bc455" 3/"090003453bc456" and so on... [/code] So, when the program process each element, it should mark …

Member Avatar for new_2_java
0
146
Member Avatar for brose

I am new to PHP and need help with a website I'm creating. Using a MySQL database I have created a table storing all of my images, descriptions, links etc. I need the product images to display on the PHP page (which I've already figured out) and be links to …

Member Avatar for sDJh
0
90
Member Avatar for quecoder

hello , I've visited the new paltalk web interface [url]http://express.paltalk.com/[/url] that i liked so much , and wondering what programming languages one can use to make a similar service .. that integrates voice and video chat ... maybe Flash & actionscript ? and does the hosting have to have certain …

Member Avatar for sDJh
0
139
Member Avatar for aroesurya

I Need find tools for my project , has someone know, tools for code generated write with java code .... i've try to use appfuse but i still find another tools for that ... please help ... Thanks

Member Avatar for Ezzaral
0
111
Member Avatar for Rocket452

Hello I am using C# forms to create a GUI, and I was wondering how to make the window nonResizable. I know how to do it in Java but not C#. any help would be appreciated.

Member Avatar for Rocket452
0
59
Member Avatar for msundastud

can't figure out what I'm doing wrong....Im trying to write a program that can convert a sequence of positive integers from base-10 (decimal) to base-2 (binary), but I can't use the pow function [code] #include <stdio.h> #include <stdlib.h> void input_check (int start, int stop) { if (( 0 <= start) …

Member Avatar for devnar
0
165
Member Avatar for mruane

I am working on a text adventure for my cis class. Just to let you know, the code is graphic, and may be offensive to those who might be a begger LOL. Anyways, my functions do not seem to work properly. I looked over them, they seem fine. where am …

Member Avatar for mruane
0
300
Member Avatar for Eyo

Hello , I have a database SQL server 2008 database. What are the SQL queries that I could use in the SQL server management studio to retrieve the following information: 1. all stored procedures. 2. all functions. Thank u

Member Avatar for Eyo
0
82
Member Avatar for homero88

Hi, i need to compile 1 DLL, i start a new project, MFC appWizard(DLL),i select regular dll and push finish. i want to compile this: [code=cplusplus] /********************************************************************* ** XTrap Bypass ** ********************************************************************** ** Hacking Detected ** ** ---------------- ** ** 00435FA6 EB 35 All referenced text string, 'Hacking detected' ** …

Member Avatar for homero88
0
140
Member Avatar for chaba

[url]http://www.sendspace.com/file/do7486[/url] Can someone please explain the assignment & give me some hints. The way am thinking to do is like this.. enter ur input: 1024 i take 1024 and do a loop, divide it by 8 until the number is less then 8. when its less then 8. thats power3: …

Member Avatar for Salem
0
106
Member Avatar for mrjoli021

for some reason my code is not going into the for loop. i completely skips it. any ideas?? [code=java] private ArrayList<Investment> investments = new ArrayList<Investment>(); public String toString() { String outPut; outPut = "Account" + " " + super.getId() + "\n"; for(int i=0; i < investments.size(); i++) { //outPut += …

Member Avatar for javaAddict
0
76
Member Avatar for akira_shinizaki

Hello everyone, i am new in this forum and also in C++ programming. I just started learning C++ few months ago from my university then i stuck from some assignment they give me yesterday. I need to count number's occurrences from input data. This is the assignment : Enter 20 …

Member Avatar for VernonDozier
0
94
Member Avatar for polo_coins

I made project in Console are the any way change font style in it(and there is can I change size too? Thanks Sergey

Member Avatar for polo_coins
0
166
Member Avatar for Code Shark

i cant get access to a pc atm im on my psp.. for(i = 0; i < 11; i++) { triangle(i, '×'); cout << triangle < endl; } triangle is a string. ty

Member Avatar for Salem
0
101
Member Avatar for kenji

Hi I have a question regarding python, I have been meaning to study the language for sometime now just have not got around to it, Im looking to start soon but I read an article about how Python 3.0 is very different from the earlier versions. Will it be worth …

Member Avatar for Ene Uran
0
403
Member Avatar for Balinor

i wrote this up but seem to have done something wrong and honestly i cant seem to find it, it compiles just fine, but when i run i get stuck in an infinite loop. my WHILE doesnt seem to be working, i know its to do with the variable STAMINA …

Member Avatar for Denniz
0
90
Member Avatar for massivefermion

Hello Is it possible to Create a new character in C++? and then can we use it in in other softwars like word and such programs that you can write something in them? thanks a lot.

Member Avatar for Alex Edwards
0
136
Member Avatar for dougdudley11

i am working on a program using stacks. what i have so far is reading in the line and pushing operands/operators into their respective stacks. My teacher has us using a MyArrayList class, therefore we have to extend to that class and use its methods instead of using the Stack …

Member Avatar for dougdudley11
0
129
Member Avatar for Tbusuk

[code]import java.awt.*; import java.applet.*; import java.util.Scanner; import java.io.*; public class SuperSaver extends Applet { TextField inputField; Button saveButton; Button clearButton; Label titleLabel; public void init() { setLayout(null); titleLabel = new Label("Super saver"); titleLabel.reshape(260,20,80,30); add(titleLabel); inputField = new TextField(); inputField.reshape(100,60,400,100); add(inputField); saveButton = new Button("SAVE"); saveButton.reshape(100,175,70,30); add(saveButton); clearButton = new Button("CLEAR"); …

Member Avatar for dickersonka
0
121
Member Avatar for java-clueless

I am learning to write java programs but I really am not any good. My programs run but with a whole bunch of glitches. I have to write a java application that is like an inventory program. It has to have a product class obviously but it needs to hold …

Member Avatar for java-clueless
0
134
Member Avatar for SubProf

Hi everyone, I have a webbrowser which displays a webpage. I need to capture the text of any links that are clicked on that webpage. For example if the link 'certificates' is displayed then I need to capture the url of that link (which I can do) and the text …

Member Avatar for SubProf
0
100
Member Avatar for daBaki.

Can someone help me how to read and write text file using Java Code... ??? Thanks in advance..

Member Avatar for Tbusuk
0
122
Member Avatar for Siegoo

My Mafia game. Need some help;D READ ------------------------------------------ Hello. i just got my mafia game Script and i really need some help from some pepole who are Skilled. i uploaded the game and when i click on the link it says Localhost using password No if u can help me …

Member Avatar for bigdognec
0
187
Member Avatar for mrboolf

Hi all. I am trying to overload the operator+ for a SLinkedList class I created. I would like to write [ICODE]list1 = list1 + list2;[/ICODE] and obtaining that list2 is merged into list1. I thought it was simple but it didn't worked properly. I tried to simplify the problem as …

Member Avatar for mrboolf
0
265
Member Avatar for shubhang
Member Avatar for Se7Olutionyg

[CODE]#include <math.h> #include <iostream> using namespace std; void instruction(); int calculator (char); void divide_by_zero (); float do_next_op (char, float, float); int main() { //input char input; float accum,num; // instructions (); void intruction(); accum = 0 ; do { //get input cout<< " : " ; cin >> input; cin …

Member Avatar for sidatra79
0
107
Member Avatar for jvcoach23

I would like to place a radiobuttonlist inside of a gridview cell. The gridview is using a iList as it's datasource. In that gridview, in the second column i have a itemtemplate that holds a radiobuttonlist. I need to change the radiobuttonlist to not hold static listitem values and text …

Member Avatar for jvcoach23
0
188
Member Avatar for Kanvas

I've been trying to work it out for more than 10 hours already and still can get pass this The basic skeleton is like this [code] class BST { public: .... void insert (const device & aDevice); ..... private: ..... }; class device : public BST { ..... }; [/code] …

Member Avatar for sidatra79
0
193
Member Avatar for Superstar288

hi there people i was hoping i could get some help please as im kinda stuck. ive have been asked for my uni portfolio to "accept the characters from a data file rather than from the keyboard. Extend the program to convert all the characters to upper case (excluding numeric …

Member Avatar for Narue
0
92
Member Avatar for JustinJose12002

How can i grep a file using c++..? I have a file. File having a keyword. i want to get the count of that. i am tring to do int count ; count = system("grep -c keyword file1.txt"); cout << count ; /// this is giving me system command return …

Member Avatar for Ancient Dragon
0
6K

The End.