132,726 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for inumbris

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++
Member Avatar for Lerner
0
142
Member Avatar for Jugortha

Is there any one who can propose some links for C# freelance jobs. Thank you

Software Development
Member Avatar for dickersonka
0
77
Member Avatar for Villanmac

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++
Member Avatar for skatamatic
0
191
Member Avatar for kbjr14

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
Member Avatar for jlm699
0
115
Member Avatar for DeadJustice

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
Member Avatar for DeadJustice
0
106
Member Avatar for neffness

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
Member Avatar for neffness
0
114
Member Avatar for Se7Olutionyg

[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
Member Avatar for Ancient Dragon
0
186
Member Avatar for kotkata

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++
Member Avatar for Lerner
0
97
Member Avatar for tomtetlaw

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
Member Avatar for tomtetlaw
0
2K
Member Avatar for andyhopper

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
Member Avatar for jbennet
0
141
Member Avatar for Foe89

[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++
Member Avatar for DemonGal711
0
393
Member Avatar for MylesDBaker

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
Member Avatar for MylesDBaker
0
159
Member Avatar for mrtwinkles

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 …

Software Development algorithm c++
Member Avatar for DemonGal711
0
218
Member Avatar for vladdy191

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
Member Avatar for javaAddict
0
85
Member Avatar for galmca

[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
Member Avatar for devnar
0
261
Member Avatar for DemonGal711

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++
Member Avatar for DemonGal711
0
104
Member Avatar for Stefano Mtangoo

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
Member Avatar for lllllIllIlllI
0
109
Member Avatar for soultrav

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”> …

Software Development algorithm java xml
Member Avatar for dickersonka
0
102
Member Avatar for ROTC89

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++
Member Avatar for ROTC89
0
260
Member Avatar for DemonGal711

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++
Member Avatar for DemonGal711
0
123
Member Avatar for Nuella

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
Member Avatar for debasisdas
0
89
Member Avatar for Helgso

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 …

Software Development c++ flash
Member Avatar for Helgso
0
2K
Member Avatar for leticiasue

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
Member Avatar for waynespangler
0
75
Member Avatar for acoxia

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++
0
85
Member Avatar for McCo

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++
Member Avatar for Lerner
0
124
Member Avatar for M00nDancer

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++
Member Avatar for M00nDancer
0
148
Member Avatar for dipsn

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
Member Avatar for destin
0
74
Member Avatar for abbineni

hi , can anyone help to find out how to assing the binary values to the checkboxes ..

Software Development
Member Avatar for ddanbe
0
42
Member Avatar for mKashif

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
Member Avatar for LizR
0
76
Member Avatar for mastr924

[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++
Member Avatar for mastr924
0
348
Member Avatar for benjaminbbozok

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
Member Avatar for benjaminbbozok
0
84
Member Avatar for coolbuddy059

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
Member Avatar for jbennet
0
81
Member Avatar for ChroNoS

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
Member Avatar for ChroNoS
0
119
Member Avatar for Lumnous

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
Member Avatar for Lumnous
0
518
Member Avatar for SRWenner

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
Member Avatar for jbennet
0
334
Member Avatar for Vaart91

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
Member Avatar for LizR
0
102
Member Avatar for vijayg

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
Member Avatar for LizR
0
171
Member Avatar for Achupa

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
Member Avatar for stultuske
0
124
Member Avatar for Entropy1024

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
Member Avatar for Entropy1024
0
122
Member Avatar for atman

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
Member Avatar for devnar
0
99
Member Avatar for muya08

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++
Member Avatar for Ancient Dragon
0
72
Member Avatar for Renukavani

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
Member Avatar for LizR
0
983
Member Avatar for ptaylor965

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: …

Software Development sql vb.net
Member Avatar for chan_lemo
0
268
Member Avatar for nouryn

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
Member Avatar for stultuske
0
111
Member Avatar for ThomasBF

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
Member Avatar for ThomasBF
0
192
Member Avatar for nabilchampion

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
Member Avatar for ithelp
0
164
Member Avatar for dinilkarun

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
Member Avatar for dinilkarun
0
248
Member Avatar for lllllIllIlllI

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
Member Avatar for lllllIllIlllI
0
94
Member Avatar for jsully1

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
Member Avatar for jsully1
0
105
Member Avatar for rubentan

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
Member Avatar for reena12
0
101

The End.