132,726 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for 1qaz2wsx7

Hi :) I have some questions: 1) How can i get the size of the screen ? (not the forum, the screen borders) 2) How can i resize all the columns in a DataGridView to the length of their values ? (when using the built in method, Autoresize, its only …

Software Development
Member Avatar for TheGathering
0
301
Member Avatar for baltazar

I need to implement a Binary search tree in Java (only insert and find) and then should be able to display the tree. This is the code I've come up with so far. But I get the nullpointer exception. I am getting this because the two pointers in my node, …

Software Development java
Member Avatar for TheGathering
0
325
Member Avatar for Narue

Let's pretend that I'm interviewing you for a C++ job. I want to know how you[1] approach problems and the extent of your C++ prowess, so I'm going to ask you to solve short problems in C++[2]. These problems range from beginner to advanced, and may be more than they …

Software Development c++
Member Avatar for Bench
0
498
Member Avatar for ritesh_bhagat

I am able to calcualte depreciation for 1yr only but when i enter that programming in Loop but that fails and print the final total for no. of years enter by user.

Software Development c
Member Avatar for ritesh_bhagat
0
80
Member Avatar for vemanamar

Dear Guys, I want somebody to explain this behaviour. I am using devC++ IDE and I had problem with the following code snippet. I rectified it, but i need to know the correct answer why its solved?. I declared a temporary character pointer (tmp) in main and used it directly …

Software Development c ide
Member Avatar for Salem
0
134
Member Avatar for paodzy
Member Avatar for debasisdas
0
838
Member Avatar for SHWOO

The copyList function here is not working working. Anyone have any ideas? // header file [CODE] #ifndef H_orderedLinkedList #define H_orderedLinkedList #include <list> #include <iostream> using namespace std; struct coordinates { int xValue; //variable to hold x coordinate int yValue; //variable to hold y coordinate }; struct node { coordinates info; …

Software Development c++ file-stream linked-list
Member Avatar for Ancient Dragon
0
107
Member Avatar for eeeraser

Hi... In MS-DOS, how could I hide the text cursor NOT the mouse cursor?.. Thanks..

Software Development assembly
Member Avatar for schwepZ
0
1K
Member Avatar for mc8888

any 1 can help put on this..?i cant determine who is the winner when 3 x or 3 0 meet.. /* Tic-Tac-Toe This program will allow 2 players to play a game of tic-tac-toe. Input: Interactive keyboard input from the players. Output: The tic-tac-toe board */ #include <iostream> #include <iomanip> …

Software Development c++
Member Avatar for Salem
0
117
Member Avatar for suriname0

I have a current (non-school) project that requires me to update text-files online. (Or at least store data.) I think I need to write a servlet, but am not sure how, and I don't have a good source to teach me. (I tried Applets, but those can't read and write.) …

Software Development java
Member Avatar for peter_budo
0
139
Member Avatar for nmm32

I already configured the Tomcat to run CGI, following some steps from several tutorials, but I do not know what is happening that I cannot run any Perl CGI. [B]The browser just tries to download the code file, it is not showing the compiled output.[/B] I have this simple page …

Software Development api java-jsp perl web-browser web-server
Member Avatar for nmm32
0
207
Member Avatar for coool

hey guys.. using C language, how can I ask the user to enter a positive integer in only these forms --> binary, octal, decimal, or hexadecimal then save it in a charachter array ! then I ask the use what's the base of this positive number.. and from here I …

Software Development c
Member Avatar for Salem
0
115
Member Avatar for kky2k

I am planning to develop a windows application based on XML in C programming..So i need some good reference links regarding which parser to use?and tutorials for those parsers?..also any special preparation is needed in C to achieve this?..Just to mention i am very good in C and a Learner …

Software Development c c# c++ xml
Member Avatar for kky2k
0
102
Member Avatar for vaibhavbhardwaj

i wanaa make games in c++ plz give me some advice on how to proceed eg:- i want to make tic tac toe but ant make out the logic plz tell me how to proceed

Software Development c++
Member Avatar for vaibhavbhardwaj
0
98
Member Avatar for mhdie

Administrator:500:0,9C,00,38,D2,8B,22,45,BB,AA,D3,B4,35,B5,14,04,EE: _1B,BE,CD,C3,3D,E1,EF,4B,21,A7,9C,CA,20,72,48,82,08410::: all i know is that my administarator password is hidden within. if someone can tell me what type of coding it is and if their is a way to decypher it, it would be greatly apreshated. thanks miles

Software Development
Member Avatar for ProgrammersTalk
0
197
Member Avatar for jaz854

Hello Guys, I am getting this error message and I can't figure out why. can somebody please help. below is the code. Private Sub btnLogin_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles btnLogin.Click Dim sql = "SELECT Username,Password FROM Password WHERE Username = "" & txtUsername.Text & "" AND …

Software Development vb.net
Member Avatar for jaz854
0
186
Member Avatar for lasherz2

How do i generate one data report fom multple tables.I have four tables each with a primary key.I require a master report for this data in this tables.Anyone know how to do it?Am using vb6 and access.Thanx

Software Development visual-basic
Member Avatar for jireh
0
277
Member Avatar for koolsid

I didn't find creating login screens and saving the data in access database difficult... However, I was wondering if there is any other way we could do that, i mean saving the username and passwords in any other file rather than a database and encrypting the same... Rgds Sidz [email]hotsid_rout@yahoo.com[/email]

Software Development email visual-basic
Member Avatar for jireh
0
210
Member Avatar for M1A1

------ Build started: Project: Login Server, Configuration: Debug Win32 ------ Compiling... isc_server.cpp login_client.cpp login_server.cpp main.cpp base_client.cpp base_server.cpp base_socket.cpp crypt.cpp crypt_server.cpp globals.cpp logging.cpp thread_manager.cpp Generating Code... Linking... LINK : fatal error LNK1104: cannot open file 'libboost_thread-vc80-mt-gd-1_34.lib' Build log was saved at "file://c:\Documents and Settings\Matt\Desktop\eROSE2\Login Server\Debug\BuildLog.htm" Login Server - 1 error(s), 0 …

Software Development c++
Member Avatar for M1A1
0
120
Member Avatar for wonder87

Hello!As a newbie programmer I don't know how to freeze my command line output,when I execute a C program,in order to see the output.Output opens and closes very fast.The trick I know from Pascal to put a 'Readln' statement as a last line doesn't work(with a 'scanf' or something like …

Software Development c pascal
Member Avatar for Aia
0
124
Member Avatar for Akilah712

Hi, I am working on a program for an assignment. It is to find all the anagrams contained in an input file. I have read the file into a vector. Next I created a 2D array that contains the orginal words from the file in 1 column and the signatures …

Software Development c++
Member Avatar for iamthwee
0
184
Member Avatar for schwepZ

i have programmed in assembly for 3 years and have used a86.COM compiler. i like programming DOS programs. i can see that the assembly code has a little different structure that you all are talking about here. i know it's bacause of the compiler. So is it good compiler that …

Software Development assembly
Member Avatar for schwepZ
0
206
Member Avatar for no1zson

I have just been using a standard String to input and return information. I am trying to impliment an Array in to this inventory program so that I can store and view more than one item at a time. I think I have done ok until I get to the …

Software Development java
Member Avatar for Ezzaral
0
216
Member Avatar for Hamrick

Is there a way to pass a function template to another function? I tried this but it doesn't work. [code=cplusplus] template <typename T> void template_function( T arg ) { } void function( template <typename T> void (*func)( T arg ) ) { } [/code] How can I pass a function …

Software Development c++
Member Avatar for vijayan121
0
331
Member Avatar for kahaj

I can't figure out how to clear the text boxes in this program when the Enter button is clicked. Here is what I have... [CODE]Public Class AccountInformationForm Private Sub enterButton_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles enterButton.Click balanceLabel.Text = Val(balanceLabel.Text) - Val(withdrawalTextBox.Text) _ + Val(depositTextBox.Text) End Sub End …

Software Development vb.net
Member Avatar for potatochips
0
106
Member Avatar for hitesh_mathpal

how can we pass variable arguments in any function of C?

Software Development c
Member Avatar for TkTkorrovi
0
205
Member Avatar for JulieMHill

Hello! I am a semi-beginner in XML, and I am trying to develop a photo directorate for my company. The only problem is that I have to do everything by hand, so though I have no problem getting data from my XSL to my XML, I have not yet been …

Software Development hard-drive xml
Member Avatar for JulieMHill
0
134
Member Avatar for go939

when i compiled my c++ code in linux platform (ubuntu), i got an error regarding with an array. the error states: array must be initialized with a brace-enclosed initializer. //source error long long byParam[2] = ""; can anybody show me a solution on my error...thanks

Software Development c++ ubuntu
Member Avatar for Bench
0
132
Member Avatar for ankitrastogi82

Is having static virtual functions possible in C++ ? I know its not as compiler throws an error but I am eager to know why? the one reason I can think of (please validate) "Virtual Functions are related to the object i,e calling a right functon on right object where …

Software Development c++
Member Avatar for Narue
0
1K
Member Avatar for smiles

... and if it similar to your preset string of keys, then notice you "right typing", else "wrong typing" I do searching and changing to have these codes, do you think about any problems with these codes (I hear that if another control belong to this form get focus then …

Software Development visual-basic
Member Avatar for smiles
0
189
Member Avatar for ftom2

Hi, i'm trying to use cygcurl-2.dll, i downloaded a simple example from curl site bur i'm not able to compile it properly. the example is this: [code] #include <stdio.h> #include <curl/curl.h> int main(void) { CURL *curl; CURLcode res; curl = curl_easy_init(); if(curl) { /* First set the URL that is …

Software Development c++
Member Avatar for ftom2
0
165
Member Avatar for quintoncoert

Can someone please tell me what is wrong with the following code or if it is even legal? I am trying to access the text in a multitude of textboxes without having to go to each textbox manually. so i named them all similar enough. their names are all variations …

Software Development legal
Member Avatar for quintoncoert
0
122
Member Avatar for ahmed elweshahy

[TEX] hi every one i have problem in database if i want to create 7 tables by DAO liberary the name of the tables are : vn,itm,ctm,vst,sal,vnd & tin i have created tables as : Set db = CreateDatabase("WORKS.MDB", dbLangGeneral) db.Execute "CREATE TABLE vn(vn_nm text (30),vn_add text (100),vn_bo text (30),vn_tel …

Software Development visual-basic
Member Avatar for QVeen72
0
202
Member Avatar for tunday

Hi. I have developed PHP scripts (both server and client) and a SOAP/wsdl that work as expected. However, I would like to build the client side using Borland's C++ Builder 2006. This program will still access the web service using the wsdl while the server side script remains written in …

Software Development apache c++ client-server web-server
Member Avatar for tunday
0
436
Member Avatar for satish.paluvai

can we run a run() method with out using a start() method in a program? public class A extends Thread { public void run() { System.out.println(" i will execute any way"); } public static void main(string args[]) { A a=new A(); a.run(); // no start method } }

Software Development java
Member Avatar for ProgrammersTalk
0
133
Member Avatar for gowri_itech

I need to place two columns within a single combo box. But in VB, I found that we can place more than one column in list box by using columns property. I dont know how to place more than one column in combo box. Please help me on this.

Software Development visual-basic
Member Avatar for gowri_itech
0
1K
Member Avatar for sadaka

Hello everyone, In this post it might not be as interesting. I created a "while" loop with the purpose of continual runtime of the application until it closes. However, I came to a conundrum. In this "while" loop- [code] 01: while(true) 02: { 03: if(PeekMessage(&msg, NULL, 0,0, PM_REMOVE)) 04: { …

Software Development c++
Member Avatar for ProgrammersTalk
0
164
Member Avatar for no1zson

Massive thunderstorm here right now, I am trying to get off before I lose power. I have an array that is accepting inventory input from the user. The value of each product is figured as it is entered, simple instock number muliplied by the product value. I simply want to …

Software Development java
Member Avatar for no1zson
0
156
Member Avatar for phalaris_trip

Hi everyone, I've been googling this for a long time, and most of the hits are about keyboard shortcuts in the actual IDE... it's so annoying.. :( I'm working on a pretty big VS project (about 20 source files).. I have to add some keyboard functionality to it... simple stuff …

Software Development c++ ide
Member Avatar for phalaris_trip
0
229
Member Avatar for M1A1

fatal error C1083: Cannot open include file: 'mysql.h': No such file or directory I'm using Vc++ pro. I have installed MySql and set the include directory C:\Program Files\MySQL\include\ in my project directory, that include folder does have mysql.h so I can't figure this out, anyone got an idea?

Software Development c++
Member Avatar for Salem
0
89
Member Avatar for baltazar

How do I implement a red-black tree in java. I am new to Java and have no clue how to proceed. I need to be able to print out the tree as well. Can someone help?!!

Software Development java
Member Avatar for mzd12111
0
252
Member Avatar for mzd12111

[COLOR=green][B]Hi friends[/B][/COLOR] i'm trying to write my own language in a file (using RandomAccessFile and sometimes fileOutputStream classes of API) but i can't use Farsi in these files , beacuse they are not unicode and instead of characters , the Elements of them are Bytes , what do you suggest …

Software Development api java
Member Avatar for mzd12111
0
98
Member Avatar for tiyagu_vpm
Member Avatar for jwenting
0
90
Member Avatar for PAPANUKU

I am a construction man but very interested in computers. I want to learn the C# but have no idea where to start. whether i have to get a software or just start with notepad. I enrolled on a course but for 4months now i have not even receive a …

Software Development
Member Avatar for ProgrammersTalk
0
109
Member Avatar for DinoBod

Ok I have a bug that is very hard to pinpoint. Upon Compilation I get Compiling... Forkin.cpp \vc98\include\xlocale(467) : error C2059: syntax error : 'end of file' ForkLift.cpp MainWnd.cpp \vc98\include\xlocale(467) : error C2059: syntax error : 'end of file' Mat4f.cpp Generating Code... Error executing cl.exe. Forkin.exe - 2 error(s), 0 …

Software Development c++
Member Avatar for Killer_Typo
0
435
Member Avatar for Fred1306

can you help me plz in these 2 assignments: assignment1: Create a new string ADT (using a dynamic array). The data members of the String class are a pointer to the start of your string and an integer representing the length of that string. The following methods should be provided: …

Software Development c++ data-structure
Member Avatar for Bench
0
204
Member Avatar for tiyagu_vpm

hi guys i wnt the procedure end idea in c projects.if u know any topic please demonstrate it

Software Development c
Member Avatar for TkTkorrovi
0
73
Member Avatar for jopal

hi hall, haw can i create a netbeans projects windows like tree in java? tanks.

Software Development java java-netbeans
Member Avatar for jopal
0
127
Member Avatar for petzoldt01

Hello, First of all, I am new to c++, but have experience in PHP. I am currently working on a little educational program for myself and a group of friends. I use linux all the time, but my friends tend to use windows. i would like to add a graphical …

Software Development c++
Member Avatar for petzoldt01
0
134
Member Avatar for rpjanaka

i am using ubuntu and i have never use "make files" with C but i want to study an open source video codec called "Theora". so i guess that first of all i have to understand the dependencies of the project, but i cant understand their make file. also it …

Software Development c open-source ubuntu video
Member Avatar for TkTkorrovi
0
122

The End.