132,726 Archived Topics
Remove Filter ![]() | |
The following code, excerpted from a much larger program, triggers a C++ compile time error as shown in the leading comments. [Re-]declaring variable 'w' to be a 'const char *' will fix the problem, but I don't know exactly why. I would greatly appreciate it if somebody could elucidate the … Software Development c++ | |
Is there any one who can propose some links for C# freelance jobs. Thank you Software Development | |
Hi I'm working on the following code which is to be used on the M16C/62 microcontroller. Basically the microcontroller is to [B] "scan the keypad and display any key that is depressed" [/B](which i have done im pretty sure), on the LCD. However I know I have to Sound the … Software Development c++ | |
hi, everyone, i am working on writing a program that can calculate the extrema of a polynomial function. i've got everything i need except the last step of the process. i need to be able to solve a polynomial equation for f(x)=0. please help. Software Development python | |
I seem to be able to load the files in my program. Then I can loop through the lines one time, but if I try a second loop to load the strings into an array that one won't work. Here's my code. I thank you for any help in advance. … Software Development file-system java | |
I'm building a new database program using VB, I want to use the datetimepicker to do this: Show today's date on the datetimepicker, Show today's "to do" in a Text box (it would know it was today because it would be linked to the datetimepicker Then If I change the … Software Development visual-basic | |
[CODE] // filename = isbn.cpp // Kyle Burmark // Prof. Gelotte // 02/12/02 // Program 4 - Validate ISBN numbers program // Description: This program asks the user whether he wants to validate // ISBN numbers from his own input or from a file of isbn numbers // Start program … Software Development c++ file-stream | |
This is my relatively simple code. Its just part of a memory matching game. I've looked but I cannot figure out why it won't switch the values in each of the array indexes. I would appreciate anyone helping me out here with this. ** Turns out the problem is that … Software Development c++ | |
Hi all im making a text game but first im making a test one and i was writing it and i came across this error: Traceback (most recent call last): File "/home/tom/Desktop/Python/Text game/main.py", line 98, in <module> main() File "/home/tom/Desktop/Python/Text game/main.py", line 93, in main print 'his attributes are:' + … Software Development python | |
hey all, i keep having a problem using vb with an access database. anything i try to do with access brings up the same error message saying database format not recognised. any ideas what i need to do. thanks Software Development visual-basic | |
[code] #include <iostream> #include <iomanip> using namespace std; void celsius(int); int main() { cout << setprecision(2) << fixed << showpoint; cout << "This program displays a table of the Fahrenheit temperatures" << "\n0 thorugh 20 and their celsius equivalents.\n"; celsius(0); return 0; } void celsius(int fahr) { double cels; cout … Software Development c++ | |
Hello everyone, I am a Mathematics major and my mentor asked me to put together a program that evaluates explicit stencil methods along the difference mesh. Basically I need to use a recursive method to get my value, as I know base values and boundaries, but the C++ experience I … Software Development c++ mathematics | |
Im trying to make an annogram. first you input a word, and then it mixes it up and then couts the scrambled version of the word. My problem right now is that when you input a word like "Cat", it will mix up and look like "aCt" or something with … | |
I'm doing a project for a class and it says to write a program that translates code from one programming language to another. It says that my class containing my static main method should be named "Translate". It should take as input source code of a programming language as a … Software Development java | |
[code] #include<stdio.h> #include<conio.h> struct link { int data; struct link*ptr; }; typedef struct link node; struct link1 { int info; struct link1*next; }; typedef struct link1 node1; int main() { int i,size; node*start,*temp,*p; int j,listsize; node1*start1,*temp1,*k; clrscr(); { printf("enter the size of first list:\n"); /*creating first list*/ scanf("%d",&size); printf("enter list:\n"); … Software Development c | |
Okay, I've been noticing this for a while now and decided I might as well ask. When I'm working on my programs at school, if I try to read from a text file, it can't seem to find the text file. However, if I run the exact same thing on … Software Development c++ | |
Hello all, I have problem with wx.richtext I cannot make it start new line at hitting return key! How can I do it so that I can use Align left and right Here is a code [CODE=python] # Text area self.textarea = rt.RichTextCtrl(epanel, style=wx.VSCROLL|wx.HSCROLL|wx.NO_BORDER )[/CODE] Software Development python | |
I am building an xml parser in java which will handle a catalog with some books (that have price and usefulness) and I want to implement an [B]optimum[/B] algorithm that selects the books from the catalog which have the maximum usefulness while staying within the budget. Example: [code] <catalog cash=”100”> … | |
hey there! ok i need help figuring out what is wrong with my code. i have to write a program that does addition and subtraction in stacking. but all im getting is error. some advice would be greatly appreciated thanks here is the code #include <iostream> #include <stack> #include <string> … Software Development c++ | |
Okay, I figured out the larger problem that I've been having with my program, now all I need is it to get out of the loop and finish the program. Well, it won't break out for some reason. Anyone see why? [code]row = col = 4; z = 0; do … Software Development c++ | |
I am looking forward to getting a car insurance policy source code to compare with the programme i have just written. Thanks in Advance Software Development visual-basic | |
I'll try to explain. I've got a C++ program that is going to copy files from it's folder which it is located in to another location. So, I'd say f.x. I had a directory called "Flash". Then, inside that directory would be "myprogram.exe" and 4 other directories. Within those 4 … | |
How to product this code as shown below: If I enter "5" and "10" in the console screen, it display 5 ***** 10 ********** Whatever I enter any positive numbers, the screen will display the asterisk partern and depend on the number input. Please tell me the method using VB … Software Development vb.net | |
Ended up solving it don't know how delete post however [code] include <iostream> using namespace std; /* * linkedlist.h * linkedlist */ struct node { int data; node * next; }; class linkedlist { node * hd; public: linkedlist(){ hd = NULL; } void add_to_end(int data) { //find end of … Software Development c++ | |
I need a complete help on how to use the flush() member function with ofstream, ifstream and fstream and also its use. P.S: Please provide an example for me to understand Software Development c++ | |
Well, I bumped into an interesting C++ problem last night while I was aimlessly surfing the Internet, and, of course, it caught my attention. It said something like this: "From a file it's read a text that contains a phrase, on a line. The program rearranges the letters in each … Software Development c++ | |
I m working on a crawler and want to hash the urls that my crawler is crawled already. I have used hashcode() function but it is returning a null value. Is there any other efficient way for hashing them .Also i want to know abt hash functions related with string … Software Development java | |
hi , can anyone help to find out how to assing the binary values to the checkboxes .. Software Development | |
Can Anybody help me out in setting webbrowser control project on localhost(Virtual directory ) . i am successful in using webbrowser control on web application but it runs on file system or web application with some specific port defined. how can i use by configuring it on virtual directory without … Software Development | |
[code] /* * File: sets.cpp * ------------------ * This program deals with sets of lower case letters. * This program computes the union and intersection of two sets. This program * also checks if set B is a subset of set A and returns true if set B is a … Software Development c++ | |
Hi All , it is my first post in this great forume , I am in a greate problem and i hope to find the solurion here , I created a datareport and used the (shape) object as a frame for each row in the report , my case is … Software Development visual-basic | |
I'am making a mini project on telephone directory management system. My lecturer wants me to submit the documentation of the project.I'm not sure about how to prepare my documentation of project.What to tell??????? the feature which I could add to make my documentation impressive. Software Development java | |
is it possible to insert a character say " " (space) after every 2 characters in a string? using this doesnt seem to work : [CODE] Dim s As String s = "010001000100" s = Mid(s, 1, 2) & " " & Mid(s, 4) MsgBox s [/CODE] it adds space … Software Development visual-basic | |
Hello I'm new here and im a bit confused about a certain code i am trying to do. The code is for opening the file dialog and when the object has been selected it would be shown in the web browser or open any file, the code i have done … Software Development file-system vb.net web-browser | |
I'm a total nubie. I thought it would be useful to download the source for an applet and study the code. I picked a wonderful applet by Don Hatch: [URL]http://www.plunk.org/~hatch/HyperbolicApplet/?size=513[/URL]. The code in the jar file is all in .prejava files. My IDE (NetBeans) doesn't know what to do with … Software Development ide java java-netbeans | |
i dont know pascal very well, so can anyone help me with this problem... for the given matrix A(n*m) with real type of elements: "create a file and write into it the elements of the matrix" "create a new integer file and write there only the hole part of the … Software Development pascal | |
Hi am printing pdf file with following code,But it does not print pdf in poper format.. it prints in stream ... private void button1_Click(object sender, EventArgs e) { try { streamToPrint = new StreamReader ("C:\\MyFile.doc"); try { printFont = new Font("Arial", 10); PrintDocument pd = new PrintDocument(); pd.PrintPage += new … Software Development file-stream pdf | |
Hi, can someone help me modify this code to achieve the following: Add methods to your Human that return collections of arms and legs. implement these methods by iterating through the collection of limbs and checking what type of limb they are. Note that you will need to use the … Software Development java | |
I have a database working with VB6 and Jet. Everything works fine except that I now need the database to be accessed from a second machine on the network. It appears that only one person can be connected at a time to the database using Jet, is this correct? In … Software Development visual-basic | |
Hello., I haveto check for non-numerci input, when reading numeric input. I know how to validate numeric input with while loop, but what if i need numeric input and user inputs alphabetic letter, any suggestions?? Thanx a lot! cheers! Software Development c | |
am just a beginner and an getting the compiling error like:(warning: no newline at end of file) anyone who could help me out? [code=cplusplus] #include <iostream> #include <cmath> using namespace std; int main(){ int a; int b; int c; double p; double x1; double x2; cout<<"bitte lesen sie vier nummern … Software Development c++ | |
can anybody tel me ? to do in datagridview at runtime.actualy that s textboxcolumn. whenerver click the cell it should show the background imag. is it possible in C# windows.if u any idea plz help me out.thnks Software Development | |
when trying to update a sql database i get the following error message on Update Dynamic SQL generation for the UpdateCommand is not supported against a SelectCommand that does not return any key column information the column UserID is the PrimaryKey any ideas would be appreciated Thanks Peter example code: … | |
hi,my program should plot a graph of two function and then get the intersection point and get the points on the x,y axis then i get the value of it in a function z and get the highest value of z i completed the program but there is a problem … Software Development java | |
Hi there o/ My name is Thomas and I'm a C# Newbi looking for a project that I can join. I'm currently reading Head First C# and am batteling my way through abstract classes and interfaces. So I thought - what better way to learn then to get some reel … Software Development | |
Hi all I urgently need a tool that either convert java code to c++ or make reverse engineering diagrams of java code..like uml/sequence digs..etc…or explanation of the code…. If anyone have idea of such a tool then let me know please. Regards Software Development c++ engineering java | |
Hi all, How can I split a Progress Bar(wx guage) into two parts?. I want the first part to function normally and in the second part I want to display the percentage. I have attached a snap shot of what I am trying to achieve. Is this possible? Any help … Software Development python | |
Hi Guys, I was wondering if there was any way in which you can change the opacity of a window in wxPython. I would like to create a window that is mostly see through but so far i have found no way to do that. My program is a simple … Software Development python | |
I am taking a web design and development class and we have been thrown into MySQL along with java without much knowledge beforehand. Was wondering if anyone could help me with understanding how to query the database and update entries, as I am confused on how to accomplish this. I … Software Development database-design java mysql web-design | |
Is it possible to load database data into labels for viewing? i already know the query to return the data i want to show but i dont know how to put it into a label.. anyone got any ideas? i tried searching but so far i have nothing.. :c Software Development |
The End.