132,726 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for GreenDay2001

I have just started with Visual C++ 2005 Express Edition. I have also installed Platform SDK with it. I have few questions: 1. I couldn't see line numbers, or gutter on the editor. How could I toggle gutter/line numbers. 2. I saw the include directory of the VC. I saw …

Software Development c++
Member Avatar for GreenDay2001
0
105
Member Avatar for anukool

Hi everyone iam trying to learn awt and applets. The code below has compiled well but when i run it iam getting an Exception in thread main "Java.lang.NoSuchMethodError". Could any1 pls tell me where i have gone wrong. import java.awt.*; import java.applet.*; import java.awt.event.*; public class ButtonTest extends Applet { …

Software Development java
Member Avatar for Dukane
0
80
Member Avatar for Boldgamer

[COLOR=#000000]Hello everyone. I am interested in learning C++ and am looking for a good book to start out with. I read the topic in the sticky in this forum and have narrowed my choice of beginner books down to either [/COLOR] [COLOR=#000000] [/COLOR] [COLOR=#000000]A) [/COLOR][COLOR=#000000]C++ How to Program by [COLOR=black]Harvey …

Software Development c++
Member Avatar for may4life
0
169
Member Avatar for babutche

Hi Everyone! I need a little help with this problem. I am trying to import a class -- Student with object makestudent but I keep getting this error: [CODE]This program sorts student grade information Enter the name of the data file: p2sortin.py Traceback (most recent call last): File "C:\Python23\p2sort.py", line …

Software Development python
Member Avatar for Ene Uran
0
141
Member Avatar for l2u

Hello.. How do I get smart pointer from pointer address? For instance: [code]class someclass { public: char test; }; typedef boost::shared_ptr<someclass> someclass_p; //smart pointer int main() { someclass_p testp = someclass_p( new someclass() ); ULONG_PTR uptr = (ULONG_PTR)testp.get(); //so I have pointer address here //How do I get testp from …

Software Development api c++ windows-api
Member Avatar for Ancient Dragon
0
96
Member Avatar for kosmitek

I am using library of ALLEGRO: board: [URL]http://img407.imageshack.us/img407/2996/boardnj8.jpg[/URL] pawn: [URL]http://img409.imageshack.us/img409/5185/pawnyi0.jpg[/URL] Could you check code of my program - game - it is run but is everything is good ?? Player throw bone and he going about some number of fields [code] #include<iostream> #include<ctime> #include <allegro.h> using namespace std; class boardboard …

Software Development c
Member Avatar for dubeyprateek
0
113
Member Avatar for ndicuh

Hi there, i have developed commercial softwares using VB6 Access and i would like to put a license for one year then the program can disable and i can be able to enable te program using the timer.well i have tried Activelock3 key generator which i am unable to use. …

Software Development visual-basic
Member Avatar for ndicuh
0
97
Member Avatar for babutche

This is what I have come up with but it seems like there should be a more simple way of programming it. [CODE]import string import math class Student: def __init__(self, name, hours, qpoints): self.name = name self.hours = float(hours) self.qpoints = float(qpoints) def getName(self): return self.name def getHours(self): return self.hours …

Software Development python
Member Avatar for babutche
0
118
Member Avatar for stan yost

From the posts in this website I see how to open an Excel spreadsheet from VB 5.0 but I don't see any examples of moving data (not an array) from vb to excel. Can anyone show me an example? Do you know of any books that would have this information? …

Software Development visual-basic
Member Avatar for QVeen72
0
99
Member Avatar for saqib

hello guys, the following code is taken from my senior. i am unable to under stand its logic . because i am new in graphics can u guys kindly explain its logics thanks. [code] #include<graphics.h> #include<conio.h> #define left 0 #define top 0 #define right 639 #define bottom 479 #define radius …

Software Development c++
Member Avatar for saqib
0
144
Member Avatar for bento

hello friend, i am a new programmer, i have probem use gotoxy in visual c++, help me please :cheesy:

Software Development c++
Member Avatar for Ene Uran
0
368
Member Avatar for Lynqu2

OK, I' m just starting C++, I've written a few really simple programs, like calculations and displaying stuff etc. I've used Borland's Turbo C++ 4.5 and DEV C++ to write and compile few of theses progams, I run a Windows XP home OS. The Question I have is: Why, whenever …

Software Development c++ flash
Member Avatar for ~s.o.s~
0
164
Member Avatar for tech291083

Hi, I have just opened the Kdevelop interface to make my first C++ program. I think all I need to do first of all is click on the Project menu and then select New Project. Then click on the All Projects tab. This shows two options C and C++. So …

Software Development c++ ide
Member Avatar for ~s.o.s~
0
709
Member Avatar for tech291083

Hi, I am using Fedora core 5 32 bit Linux. Just wrote this small C++ prgram and saved it as test.cpp on the [URL="http://forums.devshed.com/#"]desktop[/URL] and then tried to compile it using the terminal with the following command [B]gcc test.cpp - o test [/B] but it is showing the following message …

Software Development c++
Member Avatar for tech291083
0
188
Member Avatar for dil.om

hi don here,i am working on employee attendance project. plzzz help me in following task: when employee enter login(name and password) in his pc then automatically his attendance will record in central database of that day. plzzz help me in this.

Software Development vb.net
Member Avatar for dil.om
0
130
Member Avatar for caduggins

I am writing a code for class that calculates 3 different mortgage rates with 3 different time periods and then displays the monthly payment. What I am getting for the output is on 2 of the payments is a negative payment amount. I am at a loss to understand why. …

Software Development java
Member Avatar for jwenting
0
103
Member Avatar for fiska

Folks, I've been given this assignment at university where I should build an application that will communicate PDA (win. mobile ce 5.0) with server (a PC), via wireless technology. I've never done this before and I have no idea how to program something for wireless, can anyone give me a …

Software Development web-server
Member Avatar for usagimys
0
106
Member Avatar for jrcagle

Hi all, I know there have been several threads about getting card images into a GUI, but I'm flustered trying to understand why some things work and some things don't. Here's the code: [php] import random from Tkinter import * import Image, ImageTk class Card(object): suits = ["C","D","H","S"] values = …

Software Development data-structure gui python tkinter
Member Avatar for vegaseat
0
2K
Member Avatar for fskhan

Hi I am developing an automation system using PC. I have built quite a big hardware but when it comes to Visual Basic, I am a novice. I have done a lot but need help in using database. I know how to link it in VB, i.e by using datacontrols(i …

Software Development visual-basic
Member Avatar for fskhan
0
143
Member Avatar for babutche

Help! I am trying to enter characters (for classroom grades) into my program and convert them to numeric values so I can get gradepoint averages. I can't figure out how to convert A-, A+, B-, B+, etc... Can someone help? This is what I have: [code]class Student: def __init__(self, name, …

Software Development python
Member Avatar for babutche
0
130
Member Avatar for darklynx489

Hi All! I've already got the code to create a full Access database from code, but the problem I'm having is that I need the property AllowZeroFill to be enabled in some sections and I'm also having problems getting the AutoIncrement to work. Here is the code I have so …

Member Avatar for QVeen72
0
807
Member Avatar for NewVBguy

Hi there, I am using a listview control. After populating the listview, I want my cursor to jump to the last row and make it visible. how can i do that using vb code. thanks in advance newvbguy

Software Development listview visual-basic
Member Avatar for QVeen72
0
202
Member Avatar for arvin2006

hello to everyone! is there any one can help me to associate the progress bar with the loading application? such that if it finished executing, the progress bar also finished loading.. thanks! i am grateful for the responses. God bless you all!

Software Development visual-basic
Member Avatar for QVeen72
0
164
Member Avatar for cdwind

I'm trying write a program with a image shell(?),like a real software. this is my simple code and how can i do.. [code=c] #include <iostream> using namespace std; struct student{ char name[20]; int ID; int score; }; int main() { cout<<"How many students in the class?\nInput the number:"<<endl; int n; …

Software Development c++
Member Avatar for iamthwee
0
118
Member Avatar for JRM

hello all. This program is just a collection of functions to demonstrate various programming principles. What I'm saying is that don't worry about the overall function-it ain't all that... One of the principles is using a 'non member' friend function to display the output. I added this to the public …

Software Development c++
Member Avatar for JRM
0
4K
Member Avatar for Joncamp

Taking a Java test I found a for{} loop which had a : character in it?... like this... for { : } I was supposed to fill in some objects, but I have no idea how a : character does in a for loop? Any comments? JON

Software Development java
Member Avatar for Dani
0
165
Member Avatar for bhavna_816

I m new to perl and i have to develop such webserice which can use the perl script via html so that the source of the perl file cannot be displayed only the output is displayed.

Software Development perl
Member Avatar for KevinADC
0
109
Member Avatar for davvid

:rolleyes: my game have several boxes filled with randomly cards! the job is to match the 3 cards by vertical or horizontal way.if three same cards were in match.. I ld to make them disappear from the boxes .. How can I do .. ?pls

Software Development
Member Avatar for Maidomax
0
76
Member Avatar for DynamitMsk

Hi everyone, I've been working on this for days, but just can't get it. I have a linked-list containing edges of a weighted directed graph, and my goal is to find a path from vertex A to vertex B going through exactly n nodes. Anyone has suggestions, or links with …

Software Development c linked-list
Member Avatar for DynamitMsk
0
117
Member Avatar for cdwind

I'm learning C++ language now but i don't know which IDE should i use.Someone recommend DEC-C++ to me but it a little terrible debugging. I don't want use the bareGDB and how can i do. thanks.:sad:

Software Development c++ ide
Member Avatar for jwenting
0
144
Member Avatar for turnbui

Hello folks, I have a working CGI written in C. It uses the printf statement to build the outgoing HTML web page. I understand that printf is actually outoutting to the STDOUT device. I'd like to use the WriteFile statement to build the outgoing page and I've tried this:- WriteFile(GetStdHandle(STD_OUTPUT_HANDLE), …

Software Development apache c++ ide
Member Avatar for Ancient Dragon
0
193
Member Avatar for **UM HASSAN**

can any body explain for me the way of using media player control in vb.net2003. i want a video to start only when clicking on a certain button. i don't want it to start automatically when the form is loaded..

Software Development vb.net video
Member Avatar for waynespangler
0
91
Member Avatar for jan1024188

ok here`s the code [code]#include <iostream.h> void main() { int x = 0; cout << "Loliko si pa star ? >>>" ; cin >> x; if ((x >= 0 ) && ( x <= 4 )) { cout << "\n dojencek" <<endl; else //error here { if ( (x >= …

Software Development c c# c++
Member Avatar for jan1024188
0
115
Member Avatar for trihaitran

Hi I'm a completely new to computer programming and am looking to make an application that can search through 3 dictionaries using one input. The dictionaries are Chinese-English, Chinese-Vietnamese and another Chinese-English. The first one is taken from CEDICT, an open source dictionary in Unicode. I'm going to try to …

Software Development open-source python
Member Avatar for vegaseat
0
162
Member Avatar for babutche

HI, I HAVE BEEN TRYING TO FIGURE THIS PROBLEM OUT ALL DAY LONG. CAN SOMEONE PLEASE HELP ME ALONG? I WILL TELL YOU THE PROBLEM AND THEN SHOW YOU WHAT I HAVE SO FAR. I AM TRYING TO MODIFY THIS RECURSIVE PROGRAM: [code=python] def fib(n): if n < 3: return …

Software Development python
Member Avatar for jrcagle
0
111
Member Avatar for DynamitMsk

For my project I'm using an array of structs that I declared in the header file [code] struct City{ string name; int visits; }; City* map[200]; [/code] now when I'm trying to initialize it in a constructor, like [code] for (int ii=0; ii<200; ii++) map[ii].visits = 0; [/code] I get …

Software Development c++
Member Avatar for ~s.o.s~
0
150
Member Avatar for kenshihimura

[QUOTE] 1. Write a program that read the data from a file name address.txt. Then, right justifies the text in new text file name add.txt. Given the width of the new text file is 70. 2. Write a program that counts and prints the numbers of line and word from …

Software Development c++
Member Avatar for Lerner
0
153
Member Avatar for dss

Hi, I just took a freelancer script its a cgi script. Can any one let me know is there any posibility to run a cgi script on local computer like we run php on apache/IIS and asp on IIS. Is there any way to run cgi script. Thank You

Software Development apache asp perl
Member Avatar for KevinADC
0
299
Member Avatar for mytime19

[B]i need computer graphics programs written in c..[/B] [B]thanks a lot..:sad: [/B]

Software Development c++
Member Avatar for John A
0
147
Member Avatar for MattEvans

In certain cases, it's correct for my app to die if it encounters a potentially dangerous condition... I'm working on a more detailed error reporting system, and among the things I want to list are; the object class that threw the error, and the method that threw the error. At …

Software Development perl
Member Avatar for MattEvans
0
196
Member Avatar for adam37

Hi, I'm revising for an exam comming up in C Programming. Can anyone help by answering some typical questions which might come up in the examination. Any help would be appreciated. [B][U][COLOR=#000000]Basic data types[/COLOR][/U][/B] [U][COLOR=#000000] [/COLOR][/U] [LIST] [*][COLOR=#000000]What are the different types of data?[/COLOR] [*][COLOR=#000000]What are signed and non-signed data …

Software Development c data-structure
Member Avatar for Colin Mac
0
151
Member Avatar for itchap

Hi Everyone, I'am currently working on this question: Write a producer-consumer problem that uses threads and shares a common buffer. However do not use semaphores or any other synchronization primitives to guard the shared data structures. Just let each thread access them when it wants to. Use sleep and wakeup …

Software Development java
Member Avatar for jwenting
0
178
Member Avatar for tech291083

Hi, I am using the Kdevelop IDE on Fedora core 5 32 bit Linux to learn c++ programming, but the funny thing is I can't figure out as how to set up the IDE in such a way that it gives me the option of syntax highlighting and automatic code …

Software Development c++ ide
Member Avatar for tech291083
0
126
Member Avatar for road22

i have installed djgpp through a cd ( it also has some software called Knoppix... don't know what to do with that... does anyone know?) so here is my problem: i made a c++ program on notepad and saved it with .cpp extension... now how do i compile it? do …

Software Development c++ knoppix
Member Avatar for iamthwee
0
110
Member Avatar for DaveNY

Hi I wrote code for Java program to simulate the rolling of 2 dice. The application should roll the dice 36,000 times. In a tabular format it should show the frequency of rolling 2,3,4,5,6,7,8,9,10,11,12 and also the percentage. It compiles alright but I am not getting the output. Can someone …

Software Development java
Member Avatar for qkerby
0
171
Member Avatar for binoy.M

Hi all... i am trying to add a vector to the hashtable as a value.This vector contains three fields.But the problem is while adding new vector to the hashtable as value the old vector is also replaced with new one.... So please help to solve this problem..

Software Development java
Member Avatar for jwenting
0
211
Member Avatar for rpjanaka

hi i am tring to use connection pooling in java with postgresql database. in given examples, i cant understand these file names that is given to create InitialContext object, also that file names are different for each and every examples. how can i get those files, and what are those..? …

Software Development java postgresql
Member Avatar for jwenting
0
225
Member Avatar for chris99

Just trying to make pickle work, but when I load the file the dictiionary is still empty. It's an addressbook, with the dictionary keys being names, and values being numbers {N:NUM} I've programmed pickle to save it to a file with a user specified name, and it does so. I …

Software Development python
Member Avatar for vegaseat
0
134
Member Avatar for Knight3

I'm writing a program in assebly using x86 intel processor series and a flat model can anyome suggest anything about this? ;;;;;;;;;;;;;;;;;;; input string,40 ;the user enter a characher 'q' for instance atod string ; now the value in eax as decimal ;;i need to compare the number and if …

Software Development assembly
Member Avatar for mytime19
0
94
Member Avatar for mymirror

can somebody help me to know a vert efficient algorithm in dividing more than 32 bytes of number? e.g. 65534.99/2326.84=28.1648029 =>6553499/232684 =281648029 =>63 FF 9B/03 8C EC=10 C9 9B 9D how could that be? my algo is that use shifts and subs but in a bitwise manner i want to …

Software Development algorithm assembly
Member Avatar for mytime19
0
193

The End.