132,726 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for mi6_thor

hi frnz!...m a comp. Sc diploma student n m in2 my final(project) semester....whre we need 2 submit our own projects. i hav been asked 2 prepare a Quizzing software...much similar 2 those conducting online exams lyk the MCSE etc....based on VB n MS-Access. plz help me on how 2 start …

Software Development vb.net
Member Avatar for SolTec
0
155
Member Avatar for Jennifer84

Is it possible to have a comboBox set to "Readonly" as you can have for a TextBox in VC++ 2008 .NET. I have looked at every properties for the comboBox and I cant find anything like this.

Software Development c++
Member Avatar for Jennifer84
0
132
Member Avatar for mrjoli021

I am fairly new to c++. What is the diffrence between ATL, CLR, or MFC and for what are they used for.

Software Development c++
Member Avatar for Ancient Dragon
0
205
Member Avatar for Shveetis

package monitoring; import java.awt.event.*; import javax.swing.*; import java.awt.*; import java.lang.*; import javax.swing.JEditorPane; import monitoring.task.jvm.JVMMonitoringTask; public class home extends JFrame { private JFrame j1; private JPanel c1; private JLabel m1; private JLabel l1; private JLabel l2; private JSeparator js1; private JButton j; private JButton s; private JButton tc; public home() { …

Software Development java java-swing
Member Avatar for Shveetis
0
76
Member Avatar for farag

How can i write comment in professional way to explain my code

Software Development c++
Member Avatar for Dave Sinkula
0
142
Member Avatar for kahn1

I am having some problems with solving this game. any ideas #include <iostream> [code=cplusplus] int main() { char a = ' ', b = ' ', c = ' ', d = ' ', e= ' ' , f = ' ', g = ' ', h = ' ', …

Software Development c++
Member Avatar for JohnKnox
0
101
Member Avatar for jawaad

I want to upload a text file and get the data of that text file into a table of database . I m using Sql Server 2000 , and working in c#. kindly can you help me doing this and if possible can you give me the code for this

Software Development
Member Avatar for Jugortha
0
89
Member Avatar for Cbeginner_us

Hi, I am a C beginner and I am trying to write a program for Cellular Demodulator. Can anyone help me? Thank you.

Software Development c
Member Avatar for Cbeginner_us
0
331
Member Avatar for sgw

Hi, Let's say x=12.34, y=567.89, z=6.38, and we want the output this way: _____$12.34 ____$567.89 ______$6.38 [COLOR="Red"]right-aligned[/COLOR] [COLOR="Green"]with the decimal point lined up[/COLOR] (where the ___ are [I]spaces[/I]) In other words, [U]all[/U] the numbers are right-aligned [U]and[/U] [I]immediately[/I] following "$". How to do that if you don't know what values …

Software Development c++
Member Avatar for sgw
0
132
Member Avatar for alone2005

Hi, anyone can tell me what's wrong with my code? the only part has problem is the function overload << operator, any help is welcome. #include <iostream> using namespace std; template <typename T, int SIZE> class array { T data_[SIZE]; array (const array& other); const array& operator = (const array& …

Software Development c++
Member Avatar for farag
0
190
Member Avatar for 31N513N

Need help writing a program that reads a series of 5 integers and determines the largest and smallest.

Software Development c++
Member Avatar for JRM
0
111
Member Avatar for EngBalsam

I have an assignment and i need help in it i need to write a program in assembly for 8085 microprocessor and its very dificult can u please help me?????????? Here is the question Rearranging Bytes 16 bytes are residing in locations starting from 2400H. Transfer those bytes in locations …

Software Development assembly
Member Avatar for EngBalsam
0
136
Member Avatar for atish00

The programme you guyz helped me with for the past 3-4 weeks is done.......It was done last week but I had exams. hrez the code :) you guyz can execute and see it :P Thanx ancient dragon and nieke [code=c++] // password fuction #include<iostream.h> #include<conio.h> #include<stdio.h> #include<process.h> #include<string.h> int password() …

Software Development c++
Member Avatar for atish00
0
149
Member Avatar for cosmos22

Hi. I would like to know about how you program a command that forces an operation. For instance, the command window might prompt the user of something that they already know, rather than bothering to hit Y and enter, it does it for them, forces the operation. Thanks

Software Development c++
Member Avatar for Ancient Dragon
0
104
Member Avatar for mrjoli021

I wrote a class and I want to give it to someone to use, but I dont want them to have access to the source code. My class is split into 2 files a .h and a .cpp how can I block them from seeing the cpp file only the …

Software Development c++
Member Avatar for mitrmkar
0
114
Member Avatar for juanbuffer

Hi everybody, I'm developing a daemon in c/c++ and I'm having some trouble with shared memory. I create different processes that have to access the same memory region. Everything was OK until I decided to use a vector containing objects. I read that I have to define an allocator specifing …

Software Development c++
Member Avatar for juanbuffer
0
660
Member Avatar for arun.gerrard

[CODE] public class test { public static void main(String[] args) { int i=273; byte b = (byte)i; System.out.println("Result "+b); } }[/CODE] when i compiled the program the result was 17... :-/

Software Development java
Member Avatar for arun.gerrard
0
88
Member Avatar for jesseb07

hello, I'm relatively new to C++ (but not to programming) so I wasn't sure how to do this in C++. My brother wrote a bash script which is used primarily to transfer files between computers using rsync which he asked me to convert to C++ so that it can be …

Software Development c++
Member Avatar for jesseb07
0
175
Member Avatar for sgw

Hi, If I want to print several numbers, say 12.3, 24.038, 154.9181, 0.4778--anyway, just all kinds of numbers, how can I print all of them with [U]fixed number of decimals[/U], say two decimals, that is, the output will be: 12.30, 24.03, 154.91, 0.47... ? The "setprecision(...)" doesn't work because it …

Software Development c++
Member Avatar for jesseb07
0
121
Member Avatar for gajaykrishnan

i am programming on linux platfrom and i want making a plugin for a web browser. can u tell me the basics of plugin programming on c++/ Qt in linux.? I dont have any idea of how to start making a plugin kindly guide me...

Software Development c++ qt web-browser
Member Avatar for mail2indar
0
201
Member Avatar for rsk8332

Hi, Suppose I have a character array with the elements B,A,A. Now I have another character array with the elements A,B,B,B,A,A. How do I match the pattern B,A,A of the first character array with that of the second character array so as to produce the following output: A B B …

Software Development c++
Member Avatar for carnage
0
93
Member Avatar for Spencicle

No matter which options you enter, it always displays the result for paper beating rock. [code=cplusplus] #include <iostream> #include <iomanip> using namespace std; int main () { /* declaring variables */ char first; char second; char paper = 'p'; char paperP = 'P'; char rock = 'r'; char rockR = …

Software Development c++
Member Avatar for vmanes
0
95
Member Avatar for Jennifer84

I am using a progressbar in .NET to show progress for an operation. In this forloop I am reading 3 files that takes about 20 seconds. Now I have done a formula: (out / count) * 100 that will show progress. So for the first file wich will be (1 …

Software Development c++
Member Avatar for vijayan121
0
98
Member Avatar for 88omar

Hi there again i tried answering the question amm i hope you guys can understand it its a structure ahh i am to: Write a program using (structures) that stores the details of students in a school. Create a structure called students with the following structure elements: Student name. student …

Software Development c data-structure mathematics
Member Avatar for prushik
0
151
Member Avatar for Moporho

Hello, I am trying to create a program that asks a user to input a integer. That integer will dispaly "*" (i.e. enter 4 diplay - ****) This is what I came up with so far to no luck! [code]#include "stdafx.h" #include <iostream> using std::cout; using std::cin; using std::endl; int …

Software Development c++
Member Avatar for Moporho
0
101
Member Avatar for michellemonty

Hello all. I'm creating a basketball program. There are two teams of five players each. Each player has a randomly generated offensive and defensive stat. The program randomly picks two players to match up. If the offensive stat of the offensive player is greater than the defensive stat of the …

Software Development vb.net
Member Avatar for indiansfanatic
0
104
Member Avatar for mayank.aga

There are 3 java classes in separate files and when I compile them...ERRORS! If anyone could run those 2 classes separately and tell me the peoblems I will be really grateful coz I've used up my minds! import java.util.*; public class PageOne { public static void main(String[] args) { Scanner …

Software Development java
Member Avatar for mayank.aga
0
94
Member Avatar for mathbalaji

Hi All, I just tried to write a code which, upon clicking on a button should send an email with attachment. I succeded by using some of the posts here, but however I need to add some special effects in between... In the body of the email, I need to …

Software Development email visual-basic
Member Avatar for cometburn
0
159
Member Avatar for StepIre

Hi Guys, I have a nested dictionary that i would like to be populated from a file at the start of my prog and put back into the file at the end of the prog. Could anyone direct me to somewhere where i could get info on how to do …

Software Development python
Member Avatar for StepIre
0
130
Member Avatar for orangejuice2005

We were given a task, to familiarize ourselves with stacks and queues, to write a program to solve a maze problem. We are given text files with pre-defined values letting us know the size of the maze, the mouse's position, the cheese's position as well as the value each cell …

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

Is there any eventhandler for RichTextBox in vb.net to catch the selection of text event? I want to enable cut,copy,delete control mentu strip items on selecting text. Edit > cut,copy,paste,delete Only on selecting text the cut,copy,delete should be enabled Please help me out....

Software Development vb.net
Member Avatar for poguemahone
0
119
Member Avatar for RexxX

Say I have [code] #include<iostream.h> int tempNum; struct node { int data; struct node *next; }; struct node *newNode = NULL; int main(void) { tempNum = 5; newNode->data = tempNum; //gives seg fault } [/code] *edit - I'm trying to add tempNum to the very first node. I haven't worked …

Software Development c linked-list
Member Avatar for Aia
0
104
Member Avatar for Jennifer84

I have a wondering here. This code I have below is working great except of one thing that doesn´t make sense to me. I use a while-loop inside a for-loop as seen. The for-loop is counting from 1-49 and for each count the while-loop will read a .txt file and …

Software Development c++
Member Avatar for Jennifer84
0
111
Member Avatar for sarath.koiloth

I am new to java, I went to an interview yesterday....Interviewer asked me What is Object Oriented programming...I find a bit difficulty is aswering for that.Can you please give a good explanation for this question.... Thank You....

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

I once again am having trouble with this program. I really thought i understood this right off the bat but once i got into it, there is a lot of little technical things my professor wants in it. Like the functions and generating random numbers. Any help would be awesom, …

Software Development c++
Member Avatar for curt1203
0
298
Member Avatar for cosmos22

Hello, I was wondering how you might go about detecting a drive letter, such as D for DVD drive, if you wern't to run it on your own computer. I have programmed something that picks a certain drive letter in an attempt to match it to theirs. The reason is, …

Software Development c++
Member Avatar for cosmos22
0
148
Member Avatar for conklin

program 1: #include <iostream> using namespace std; class person { char name[30]; int age; public: void getdata(void); void putdata(void); }; void person :: getdata(void) { cout << "Enter name"; cin >> name; cout << "Enter age"; cin >> age; } void person :: putdata(void) { cout << "\nName" << name; …

Software Development c++
Member Avatar for conklin
0
107
Member Avatar for Jboy05

How do I go about writing a user-defined function named Get_Inputs that when called, the function will prompt for three integers and send these numbers to its calling environment.

Software Development c++
Member Avatar for Jboy05
0
105
Member Avatar for d0ugg

Hello All, I'm creating a program that reads a file.dat and I need to input that in a matrix, it can be 2x2,3x3,4x4 or 5x5. I'm not exactly sure how to do that. The file.dat looks like this: 2 1 2 3 5 3 1 3 8 5 7 3 …

Software Development c++
Member Avatar for d0ugg
0
247
Member Avatar for farag

If you know a certain c++ library treat with excel sheet with efficient way that can read acertain row or columns Support me by it

Software Development c++
Member Avatar for abrou
0
115
Member Avatar for wollacott

ok i need to do a program that inputs a amount of characters. my program has to capitalize the first letter and and letter after a full stop. any ideas and hints how to do it?

Software Development c
Member Avatar for Dave Sinkula
0
81
Member Avatar for unclepauly

can someone please try and explain something to me... i have 2 functions, lets call them FuncA and FuncB. FuncA calls FuncB, and FuncB does some stuff then simply returns. both functinos are placed in try...catch statements: [CODE] void FuncA() { try { FuncB(); } catch { trace("FuncA caught exception …

Software Development c++
Member Avatar for vijayan121
0
112
Member Avatar for jrivera

This is Homework. I have been working on a tournament program. Currently the tournament class gets user input and instantiates a player class and a game class. The game class then calls the board class where it instantiates a boardconfig class object. At this point Is where I get my …

Software Development c++
Member Avatar for vijayan121
0
102
Member Avatar for cosmos22

I started a windows application, that used the void hide.. function to hide the command window. I compiled it, and it worked. Why is it, that if I compile the source file, and not the project file, it keeps the window open? Dispite the fact the coding is exactly the …

Software Development c++ open-source
Member Avatar for VernonDozier
0
100
Member Avatar for nadith_cs

i'm using visual c++ 2005 and in windows forms app how do i store a respond of a MSG box... the methods given in both MSDN new and the web mSDN doesn't seem to be working.if they worked in ur machine tell me the procedure i have to follow....plz help …

Software Development app-store vb.net
Member Avatar for harryl5
0
161
Member Avatar for tootypegs

hi, i am totally new to this and i would appreciate some advice or if you guys know any articles i could look at to research. I want to create a program that will copy the contents of RAM to another file. I have no idea where to start! It …

Software Development c++
Member Avatar for gerard4143
0
84
Member Avatar for c++ prog

can anyone suggest any website that will help me a lot on creating a simple chatbox? tnx

Software Development vb.net
Member Avatar for Jx_Man
0
306
Member Avatar for Monk_knoM

Hi, I have created a module to calculate a level when given a score. How do I send the calculated level back into my main form? Thanks in advance

Software Development visual-basic
Member Avatar for Jx_Man
0
93
Member Avatar for vijaysrivatsa

Hello Friends...we r doin our UG project named Watermarking relational database using optimization based techniques....here we r supposed to use a PJW hash function to encode the values inside a database with the help of a secret key....Can anyone pls explain me the logic for this hash function and i …

Software Development java
Member Avatar for Ezzaral
0
96
Member Avatar for kv79

Hi all, I am learning VB 6 and i a just a beginner and i need to know some programs who is made it i VB 6 so that i can have a reason why i am learning. If you can send me some pictures or some kind of program …

Software Development visual-basic
Member Avatar for choudhuryshouvi
0
195

The End.