132,726 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for Mangai

Hi, I am Mangai, I am working in VC++. When I run my code I get an error like error C2143: syntax error : missing ';' before '*' error C2501: missing storage-class or type specifiers since I am a beginner I couldnt fix it. Can anyone help me in fixing …

Software Development c++ storage
Member Avatar for Mangai
0
221
Member Avatar for sumathi_mca

hi.... I have received the following error Logon failed. Description: An unhandled exception occurred during the execution of the current [URL="http://www.experts-exchange.com/Databases/Crystal_Reports/Q_21829407.html#"]web[/URL] request. Please review the stack trace for more information about the error and where it originated in the [URL="http://www.experts-exchange.com/Databases/Crystal_Reports/Q_21829407.html#"]code[/URL]. Exception Details: CrystalDecisions.CrystalReports.Engine.LogOnException: Logon failed. Source Error: An unhandled exception …

Software Development vb.net
Member Avatar for gubba_balu
0
180
Member Avatar for tupadjia

how do i make it so a picture shows for about 5 seconds from the time users clicks to start my program until the actual program starts?:mrgreen:

Software Development vb.net
Member Avatar for tupadjia
0
81
Member Avatar for matrimforever

How do I call a function outside of main or use a parameter to pass a reference? If my function is: [code] void getData(int& diameter, int& price) { cout << "Enter in the diameter of the pizza in: " << endl; cin >> diameter; cout << "Enter in the the …

Software Development c++
Member Avatar for matrimforever
0
129
Member Avatar for richiecomp

I am trying to design a small database project for school. I have gone over this for about a gazillion time, and it seems to have turned into a challenging maze. This is from the book "Visual Basic 6 How to Program." Anyway, where is the problem: Define a complete …

Software Development database-design sql visual-basic
Member Avatar for richiecomp
0
580
Member Avatar for boujibabe

this program is supposed to evaluate an equation of the form f(x)=ax2+bx2+c using the standard quadratic formula to find x This is what I've done so far [code] check=b*b-4*a*c; //Validate incoming data if (check>0) { x=-b+sqrt(b*b-4*a*c)/2*a; printf("The square root is %.2f",x); } else[/code] My question is how do I properly …

Software Development c
Member Avatar for boujibabe
0
170
Member Avatar for learnerd

Hi, I am trying to use the "My" functions in Visual basic, but every time i run the code, it give me a Runtime error 424 - object required. I am a newbie at this, please help. I don't have anything else in the code, just New Project, Stantard EXE …

Software Development visual-basic
Member Avatar for learnerd
0
106
Member Avatar for venomlash

I use Bloodshed Dev-C++ version 4.9.9.2 and it is a little weird in that it accepts "and" as "&&" and "or" as "||", not to mention not requiring parentheses around separate clauses in and/or connected statements. Therefore it would read the following as the same. if(voice==loud or voice==annoying and voice==whiny){ …

Software Development c++
Member Avatar for vegaseat
0
202
Member Avatar for kimw

can anyone offer performance tips to improve the running time ? this function opens a file (a 7000 row by 30 col), and stores each elements in a matrix data . current running time is 4 sec, and i desperately need to minimize the running time as i need to …

Software Development c
Member Avatar for kimw
0
92
Member Avatar for theUnNown1

Can someone tell me how I can draw a diagonal or slanted oval on my form? I know DrawEllipse draws circles that are either straight vertical or straight horizontal....

Software Development c
Member Avatar for iamthwee
0
138
Member Avatar for crestaldin

Hi everyone, I am new to XML in fact I am just about to really learn XML because I encoutered a lot of XML stuffs during my summer internship that ended a couple of weeks ago. I am plannning to get a book titled "Beginning XML " by David Hunter …

Software Development xml
Member Avatar for GreenDay2001
0
203
Member Avatar for Line

Helloes! I'm using getrusage to get the usertime and systemtime, but sometimes the times returned are negative --> SELF: user time: 1313366639 microseconds system time: -1547562616 microseconds I'm not sure I've understood getrusage correctly, so I'm posting my code in hope of getting a few tips on how to avoid …

Software Development c
Member Avatar for Line
0
202
Member Avatar for katharnakh

Hi, i am facing some problems with opening an excel file. I am using XLRD module. I am getting XLRDError: Can't find workbook in OLE2 compound document and CompDocError: Not a whole number of sectors exceptions in seperate try on different files. 1.Does any one know anout these exceptions? what …

Software Development python
Member Avatar for vegaseat
0
340
Member Avatar for tupadjia

[B]i want to add bakground sound to my application that i am doing as a project for my class. does anyone know the code for that? :mrgreen: [/B]

Software Development vb.net
Member Avatar for **UM HASSAN**
0
102
Member Avatar for rowly

can any one help with this function how it works ! thanks u [code] [COLOR=#0000ff]int[/COLOR][COLOR=#000000] compare([/COLOR][COLOR=#0000ff]const[/COLOR][COLOR=#000000] [/COLOR][COLOR=#0000ff]void[/COLOR][COLOR=#000000] *a,[/COLOR][COLOR=#0000ff]const[/COLOR][COLOR=#000000] [/COLOR][COLOR=#0000ff]void[/COLOR][COLOR=#000000] *b)[/COLOR] { data i= *(data *)a;[COLOR=#008000] [/COLOR]data j= *(data *)b; [COLOR=#0000ff]if[/COLOR] (i.Mark==j.Mark) [COLOR=#0000ff]return[/COLOR] 0; [COLOR=#0000ff]if[/COLOR] (i.Mark<j.Mark) [COLOR=#0000ff]return[/COLOR] -1; [COLOR=#0000ff]if[/COLOR] (i.Mark>j.Mark) [COLOR=#0000ff]return[/COLOR] +1; } [/code]

Software Development c
Member Avatar for rowly
0
128
Member Avatar for andriss

[COLOR=#000000]Good day,[/COLOR] [COLOR=#000000] [/COLOR] [COLOR=#000000]I need help from you.[/COLOR] [COLOR=#000000] [/COLOR] [COLOR=#000000]I have to split and create output files by every 30.000 recordings. [/COLOR] [COLOR=#000000]Example ,[/COLOR] [COLOR=#000000] [/COLOR] [COLOR=#000000]Input file has 150.000 (transaction.txt) recordings of bank accounts transactions.[/COLOR] [COLOR=#000000]The C code has to split this file and create output files …

Software Development c file-system
Member Avatar for Ancient Dragon
0
100
Member Avatar for mruane

hi, first off I want to say that I was helped immensely by the other posts, especially the one where the one person was talking about classes. From veiwing his coding i was able to get my text adventure started. My basic questions are: 1) how do I learn the …

Software Development email javascript perl python vbscript
Member Avatar for bumsfeld
0
114
Member Avatar for tupadjia

lets say I have 2 forms, Form1 and Form2 how do I call certain values that user inputted in text box from Form1 to appear on Form2? and also, i've been trying to figure out how to have 2 forms, but when the user is on form1, when button is …

Software Development vb.net
Member Avatar for sidtech
0
107
Member Avatar for nimmi

:?: converting binary numbers entered by the user to their equivalent decimal,program will have one function that takes an integer(1 and 0) upto 10 digits in length.Means binary into decimal ,I dont know where iam doing mistake, and my out put if i entered binary no 111 or any bin …

Software Development c++
Member Avatar for Infarction
0
127
Member Avatar for BombAppetit

greetings i'm really stuck now. i'm making a bootloader for my PIC and i can't really tell what is wrong with my simple line of codes. [CODE] counter = 1; for (counter = 1 ; counter <= linelength ; counter++) { output_b(counter); GetAndBurn(counter); if (transmissionflag = 0) break; else; if …

Software Development c
Member Avatar for Salem
0
108
Member Avatar for fullmetal

I am new to scheme, and are learning it using Dr.Scheme, please help I came across this question, but have some trouble with it: A clock structure (define-struct Clock(hours minutes seconds)). Make a function that Consume a Clock structure and output the total seconds ;;this is what i did (define-struct …

Software Development
Member Avatar for fullmetal
0
140
Member Avatar for Mikecool509

Hello. I have two forms. Let's call them form1 and form2. Form1 is a form which controls the meat of my program and runs in the background. Form2 is a popup-like dialog that will pop up when triggered by an event in form1. I want to call the netstat command …

Software Development vb.net
Member Avatar for waynespangler
0
886
Member Avatar for FireSBurnsmuP

I'm trying to write a destructor function for my class type message, but I can't get the dang thing to [inlinecode]delete[/inlinecode] strings. So, uhm, Help! Do I have to go through a for loop and delete each character individually?

Software Development c++
Member Avatar for ~s.o.s~
0
116
Member Avatar for kissiwat

What am I trying to establish here... jolly good question :eek: Pretty simple piece of code really but can I get this wretched thing to do as its asked - can I as heck... All it needs to do is display the type of clothing to be worn in certain …

Software Development c
Member Avatar for Infarction
0
111
Member Avatar for akadri

Folks, I want to know how to check whether a file exists for not?? One more thing: If we open an existing file in a write mode, then it gets truncated to zero length, so what the way out of this?? Should I use open('filename','w+') Regards, Asrar

Software Development python
Member Avatar for katharnakh
0
94
Member Avatar for GreenDay2001

well i am a high school student and we'll study pointers within next month and i am trying to understand it right now. but what i could understand is what is its use, advantages and for the most that pointer concept is not very clear to me. so i would …

Software Development c
Member Avatar for vitrag
0
92
Member Avatar for matrimforever

Hi, I need to write a n00b program that calculates the best deal customers can get when buying pizza. The premise is, although an extra large pizza may appear a better buy, you need to calculate the cost per sq inch of both round and rectangular pizzas to really know. …

Software Development c++
Member Avatar for ~s.o.s~
0
2K
Member Avatar for nasduck

I am a beginner on C++, and I have 3 programs at hand, who can show me how to write the prgrams for those problems, thank you very much:lol: : See the attached file.

Software Development c++
Member Avatar for iamthwee
0
89
Member Avatar for The Tao Of Bill

You guys have got to be sick of these C++ noobs coming in here asking for homework help but thats what Im going to have to do because I am totally lost....I was following pretty good till we got to overloading and passing things polymorphicly Anyway the point of this …

Software Development c++ first-post
Member Avatar for iamthwee
0
236
Member Avatar for techkar

Hi experts, here in my project ,there is a situation like, to read an Excel file and store in a database using java. I have an excel file as 10 columns and this is a daily report by our sales team. So the requirement is to read that excel file …

Software Development file-system java
Member Avatar for iamthwee
0
132
Member Avatar for charlesguo25

Can somebody help me with this problem? It must use recursion however, and no iterative statements. Write a method called reverse that takes a single long integer argument and returns the result of reversing its digits. For example: System.out.print(reverse(-12); returns -21 and System.out.print(reverse(1234567)); returns 7654321 i know that (number % …

Software Development java
Member Avatar for charlesguo25
0
100
Member Avatar for rowly

hello, i have a problem with printing records[i].M_F on the screen while reading from a binary file. i'll appreciate any help ! THank U [code] [COLOR=#0000ff]#include[/COLOR][COLOR=#000000] [/COLOR][COLOR=#800000]"stdafx.h" [/COLOR][COLOR=#0000ff]#include[/COLOR][COLOR=#000000] [/COLOR][COLOR=#800000]<stdio.h> [/COLOR][COLOR=#0000ff]#include[/COLOR][COLOR=#000000] [/COLOR][COLOR=#800000]<stdlib.h> [/COLOR][COLOR=#0000ff]enum[/COLOR][COLOR=#000000] sex {m, f}; [/COLOR] [COLOR=#0000ff]struct[/COLOR][COLOR=#000000] student { [/COLOR] [COLOR=#0000ff]char[/COLOR] fname[40]; sex M_F; [COLOR=#0000ff]int[/COLOR] S_AGE; [COLOR=#0000ff]double[/COLOR] W; }; student …

Software Development c
Member Avatar for Ancient Dragon
0
109
Member Avatar for Iron_Cross

I've been wondering about console programming. Not the book example type stuff, but the 'real' console programming. Stuff that seems to use things like ncurses, or something like that I assume. I found a good tutorial on what I'm looking for: [url]http://www.adrianxw.dk/SoftwareSite/Consoles/Consoles1.html[/url] but I'm wanting something that goes a little …

Software Development c
Member Avatar for Ancient Dragon
0
199
Member Avatar for Reiko

Hi i have an assignment to write a Shopping List program in which there can be any number of products entered along with the price. Im not really doing to well with it an would apprecite any help. Heres my prgram so far [code] program ShoppingList (input,output); var numb:integer; prod:char; …

Software Development pascal
Member Avatar for Reiko
0
112
Member Avatar for Fenerbahce

hi, 1-how can i do multiselect in calendar. 2-how many days between 2 dates? how can u calculate it? example : 10/10/2006 - 12/10/2006 there is 1 day between those 2 dates. thanks

Software Development vb.net
Member Avatar for ChadW
0
83
Member Avatar for Latifa

Hi, I need help with my homework please, its due tommorow and i prommise to show my efforts in the next days :sad: [url]http://www2.filehost.to/files/2006-10-16_03/214316_cplus.jpg[/url] Thanks in advance :)

Software Development c++
Member Avatar for jdarvwill
0
128
Member Avatar for GreenDay2001

Suppose I have created a class [B]new [/B]with arguments.I have declared this as object [B]new1[/B] in the main. [I]new new1(arguments)[/I]. Now what should i do if i want to change the values of [I]new1 [/I]object's arguments.

Software Development c++
Member Avatar for GreenDay2001
0
89
Member Avatar for rinoa04

Hello, I am interested in knowing your opinion in Java GUI development using AWT and Swing. Each have its own pros and cons. I am wondering which one is most preferable by java developer. AWT or Swing or Both? Please state your reason. Thank you.

Software Development gui java java-swing
Member Avatar for rinoa04
0
75
Member Avatar for Line

Hey! I'm writing a program and currently having trouble with getting a written line typed in by the user to be copied correctly into another array... I'm using a for-loop to run through the original char-array, but if I type in "Hello" the program will give me this result: Param …

Software Development c
Member Avatar for Line
0
100
Member Avatar for blairwitch

I would require a visualisation to respond to the music being played on the media player as well as the microphone input simultaneously using media player SDK and c++. In other words, the visualisation would need some way of differentiating between the sound coming from the microphone and the sound …

Software Development c++
Member Avatar for Salem
0
72
Member Avatar for jaden403

I have a basic Java file I/O question. I am trying to read/write from/to a text file (obviously) from within a function that is called by main(). Can you do the following within a function: [code] Scanner inFile = new Scanner(new FileReader("File1.txt")); PrintWriter outFile = new PrintWriter("File2.txt"); [/code] or does …

Software Development java
Member Avatar for jaden403
0
126
Member Avatar for lavicool

Hi all, I just joined the post. Iam new to C programming. I have a question regarding a problem i found in some book. The problem is i have a input file with student ID, 5 program scores, midterm and final score. i have to check for wrong input of …

Software Development algorithm c++ first-post
Member Avatar for lavicool
0
122
Member Avatar for gopan

Hello evrybody, I wanted some help regarding windows form in C# .. I have a label control where i need to put a linkbutton control inside the label control dynamically ,I am able to place a link button but not at the required position inside the label control.. I hav …

Software Development c#
Member Avatar for Inanna
0
166
Member Avatar for kimw

I would like to implement a function similar to the math function from excel, that is, given a vector and a value in the vector, return the relative position of that value in that container. However, my code [CODE]vector<double> vec; double x = 25.0; int pos = 0; for (int …

Software Development c
Member Avatar for Ancient Dragon
0
99
Member Avatar for MNR

Hi, I have to make a snake game. i need an array to store allposition of the snakes body. i will also need a variable to store the number of parts in the snakes body. I know that i have to use the number of parts ++ but i dont …

Software Development java java-swing
Member Avatar for iamthwee
0
642
Member Avatar for gampalu

Does anyone know where to download the library from LAPACk to run under C++?

Software Development c++
Member Avatar for ~s.o.s~
0
82
Member Avatar for confused!

Hello! I am a student taking an intro to programming class and I am completely LOST. The assignment is to write a program that simulates an adding machine. I have been working on this for 3 hours and so far I have only been able to get the first line …

Software Development c c# c++
Member Avatar for ~s.o.s~
0
297
Member Avatar for nisaa15

HI, Im relatively new to XML and was wondering how I could use DOM to produce a "per shop" report showing a list of the items available in the given shop (shop 1 first then 2), the item description, stock level and calculate a total value of the stock level …

Software Development xml
Member Avatar for The Dude
0
183
Member Avatar for jack19

hi jack here,i want to which are the best websites who could offer me clear and total info and tutorials on c++ and c programming..

Software Development c++
Member Avatar for happygeek
0
97
Member Avatar for PPaul1

I'm trying to show the balance and interest paid for each month. The balance should go down with each loop until balance is paid in full. The balance will go down but with the wrong amount I don't know how to put an loop in here that will say balance …

Software Development java user-interface
Member Avatar for masijade
0
167

The End.