132,726 Archived Topics
Remove Filter ![]() | |
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 … | |
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 | |
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 | |
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++ | |
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 | |
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 | |
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 | |
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++ | |
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 | |
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 ![]() | |
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 | |
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 | |
[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 | |
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 | |
[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 | |
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 | |
:?: 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++ | |
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 | |
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 | |
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 | |
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++ | |
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 | |
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 | |
![]() | |
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++ | |
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++ ![]() | |
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 ![]() | |
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 ![]() | |
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 | |
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 | |
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 | |
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 | |
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 | |
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++ | |
![]() | 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++ ![]() |
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 | |
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 | |
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++ | |
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 | |
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 | |
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# | |
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 | |
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 ![]() | |
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 … | |
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 | |
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++ | |
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 |
The End.