132,726 Archived Topics
Remove Filter ![]() | |
Hello, i needed suggestions regarding the book "Art of Computer Programming" by Donald E Knuth. im an undergraduate Computer Science student. i would like to know more about the book before i buy it. So, any reviews? Reviews as to how the Math in it is(i heard there are a … Software Development c | |
if any know about data structor I wana some help....? Software Development c++ | |
I have a program that lets me enter participants in a race, their startingnumber, their start time and end time. The program then tell me who won the race and the winning time. This is my program: [CODE] #include <iostream> using namespace std; int main () { int start_Nr, start_Hour, … Software Development c++ | |
I use: [ICODE]Integer.toBinaryString(number);[/ICODE] to get binary string. I want to get the sum of two binary number. how do i do? example: 0010 + 0011 = 0101! Thanks! smb help me please! Software Development java | |
Okay so I have a program that takes in up to 25 students and information for each including 5 test scores. All of that is done and working fine. What I am trying to do now is calculate the averages of each test 1-5 and then the total average of … Software Development c++ | |
Im making a simple program to for a bank (its a course exercise), but i want to know how do i save for example a costumer data like Strings...?... any suggestions, please and thank you.. Software Development java | |
Hello, I'm just learning C++ and I'm getting an error with a program that is driving me nuts, and I'm not exactly sure how to resolve it. Can anyone help me? [QUOTE] AreaCalculator.obj : error LNK2019: unresolved external symbol "double __cdecl AreaOfTriangle(double,double)" (?AreaOfTriangle@@YANNN@Z) referenced in function _main \\.psf\Home\Documents\Visual Studio 2008\Projects\AreaCalculator\Debug\AreaCalculator.exe … Software Development c++ visual-studio | |
I have several textboxes that are in tabs and would like them all to auto-scroll when text is added [B]without[/B] bringing them to focus. Is this possible? Software Development | |
I need a small tool to print a record layout with a row of data to proof the layout and data match. To that end, I am using a CSV to pick up a record, and a list to store the field names. What I want to do is to … Software Development python | |
I've managed to put together some code to retrieve data from a sql file. I plan to connect to a sql server that are operated by a database program, that update the registry every 10 sec. Before I try to connect my program to the sql database, I need to … | |
I wrote a little program a while back that changes windows a lot and I was wondering if there is a way to have one window open at the same spot the last window closed? | |
I've got to write a program where it replaces a letter with a dash and then asks the user to enter the letter that should be their. I've written a program and It works the first time around and then prints out two lines. Where have I gone wrong ?? … Software Development c | |
I have a struct as follows: [CODE]struct Database { int accountNum; double balance; int months; };[/CODE] I want to make a vector of this struct, because I want the size to vary. How do I do that? Thanks in advance Software Development c++ | |
I have a program that requires to reverse the name which is a string, here's the code... it's suppose to work, no errors found.... but "Run time error" [CODE] int i = fullName.length(); while (i>=0) { cout<<"Your reversed full Name is: "; cout<<fullName.substr(i-1, 1); i--; } [/CODE] thanks Software Development c++ | |
Hi everybody, I need some help doing a rfc 2617 basic HTTP authentication to call a web service in C#. I've been trying in many ways and I'm really stuck. Here's an example of my current code [CODE] string url = "http://somedomain.com/somegenericservice"; WebRequest myReq = WebRequest.Create(url); string username="****"; string password="****"; … Software Development | |
It's probably obvious that I'm more familiar with Python than C++... I was wondering if there's a convenient way of storing objects / miscellaneous STL structures on the hard drive for later importing and use in C++ in the same manner that Python does with the Pickle module. I know … Software Development c++ hard-drive python | |
For my Computer Science class, we are writing several different methods to reverse a singly linked list in Java. I cannot figure out the last way, which uses three helper methods, pointerToLast(Node n) which returns the tail node, nextToLast(Node n) which returns the second to last, and append(Node a, Node … Software Development data-science java linked-list | |
Hello Friends I want to pass a Double Dimension Array to a Function using Pointers... Right Now i am doing this.. [CODE] # include <stdio.h> void show(int *,int,int); int main() { int a[3][3]={1,2,3, 4,5,6, 7,8,9}; show(a[0],3,3); return(0); } void show(int *p,int row,int col) { int i,j; printf("\n\n\n"); for(i=0;i<row;i++) { for(j=0;j<col;j++) … Software Development c | |
Hello) Please tell me-how to set up automatic numbering of lines in Visual C# Express Edition (or maybe this feature is not there?) Thank you in advance) Software Development | |
Hello, I am new to Access and VB, but I have used C# and C++. I am trying to update a whole bunch of records in a table, only one field. For example [CODE] [Employees] [ EmpCode ] [ FirstN ] [ LastN ] [ 019871 ] [ John ] … Software Development microsoft-access sql visual-basic | |
Hello! Here's the problem: After making some GUI application (NetBeans) in output directory (containing generated .jar file) also appeared a directory 'lib' with additional .jar. This jar is some extra library with classes, which path is added in manifest ("Class-Path: lib/bla.jar"). So I've used to pack my applications always intto … Software Development gui java java-swing | |
Hello, all professionals I aim to create three scripts (one in Host, the other two in 2 different Guests) realizing server vs multi-clients communications. There is a file in my Host system, what I propose to do is transmitting lines in that file to different Guests. Following is the raw … Software Development python | |
Hi all!!! I have some problems with List comprehension in Python. How can I obtain these two nested list using comprehension? list1 = [[1,2,3],[4,5,6],[7,8,9]] list2 = [[1,0,0],[0,1,0],[0,0,1]] (identity matrix) where list1 and list2 are square matrix of 'n' size thank you in advance!!! Software Development python | |
Hi guys, I'm trying to learn the principles of artificial intelligence. I just finished coding up a belief net and a corresponding EM algorithm that learns the CPTs for latent nodes using training data (if you're unfamiliar with the lingo, you're probably going :eek: right now). While the program (written … Software Development algorithm machine-learning python | |
Can any one help me to convert this delphi code to C#. class function TShrinkConfig.MyVersion: WORD; var ini: TIniFile; begin ini := TIniFile.Create(gsIniFile); Result := ini.ReadInteger( SHRINK_INI_SETUP_SECTION, SHRINK_INI_MYVERSION, SHRINK_INI_VERSION_1); ini.Free; end; if (not ini.ValueExists(SHRINK_INI_VERSIONS_SECTION, IntToStr(version))) then .... I searched online that TiniFile corresponds to FileStream in C#. But i am … | |
i want to itterate through the vector and want to check if entered string is present in the string vector or not.. so please help me to know how can i do it i have done just as we do to itterate through vector<string>: vector<string>::iterator it; cout << "myvector contains:"; … Software Development c++ | |
I want to make an user defined STACK.But I have some problems with this following code. Please find what is worng. [CODE] #include <iostream> #include <conio.h> using namespace std; #define MAX 10 class stack { private: int arr[MAX]; int top; public: stack() { top=-1; } int m; void input() { … Software Development c++ | |
[COLOR="Red"][B]Quastion number 1:[/B][/COLOR] look i made a program with listView and i want that when i quit the program it will save the items that i put in the listView and when i will open the program again it will display the items. i tried it with 'Setting' in the … Software Development listview | |
Hi, I need some guidence or some tutorials which will teach me how to do , i am not sure is this the correct forum i am in. i need a way to upload any kind of file from the fileUpload control to MySQL server how can i do this, … | |
Hi, As part of porting a (mostly C++) library[1] to a "new" operating system[2], I'm trying to link the library's semaphore class to the platform's semaphore implementation. The problem is that the library assumes that the semaphore implementation will be a modern POSIX one[3] but the operating system's semaphores are … Software Development bsd c operating-system unix | |
Please give Free download links of Latest and Best C/C++ Compilers for Windows... | |
Hello, Can anyone suggest a GUI library that meets the following criteria? * Cross-Platform * Doesn't control the main loop * Not 100% object-oriented; similar to Xlib :) * Not many pointers please (like FLTK that every object is a pointer) * Free to use for closed source and open … Software Development c c# c++ gui open-source | |
I have a asm boot on a floppy disc and i want to show a c++ kernel (cuz c++ are easy). but how can i link it? I heared somethig about : extern _main call _main for asm. Can anyone help me? :'( | |
Hi Does any buddy help me to convert char* to std::wstring Software Development c++ | |
I need some help. I have a detailsview and it has several different fields in it. The fields I am having a problem with it the dropdownlist. I have two dropdownlist, one that is dependent on the other. That works fine. But now when I try to insert the selected … Software Development asp.net | |
I am using Visual C# When i open file from my database then an image is loaded in my program,and image source is given below [B][COLOR="Red"]map.Source = new BitmapImage(new Uri(filePath)); [/COLOR][/B]/// filepath is address of image from datebase and when replace it by another image. The new image is loaded … Software Development image open-source | |
This is probably very simple but i'm not seeing how to do it. My GUI for a project reads objects from a flat file (substitution for database) and puts each object as an item in a jComboBox. Then if the user wants to delete one of the objects, he selects … | |
i have written the following code, my 1st combo box getting the write data but when i have problem in the getting the data in 2nd combo box when i select from the 1st one....kindly help me....advance thnx for answering String obj =(String)jComboBox1.getSelectedItem(); res=stat.executeQuery("Select flight from main where Route="+obj); String … Software Development java java-swing | |
Hello Guys I am having problems with an assignment. I need to create a class to make a rectangle. Then I have to - Declare an object of the class (rect1) using the default constructor. Now prompt the user for a Width, Height and Character. Store the results in temporary … Software Development c++ | |
Hi everyone. I am developing a vb app which uses reg free com. How can I get the IDs of the DLL file to insert it into the manifest file I am creating also with vb. Is this possible? Software Development visual-basic | |
[CODE]# include <stdio.h> # include <iostream> using namespace std; int main() { int a,b,c; while (true) { cout<< " enter ur first digit"<< endl; cin>> a; cout<< "enter ur second digit" << endl; cin >> b; cout << " ur ans is "<< (a-b) <<endl; continue ; break;} scanf ("%d%",&c); … Software Development c++ | |
I have created two select list (Combo box). BankName and BranchName. BankName is using LOV with query to display bankname. This is working fine. Now when i select Bank name i want to display selected branches of that bank in Branchname combo.How to display values in second combo basis on … Software Development java | |
Hi, I have two applications which uses the same class that gives cpu information using sigar api. Both the applications are deployed in a same JBoss instance. When i try to start the application, first application gets deployed with no errors while for second application i get an error saying … | |
hi guys, trying to figure out how to put X when seat is taken plz help [//Airplane Seat Assigning system. [CODE]#include<iostream> using namespace std; int main() { char seat [7][4]={}; //initalize 7 rows and 4 columns char arr[4]={'a','b','c','d'}; int i,j; int row, colnum; char col; for(i=1;i<=7;i++) { for(j=1;j<=4;j++) { //cout<<seat[i+1][j+1]; … Software Development c++ | |
I wrote this string palindrome program that reads input from a text file. All the syntax are correct but I have an error I couldn't understand. Any help is appreciated, thanks!!! First, this is the error message: [B]Error 1 error LNK2001: unresolved external symbol "char * newToCheck" (?newToCheck@@3PADA)[/B] And this... … Software Development c++ | |
[CODE]#include <cmath> #include <iostream> using namespace std; void prime(int num) { int numPrime=true; for(int c=2;c<num;c++) { if (num % c == 0) { numPrime=false; break; } } if (numPrime == true) cout << "TRUE" << endl; else cout << "FALSE" << endl; } int main () { int n; int … Software Development c++ | |
Ok so I wrote this with some help of a friend and it compiles fine and everything, however when I try and run it I get this error message. "Static Error: No constructor in Day matches this invocation Arguments: () Candidate signatures: Day(int)" I am not sure what this means … Software Development java | |
question about pointer and array. can we add a 2-D array (**A) with a 1-D array (*B)? both of the array is define as a pointer in the program. where array A is A[i][j] and B is B[i] new in C programming and pointer is difficult.... :-| Software Development c | |
issue has to do with the number of rows which I represent The first row in the dB is 0, so to prevent confusions I added 1 to the index so row 0 will be represented as row 1. The issue is that when I scroll down I “gain” a … Software Development vb.net |
The End.