132,726 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for Virii

Is the book "Wiley's Teach yourself C++" a useful book or is it one of the sub-par books? Also, for a beginner is the book Object-Oriented Programming In C++ by Robert LaFore a good book to get and read?

Software Development c c# c++
Member Avatar for Rashakil Fol
1
201
Member Avatar for George2

Hello everyone, I am wondering how to transpose a matrix (m * n) with only constant space complexity O (1). (The transpose algorithm should execute/operate on the original matrix.) thanks in advance, George

Software Development algorithm java
Member Avatar for jwenting
1
162
Member Avatar for infested13

im new with Swing..im having problem on gridbag layout(my classwork)... im trying to stick a header(label) and a scrollpane(with a JList attach to scrollpane) to a tabbedpane which the outcome may look like [URL=http://www.geocities.com/dogkickass/1.jpg]this[/URL] but for some reason..my scrollpane doesnt want to show up... i need some help and tips …

Software Development java java-swing video
Member Avatar for server_crash
1
120
Member Avatar for nabil1983

This program is almost the same as the one last i posted but here the bubble sort algorithm is not working, i get a compiler error saying:: size of cdRecords is not known and need explicit cast to convert I cant work out what the problem is because another program …

Member Avatar for nabil1983
1
216
Member Avatar for biglou_85

I have a working model of Visual Basic 6.0 that came with my textbook that I have from ITT Tech. Im trying to install it but i keep getting a window that reads: 16 bit Windows Subsystem C:\WINDOWS\SYSTEM32\AUTOEXEC.NT The system file is not suitable for running MS-DOS and Microsoft Windows …

Member Avatar for mrmike
1
218
Member Avatar for bumsfeld

I did find the Python code snippet on PMIDI module here. It works fine and I have made some interesting sounds with it. Is there way to save this as sound file?

Software Development python
Member Avatar for vegaseat
1
244
Member Avatar for barry t

My app has four group boxes with four text boxes and one button in each group box what i would like to do is use the keyboard enter button to tab instead of the tab button and when it gets to my control button instead of left clicking the mouse …

Software Development
Member Avatar for r0ckbaer
1
110
Member Avatar for shanenin

I noticed I have two versions of wxPython installed on my linux system. I found a way to choose which version you want to import [code] #!/usr/bin/env python import wxversion wxversion.select('2.6') [/code]

Software Development python
Member Avatar for shanenin
1
190
Member Avatar for smithag261

I want to know how to write a program to print all Armstrong numbers between 1 and 500.

Software Development c
Member Avatar for Dave Sinkula
1
215
Member Avatar for l3.azarmehr

hi guys i want write one program to hide process in windows. but i dont know how... ;) can you help me. i want any sample and source code. thanks

Software Development c
Member Avatar for Drowzee
1
157
Member Avatar for cmdolcet69

I'm having this issue on how to sort reports based on part numbers i have part numbers that i return have either a part number as in 1000 or if there have been multiple part number could be 1001-2 mean that there were 2 revised copies of the part number. …

Software Development visual-basic
Member Avatar for jwshepherd
1
169
Member Avatar for johnroach1985

Hi again.I was just wondering about different layouts I can use with swing and I just came accross a sample program at [url="http://java.sun.com/docs/books/tutorial/uiswing/layout/spring.html"]http://java.sun.com/docs/books/tutorial/uiswing/layout/spring.html[/url] anyways there was this example program that I just couldn't find the error.Anyhelp would be welcomed. The error it is giving is cannot find symbol variable springutilities …

Software Development display email gui java java-swing
Member Avatar for johnroach1985
1
420
Member Avatar for jwenting

[B]Problem[/B] Due to a rather annoying and very old bug in JTable you will never get a horizontal scrollbar on a JTable even if the table is wider than the JScrollPane you placed it in. According to the bug report this is due to an error in the handling of …

Software Development display java
Member Avatar for freesoft_2000
1
1K
Member Avatar for Olio

i've been doing c# (breath of fresh air after 5 years with java) for a few months now, and most of that time was spent in vs.net beautiful IDE, but only one shortcoming - wont work in linux. i've went thru many hoops trying to trick it and got close. …

Software Development ide open-source visual-studio
Member Avatar for getNerd
1
317
Member Avatar for djbsabkcb

Below is a program that determines if one address comes before another address using classes. One constructor takes an apartment parameter and the other doesn't. My errors are invalid conversion from int to const and among others. Any ideas? [code]#include <iostream> #include <stdlib> using namespace std; class Address { public: …

Software Development c c# c++
Member Avatar for djbsabkcb
1
988
Member Avatar for BeeNarak

Hi Anyone, I've made a web application, and now I want my web login by username and password as below but it's have got error('Login.WebForm1.DBConnection(string, string)': not all code paths return a value) anyone who can help me? [code] private bool DBConnection(string strUserName, string strPassword) { string LoginSQL; OleDbConnection MyConn …

Software Development asp asp.net c#
Member Avatar for Paladine
1
172
Member Avatar for soda0091

[Microsoft VB.NET Step by Step by Microsoft Press] This book has some good things and some bad things. Unfortunately I personally found it to be lacking some of the more critical coding practices I was interested in. But at the same time it does have some good points. Good: -Good …

Member Avatar for da_1_4u_08
1
171
Member Avatar for koolhead17

python -------------------------------------------------------------- [url]www.python302.tk[/url] [email]python302@gmail.com[/email] -------------------------------------------------------------- ALL FOR YOU SPIDY -------------------------------------------------------------- Disclaimer: This paper is not to be copied, or used on any website without my permission, consequences will occur if it has been found on ANY website. Only time it is allowed to be used on a website is with …

1
135
Member Avatar for dark7angelx07

Hi everyone, I'm having trouble with this program, I hope you can help me with it. I have to write a function that takes an integer value and returns the number with its digits reversed. This is what I have so far...... I will put a [U]*/*[/U] where i need …

Software Development c++
Member Avatar for Narue
1
650
Member Avatar for bluegirl

Hi, i need help creating a copy constructor. i have a class called CElist (and another called CEmployee) and it contains methods like this one: bool CElist::getFirst(CEmployee& e) { //do some stuff //sets e to the first employee and returns true //returns false if it cant } my problem is …

Software Development c++
Member Avatar for Narue
1
214
Member Avatar for George2

Hello everyone, When running the following block of source codes (the MMAPI library I am using is downloaded from [url]http://www.sun.com/software/communitysource/j2me/mmapi/[/url]) [Code] public static void main(String[] args) { try { Player player = Manager.createPlayer"http://localhost/sample.wav"); player.start(); } catch (MediaException e) { e.printStackTrace(); } catch (IOException e) { e.printStackTrace(); } } [/Code] java.lang.UnsatisfiedLinkError …

Software Development java
Member Avatar for George2
1
311
Member Avatar for djbsabkcb

Need help with the C++ programming. I am trying to compute the count of values, the average, and the standard deviation of the input given by user. My output is correct except for the standard deviation. My code is below: Thanks [code]#include <iostream> #include <string> #include <cmath> using namespace std; …

Software Development c c# c++
Member Avatar for djbsabkcb
1
504
Member Avatar for myprecious

Hi. Im doing a c++ course. And we are doing a assignment to do with I/O File streams. We are using struct. I can add, update, print, and search for records. Now, I need help to read data into an array and sort the array on any one field and …

Software Development c++
Member Avatar for myprecious
1
118
Member Avatar for Dark_Omen

Hello, I am trying to insert true or false into an xml file that has one node <LoggedIn></LoggedIn>. This is what I have so far: [CODE] [size=2]StreamReader xmlString = [/size][size=2][color=#0000ff]new[/color][/size][size=2] StreamReader(Server.MapPath("ResponseMessages/LoggedIn")); XmlDocument doc = [/size][size=2][color=#0000ff]new[/color][/size][size=2] XmlDocument(); doc.Load(xmlString); [/size][/CODE]

Software Development xml
Member Avatar for Dark_Omen
1
385
Member Avatar for smoked_apart

That's my objective in the title.. p.s. does anyone know how to make text inputs opaque? p.p.s does anyone know how to retrieve BBPost addresses to send a post to multiple Boards/Rooms?

Software Development first-post visual-basic
Member Avatar for Comatose
1
1K
Member Avatar for Fasola

I HAVE SPECIFIC QUESTIONS!!! 1. Why do you need [b]Self-Referential Classes?[/b] Please provide a "real" life example of when it would be used. [code]class Node { public: Node(int); void setData(int); int getData() const; void setNextPtr( const Node *); const Node *getNextPtr() const; private: int data; Node *nextPtr; };[/code] 2. ^^^What …

Software Development c++ linked-list
Member Avatar for Fasola
1
960
Member Avatar for Layla_2401

Hi, I'm using MS visual studio 6 for a C++ program. I am able to run the program from IDE, but when I've attempted to run it from the command line, I get a message the program name is unrecognizable. I've included the following code: [CODE]int main(int argc, char *argv[])[/CODE] …

Software Development c++ ide visual-studio
Member Avatar for Layla_2401
1
220
Member Avatar for tommy1988

i wanna start programming with c++ what would you guys suggest is the best compiler program out at the mo? :twisted:

Software Development c++
Member Avatar for Raven11
1
117
Member Avatar for blackdove

I'm not finished with my program yet, but i've run into a few problems. The first main problem i see is that i seem to be doing something wrong to display the array that the user enters. It only shows one value, and it displays it twice. I cant check …

Software Development c++ display
Member Avatar for blackdove
1
151
Member Avatar for purplefantasy

The Acme Software Company sells its "Adding Tutor" software for $109.Quantity discount are given using the following table: Quantity Discount 10-19 20% 20-49 30% 50-99 40% 100 or more 50% Write a program that asks for the number of units sold and calculates the total cost of the purchase including …

Software Development c++ display
Member Avatar for alc6379
1
187
Member Avatar for dv916

I am having a problem with C++ templates which is actually quite embarrassing for me to admit to since I predict a lot of you will figure my problem out faster than it took me to write this post but I've exhausted my patience for right now. I wrote this …

Software Development c++ first-post
Member Avatar for Narue
1
945
Member Avatar for eleet

I am trying towrite a C program which will print yearly calendars, given as input the year numbers. Input data will be taken from a text file, which will contain an unknown number of data lines, each containing a single integer giving a year, I first created a function to …

Software Development c
Member Avatar for eleet
1
170
Member Avatar for j.kelly

I'm pretty new to C++ and I'm having a problem with a Uni coursework. I have two classes A & B which need to be able to call each others functions so they each hold a pointer to the other. I had the problem that they #included each other so …

Software Development c++
Member Avatar for 1o0oBhP
1
106
Member Avatar for DarkrShadeOfBlu

I'm writing a blackjack program for class and I am having a problem with Aces, jack, queens, kings, my random number generator generates a 1, 11, 12, 13 for those cards, respectively... but Aces should be worth 11, jacks, queens, and kings, as 10, I have attatched my current code, …

Software Development c
Member Avatar for 1o0oBhP
1
198
Member Avatar for Asif_NSU

I want to make a program that will start off by opening a text file(blank). The user will put an expression in the file and as he hits the enter(enters a newline character) the result will be shown in the next line of the same open file. Itz almost like …

Software Development c++ file-system
Member Avatar for Narue
1
259
Member Avatar for ok555

Ok, im new to c++ and i looked around and couldn't find anything on it.. I have a global char such as the one below, i made a loop to go through and basically "grab" each name in the names list and then display it to me.. but instead of …

Software Development c++ display
Member Avatar for ok555
1
163
Member Avatar for jayrads

I'm writing a c++ program for a class I'm taking. I'm having a problem getting the string variable into the void print_results function. Basically, at the beginning of the main function, I ask the user for their name. I can use the name variable in the main function and it …

Software Development c++ display visual-studio
Member Avatar for jayrads
1
207
Member Avatar for Acidburn

[php] #include <iostream> #include <cmath> using namespace std; class point { public: point(int xcoord , int ycoord); //constructor point(); int getX(); int getY(); double getDistance( point otherPoint ); void setpnt(point p); private: int x, y; }; class rectangle { public: rectangle(point p1, point p2, point p3, point p4); void perimeter(); …

Software Development c++ oop
Member Avatar for Narue
1
182
Member Avatar for flory

Hi, guys I needs someone to help me.I do have difficulties to understand functions in c++. If you can help with more tutorials.I will saved.. Please,even some good web sites where I can practice. Thanking you in advance

Software Development c++
Member Avatar for Pmaster
1
198
Member Avatar for klmbrt

:?: I am attempting to write a C++ program that has the results of a T/F test. It takes the information from a data file and then it compares the students answers to the correct answers. I have two problems. First the data file has the first 8 characters as …

Software Development c++
Member Avatar for Tight_Coder_Ex
1
106
Member Avatar for susiestudent

I'm not an idiot but there are times when my computer sure makes me feel like one. I have several arrays declared in my code yet there are a couple of new ones that I am trying to create that it won't accept as greater than one dimension. good arrays …

Software Development c
Member Avatar for Narue
1
101
Member Avatar for chanz

[FONT=Comic Sans MS][SIZE=2][COLOR=Magenta]Write a program which reads a text from a file declared by the user. If the file does not exist a message should state this and the program should be terminated. If the file opens with success the program should read the text and then output the uppercase …

Software Development c++
Member Avatar for BountyX
1
233
Member Avatar for rharvison

Hi all. I am very new at this stuff; first C++ Programming class with no background whatsoever. We are asked to create the design work and coding to generate an invoice given certain criteria. I wrote the program using the info and directives provided but I am coming up with …

Software Development c++
Member Avatar for rharvison
1
172
Member Avatar for os008

Hi, I have the following problem [url]http://www.ahmedosama.com/buildlog.htm[/url] it's strange cause it's in the built in "include" files of the VC++ (2003), can u please help me out.

Software Development c++
Member Avatar for os008
1
237
Member Avatar for kloony

Hi, I wrote a program in C and when I compiled, got the following message (word for word): Error: Unresolved external '_EDGE' referenced from C:\Graph\Test1.OBJ The funny thing is that the error is not the usual compiling error that tells me which line of my program has the error. That …

Software Development c
Member Avatar for kloony
1
186
Member Avatar for magnolia

Here is a little of my program: struct Town { int population, outbreaks; }; const int MAX_ROWS = 39; const int MAX_COLS = 39; void GetInfRate(Town[][MAX_COLS], int); //some other functions int main() { Town coordinates[MAX_ROWS][MAX_COLS]; //I load my data // I display menu, etc. } void GetInfRate(Town c[][MAX_COLS], int MAX_ROWS) …

Software Development c++ display
Member Avatar for magnolia
1
154
Member Avatar for rishiraj_bayerd

Hi all, How i make a call servlet to servlet.... code & description is needed. Please help me.. Thanking you. Rishi.

Software Development java
Member Avatar for jwenting
1
79
Member Avatar for dallin

I have a column of floating point data that I need to right justify and align the decimal points. Help. Data looks something like this. 30.768 1.345 .430

Software Development c
Member Avatar for vegaseat
1
5K
Member Avatar for sid3ways s13

Hello everyone, I've been browsing this forum for small while and have gotten some great information out of it through searching so I thank you very much for that. Currently though I have a C++ program I have to write for class that inputs the full name of the student, …

Software Development c++
Member Avatar for alc6379
1
957
Member Avatar for ikanku15

i need to develop a snake game. the simple one. can anybody come out with the skane game source code using java or c++ language, or any recommendation. please!!!!!!!!!!!! i dont want to fail this subject! :sad: :sad: :sad:

Software Development java
Member Avatar for 1o0oBhP
1
120

The End.