132,726 Archived Topics

Remove Filter
Member Avatar for
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 …

Software Development c++
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 …

Software Development c++
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 …

Software Development c++
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 …

Software Development c
Member Avatar for ArkM
0
320
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: …

Software Development c
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> // // …

Software Development c++
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 …

Software Development c visual-studio
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 …

Software Development gui python
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 …

Software Development algorithm app-store c++ ios
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 …

Software Development visual-basic
Member Avatar for hightert
0
107
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 …

Software Development c
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 …

Software Development windows-server
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 …

Software Development c++ queue
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 …

Software Development visual-basic
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 …

Software Development assembly
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 …

Software Development java
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 …

Software Development java java-netbeans visual-basic
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 …

Software Development java
Member Avatar for new_2_java
0
146
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

Software Development java
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.

Software Development gui
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) …

Software Development c
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 …

Software Development python
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

Software Development sql vb.net
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' ** …

Software Development c++ visual-studio
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: …

Software Development c unix
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 += …

Software Development java
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 …

Software Development c++
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

Software Development
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

Software Development c++
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 …

Software Development python
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 …

Software Development c++
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.

Software Development c++
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 …

Software Development api java
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"); …

Software Development java
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 …

Software Development java
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 …

Software Development c#
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..

Software Development java
Member Avatar for Tbusuk
0
122
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 …

Software Development c++ linked-list
Member Avatar for mrboolf
0
265
Member Avatar for shubhang

could anyone tell me what are Armstrong numbers and pascal's pyramid.

Software Development java pascal
Member Avatar for stultuske
0
71
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 …

Software Development c++
Member Avatar for sidatra79
0
107
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] …

Software Development c++ data-structure
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 …

Software Development c
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 …

Software Development c++
Member Avatar for Ancient Dragon
0
6K
Member Avatar for joshmo

Hey all. Iam new to java and I have been trying to do something that has played me abit. I want to use an attribute or a method from a subclass and accesing it from the super class. Something like this [code] class A{ //some code } class B extends …

Software Development java
Member Avatar for Alex Edwards
0
144
Member Avatar for ambarisha.kn

I wrote the following function. i want to return fbCodeAddr and tmpAddr to the main function. How to do this? Function is as follows; [code=c] void fbExeCode(int BldCnt) { // for(int BldCnt=0;BldCnt<fbdStepno; BldCnt++) { char *fbCodeAddr; char *tmpAddr=0; char *buffer; int n; fbCodeAddr=(char *)malloc(1024); int stack=0; int totalPin=0; for(int fb=0;fb<fbnodeLst.size();fb++) …

Software Development c
Member Avatar for Ancient Dragon
0
146
Member Avatar for Ajith007

hello, everybody I m final year computer engineering student.I m very much interested in DBMS,java, and all programming stuffs.I have to do a project on DB and java... programming if required,... can u pls suggest some topics and give me resources i need to have(like mysqlor oracle 9i,vb .. etc.etc..)to …

Software Development engineering java oracle
Member Avatar for stultuske
0
97
Member Avatar for terrible@VB

So I'm taking this introductory class on Visual Studio 2008 and I've been pretty lost since it started. Our current project is to write a code that will allow you to type in a starting and ending point then click the calculate button to calculate the factors of each number …

Software Development visual-basic visual-studio
Member Avatar for jireh
0
168
Member Avatar for shubhang

I observed that many programmers do not create separate functions. They write the whole program in the main function. Doesn't this reduce its modularity? eg:[code] class abc { public static void main(String args[]) { int a=10; System.out.println(++a); } }[/code] it could also be written as:- [code] class abc { private …

Software Development java
Member Avatar for shubhang
0
102
Member Avatar for malcolm4458

Hello all, I am a self-taught programmer with about 2 years experience and am having a problem trying to launch a pygame program as the last act of a wxPython app. If I explain what I am trying to do and why perhaps someone can help. I am writing the …

Software Development python
Member Avatar for malcolm4458
0
121
Member Avatar for c230jif

This program is supposed to read 10 integers from an input file, save the largest and smallest integer to an outfile, and compute the even and odd integers and save the sums to an outfile. (The contents of the file named input.dat are: 45 23 12 8 -67 56 87 …

Software Development c++
Member Avatar for Ancient Dragon
0
137

The End.