132,726 Archived Topics
Remove Filter ![]() | |
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 | |
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++ | |
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++ | |
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++ | |
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 … | |
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 … | |
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++ | |
[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++ | |
[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 | |
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++ | |
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 … | |
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 … | |
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 | |
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++ | |
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 | |
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 … | |
[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 | |
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 | |
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 | |
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 … | |
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 | |
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++ | |
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 | |
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++ | |
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? … | |
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 | |
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 … | |
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 … | |
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++ | |
[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++ | |
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 ] … | |
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 | |
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 | |
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 | |
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 | |
Hi , Pls. give me sample code for the function drag & drop in VB Software Development visual-basic | |
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 … | |
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++ | |
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 | |
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! | |
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++ | |
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 | |
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 … | |
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 | |
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()) { … | |
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++ |
The End.