43,549 Solved Topics
Remove Filter ![]() | |
Hey, I just want to start using mfc to create windows objects, i have never tried coding using the mfc and opening the tutorial page on microsoft's msdn is the slowest thing that can happen around here. so i will like someone to quickly give me a hint on how … Software Development c++ | |
hello guys, i really need help....i have a transaction table in ms access N i want to retrieve last 10 transaction from the table from my vb form...how am i suppose to do it???i used the folloing code but it is displaying all transactions of a specific account number. N … Software Development dataset microsoft-access open-source vb.net | |
hey..would anyone help me with my code. the program is supposed to get telephone starting and ending times from a file from the user then outputs the total duration and calculates the cost. my program does all this but it is giving me a problem in finding the total cost … Software Development c++ | |
I want to open a text file in a c program which is on desktop.How can I print the texts written in the file on screen.Please help [B]Regards Prashant[/B] Software Development c file-system | |
Hi all, I want to find the end of file in a CFile. What I've do up to now is, find the length of the file in bytes. Then do the required process with the number of bytes. Here is the code, [CODE=C++] int length = 0 ; CString str … Software Development c++ | |
Hello I am a newbie in java so now i just write codes with dialogs and JOptionPane .. like this so it's easy codes. So i want to write a program like this; Application will use only Dialog Boxes. Frames are not allowed to use. Application should ask eight questions … Software Development gui ide java java-netbeans | |
![]() | [CODE]void hexad(int i) { int j=0; int x=0; int chii=0; while(x<8) { second2[x]=' '; second1[x]=' '; x++; } switch(codesum) { case 744 : while(i<12 && temp[i]!='\0') { second2[j]=temp[i]; i++; j++; } strcpy(second1,"CE "); break; case 410 : while(i<12 && temp[i]!='\0') { second2[j]=temp[i]; i++; j++; } chii=second2[0]; switch(chii) { 'A' : … Software Development c++ ![]() |
Hey guys, I am trying to take chars from a file, and place them into 2 different dynamically allocated arrays. An example of the file would be name:John Doe&id:1448&phone:98765 One array stores name, id, and phone, and another should store each value. I have gone ahead and taken the string … Software Development c++ | |
Why does the code below stop executing after displaying all the numbers stored in an array? [CODE]//this will let the user enter 10 values and //store them into an array. After that //sort it out and cout the largest and the smallest number entered #include <iostream> using namespace std; int … Software Development c++ | |
I think I've been up too long at this stage.. I think this is a really stupid question: How do I declare all my objects from main() ? I have an object 'sun' of the class 'CPlanet' and within that class there is an instance of the class 'CAnimation'. But … Software Development c++ | |
All of a sudden I'm getting this error message in vb 5.0: Run- time error '3027' Can't Update Database or object is read-only. Can anyone help me with this? Thanks Software Development visual-basic | |
i am new to VB.Net. I have an assignment to submit next week that is on the 5 november 2007, and am having some problem in creating my program. Can you please help? i want to limit my MDI to open only one specific form at a time. like for … Software Development vb.net | |
I am trying to learn Python by converting my C++ homework to Python. Below I am converting a Cobol file of employees to a comma delimited file. from: 00001JAMES ADAMSON 010104000014550324201021500067500040010011593 to: ID#,Last,First,Territory#,Office#,Salary,SSN,Department#,JobClass 00001,ADAMSON,JAMES,01,01,40000.00,145503242,01,02 I want to use EOF as my while loop control but I am getting a syntax … Software Development python | |
...kindly help me with this..........my code doesn't work.... ...create a program that will ask questions and at the end of the session it will display the total number of correct answers and the equivalent grade.... ...thanks..... import javax.swing.JOptionPane; public class questions { public static void main(String[] args) { int score=0; … Software Development display java java-swing session | |
[code] unsigned long nBolum = 0L; unsigned long nKalan = 0L; unsigned long ulA = 0L; unsigned long ulB = 0L; ... printf("ulA=%u\n",ulA); printf("ulB=%u\n",ulB); nBolum = (unsigned long) ulA/ulB; nKalan = (unsigned long) ulA%ulB; printf("nBolum = %u\n",nBolum); printf("nKalan = %u\n",nKalan); printf("HVFE.c exiting\n"); exit(1); [/code] it prints : [code] ulA=2607503366 ulB=16777215 … Software Development c | |
i have made a menu driven program for selection sort, bubble sort and insertion sort.. the first two are working correctly but despite writing the correct code (according to me, i have checked my code many times) the insertion sort is not giving the desired output.. here's my piece of … Software Development c++ | |
Hi, I'm terribly new at java, i created a program for a poster availability system and there are 8 errors that I have no idea how to resolve. The program is meant only to run at the command prompt. The errors are: C:\Project\Enrol.java:46: cannot find symbol symbol : method getID() … Software Development java | |
• Create a non-GUI based Java application that calculates weekly pay for an employee. The application should display text that requests the user input the name of the employee, the hourly rate, and the number of hours worked for that week. The application should then print out the name of … | |
I have a Generic List that I populated in one class, I want to return this List to the main form. Is this possible? In other words I want to pass a Generic List from one class to another, how would I do this? Software Development vb.net ![]() | |
Hi, I am very new to Python, I know how to write a basic program, but i know nothing about drawing graphs. I need to write a program to test a random number generator by putting dots on a coordinate graph. Can someone tell me how to make a coordinate … Software Development python | |
Hi All. I've got a small App (VB.Net) that adds Files and Folders to a List and then uses a Do.. ..While Loop to copy each item in the list to a new Directory (not unlike a backup program). I thought it would be good to add a ProgressBar to … Software Development vb.net | |
hello anybody know how can i make a search button?? im having a problem on the syntax or coding i need, i mean, for example if i put a word on a textbox(txtUN), then i click on the cmdbutton(cmdSearch) it will retrieve all info about the data that is been … Software Development visual-basic | |
Hello EVeryone... I really need some help with this problem... A certain CS professor gives 100 - point quiz graded on scale 90 - 100:A 80 - 89:B 70- 79: C , 60 - 60:D <60 :F I need to write a program that eccepts an exam score as input … Software Development python | |
I am trying to use fairly simple C++ code to complete this problem: The user will input a number of the Fibonacci series, and through a function called whichfib(), the program will then output the number using long double data type. I have gotten the code to work until the … Software Development c++ | |
In my Java class, we have to randomly create basketball teams and random scores, then average the scores for each team, and average the scores for each game. I am not sure how to average the score for each game, meaning adding scores vertically in a vector versus adding scores … Software Development java | |
why am i not able to pass two values between pages in first page for submit_btn.click() [COLOR=#0000ff]Dim[/COLOR] url [COLOR=#0000ff]As[/COLOR] [COLOR=#0000ff]String [/COLOR]url = [COLOR=#800000]"Project.aspx?" [/COLOR]url &= [COLOR=#800000]"id="[/COLOR] & id_txt.Text & [COLOR=#800000]"" [/COLOR]url &= [COLOR=#800000]"age="[/COLOR] & age_txt.Text & [COLOR=#800000]"" [/COLOR]Response.Redirect(url) ---------------------------- In second page called Project.aspx: sub page_load() txtid.Text = [COLOR=#800000]"id:"[/COLOR] & … Software Development vb.net | |
case 'q' : case 'Q' : cout << "Computing your totals" << endl; break; default : cout << "Invalid choice!"; } } /* This is where it should break out of but it is not */ // while (choice != 'Q' || choice != 'q'); - this is what I … Software Development c++ | |
Good day folks. I have a simple question anout structs. Say for example i have the following: [CODE] struct foodmenu { char letter; string food; double cost; }; [/CODE] We just started a look at struct and it's really not too clear. So with regards to my example above...how does … | |
Whats going on is an address book. There is a search function in the program that takes in a string for the phone number. The file is read and if the string exist, it file is reread and the characters infront of it are sent to output.... basically showing who … Software Development c++ | |
Hi, I am currently studying programing, and have become some what stumped with Visual studio 2003. I have written a number of application using the console, however currently i am trying to clear of text that has already been written to the console.....but can not find any command or code … Software Development c c# c++ visual-studio | |
hello guyz iv got problem with [COLOR=#0000ff]void[/COLOR] pointers i cant work [COLOR=#0000ff]this[/COLOR] out ! i[COLOR=#800000]'m trying to read from a binary file using a struct and pass this struct arrays to class object and push them to stack and display them on screen while poping them out ! [/COLOR]but the … Software Development c++ | |
Credit card(parent)Debitcard(child). At the file menu if you choose "credit"+"new Account" the parent works fine. At the file menu if you choose "debit"+"new Account" the child does not work. I am haveing trouble creating a new object which is the debit class which uses its super (credit class) Can any … Software Development gui java java-swing | |
How many tables we can create in a single MS Access database ? I m going for a multiuser project . I dont know how many tables I will have to make. Software Development visual-basic | |
Here is my code, it works when I leave away the line in bold, I can't figure out what's wrong with my line in bold, I've been checking my database so many times already, can you help me [QUOTE]With gridMieter .Cols = 5 .TextMatrix(0, 0) = "Frist_id" .TextMatrix(0, 1) = … Software Development sql visual-basic | |
I have a class called Person. I also have a class called Truck, inherited from class Vehicle. I want to overload the iostream operators for all three classes so that I can do statements such as: Person a ; Vehicle b ; Truck c ; cin >> a ; cin … Software Development c++ | |
Everything I read says that the academic edition should have "edit and continue" but when I try to enable it with the following instructions right from the HELP, [INDENT]To access the Edit and Continue page, click the Tools menu and select Options. In the Options dialog box, expand the Debugging … Software Development vb.net | |
All functions compile except the max function where i am trying to get it to find the maximum number in the matrix. The error message says overloaded function with no contextual type information Please tell me why. [code] #include <iomanip> #include <iostream> using namespace std; const int ROW = 3; … Software Development c++ | |
Hi all I am a noob to C++ and I want to make a program that copies a file from wherever previously specified to the location of where the program is running from, I looked on google but I cant find anything I can understand can somebody please point me … Software Development c++ | |
need help with the GUI of my program... i want it to be like this: [URL=http://img256.imageshack.us/my.php?image=faceeq9.jpg][IMG]http://img256.imageshack.us/img256/8919/faceeq9.th.jpg[/IMG][/URL] but this is what it shows.. hehe [URL=http://img440.imageshack.us/my.php?image=caym9.jpg][IMG]http://img440.imageshack.us/img440/8486/caym9.th.jpg[/IMG][/URL] im having a hard time with the GridLayout coz i think ie. GridLayout 3,4 doesnt appear to be 3,4.. thankss... [CODE]import java.awt.*; import java.awt.event.*; public class … | |
Hi all, Just wondering if you could help me out here. bought a copy of c++ for dummies today and the first program in the book converts fahrenheit to celsius. Now I have some C and Java experience (I am a recent graduate of a software design degree) but have … Software Development c c# c++ user-interface ![]() | |
I am writing a program where I need to capitalize the first letter of each word in a text file. Example of information in the text file would be: this is the first line this is the second line this is the third line I have written a code that … Software Development vb.net ![]() | |
hi, i just want to get some opinions on a queues homework project. i haven't written any code yet, but just want to know if it is possible to create an array[16] items and then that each item has an array[1][3], i have to work independently with each item of … Software Development java | |
my intro to comp science teacher gave me an assignment to: 1) enter two different dates with the use of stucts 2) use a swap function to arrange each date in order from earliest to latest 3) use functions to calculate the number of days between the two dates 4) … Software Development c++ | |
Good day. My infile contains the following: [CODE] TFFTFFTFFTFFTFTFTFTFFF A33 TFFTFFTFFFFFTFTFTFFFFT Z27 TFFTFFTFFTFFTFTFTFTFFT X12 TFTT FTFFTFFFT FTFTFFF H44 TFFTFFTFFTFFFFTFTFFTFF Q19 FFFFFFFFFFFFTFTFTFFFFF D72 TFFTFFTFFTFF FFFFFTFFF W32 FFFTFFTFFTFFTFTFTFFTTT Y09 TFFTFFTFFTFFTFFTTFFTTT S44 TFFTFFTFFTFFTFTFTFTFFF G11 FFTFFTFFTFFTFTFTTFTFFF J21 TFFTFFFFFTFFTFTFTFTFTT K61 TFFTFFTFFTFFTFTFTFTFT M03 TFFTFFTFFFFFTFTFTFTFFT P24 TFFTFFTFFTFFTFTFTFFFFT N54 FTFFTFFTFT TFF FTFTFFF F33 TFFTFFTFFTFFTFTFTFTFFF Z21 TFFTFFFTTFTTFFTFTFTFTF V39 TFFFTTFTTFTTFTFTFTTFFF … | |
Hi Guys, I am a newbie and need some help. Is it possible to extend the message box functions to include buton "Yes to all and "no to all" in vb6 Kind regards Software Development visual-basic | |
excuse my ignorance, cant find it here in the forum. how do i strip the "|" or the pipe character from a line. i tried this. it splits but doesnt remove the "|" character. output = string.strip (line, '|') # strip the pipe character print output.split() # split output and … Software Development python | |
Hi all, Have a question regarding an assignment. In a previous assignment we had to implement a program that allows us to enter a system of connected caves within an underground labyrinth. How this is implemented shouldn't matter for this next assignment though. In this assignment, we have to use … Software Development c++ | |
I'm getting an error in main() saying TitledEmployee is an undeclared identifier? [code=c++]#include <iostream> #include <string> using namespace std ; namespace Employees { class Employee { public: Employee ( ) ; Employee ( string theName , string theSsn ) ; string getName ( ) const ; string getSsn ( ) … Software Development c++ | |
is the syntax used below is correct? [code=cplusplus] class zz { private : string s; //constructor private: friend zz operator-(zz z); //assume definition of operator<< }; //constructor //operator<< zz operator-(zz z) { string s; s=z.s+"hello"; return zz(s); } int main() { zz a("fsd"); cout<<(-a); } [/code] i am new to … Software Development c++ | |
Hi all, I'm learning Serialization in JAVA . I learned that [B]"an array object is serializable as long as the things in the array are serilizable"[/B] . [COLOR=Green] I just need a clarification on that statement[/COLOR] . To understand that concept I myself coined a simple program . Here it's … Software Development java |
The End.