132,726 Archived Topics
Remove Filter ![]() | |
i have a homework for our programmin classes, i searched for other solutions regarding the gotoxy function, but all saw was for devc++, turboc++ and other IDEs, when i use the function for devc++ or turboc++, i know it wont work, but i tried it, says there's not library for … | |
Hello, I'm fairly new to programming, and am working on a project for a programming class. I've run into a problem, and need some help... I'm writing a hangman game and I'm having trouble getting the guessed letter to replace the correct hidden letter. Say the word is DICTIONARY, if … Software Development python | |
Sorry to trouble, as I am still learning C++, however, can anyone give me any insight how to work this problem. I have 2 functions, one to get the highest number out of the array, and one for the lowest. Both these functions work and give me the correct number, … Software Development c++ | |
Hello, I've worked on some code for a project I have to do but I'm a little unsure about a few parts that I was hoping somebody could provide some clarity on. Here is the project that I'm working on with the code and question on it to follow: Write … Software Development java | |
I have a shared library (a java JNI SO to be exact) which wraps a static library provided by another organization. I expect a newer version of the static library to be produced, but not until after I have released my code, along with the SO, to a third party. … Software Development c++ | |
Hello all, I m a newbie in java, I m writing code to change the text of the JLabel on the mouse over to the JButton I m facing some problem in Updating [B]Initial Label:[/B] [ATTACH]12891[/ATTACH] [B]After setText:[/B] [ATTACH]12892[/ATTACH] label.setText(); It doesn't update properly New text gets overwritten on old … Software Development java | |
I have this class : int br=0; // br is counter how much records i hold in my vector [CODE]class racunalo{ public: void upis(string naziv, string velicinaRam, string velicinaHDD, string brzina, string proizvodac); void upisKomp(); string getNaziv(int s) const; void pregled(); void upisDat(); void pregledNaziv(); void pregledProizvodac(); void brisanjeRac(); string … | |
i successfully edited windows registry using java API... BUT THE PROBLEM IS whether i need to reboot os or not... because after editing it has no effect... if i need to reboot then how can i skip it(i strictly dont like to reboot...)... any java snippet available,, plz.... Software Development api java windows-api | |
hi I have developed a project using vb dao. Now I want to generate report by using crystal report 9. can anybody help me with the coding of the same. Software Development visual-basic | |
Hi, I'm building an application and I want to it to play mp3 files. I have it working, basically by installing JMF2.1.1e, and then I add its jmf.jar file to the build path of the project within eclipse. When I then jar up the project, and place on desktop, it … Software Development java | |
Hi, I have written an application in VB6 that grabs an image from a webcam and writes it out to the hard drive. Before writing it I would like to add a text line listing which camera it is and the date and time. I have no problem sorting out … Software Development hard-drive image visual-basic webcam | |
![]() | Can anyone mention all the math functions i require for making a scientific calculator. I am making a CUI version of it (The one which is opened in cmd). Software Development java |
In the following program, the second line in main print [COLOR="Red"]"Printing a Card object:"[/COLOR], is not showing up when I run the program. Could someone please tell me what's going on? Thanks. [CODE]# Playing Cards # Demonstrates combining objects class Card(object): """ A playing card. """ RANKS = ["A", "2", … Software Development python | |
is it possible to stretch a 3D scene in openGL? I know it is possible in glOrtho() but how would I make a 3D scene stretch. for example if I rendered a cube, in the middle of a window, and then made the window longer, instead of the cube stretching, … | |
I'm new to this editor, i used Dev-Cpp, and i heard this is a better tool to program with. Problem is that Code::blocks wont compile this: [code=CPP] #include <stream.h> main () { cout << "Hello world!\n"; } [/code] I switched to Code::blocks mainly because i'm using linux and i cannot … | |
I need to create a program and this are the instructions please anybody help me 1. Create a program that has a class called demoClass with one method: main. 2. You should create a second class called finalLab. 3. finalLab will have one method, one constructor and one property. a. … Software Development | |
Hi all, I like to write out integers in binary format to the console. Let's say I want [B]Myint=5[/B] to be written I use [B]Convert.ToString(Myint,2)[/B] I get [B]101[/B], what I want is [B]0000000000000101[/B] I found this struct on the net which could do the trick, but is there a better … Software Development | |
I have been developing a MySQL database backup and restore appliation in windows forms. This application crates a dump of a mysql database at remote location and imports everything from the dump file back into local mysql database. MySQL database is located at the server which hosts my php website. … Software Development client-server cpanel mysql windows-server | |
how do i make it so that when the user enters a number in the textbox, clicks an addition button, puts the second operand in the same textbox, then display the result in the textbox when the add button is clicked again? here is my code for the add button: … Software Development | |
Hi!!!! Can anyone tell me how can I make a search similar to BING in a window application. I want to make a window application in which user would enter any name and he would get the related pictures displayed in the form. In this ,I want to give user … Software Development | |
please help me, i'm a student..our teacher wants us to make a program that will merge two arrays into one and sort it into ascending order, but she didn't taught us how to..please give me an example code? Software Development c | |
Hi guys, could somebody here tell me how to color the current text line in richTextBox Object, or where can I search for this feature??? Thanks [EL-Prince] Software Development | |
i have a program and i need to add a photo after a result .so can i add a photo to my c++ program?? Software Development c++ | |
I should write a program to combine the huge number of images side-by-side. The source images are jpeg and png formats images. I think no any direct way to combine png or jpeg images to gather, unless first convert them to bmp, or any raw format, and perform combination and … | |
Hi all, I am somewhat new to templates, but slowly realizing it is very powerful. Facing a problem. I have a template class. [CODE]template <typename T> class myTemplateClass { //Some code here };[/CODE] In another class I need to create a fixed number of Objects of the above template class … Software Development c++ | |
i am a student...i am zero knowloedge about sql neither c#.my job is to build a database.i dont really know how i can do it and how to do it?i had tried a tutorial for c# from other website but the tutorial using sql 2005.but i had download sql 2008.i … | |
Hi I am very new to java as its part of my course and I am stuck I have written part of this basic code below [code] import java.util.Scanner; import java.io.File; import java.io.IOException; import java.awt.image.BufferedImage; import javax.imageio.imageIO; import.java.awt.Color; public class FinalExam { public static void main(String [] args) throws IOException … Software Development java | |
Hi, I was just wondering why my program wouldn't output the elements that I entered. Thanks in advance. [CODE]//Scanner utility import java.util.Scanner; public class A4 { public static void main(String[] args) { //Reads user input. Scanner inputReader = new Scanner(System.in); //Declares an array,size of the array is 10. int[] elements=new … Software Development java | |
I was planning on releasing the source of my applet but I wanted to wait till i was done to do that. It got decompiled before i was ready. Is there any practical way to prevent decompiling? i googled and all the articals said how easy it is to decompile … Software Development java | |
Hi, i'm actually trying to display records from 3 tables in a Data Report using an InputBox. That is whatever information i enter in the inputbox the data report should display its appropriate records from the tables. i can display records from 3 tables in the data report, but how … Software Development visual-basic | |
Ok, I have been working on this for months now, and I am so close to having it work the way I want, but it's just not happening. Here's what I am trying to do: My program is half a formulator, and half ordering system. Where I get stuck is … | |
Ive have developed a Program That enables the user to Make a process of There choice load a "hello World" Dll, But the user has to Input the Processes PID. I have two problems, 1. How do I Retrevive the process PID from process name? 2. My Program has the … | |
:] Awesome title. I have a program called Life. This program creates an array from the numbers in a .txt file, then it puts it into an array. The cells in the array will have "bacteria" if they are named in the .txt file. The bacteria will be removed if … Software Development c++ | |
Hey I m a student of IT ENGINEERING in diploma inlast year could any one suggest a project which can be built in 3 months Software Development engineering visual-basic | |
Can't figure out what's wrong with my delete function. If I remove the delete for the name and address it works as expected, but am I not leaking memory that way? [B]Structs:[/B] [CODE] struct Person { char* name; char* address; int zipcode; }; struct Node { Person* per; // Person … Software Development c++ motherboards-cpu-ram | |
I am using SWIG to extend Python to C++. Understand that there is a different forum for SWIG users but I am still waiting for a response on that list. But the questions I have consists of basic Python C API releated. I hope this list will be able to … | |
I am to create a project that evaluates math expressions and their derivatives. I have a Formula class with only virtual functions: virtual void print() virtual void print(int) virtual Formula *derivative() virtual int evaluate() Then I have 7 other classes which inherent from Formula, they are: Variable Constant Add Multiply … Software Development c++ | |
Hello, I am trying to pass a 2d array of a struct to a function. Sadly, when I pass the array to the function, only the first row appears to get passed. Every other row's values are set to zero (or in the case of the code snippet I provided … Software Development c | |
hello, I am trying to write this code to solve the josephus problem. All I am getting is Segmentation Fault(coredump)? i am assuming its something to do with me using calloc but i cant tell what i've done wrong? any suggestions? thanks! [code=c] /*program to give solution of josephus problem … Software Development c linked-list | |
sorry for this question but i don't know how to correspond this: picture box1=blob1,picture box2=blob2,...etc; i try it i look all the source code and didn't find how to take the image of each blob.where can i find the image of each blob? i have stuck. basically i want to … Software Development | |
Hi, I have a list box that on form load displays file names inside a directory using this code [code] DirectoryInfo di2 = new DirectoryInfo(path); foreach (FileInfo fi2 in di2.GetFiles()) { listBox1.Items.Add(fi2.Name); } [/code] Which works fine, however i have another function on my form which adds files to the … | |
hello i am supposed to design a code to convert state abbreviations from only five states. I don't really know how to put if...else statement in here if anyone can help. This is what I have written so far but i am beginning so it could be completely wrong. [CODE]using … Software Development | |
SO here is the code I need help with, basically I need to write a program that cheks if 5 words from a input document are in a dicionary document both .txt files I made, I really tried but cant find where to start, any help would be appriciated. [CODE] … | |
Hi all..i make a program use javascript to call VB.Net function..but it doesn't work...can somebody help me to check this code... [code=vb.net] Imports System.Runtime.InteropServices <ComVisible(True)> _ Public Class Form1 Private Sub Form1_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load WebBrowser1.ObjectForScripting = True WebBrowser1.DocumentText = "<Script language='JavaScript'>" & vbCrLf … Software Development java javascript vb.net | |
I had to create a program that has to work with an array of MAX temperatures, define a constant for the array size, use sort and search algoritms, and write a menu driven program for homework. I am stuck on what's next after the int declaration as such; #include<stdio.h> #defineMaX6 … Software Development c++ | |
help! I am getting an error message, no appropriate default constructor available. I am not sure what I need the default constructor for? how do I correct this? [CODE]#include <iostream> #include <string> using namespace std; struct Node { /** member variables */ int key ; string value ; int x; … Software Development c++ linked-list | |
I am trying to change the NIC speed through the registry.. But my problem is that I dont fully understand the command RegSetValueEx. I have checked the Internet up and down for some good examples but have fallen short.. I am tring to set the default value for the NIOC … Software Development c++ | |
Hi All, I have the function that need to be type cast the void point to different type of data structure. Is there any way to do that with the name of structure and the void pointer. For example I have the follwowing data structure: [code] typedef struct struct_a_s u_int16_t … Software Development c data-structure |
The End.