132,726 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for sibotho

Hi All I have a dropdownlist in one page, now I want to display the contents of that dropdownlist in a different page, can someone help me with this. Thanks in advance

Software Development
Member Avatar for pygmalion
0
95
Member Avatar for ashkash

I need to write a program in MIPS that will find the saddle points of a 4x4 matrix. It will print the value of the saddle points and if there is no saddle points it will print a message that says so. A saddle point is a value which is …

Software Development assembly
Member Avatar for andor
0
147
Member Avatar for nkhosinathie

hello everyone. i'm calculating certain 100 people that have completed a questionnaire and my program has to dertermine the number of males between20-30 and their highest grade which is grade 12,also the program has to determine the number of people above 32 and their highest grade which is tertiary as …

Software Development c++
Member Avatar for nkhosinathie
0
113
Member Avatar for somita1

if anybody wantt to help plz give me email that i can ask my problem with detail for solving

Software Development c email
Member Avatar for WaltP
0
129
Member Avatar for Mac.Z

Hi everyone, Sorry for the long title! What I want to know is whether it's possible to convert specified elements of array of char to int using some fuction ? let's say we have char x[10], x[0] = '9', x[1] = '2' so I want to have 92 in a …

Software Development c++
Member Avatar for WaltP
0
84
Member Avatar for ghadahelal

is there is any fun in the c++ library that takes a dec and return hex

Software Development c++
Member Avatar for WaltP
0
219
Member Avatar for sInFuL69er

Hello, iam having trouble with reading a text file that contains , [ ] eg. 3715,4[9] 4356,3[7,3] [code] char c; int events[12][12];//[row][col] ifstream infile; infile.open("test.txt"); while (!infile.eof()) { for(int j=0;j<12;j++) { for(int k=0; k<12;k++) { if(c!=']') { infile >> events[j][k]; infile.get(c); } else events[j][k] = -1; } } infile.get(c); } …

Software Development c++
Member Avatar for WaltP
0
100
Member Avatar for mathgirl

I am trying to write a program that will prompt the user for six grades to be entered (one at a time), read in each grade entered by the user, and store them in an array of six elements. Grades should be on a 0 to 4.0 (inclusive) scale, and …

Software Development c++ ios
Member Avatar for ndeniche
0
116
Member Avatar for rockthrower

Hello, I am trying to read data from a text file in the following format: 05 mike smith 30.00 2 1 so the format is: int, character[21] = max size of array, double, int, int I am trying to read the values into an array of objects. I can read …

Software Development c c# c++
Member Avatar for WaltP
0
245
Member Avatar for squinx22

Hi gud day! Anybody who knows how to save a file to [U]/usr/include[/U] in the terminal? Suppose I will save a file named hello.h to the said directory, what would I do in the terminal? thank you very much....

Software Development c++
Member Avatar for ndeniche
0
94
Member Avatar for Covinus

[code] a=(char*) malloc(sizeof(15)); b= bmfh.bfType; sprintf(a, "bfType: %d", b); TextOut (hdc, 0, 0,a , strlen(a)) ; delete[] a; a=(char*) malloc(sizeof(15)); b=bmih.biBitCount; sprintf(a, "bitCount: %d", b); TextOut (hdc, 0, 20,a , strlen(a)) ; [/code] is it necessary to leave the a undeleted when i gave it another value or i should …

Software Development c++
Member Avatar for Covinus
0
122
Member Avatar for therwi

[COLOR=#000000]Your assignment is to write an assembly program that takes a series of characters from the keyboard until a '$' character is entered. These characters must be saved in a stack. Then the program is to print all these characters backwards.[/COLOR]

Software Development assembly
Member Avatar for qrius
0
122
Member Avatar for Covinus

what is the equivalent of javas repaint() method to win32s? i was now able to load a bitmap into a window but sadly you have to minimize or maximes the window before the bmp appears. any suggestions how to solve this one?? any help with be greatly appreciated.. thanks

Software Development c++
Member Avatar for Covinus
0
76
Member Avatar for LyddieFrog

I'm currently writing a program that acts as an application for a store manager, sorting, searching, reading in, etc. products. This program has two classes: one to handle the GUI and another to handle the actual calculations. I am completely done coding this, save for one requirement: I need to …

Software Development gui java
Member Avatar for LyddieFrog
0
154
Member Avatar for ghadahelal

hi all, i have a caputure file ( *.cap) i open it in binary mode , now i nead 2 make an outfile , also *.cap i gave the outfile 2 my prog. out.cap, it works and i became no errors, but when i tried 2 open it , it …

Software Development c++ ios
Member Avatar for ghadahelal
0
110
Member Avatar for Rikardsen02754

Need help with a program that represents names The rubric is found here: [URL]ftp://ftp.aw.com/cseng/authors/lewis/jss3/HTML_Labs/ch4/Names.html[/URL] this is what I have done right now, but my lab partner and I are STUCK, any help we receive would be appreciated [code=language] // **************************************************************** // Name.java // **************************************************************** import cs1.Keyboard; public class Name { …

Software Development java
Member Avatar for peter_budo
0
162
Member Avatar for MarzenaM

I have to write programm to sort numbers from in ascending order, using vector (C++ language) I did this using array, and it works perfect. Please could you help me replace array to vector. It's very urgent. :'( My code is: [code=c] #include <iostream> void fill_array(int a[], int size, int& …

Software Development c++
Member Avatar for Lerner
0
112
Member Avatar for Kees Baltus

Windows Explorer gives extended information of pictures such as Width, Height, Manufacturer, Cameramodel, Exposuretime, Picture made on, Date created, Date changed and so on. How to get access to these parameters in VB6.0? Thanks in advance Kees Baltus

Software Development visual-basic
Member Avatar for PVBert
0
124
Member Avatar for hbk619

Card game (again, or still). This one's got a GUI. Problem is, the draw and stick method need the total value that is made in start. So when call draw() or stick() from the actionPerformed method it needs a value or it won't compile [COLOR=red](stick(int) in game1 cannot be applied …

Software Development gui java
Member Avatar for hbk619
0
133
Member Avatar for gparadox

[code] TITLE Proj2 PAGE 56,90 ; I used your Lab05 as a template for this ; ---------------------------------------- ; ; ; This program will take a name entered by the user ; and display it backwards. It will also tell the ; user whether the word is a palindrome or not. …

Software Development assembly
Member Avatar for gparadox
0
154
Member Avatar for kissiwat

I've gotten myself a bit confused here. :'( I've created two linked lists called 'competitors' and 'races'. I'm able to add, append and display info in both files but unable to delete or update the information contained in either. I've started the coding for both functions but have got totally …

Software Development c
Member Avatar for Ancient Dragon
0
183
Member Avatar for isitintheback

No they're not mental. Well, maybe partially. It's 1:47am I'm tired as hell, but won't rest until I complete this. I know this is right in my face, and it's something stupid but I'm just not picking it up for some reason. Here's the code: [code] if(g1 == true){ total …

Software Development java
Member Avatar for isitintheback
0
172
Member Avatar for jk_bscomp

Gud day everyone........I just want to ask if anyone here knows how to compile java using the terminal in ubuntu if your sourcecode has many classes.. I tried already how to compile java in terminal using ubuntu like this one javac hworld.java and this command creates Begin.class(the name of the …

Software Development java ubuntu
Member Avatar for jwenting
0
99
Member Avatar for IwalkAlone

Q.Write a program to input data in an array.Compute the sum and average.Then count the number of values greater than the average and lesser than the average.Print the average,sum and the two counts. Solution I tried [CODE] #include<stdio.h> int main(void) { int X[10],i,lesser=0,greater=0,sum=0; float avg=0; for(i=0;i<10;i++) { printf("Enter number\n"); scanf("%d",&X[i]); …

Software Development c
Member Avatar for Salem
0
120
Member Avatar for Tauren

Greetings! I just have a question is the book C++ Programming Primer By D.S. Malik a book worth getting? What stage is it: Beginner, Professional What does it teach me up to: What the last topics in book Will I need more books after this regarding the topic? And is …

Software Development c++
Member Avatar for Narue
0
267
Member Avatar for static

Hi, I got this code from the internet and i compiled it. But i dont understand the result. Could u explain the result ? I cant figure out the output that shows 'classname@somenumbers' . thz [code=language] public class Andy { public static final Andy nd= new Andy(); private Andy() { …

Software Development java
Member Avatar for isitintheback
0
80
Member Avatar for somita1

for using file i must read file but file is text i read aword from any line but with see the space i find i read a word but program not accept "" such a spce and give err and for give next line wat i do?

Software Development c
Member Avatar for ithelp
0
75
Member Avatar for amitmistry_petl

Can any body help me ???? i face a critcal problem with [B]AtlWaitWithMessageLoop(hThread);[/B] will actually I don't know much about threading. but when I put my main thread in wait at that time workerthread will not able to post the message (SendMessage() ) to the Mainthread I know That it …

Software Development c++
Member Avatar for Ancient Dragon
0
319
Member Avatar for mstester

Hi all......another question for ya all :S Does anyone know of a way to monitor a change to a database, Basically I need to write some code for my app that can detect a change i.e. table x has been modified in someway or table y has been created etc? …

Software Development mysql vb.net
Member Avatar for SkinHead
0
175
Member Avatar for rinkuchoudhury

hi I am working in asp.net and vb.net I have to fill a report viewer from database without adding a .rdlc file I have to fill the report viewer from database and to show specific columns as per the requirement through coding can it be possible plz help

Software Development asp asp.net vb.net
0
253
Member Avatar for MarzenaM

Please help me with this problem! I am new with Delphi, and arrays I just can't understand I need to write program that contain the arrays for colours My first problem is to increment the colour count Those are my declarations procedure btnSelectClick(Sender: TObject); private { Private declarations } CountSelection …

Software Development delphi pascal
Member Avatar for MarzenaM
0
141
Member Avatar for Lapinbriac

My problem may be very simple. I want to use a Tkinter window to show informations to the user, so that he could enter his answers to the Python Shell. The problem is that when the Tkinter Window appears, the Python Shell will no longer receive any command before I …

Software Development python tkinter
Member Avatar for aot
0
189
Member Avatar for jaepi

hello there, in what way you can convert an integer to a char?? i'll use it to check if the user's input is a number, if it is a letter, it will allert him to try again and input a number...the integer will then be use for a 'for loop...thanks

Software Development c++
Member Avatar for WaltP
0
163
Member Avatar for MarzenaM

[B]Hi I need to create a void function to calculate area and circumfernce of triangle.[/B] [B]So far I did this:[/B] void area(int a, int b, int c ) { using namespace std; int area; int circ; int s; s = ((a + b + c)/2); if ((a + b > …

Software Development c++
Member Avatar for WaltP
0
255
Member Avatar for minigweek

I recently started dabbling with Visual C++ Express Edition 2005. Was stuck at the very onset! LOL! How to Create a console application using Visual C++ Express 2005 ?? I could create the project, included the files..did all.. build it nice and clean.. but how to run [ make ] …

Software Development c++ ide video
Member Avatar for minigweek
0
194
Member Avatar for npkinh

Hi All, When I deploy an VB.NET application to manage documents formatted following Microsoft Office such as MS Word, MS Excell... But I want to store them by database as MS SQL Server or MySQL. Please help me do that. Thanks, Kinh

Software Development microsoft-office vb.net
Member Avatar for npkinh
0
85
Member Avatar for ReeciePoo

Im using the MS HTML Object Reference to do this [CODE] <a href="stockmarket.phtml?type=buy&ticker=VPTS">VPTS</a><br> <a href="stockmarket.phtml?type=profile&company_id=126"><font size=1>(profile)</font></a> </td> <td align="center"> 9 </td> <td align="center"> 9 </td> <td align="center"> <font color="black"><b>0</b></font> </td> <td align="center"> 1,000</td> <td align="center"> 15,000 </td> <td align="center"> 9,000 </td> <td align="center"> <font color="red"><b><nobr>-40.00%</nobr></b></font> </td> [/CODE] Ok i need …

Software Development html-css visual-basic
Member Avatar for ReeciePoo
0
111
Member Avatar for Phreak

Hi guys, Can anyone tell me if there is a variable for .vbs files that will allow the code to find the llogged on user? Ill explain a little better... I have a code that copys files and folders to a network drive, however it only works when i am …

Software Development first-post visual-basic
Member Avatar for mcgyver201c
0
101
Member Avatar for laconstantine

I just was wondering why the array its self are a pointer to the first element? and what is the difference between an array and a pointer?

Software Development c
Member Avatar for newprog
0
237
Member Avatar for ivy

Hi , Pls. give me sample code for the function drag & drop in VB

Software Development visual-basic
Member Avatar for cybuster
0
178
Member Avatar for lukis

Hi there, i'm working on a project in which i'm creating, editing and deleting customer records from a MS access db. I'm using vb.net 2003. As with creating and deleting records i dont have any probelms. the problems arise when i come to update the data base if i edit …

Software Development dataset vb.net
Member Avatar for manal
0
102
Member Avatar for parthiban

Hi all, I tried one program to understand the concept of "Default Arguments" that program works prefectly in Dev C++ but not in Turbo C++ compiler(Ver 3.0). Here's my program [code]#include <iostream.h> #include <stdio.h> using namespace std; void justcall(char *c="Parthiban"); //char a[10]; //Global declaration needs for Turbo C++ Compiler void …

Software Development c++
Member Avatar for parthiban
0
119
Member Avatar for nemo240588

if i have a tedit object (edit1) and a button (button1) on a form and i set the focus to the tedit object, when the application is run, how do i get it to press the button when i press enter while still in the tedit object. i know it's …

Software Development pascal
Member Avatar for GoldenEye4ever
0
113
Member Avatar for Lapinbriac

Hello, I would like to save the drawings I have made on a Canvas with the Tkinter Module. Is it possible to make a .jpg or .gif or .bmp from a Tkinter window ? Thank you!

Software Development python tkinter
Member Avatar for vegaseat
0
164
Member Avatar for m3an

its part of a dvd program. i want all the objects created and manipulated by the program to be stored in a dynamic array that might grow during the execution of the program. I want to program to store the info in a dynamic array that i can call anywhere …

Software Development c++
Member Avatar for m3an
0
149
Member Avatar for lukis

Hi there, i need to create an array to save the location of labels on the form that are created at runtime. how can i do this please? thanks Luke

Software Development vb.net
Member Avatar for waynespangler
0
108
Member Avatar for bm90

Hello, Firstly, I would like to say i'm kinda new to programming, so this maybe just a simple error. But the fact is, its been troubling me for days now, and I can't seem to find out how to fix it Anyway, I am unable to run my program, The …

Software Development delphi pascal
Member Avatar for bm90
0
1K
Member Avatar for 2thestart

I am using the shell command to go out and access a wav file to play on my forum. i amd usig the code id = Shell("C:\Program Files\Replay AV 8\mplayer.exe /play /close g:boxw.wav", vbHide) i cannot stop playing the file at any point. any suggestions or comments would be great.

Software Development visual-basic
Member Avatar for 2thestart
0
74
Member Avatar for louis7370

why my program don't execute? [code=c] void Supplier::AddDetails() { char ch='y'; int end; fstream suppauto; suppauto.open("Supplier.txt",ios::app); suppauto.seekg(0,ios::end); while (ch=='y') { char s[12]; system("cls"); cout<< " Adding Supplier Details"<<endl; cout<<" ****************************************"<<endl<<endl; suppauto.seekg(0,ios::end); end=suppauto.tellg(); if (end==0) { suppauto.close(); strcpy(suppcode,"S0001"); } else { suppauto.close(); for(int i=0;i<6;i++) suppcode[i] = '\0'; fstream suppauto1("Supplier.txt",ios::in); while(!suppauto1.eof()) { …

Software Development c++ email ios
Member Avatar for Salem
0
138
Member Avatar for xaphan

help wid few things: -exit function -check if one wins -cannot enter in an occupied place... i would be thankful! [code=c]#include <iostream> #include <string> using namespace std; int main() { string a = "1"; string b = "2"; string c = "3"; string d = "4"; string e = "5"; …

Software Development c++
Member Avatar for Lerner
0
83

The End.