132,726 Archived Topics
Remove Filter ![]() | |
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++ | |
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++ | |
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 | |
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 | |
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++ | |
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 | |
pdcurses works well with code::blocks but is there any way to use pdcurses with visual Studio, plz help. Software Development c++ visual-studio | |
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 | |
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 … | |
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 | |
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++ | |
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 | |
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 | |
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 | |
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 | |
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++ | |
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++ | |
[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 | |
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++ | |
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++ | |
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# | |
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++ | |
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 | |
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 | |
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 | |
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 | |
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 … Software Development client-server java socket-programming user-interface | |
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 | |
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 | |
[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++ | |
[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 … | |
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 | |
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 | |
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 … | |
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 | |
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 | |
plsss teach me how insert a image in jcreator........... Software Development java | |
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 | |
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 | |
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 | |
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 | |
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++ | |
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++ | |
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++ | |
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 | |
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 | |
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 | |
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 | |
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 | |
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 |
The End.