132,726 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for DweyneAnne

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 …

Software Development c++ microsoft
Member Avatar for Nick Evan
0
137
Member Avatar for n00bprogrammer

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
Member Avatar for Namibnat
0
79
Member Avatar for wittykitty

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++
Member Avatar for jonsca
0
118
Member Avatar for Nightryno

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
Member Avatar for GTJava
0
166
Member Avatar for dsolly

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++
Member Avatar for dsolly
0
94
Member Avatar for topest1

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
Member Avatar for topest1
0
611
Member Avatar for n3r3d

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 …

Software Development c c# c++
Member Avatar for n3r3d
0
195
Member Avatar for musthafa.aj

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
Member Avatar for kdkanishka
0
183
Member Avatar for aditi123

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
Member Avatar for vb5prgrmr
0
77
Member Avatar for cms271828

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
Member Avatar for mlikesit
0
470
Member Avatar for NIWANUT

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
Member Avatar for vb5prgrmr
0
1K
Member Avatar for aakaashjois

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
Member Avatar for kdkanishka
0
126
Member Avatar for lewashby

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
Member Avatar for snippsat
0
123
Member Avatar for MattyRobot

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, …

Software Development c++ opengl
Member Avatar for Sodabread
0
308
Member Avatar for Alibeg

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 …

Software Development c session
Member Avatar for chris_mccabe03
0
609
Member Avatar for mingarrolo

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
Member Avatar for Geekitygeek
0
121
Member Avatar for ddanbe

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
Member Avatar for Geekitygeek
0
90
Member Avatar for nccsbim071

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
Member Avatar for nccsbim071
0
333
Member Avatar for Chargerfan

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
Member Avatar for towerrounder
0
131
Member Avatar for xyz12

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
Member Avatar for xyz12
0
123
Member Avatar for Micia

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
Member Avatar for xavier666
0
193
Member Avatar for Jaydenn

I've searched everywhere, I can't find any tutorials or anything on how to make a custom C# taskbar. I have no clue on how to make one, can someone please help me? Thanks for your time!

Software Development
Member Avatar for privatevoid
0
121
Member Avatar for MxDev

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
Member Avatar for privatevoid
0
111
Member Avatar for Areej N

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++
Member Avatar for Areej N
0
207
Member Avatar for ghprogrammingco

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 …

Software Development c++ image vb.net
0
133
Member Avatar for Premlal

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++
Member Avatar for Premlal
0
2K
Member Avatar for norz

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 …

Software Development asp.net c# sql
Member Avatar for DanielGreen
0
144
Member Avatar for may781

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
Member Avatar for javaAddict
0
106
Member Avatar for Solani

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
Member Avatar for masijade
0
117
Member Avatar for adams161

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
Member Avatar for dleskov
0
94
Member Avatar for t__

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
0
49
Member Avatar for hwlibra083

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 …

Software Development listview vb.net
Member Avatar for GeekByChoiCe
0
99
Member Avatar for scrypt3r

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 …

Software Development c++ image
Member Avatar for anjana.ananth
0
168
Member Avatar for stevechow

:] 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++
Member Avatar for jonsca
0
139
Member Avatar for pranavdesai1900

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
Member Avatar for abu taher
0
88
Member Avatar for kevinkace

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
Member Avatar for kevinkace
0
181
Member Avatar for alokjadhav

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 …

Software Development api c++ python
Member Avatar for alokjadhav
0
730
Member Avatar for Jeffro_i4i

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++
Member Avatar for Ancient Dragon
0
120
Member Avatar for 49ersfan

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
Member Avatar for 49ersfan
0
1K
Member Avatar for charlichickxx

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
Member Avatar for jephthah
0
763
Member Avatar for ntouros

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
Member Avatar for DdoubleD
0
144
Member Avatar for jehad

hi i am not famelier with this site and i dont know how to ask for help i want to implement breadth first and depth first search for solving 8 buzzel problem may you help me?

Software Development java
Member Avatar for kvprajapati
0
126
Member Avatar for wingers1290

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 …

Software Development c c# c++
Member Avatar for DdoubleD
0
292
Member Avatar for rzhaley

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
Member Avatar for rzhaley
0
210
Member Avatar for Draculaboy1014

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] …

Software Development c c# c++
Member Avatar for jephthah
0
146
Member Avatar for soeppp

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
Member Avatar for shazi786
0
139
Member Avatar for amsmith90

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++
Member Avatar for Nick Evan
0
75
Member Avatar for Gem74

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
Member Avatar for Gem74
0
2K
Member Avatar for BruenorBH

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++
Member Avatar for BruenorBH
0
418
Member Avatar for jodie121997

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
Member Avatar for Narue
0
498

The End.