- Strength to Increase Rep
- +7
- Strength to Decrease Rep
- -1
- Upvotes Received
- 7
- Posts with Upvotes
- 6
- Upvoting Members
- 7
- Downvotes Received
- 5
- Posts with Downvotes
- 4
- Downvoting Members
- 5
I am new to C and C++, but I wrote this calculator in C++. It compiles okay on borland 5.5, and can do addition, subtraction, multiplication, and division of two numbers. If you type any characters except numbers, +,-,*,/,or e, there will be lots of beeping noises and error messages! … |
|
Please find and correct the error in my c++ program. "Linker Error: Undefined symbol _main in module c0.ASM" The program is for transfering content of one file to another. #include<fstream.h> #include<iostream.h> #include<conio.h> class student { int rollno; char name[20]; int tm; public: void input(); void transfer(); void output(); } obj; … |
|
Hey, I'm a C++ programmer, but I'm beginning to learn Java, and from what I see so far the two languages are very similar. The main difference I hear is that C++ has pointers and Java doesn't, but from my understanding Java does have pointers in a sense, the user … |
|
Well i use Dev-c++ 4.9.9.2 for programming..i m using it from last two years...recently i learned java and saw that all java programs are run through command prompt. I tried tha same in c++. i saved my program in dev-cpp/bin .but i am not able to do this..what is the … |
|
Hi I am really struggling here and cant see the syntax error. It is probably a " but could really do with a hand as to why I get the error: unsxpected T_STRING on line 14 My php code is as follows: [php]<?php include_once("php/library/lib.php"); include_once("php/library/template.php"); include_once("php/library/database.php"); // //$database = new … |
|
Hi I've been working with Java for a while now but there's one basic thing I still don't understand. Java got 4 Access Modifiers [LIST] [*]Default [*]Public [*]Private [*]Protected [/LIST] I know the difference between them, the thing is I don't now why you should use different Modifiers. Wouldn't it … |
|
This is kind of a random question, but what are the different speeds of internet, what's the fastest, and how much would they cost. I'm not really looking for any specific location, nor am I looking into getting it, I'm just curious to what is available these days. |
|
hey guys I'm trying to get hold of a StreamConnection [code] try { StreamConnection conn = ( StreamConnection ) Connector.open ( url ) ; } catch (Exception ex) { ex.printStackTrace(); } [/code] however when i do this i get the following error [quote] java.lang.ClassCastException [/quote] According to my know of … |
|
You can access the sound chip to play midi voices using winmm.lib, or in case of Dev C++ the libwinmm.a library. There are 128 midi voices to pick from, anything from the Acoustic Grand Piano = 0 to the Gunshot = 127. |
|
|
[B]I've tried out suggestions from several posts related to BGI Error (on daniweb n innumerable sites)but it just doesnt get solved.. Whenever i try to execute (after compiling successfully) a graphics program it either exits out of C and into DOS mode or it gives an error "The NTVDM comp … |
I wrote this function about a year ago, it's very useful for generating safe file or folder names from text that a user inputs. One method I use this for is storing the filename in the database and then url-rewriting with global.asax. You can get an example of url rewriting … |
|
After reading the dig article "Kids Outsmart Web Filters" which links to a CNet News Article . I was wondering what measures you have used or know that have been used to bypass internet filters. I have the sole interest of securing internet access in my schools. Thanks guys! |
|
Hello All, This is my first time on here. I just started building a computer, I have an ASUS A7V600 motherboard and a Athlon XP 2500+ "Barton", AGP video card, 80GB hard drive, 512mb ram, copper heat sink Ok that said, i had no problems initially, the computer started was … |
|
Hi I have created a simple search form to search a movies database on my page using jsp and mysql, how can I make a download link after results have been extracted in a result page. Thanks for your nice reply. |
|
[FONT=Arial]undefined[/FONT][SIZE=3]undefined[/SIZE]I have been using Microsoft Office 2003 for 2 years with no problems. 2 nights ago I tried to get into excel. all I got was an error. I messed with it for awhile. Then removed it with the intension of just reinstalling it. The file MSOHEV.DLL will not delete, … |
|
Hello everybody!!! Can someone help me on how to create an executable file on java? I made some applications in java but my problem is, I need to compile my program everytime I want them to run ... What I want is to compile my program once and then just … |
|
Hello to all, Well, my computer was running slow, getting all these terrible spywares due to my useless anti-spyware softwares, and detecting no usb ports. So my friend suggest that I reinstall windows, wiping my hd clean, along with the spywares, and that might fix my usb problem as well. … |
|
This is making me angry. I keep getting a "this method must return a result of type int" error message, but obviously I have a return statement. This is a program that is supposed to perform a sequential search for a string index. [code=java] public static int nameSearch(String[] inOrder, String … |
|
I have vista ultimate edition and I can't watch movies in either IE7 or Firefox using media player 11, and I am wondering if there are any fixes to these problems. Thanks |
|
Hi, everyone: I want to create an infinite array, where normally we initialize an array like this: [code]int array[10];[/code] There is 10 spaces in the computer reserved for array[]. However if I wish to have an array with no limit space, but the number of spaces of an array is … |
|
hey guys, im having problem converting this to a while loop. int lineB; int starB; for(lineB=1; lineB<=10;lineB++) { for(starB=10; starB>=lineB; starB--) System.out.print("*"); System.out.println(); } System.out.println(); Can it be written like this? int lineB=1; int starB=1; while(lineB<=10) { while(starB>=lineB) { StarB--; System.out.print("*"); System.out.println(); } lineB++; } |
|
i am using scanner class, i faced problem when i tried to get a string with space. How can i modify my code to solve the problem. Here is my code: [CODE] import java.util.Scanner; class abc { public void main(String[] args) { Scanner abc = new Scanner(System.in); System.out.print("Name: "); String … |
|
A little while ago, a friend of mine tapped me on the shoulder--virtually speaking--and asked me why there isn't an easier way to install software on a Linux computer. He asked innocently enough why we can't have a Universal Package Manager (UPM) to handle the software regardless of distribution. Ha! … |
|
[I]Instant karma's gonna get you Gonna knock you right on the head ~John Lennon. [/I] It's 2009 and I'm sure the powers that be at Microsoft are hoping it's going to be a good one without any tears, but even as the old year closed, the news kept getting worse … |
|
have written a shell script in which I use fastmail to send emails from the shell script. It sends email to my company account with no problem. But I wan to send the same email to a pager number so that the pager goes off when the particular condition occurs. … |
|
I'm using Windows XP. I got a new flash disk and I used it outside in an internet cafe. When I got home, there was this weird file that suddenly popped out so I supposed that it was a virus or some malicious file because I haven't seen it before. … |
|
Hey I have a question. Can I connect two routers though a an Ethernet cable and be able to use the 3 remaining ports on each one. For a total of 6 ports available. Thank you in advanced. |
|
I have an discrete maths exhibition, and i wanted to illustrate the influence of discrete maths in computer science. so i need some softwares to illustrate. A few examples like set theory for computer networking. graph theory and big O for analysis of algoritms. please can some of you suggest … |
|
How to focus a combobox in windows forms when the program is running in a thread? |