132,726 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for sidra 100

plz chk my code i m having error at line 35 and 36[CODE]#include <iostream> #include <cstring> using namespace std; class strng { char s[30]; public: strng() { strcpy(s,""); } string getstring() { cout<<"enter the sting:"; cin>>s; return s; } void displaystring() { cout <<"the string is:"<<s<<endl; } const strng &operator+= …

Software Development c++
Member Avatar for tkud
0
114
Member Avatar for hydersha

hey guys.. greetings to all please help me regarding my problem i want to find how many times a digit has occurred in a number. for example i have an array which consists of numbers 1011 1022 1033 number of 1's= 5 number of 2's= 2 number of 3's= 2 …

Software Development c++
Member Avatar for jonsca
0
853
Member Avatar for jemz

hello please help me on this i don't know what is the meaning of this movenext,movefirst, ,adoptimistic,aduserclient....please help me on this and how to use on this and the meaning of this...hoping for your positive responds..thanks in advance...

Software Development visual-basic
Member Avatar for jemz
0
168
Member Avatar for tomtetlaw

When I compile my code, I get these errors: [code] ------ Build started: Project: engine, Configuration: Debug Win32 ------ Compiling... baseanimating.cpp c:\program files\microsoft visual studio 9.0\vc\include\time.h(39) : error C2143: syntax error : missing ';' before 'string' c:\program files\microsoft visual studio 9.0\vc\include\time.h(39) : error C2059: syntax error : 'string' c:\program files\microsoft …

Software Development c++ visual-studio
Member Avatar for mitrmkar
0
500
Member Avatar for n.utiu

I have recently installed Code:Blocks 8.02 for Windows, but I have a problem with my debugger. Every time I try to debug I get an error that says I haven't set my debugger executable yet. I selected the mingw c++ compiler included in the install, and set the debugger exe …

Software Development c++
Member Avatar for n.utiu
0
129
Member Avatar for alex-VX

hello I created a simple program that login then the program gets some data from a file. I logged in but then a error message pops out error cant read file cause it is used by another process. The weird thing is that it can be open in the notepad. …

Software Development file-system open-source vb.net
Member Avatar for alex-VX
0
154
Member Avatar for yun

pdcurses works well with code::blocks but is there any way to use pdcurses with visual Studio, plz help.

Software Development c++ visual-studio
Member Avatar for miguelbezerra
0
2K
Member Avatar for trytrytry

i have to make a program with only COMBO BOX and FORM and BUTTON. the form should have 1-combo box (having many options) and 1-Button when user selects one option from combo box and presses button the form assign to that option should execute. for eg. a combo box (options …

Software Development apple visual-basic
Member Avatar for trytrytry
0
196
Member Avatar for Zaad

Hi; I have a problem which involves the road map of a certain country is given and I have to find the best solution to find a best solution for the map by demolishing the extra roads in the map and keep the roads that would make it possible for …

Software Development algorithm java
0
85
Member Avatar for dr.e

Hello! Can someone tell me how can i do following... I would like to load a file from www and save it to folder. I am using Visual studio 2008 an VB in form aplication. So how to load a file from example [url]www.test.gg[/url] and saving it to c:/myfolder/ THX

Software Development vb.net visual-studio
Member Avatar for kvprajapati
0
101
Member Avatar for terabithia

So i suppose to do some Matrix calculator and perform some calculation by using classes. But we need to copy the square matrixes to other matrix to perform the calculation without changing the actual value. So we can use the same matrix and just changing the form to upper or …

Software Development c++
Member Avatar for Lerner
0
1K
Member Avatar for Stubaan

Hi folks I feel like this is a simple task, but being so new to python and not having the time to fully come to grips with it I am utterly overwhelmed... I simply want to replace whatever text is at a particular position in a particular line with the …

Software Development python
Member Avatar for Stubaan
0
5K
Member Avatar for bibiki

Hey there, I have the following code: [CODE]public void paintComponent(Graphics d){ int gjeresia_e_kornizes = 800; int lartesia_e_kornizes = 800; d.setColor(Color.white); d.fillRect(0, 0, gjeresia_e_kornizes, lartesia_e_kornizes); d.setColor(Color.red); d.fillOval(105, 70, 250, 350); try { Thread.sleep(2000); } catch (InterruptedException e) { } d.setColor(Color.blue); d.fillOval(150, 170, 50, 20); d.fillOval(270, 170, 50, 20); try { Thread.sleep(2000); …

Software Development java
Member Avatar for bibiki
0
275
Member Avatar for wen30

Hi , may i know why i keep on getting this error? i tried to inherit an interface. I already implement all the member in that base interface but still i get this error. Error 1 does not implement interface member cannot implement an interface member because it is not …

Software Development
Member Avatar for ClavetA
0
351
Member Avatar for tomtetlaw

when i run my code, i get lots of undefined class errors, even though i have defined and included the files properly(i think). here are the errors i'm getting: ------ Build started: Project: engine, Configuration: Debug Win32 ------ Compiling... baseentity.cpp c:\documents and settings\tom\my documents\visual studio 2008\projects\engine\engine\globals.h(13) : error C2079: 'CGlobals::controller' …

Software Development c++ visual-studio
Member Avatar for JasonHippy
0
150
Member Avatar for Violet_82

Hi there, I am trying to get my head around this simple program, but there are things that really don't make sense... here's the program: [CODE]// Fig. 3.5: fig03_05.cpp // Define class GradeBook that contains a courseName data member // and member functions to set and get its value; // …

Software Development c++
Member Avatar for Violet_82
0
148
Member Avatar for CollDet

Hello. I'm writing a manager class that should handle a vast and expandable group of classes. The manager class uses a hash_map to store all these etherogenous objects. The objects are all derivations of a base class Object, and of different "interface" classes which are used to define required functions. …

Software Development c++
Member Avatar for Agni
0
102
Member Avatar for rixxir

[B]Hi. I need some help. I need my python program to get information from the .txt file.(text file). I have managed to get this:[/B] [CODE]import string months = [] temperatures = [] fm = open("weather.txt","r") count = int(fm.readline()) # Number of the moths are read from the .txt file for …

Software Development python
Member Avatar for vegaseat
0
155
Member Avatar for sidra 100

plz guide me i m having some error at line 28[CODE]#include <iostream> using namespace std; class str { char s[30]; public: str() { strcpy(s,""); } string getstring() { cout<<"enter the sting:"; cin>>s; return s; } void displaystring() { cout <<"the string is:"<<s<<endl; } string operator+= (string &t) { strcat(s,s.t); return …

Software Development c++
Member Avatar for dusktreader
0
130
Member Avatar for Jeronim

I have read a lot of topics with these subject many of theme where on these forum but what ever i try i cant get this working. I have tried 4 or 5 function for converting string to float but i always get compiler error left from xxx must be …

Software Development c++
Member Avatar for dusktreader
0
164
Member Avatar for aquaticdeity

Hi am learning c# myself.I have created a [B]Breakout [/B]using c#.But am struck with one problem.When I run the program the paddle and the ball moves properly,but when the ball hits the brick it, the brick does not disappear. The problem I believe is with the [B]Invalidate()[/B] method.I think when …

Software Development c#
Member Avatar for aquaticdeity
0
1K
Member Avatar for Jennifer84

If you have a form application and open another form from a buttoncontrol on "Form1", this will open another form but this form will also be in the "Taskbar" on your desktop. So you have 2 forms in the "Taskbar" (What I am after is to still only have one …

Software Development c++
Member Avatar for scott.vass
0
142
Member Avatar for cnuzzo

I am working on a small program that uses classes to generate a weekly menu of daily food logs. I am still new to python and would like some help with what I view to be the next step. I want to be able to load the program and have …

Software Development python
Member Avatar for Gribouillis
0
149
Member Avatar for Kru

Hello I have two c files I am working on. One is a stand alone program (I will call it helper) that will take two ints as a command line argument, add them together, prints the operands and the sum, and exits. This program can be run from the command …

Software Development c
Member Avatar for Kru
0
143
Member Avatar for diya05

Hi all, I have a problem concerning my project which is Persoanlised Agent for hotels. In fact, i am creating an interface using java swing for entering the details so as to be able to search for available hotels in a specific country.. the different search criteria is 1) Price …

Software Development java java-swing xml
Member Avatar for stultuske
0
125
Member Avatar for Monster Killer

I am trying to get my program to write a .bat file to run, it writes the file fine but the file wont run properly as it needs to be encoded with ANSI but i don't know how to set it to write that. Can someone help please? The code …

Software Development vb.net
Member Avatar for Monster Killer
0
810
Member Avatar for hiddenpain

Sorry for the somewhat sloppy programming but it should be understandable. Ok i'm supposed to write a function decide(), its purpose is to first broadcast a User object and then listening for any acknowledgements. If any was received it acts like a client and the one who sent the response …

Member Avatar for verruckt24
0
136
Member Avatar for 54uydf

Hey everyone, I'm trying to import a table using xml file into my access project. First I exported the table the easy way and saved it on my desktop, and now I'm trying to write a vb code for a button on a form that will import it. I have …

Software Development visual-basic xml
Member Avatar for 54uydf
0
106
Member Avatar for imolorhe

Hello there, I am working on a little project and have a problem about finding the IP addresses of all the remote computers connected to a LAN network. I will greatly appreciate it if I get the answer to what I need. Thanks.

Software Development visual-basic
Member Avatar for irungu
0
321
Member Avatar for vader1231231

[CODE] #include <iostream> #include <cstdlib> #include <ctime> using namespace std; int main () { srand (time(0)); int count = 0; int random_num = (rand () % 100) + 1; int high_num = random_num; int low_num = random_num; float total = 0.0; while (count < 100000){ count++; random_num = (rand () …

Software Development c++
Member Avatar for Narue
0
59
Member Avatar for May Tang

[code] Private Sub btnLoad_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles btnLoad.Click Dim sqlconnection As New SqlCeConnection("Data Source = \My Documents\NuttyCafe.sdf; Password = pass1234;") Dim sqlSelectTable As SqlCeCommand = sqlconnection.CreateCommand() sqlSelectTable.CommandText = "SELECT* FROM Product p inner join Category c on p.categoryID = c.categoryID where p.ProductTitle=@ProductTitle" Dim daResult As …

Software Development dataset vb.net
Member Avatar for kvprajapati
0
108
Member Avatar for ankur_

I have taken the opensoruce from ~wagnerr/ConfigFile.html for reading configuration file. It perfectly works fine with gcc 3.2.3 and it fail to compile with gcc 3.4.3 on RHEL 4 I am getting following error g++ -Wno-trigraphs -Wno-unused -Wno-deprecated -Wpointer-arith -fno-common -fno-strict-aliasing -fexceptions -DC_GCC_C -DC_GCCBJC -DC_GCC_CPP -fPIC -D_GNU_SURCE -DC_GNUSTEP -DC_LITTLE_ENDIAN -DDEBUG …

Software Development c
Member Avatar for gerard4143
0
365
Member Avatar for RahulV

Hi, I am working with ListView. How can a ListView have multiple columns and also have CheckBox at the same time? (preferably in its View property set as "Report")

Software Development listview visual-basic
Member Avatar for vipin saxena
0
2K
Member Avatar for n.utiu

Hi! I am quite an active programmer. I work allot for school so i need a good IDE. I a[COLOR="red"][/COLOR]m currently working on Windows with Dev C++. Dev is quite a good compiler and editor but IMO the debugger...sucks. So I would like to know your opinion on Dev, and …

Software Development c++ ide
Member Avatar for abdelhakeem
0
91
Member Avatar for jko2326

I'm suppose to combine class Time2 and class date into one class DateAndTime. I don't understand how to do it at all, I've been trying to read through my book and I just don't get it. Can anyone possibly help me out on how i could combine these two classes? …

Software Development java
Member Avatar for stultuske
0
5K
Member Avatar for kymarscheng

How to store the data of a program without using registry? Because I don't want the users change the registry and the program settings... Are there any other ways that can prevent the users from changing the settings?

Software Development c
Member Avatar for kymarscheng
0
166
Member Avatar for vampire_ashiko

plsss teach me how insert a image in jcreator...........

Software Development java
Member Avatar for peter_budo
0
613
Member Avatar for sfp

Hello :) I would appreciate some help with these few areas, i do not intend to use any of this knowledge maliciously, and am just merely interested... 1) Does delphi have the ability to make a form partially or fully transparent / invisible? 2) I understand and have come across …

Software Development delphi pascal windows-vista
Member Avatar for fayyaz
0
112
Member Avatar for betabasic

Im a total newbie here.. :) I have a file in [B]C:\Program Files beta.txt[/B] inside the file [B]beta.txt[/B]: ------------------------------- Line1 LineUser=12345 LinePass=1234 Line4 Line5 -------------------------------- I have two textbox.. Text1 is for LineUser input (fixed to 5 characters) Text2 is for LinePass input (fixed to 4 charaxters) Example: LineUser: [ …

Software Development visual-basic
Member Avatar for betabasic
0
556
Member Avatar for beforetheyknew

Hi guys, my lecturer has mentioned overriding the equals method before. Am I correct in saying that you override the equals method so that instead of checking if two objects have the same reference it checks their values? And therefore is it also right that there is only one code …

Software Development java
Member Avatar for ~s.o.s~
0
129
Member Avatar for Dasau

I wonder if it okay to write a big equation in System.out like this or Seperate [CODE]else if (earn>=200 && earn<=693) { System.out.println("Excess Earning" + (earn-200)); excess = (8.40+((earn-200)*.15)); System.out.println("Tax Withholding" + excess); }[/CODE]

Software Development java
Member Avatar for musthafa.aj
0
83
Member Avatar for mmasny

Hello, I'm not much of a programmer and will probably never be, but am just curious. Can I initialize a pointer with a constant value different than NULL? I.e. can I tell my pointer to point at one particular memory cell? It's a number so why couldn't I? I know …

Software Development c++
Member Avatar for Salem
0
100
Member Avatar for SpyrosMet

Hello. Can someone tell me what will happen if i have an array Ar[5][5] and a pointer ptr = Ar[0][0] and try accessing the second line of Ar throught ptr by increasing it by 5? I mean ptr+5 ==Ar[1][5] or something else?

Software Development c++
Member Avatar for Salem
0
102
Member Avatar for matharoo

I am making a scientific calculator as an assignment in my class. I am using switch case for all the operators like +-*/ , and I am calling them with a single keyword like '+' for addition and so on. The problem is that when i try to use more …

Software Development c++
Member Avatar for ajmacca
0
874
Member Avatar for Dasau

I am working on some assignment. I read the book, and did exactly as it said, but it came up some weird error I don't know how to fix. Please edit my problem, so I can continue my work. Thank you. [CODE]import java.io.*; public class Assignment4 { public static void …

Software Development java
Member Avatar for Dasau
0
130
Member Avatar for jemz

hello please help me i have a program and i want to connect to the database i don't have any idea on how to connect because im still a begginer on this..help me please how to connect to the database,hoping for your positive responds

Software Development java
Member Avatar for jemz
0
127
Member Avatar for MichelleCrews

Hey i been workn on this code for a few days now and im stuck!! i gotta make sum nested circles ... but the code i have here draws a bunch of circles but they are connected :'( and i tryed everythin T.up, T.forward, T.goto ... all of that .... …

Software Development python
Member Avatar for vegaseat
0
173
Member Avatar for remo1120

How to calculate time and charges in atomaticaly Example: Per hours 10.00, Name : Mano Starting Time : 14:00 Finishing time : 16:45 Total Hrs : 2:45 Charges : 28 please help me if have any formula Thank you Remo

Software Development visual-basic
Member Avatar for hadeeqa
0
77
Member Avatar for bobnoby

Hi, I am trying to make an autotyper using this code: [CODE]Sendkeys "Text"[/CODE] This code causes an error that says "permission denied" My OS is Windows Vista and I use vb6. Any help would be appreciated.

Software Development visual-basic windows-vista
Member Avatar for vb5prgrmr
0
100
Member Avatar for devz2k

hey guys, so i have been asked to create a booking program for a coach hire. i need help with quite a few things. i have two DateTimePicker's. both are formated to time. what i want to do is calculate the differnence between both times. so how can i take …

Software Development visual-basic
Member Avatar for vb5prgrmr
0
74

The End.