132,726 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for simon126

Please help i am getting an error message when i try to complie my program. It gives me this error rror C2664: 'output_calculations' : cannot convert parameter 1 from 'double (double,double)' to 'double' Context does not allow for disambiguation of overloaded function. I have not the slightest clue what this …

Software Development c++
Member Avatar for Dave Sinkula
0
146
Member Avatar for grandfilth

I've been trying to create a macro which closes excel without the save pop-up coming up, anyone got any ideas? I don't want it to save, this is because i don't want anyone who uses it to muck it up!

Software Development visual-basic
Member Avatar for Comatose
0
234
Member Avatar for kahaj

I have two things that I cannot figure out. I know I'll kick myself when I see what they should be. How do I assign the value pointed to by "sSaverPtr" to the variable "filled"? "sSaverPtr" points to a long int. And how would I then go about printing the …

Software Development c++
Member Avatar for kahaj
0
145
Member Avatar for atrusmre

In Visual C++ is there a way to update a singal control without updating them all? If so how? (for example, I want to have a clock in my program that doesn't interfer with my trying to type other things).

Software Development c++
Member Avatar for Ancient Dragon
0
140
Member Avatar for glamo

how to add a menubar in an applet :rolleyes:

Software Development java
Member Avatar for hooknc
0
213
Member Avatar for jwenting

[url]http://www.hacknot.info/hacknot/action/showEntry?eid=76[/url] has an excellent rant about the problems of visual editors (aka GUI builders). While he talks specifically about Java, the same holds true for all of them. And yes, that means Visual BASIC and Delphi as well, languages which traditionally are seen as almost purely visual. I've done several …

Software Development delphi gui java visual-basic
Member Avatar for jwenting
0
542
Member Avatar for bang2711

hi , i need to know how to split up and place in diff label.? and randon up the labels i attach a sample program of wat i need. can anyone please help me..

Software Development visual-basic
Member Avatar for Comatose
0
124
Member Avatar for Coach_Nate

PLEASE HELP!!! Ok, I've been racking my brain for the past two or three days now on this question, and before you click the back button, I might add I'm not looking for the answer, I'm looking for clearification of the question... here's the question: "In a paragraph or two, …

Software Development c++
Member Avatar for Narue
0
180
Member Avatar for atrusmre

How to I remove a varible from memory? A friend and I were talking and he seems to think that just resetting it to "" would be enough. Is he correct? If not, how do I remove varibles when I'm done with them?

Software Development c
Member Avatar for Puckdropper
0
115
Member Avatar for nabil1983

Can someone please have a look and help me on making this Binary Search algorithm work. Donmt know what is wrong with it . [CODE]#include <stdio.h> #include <stdlib.h> #include <time.h> enum SearchResult {FOUND, NOT_FOUND}; SearchResult binarySearch(int array[], int key, int low, int high, int *comparisons); void fill_array(int array[], int sizeOfData); …

Software Development algorithm c
Member Avatar for SpS
0
210
Member Avatar for server_crash

I'm finshed with teach yourself c++ in 21 days. It's been fairly good at teaching the basics, but I have two books I need to select from to read next: c++ programming language --bjarne stroustrup the c++ standard template library I just don't which to read next. Which would you …

Software Development c++
Member Avatar for server_crash
0
124
Member Avatar for glamo

*Following is the program where 3 objects (obi) each try to print numbers 1 to 10 with corresponding object name (ob1,ob2,ob3).but due to lack of synchronization there output is mixed with one another .make the program synchronized to produce correct output /* //note:-Do NOT add any DELAY or SLEEP code …

Software Development java
Member Avatar for Gargol
0
136
Member Avatar for dntchaseme

Hello I am trying to read an aicc ini.file and storing each section and its content into a new Object{} [section] prop1=value1 prop2=value2 prop3=value3 prop4=value4 [section2] .... .... Would someone out there knows javaScript regExp and could give me one or two hints on how to write a regex pattern? …

Software Development java javascript regex seo
Member Avatar for Gargol
0
157
Member Avatar for c#dummie

hi how do i update multiple rows? right now i can only update one row. it works like this now: user keys in customerIdNo and pwd1. a match in database will display pwd1 in textbox. textbox is databind to password field in access database. user can change the displayed pwd1 …

Software Development dataset display
Member Avatar for v_ashwani
0
107
Member Avatar for elthran2

Hello :) I am in Computing Science 160 and need to do a C++ assignment. I need a program that reads in user input of strings (ex. PTLPPDNQL*) and stopping when a * is read. It then needs to read each letter as a value (P = pennie or 1 …

Software Development c++
Member Avatar for mooni
0
156
Member Avatar for bondito

Hi there, i was thinking of building an instant messaging systemon a LAN, for my final year project. Dont know how to go about it, really need ideas. I was planning on using java sockets to create the system. Any helpful tips will be really appreciated.

Software Development java
Member Avatar for jwenting
0
395
Member Avatar for dav83

Hi, Can someone help me in a borland c++ code? i already have a memo field and i want to count the words, i count the blanks but i have problem when appears 2 or more blanks together and when i write to the second line.. Also can anybody tell …

Software Development c++
Member Avatar for dav83
0
212
Member Avatar for Clinton Portis

Trying my hand at extracting user entered data from a multiline edit box... my strategy is to first, get the number of total lines from the edit box.. and the length of each line from the edit box.. and create a dynamic 2D array that is NULL terminated at the …

Software Development c++ display
0
171
Member Avatar for djjkotze

Hi there people! I am trying to implement various sort methods in one program, just to practise implementing sort methods for one of my courses at varsity. However, my method works fine, the moment I use the pointer that it returned, it broke. Here is my program: [code]#include <iostream> #include …

Software Development c++
Member Avatar for Dave Sinkula
0
208
Member Avatar for ToySoldier

I can compile my programs easily using MS C++ but I just installed Borland C++BuilderX and I cant compile... <sigh> It's ghosted out. [B]// my program #include <iostream> int main() { std::cout << "Hello World!\n"; return 0; }[/B] This is what I'm doing... 1: Execute C++BuilderX 2: Click new 3: …

Software Development c++
Member Avatar for ToySoldier
0
167
Member Avatar for atrusmre

I was wondering if there's a way to convert a CString or a char *x[10] to a int? I know I can convert int to CString, but can it go the other way? Thanx, Atrus

Software Development c++
Member Avatar for Ancient Dragon
0
120
Member Avatar for shakoush2001

Hi guys This is not my homework it is a private project Iam working on .... and Ive searched google for an answer...I also found a similar thread on this site but the code would not work. Can someone tell me please how to create a full screen form in …

Software Development c++ google
Member Avatar for shakoush2001
0
449
Member Avatar for simon126

The following code works. However i want it so when the user reaches 500 dollars the last cout statement will run. But for some reason i can't get it to work properly. It skips the last cout statment and enters -numbers. [code]#include <iostream> using namespace std; int main () { …

Software Development c++
Member Avatar for vegaseat
0
113
Member Avatar for bradford68

Ok, I have had a hard time trying to understand this next evolution for programming in VB Net. I successfully completed a Mortgage Calculator last week and thought, hey maybe I can do this programming. So went to the next chapter and understood some of it but I am having …

Software Development display vb.net
Member Avatar for bradford68
0
223
Member Avatar for spargelsuppe

Hi there, I need help :o ... I have to solve the following task, a person buys goods and everytime the person receives change. The aim is that the person has as few as possible coins in its wallet. The person has an unlimited value of one dollar coins. And …

Software Development delphi pascal
Member Avatar for pty
0
107
Member Avatar for server_crash

I can't seem to get this sorting alogorithm to work: [code] #include <iostream> void sortAssending(int nums[], int size); int main() { int nums[] = {175,167,160,164,183,187,188,179,176,175, 169,175,176,178,165,160,173,165,187,178}; sortAssending(nums, 20); for (int i=0; i<20; i++) { std::cout << nums[i] << std::endl; } system("PAUSE"); } void sortAssending(int nums[], int size) { for (int …

Software Development algorithm c++
Member Avatar for server_crash
0
123
Member Avatar for pandiarajan_ar

Hi, i am trying to implement finger print recoginition system. if someone has any code snippet or pseudocode or any idea of Identify core point in finger print image . it's implementing it either in C or java, please help me out with it. thanks.

Software Development image java
Member Avatar for pandiarajan_ar
0
416
Member Avatar for grandfilth

I'd like excel to write the time when one of my macros tells it to copy and paste some cells into another workbook. I'd like it to paste the time into the other workbook. Any help would be much appreciated.

Software Development visual-basic
Member Avatar for grandfilth
0
134
Member Avatar for glamo

[code]/*following is the shortest program that finds whether the entered no. is power of two or not,but i need to add some code(logic) to it. note:- program do not make use of keywords like if ,while ,for ,switch. */ #include<stdio.h> void main() { int n; char c[2][23]={"no. is not power …

Software Development c
Member Avatar for EsMaru
0
168
Member Avatar for bumsfeld

Is there a function in wxPython or anything that can creat a variable frequency sounds?

Software Development python
Member Avatar for vegaseat
0
650
Member Avatar for c_shaft05

I'm working on some python programming and I need some help as to how to double the size of a picture using the image module.... any ideas?!

Software Development image python
Member Avatar for vegaseat
0
1K
Member Avatar for calcop

My darn code keeps crashing, what am I doing wrong? I have a class with the follwoing method: [CODE]void BBSNode::AddToBuffer(char *buffer) { //strcat((char*)inputBuffer, (char*)buffer); sprintf("Got Data: %s\n", buffer); }[/CODE] I'm calling the method like this: [CODE]nodes[nodeID].AddToBuffer(sockBuffer);[/CODE] sockBuffer was declared like ... [CODE]char sockBuffer[IN_BUFFER_SIZE];[/CODE] Now, when I run the program and …

Software Development c
Member Avatar for calcop
0
130
Member Avatar for bigwillis234

hi. new here. Im a freshman at UCSB and im taking my first c++ class. I got this assignment in class and i was hoping for some tips. The value of pi to 15 decimal places is PI = 3.141592653589793 . . . Your job is to write a program …

Software Development c++
Member Avatar for Rashakil Fol
0
302
Member Avatar for Shon05

:?: [COLOR=Navy]In this assignment I am to Design an HTML form that includes(at least) the following components:[/COLOR] *Customer ID *Total purchase amount *Submit button *Reset Button Explaination of program: The company uncfsu.edu wants to increase it's online sale. They have a promotion. If a customer has purchased at least $100.00 …

Software Development perl promotion
Member Avatar for Shon05
0
110
Member Avatar for aminura

Today I had an exam and in that there was a question to differentiate between type casting and type conversions...Are they actually different?? I always thought they were same... :?:

Software Development c
Member Avatar for aminura
0
136
Member Avatar for Prasadd

Frndz, I want to display [B]data in a horizontal pattern using Datagrid. [/B]Tried to get that through the TemplateColumns but wasnt able to find out what exact values are to be modified to achieve that. can someone plz tell me how can this be done ?? cheers - Prasadd

Software Development display
Member Avatar for Prasadd
0
76
Member Avatar for amy590

I direly need help with passing an array of structures into a function. The problem is that Main_menu.name is blank. What is the correct syntax to pass by reference, so that I will get the Main_menu.name in main()? I would like to use pointer in the createMenu function for efficiency. …

Software Development c++
Member Avatar for amy590
0
164
Member Avatar for atrusmre

I am working on a project that requires me to recive data from a network application. After I recive the data I'm suppose to break it up. Now I know of a way to sorta do that by using "tokens" and strtok (if you don't know strok breaks up a …

Software Development c
Member Avatar for atrusmre
0
154
Member Avatar for winbatch

Hopefully I'll be able to explain this issue. If not, I may just have to post a lot of code. Basically, I've got a base class called 'Log' with virtual methods of writing to a log. I have two descendent classes - ScreenLog and FileLog (with all the same methods). …

Software Development c++ first-post visual-studio
Member Avatar for winbatch
0
352
Member Avatar for saifo

Sample run of the program: Welcome … Please type in your budget: 120 Menu Select an item from the above menu: 2 How many of this item you want?: 2 Please confirm [Y : yes, N : no] ?: Y Total cost for this item = 50.000, Budget remaining = …

Software Development c++
Member Avatar for saifo
0
206
Member Avatar for gunalan

please help me how to write this program. write a program to calculate: a - b / c * d + e *f % g where a , b , c , d , e , f , g are integer the output format like. a= b= c= d= e= …

Software Development c++
Member Avatar for Lerner
0
216
Member Avatar for billyb

Hi all, New to this site asd VB6 AAAAAAA i'm trying my best. Anyway here goes need to store names and numbers names in lstbox number in an array. select the name from the lstbox and display the number in a lbl. here's the code so far can someone please …

Software Development display visual-basic
Member Avatar for billyb
0
144
Member Avatar for bumsfeld

I want to creat file with each line having date + time + data so I can append more data as need be and know when it was added. What date+time function would be best?

Software Development file-system python
Member Avatar for bumsfeld
0
160
Member Avatar for nabil1983

Hello ppl. Ok have to investigate and write a report on the efficiency of the following Linear Search algorithm. But im having problems starting off.... can anyone here help me kick start this 3 page report... would apreciate any information & help you guys here can give. [CODE]// This program …

Software Development algorithm c
Member Avatar for Rashakil Fol
0
183
Member Avatar for LordJayno

if i try to use this constructor BigNum d("-2345"); how do i get the compiler to convert the string to a negative number?here's the code i have for this constructor [code]BigNum::BigNum(string s) { num = new node; num -> next = NULL; num -> val = 0; int i, j, …

Software Development c++
Member Avatar for LordJayno
0
195
Member Avatar for lsy

is it possible to have a validation password while open a MS Access password?? Where should i set it and how can i set it? the open connection or? pls advice.... thanks...

Software Development c++
Member Avatar for lsy
0
151
Member Avatar for stevenr

I am writing a Math related program and I want to display the equations that the user inputs properly. I was thinking about using LaTeX to displaythe equations in a JTextField but need help puting that concept into code form.

Software Development display java
Member Avatar for stevenr
0
97
Member Avatar for brian63304

I have this pathfinder and I got it to work using c++... now i am trying to convert it to OpenGL and it is not working. I wrote code to use a mouse to plot the start and destination points. but it won't work properly. I have attatched the file …

Software Development c++ opengl
Member Avatar for brian63304
0
150
Member Avatar for CHUDMASTER

I need help in my VB class making a cash register. I know I'm supposed to use modulus and integer functions as well as nested if's, but am having a hard time coding it. If you haven't figured it out yet, this is my first real attempt at coding in …

Software Development vb.net
Member Avatar for CHUDMASTER
0
205
Member Avatar for Micko

Hello, I'm trying to understand how this heap sort algorithm works (how this particular implementation from [url]www.eternallyconfuzzled.com[/url]) works. [code] void jsw_do_heap ( int a[], int begin, int end ) { int save = a[begin]; while ( begin <= end / 2 ) { int k = 2 * begin; while …

Software Development algorithm c
Member Avatar for Narue
0
227

The End.